1 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
3 * configure.ac: More strict check for AVX512 assembler support.
4 * configure: Regenerated.
6 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
7 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
8 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11 * sysdeps/x86_64/fpu/Versions: New versions added.
12 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14 build of SSE, AVX2 and AVX512 IFUNC versions.
15 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
18 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
21 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
22 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
26 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
27 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
28 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35 * NEWS: Mention addition of x86_64 vector sin.
37 2015-06-11 Florian Weimer <fweimer@redhat.com>
39 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
42 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
45 * nptl/pt-interp.c: New file.
46 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
48 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
49 $(common-objpfx)runtime-linker.h.
51 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
53 * Makeconfig (+interp): Remove unused variable.
54 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
55 only. Depend on $(common-objpfx)runtime-linker.h instead of
56 $(elf-objpfx)runtime-linker.h.
57 ($(elf-objpfx)runtime-linker.h): Rename to
58 $(common-objpfx)runtime-linker.h and move ...
59 * Makerules [$(build-shared) = yes]: ... here.
60 * elf/interp.c: Include <runtime-linker.h> instead of
61 <elf/runtime-linker.h>.
63 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
65 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
66 (__gettimeofday_syscall): Remove vsyscall fallback.
67 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
68 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
69 Add syscall fallback function.
70 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
71 if vDSO is not present.
72 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
74 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
76 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
77 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79 2015-06-09 Joseph Myers <joseph@codesourcery.com>
82 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
84 (wcscmp): Define as weak alias of WCSCMP.
85 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
87 (USE_HIDDEN_DEF): Define.
88 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
89 __wcscoll. Don't use libc_hidden_weak.
90 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
92 * sysdeps/i386/i686/multiarch/wcscmp-c.c
93 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
95 (weak_alias): Undefine and redefine.
96 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
97 __wcscmp and define as weak alias of __wcscmp.
98 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
99 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
100 (__wcscoll): Likewise.
101 (wcscmp): Don't use libc_hidden_proto.
103 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
105 * posix/regexec.c (check_node_accept_bytes): Likewise.
106 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
108 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
109 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
112 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
113 __fstatvfs and define as weak alias of __fstatvfs. Use
115 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
116 and define as weak alias of __statvfs. Use libc_hidden_weak.
117 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
118 Define as alias of __fstatvfs, not fstatvfs.
119 (fstatvfs64): Likewise.
120 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
121 Define as alias of __statvfs, not statvfs.
122 (statvfs64): Likewise.
123 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
126 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
129 (HAVE_GETCPU_VSYSCALL): Define.
130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
131 (HAVE_GETCPU_VSYSCALL): Likewise.
132 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
133 * sysdeps/unix/sysv/linux/sched_getcpu.c
134 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
135 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
136 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
138 * sysdeps/unix/sysv/linux/x86_64/init-first.c
139 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
140 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
143 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
144 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
145 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
146 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
148 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
150 * sysdeps/x86_64/fpu/Makefile: New file.
151 * sysdeps/x86_64/fpu/Versions: New file.
152 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
153 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
154 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
155 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
156 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
157 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
158 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
159 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
160 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
161 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
162 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
163 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
164 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
165 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
166 build of SSE, AVX2 and AVX512 IFUNC versions.
167 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
168 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
169 * sysdeps/x86_64/configure.ac: Options for libmvec build.
170 * sysdeps/x86_64/configure: Regenerated.
171 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
172 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
173 * manual/install.texi (Configuring and compiling): Document
175 * INSTALL: Regenerated.
176 * NEWS: Mention addition of libmvec and x86_64 vector cos.
178 * math/Makefile: Added rules for vector tests.
179 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
180 declaration under condition.
181 * math/test-double-vlen2.h: New file.
182 * math/test-double-vlen4.h: New file.
183 * math/test-double-vlen8.h: New file.
184 * math/test-vec-loop.h: Added initialization macro.
185 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
186 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
187 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
188 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
189 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
190 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
191 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
192 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
193 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
194 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
195 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
197 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
198 * sysdeps/x86_64/fpu/Versions: New versions added.
199 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
200 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
201 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
202 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
203 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
204 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
205 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
206 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
207 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
208 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
209 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
210 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
211 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
212 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
213 build of SSE, AVX2 and AVX512 IFUNC versions.
214 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
215 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
216 * NEWS: Mention addition of x86_64 vector cosf.
218 * math/Makefile: Added CFLAGS for new tests.
219 * math/test-float-vlen16.h: New file.
220 * math/test-float-vlen4.h: New file.
221 * math/test-float-vlen8.h: New file.
222 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
223 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
224 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
225 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
226 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
227 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
228 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
229 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
230 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
231 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
232 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
234 2015-06-09 Marko Myllynen <myllynen@redhat.com>
236 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
237 * locale/programs/ld-ctype.c: Likewise.
239 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
241 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
242 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
243 bit_ZMM16_31_state): New macro.
244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
245 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
247 2015-06-08 Joseph Myers <joseph@codesourcery.com>
249 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
251 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
253 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
255 2015-06-05 Joseph Myers <joseph@codesourcery.com>
258 * libio/memstream.c (open_memstream): Rename to __open_memstream
259 and define as weak alias of __open_memstream.
260 * include/stdio.h (__open_memstream): Declare. Use
262 (open_memstream): Don't use libc_hidden_proto.
263 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
265 * posix/getopt.c (_getopt_internal_r): Likewise.
266 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
268 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
269 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
270 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
273 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
277 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
278 [__USE_XOPEN2K8]. Remove redundant #endif.
279 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
280 Remove redundant #if.
281 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
283 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
284 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
287 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
288 (__iswlower): Likewise.
289 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
290 (__iswlower): Likewise.
291 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
293 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
294 instead of iswlower. Call __towupper instead of towupper.
295 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
298 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
300 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
303 2015-06-05 Florian Weimer <fweimer@redhat.com>
307 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
308 Check for overflow properly. Check for O_APPEND. Ignore large
309 file system block sizes. Add comments about problems.
310 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
311 * manual/filesys.texi (Storage Allocation): New node.
313 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
315 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
316 cancellable syscalls.
317 (SYS_ify): Add guard to no redefine it.
318 (INLINE_SYSCALL): Likewise.
319 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
320 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
321 SYSCALL_CANCEL instead.
322 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
323 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
324 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
325 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
326 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
327 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
328 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
329 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
330 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
331 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
332 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
333 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
334 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
335 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
336 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
337 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
339 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
340 (__libc_pread64): Likewise.
341 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
342 (__libc_preadv): Likewise.
343 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
344 (__libc_readv64): Likewise.
345 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
346 (__libc_pwrite): Likewise.
347 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
348 (__libc_pwrite64): Likewise.
349 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
350 (__libc_pwritev): Likewise.
351 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
352 (__libc_pwritev64): Likewise.
353 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
354 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
355 (sync_file_range): Likewise.
356 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
358 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
360 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
361 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
362 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
363 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
364 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
365 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
366 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
367 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
371 (__libc_read64): Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
381 (__libc_pread64): Likewise.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
385 (__libc_pwrite64): Likewise.
386 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
387 (sync_file_range): Likewise.
388 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
389 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
390 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
391 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
392 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
393 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
394 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
395 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
396 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
397 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
398 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
399 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
400 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
401 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
402 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
403 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
404 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
405 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
406 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
408 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
410 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
411 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
413 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
414 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
415 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
416 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
418 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
419 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
420 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
421 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
422 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
424 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
426 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
428 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
429 Use VDSO routines for gettimeofday, clock_gettime if
431 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
432 Declare VDSO symbols.
433 * sysdeps/unix/sysv/linux/arm/sysdep.h:
434 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
435 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
436 * sysdeps/unix/sysv/linux/arm/Versions: Add
437 __vdso_clock_gettime.
439 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
441 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
442 be an inline implementation regardless of library is built within.
443 (open_not_cancel_2): Likewise.
444 (__read_nocancel): Likewise.
445 (__write_nocancel): Likewise.
446 (openat_not_cancel): Likewise.
447 (openat_not_cancel_3): Likewise.
448 (openat64_not_cancel): Likewise.
449 (openat64_not_cancel_3): Likewise.
450 (__close_nocancel): Likewise.
451 (pause_not_cancel): Likewise.
452 (nanosleep_not_cancel): Likewise.
453 (sigsuspend_not_cancel): Likewise.
455 2015-06-04 Torvald Riegel <triegel@redhat.com>
458 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
460 (__pthread_rwlock_rdlock_slow): Likewise.
461 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
463 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
465 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
466 * nptl/tst-rwlock16.c: New file.
467 * nptl/Makefile (tests): Add new test.
469 2015-06-04 Torvald Riegel <triegel@redhat.com>
472 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
473 missing wake-up of readers.
474 * nptl/tst-rwlock15.c: New file.
475 * nptl/Makefile (tests): Add new test.
477 2015-06-03 Roland McGrath <roland@hack.frob.com>
479 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
480 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
481 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
482 and __nacl_supply_interface_rtld.
483 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
484 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
485 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
486 Add __nacl_supply_interface_rtld.
487 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
489 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
491 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
493 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
494 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
496 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
498 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
499 __signbit* with standard C99 macros.
500 * math/e_exp10l.c: Likewise.
501 * math/e_exp2l.c: Likewise.
502 * math/e_scalb.c: Likewise.
503 * math/e_scalbf.c: Likewise.
504 * math/e_scalbl.c: Likewise.
505 * math/s_ldexp.c: Likewise.
506 * math/s_ldexpf.c: Likewise.
507 * math/s_ldexpl.c: Likewise.
508 * math/w_atan2.c: Likewise.
509 * math/w_atan2f.c: Likewise.
510 * math/w_atan2l.c: Likewise.
511 * math/w_cosh.c: Likewise.
512 * math/w_coshf.c: Likewise.
513 * math/w_coshl.c: Likewise.
514 * math/w_exp10.c: Likewise.
515 * math/w_exp10f.c: Likewise.
516 * math/w_exp10l.c: Likewise.
517 * math/w_exp2.c: Likewise.
518 * math/w_exp2f.c: Likewise.
519 * math/w_exp2l.c: Likewise.
520 * math/w_fmod.c: Likewise.
521 * math/w_fmodf.c: Likewise.
522 * math/w_fmodl.c: Likewise.
523 * math/w_hypot.c: Likewise.
524 * math/w_hypotf.c: Likewise.
525 * math/w_hypotl.c: Likewise.
526 * math/w_jnl.c: Likewise.
527 * math/w_lgamma.c: Likewise.
528 * math/w_lgamma_r.c: Likewise.
529 * math/w_lgammaf.c: Likewise.
530 * math/w_lgammaf_r.c: Likewise.
531 * math/w_lgammal.c: Likewise.
532 * math/w_lgammal_r.c: Likewise.
533 * math/w_pow.c: Likewise.
534 * math/w_powf.c: Likewise.
535 * math/w_powl.c: Likewise.
536 * math/w_remainder.c: Likewise.
537 * math/w_remainderf.c: Likewise.
538 * math/w_remainderl.c: Likewise.
539 * math/w_scalb.c: Likewise.
540 * math/w_scalbf.c: Likewise.
541 * math/w_scalbl.c: Likewise.
542 * math/w_scalbln.c: Likewise.
543 * math/w_scalblnf.c: Likewise.
544 * math/w_scalblnl.c: Likewise.
545 * math/w_sinh.c: Likewise.
546 * math/w_sinhf.c: Likewise.
547 * math/w_sinhl.c: Likewise.
548 * math/w_tgamma.c: Likewise.
549 * math/w_tgammaf.c: Likewise.
550 * math/w_tgammal.c: Likewise.
551 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
552 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
553 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
554 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
555 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
557 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
558 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
559 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
560 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
561 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
562 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
563 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
564 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
565 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
566 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
567 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
568 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
569 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
572 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
573 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
574 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
575 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
576 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
577 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
578 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
579 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
580 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
581 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
582 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
583 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
584 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
585 * stdio-common/printf_fp.c: Likewise.
586 * stdio-common/printf_fphex.c: Likewise.
587 * stdio-common/printf_size.c: Likewise.
589 2015-06-03 Joseph Myers <joseph@codesourcery.com>
592 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
594 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
596 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
597 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
598 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
599 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
600 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
601 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
602 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
603 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
604 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
605 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
608 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
609 weak alias of __wmemchr. Use libc_hidden_weak.
610 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
611 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
614 2015-06-02 Roland McGrath <roland@hack.frob.com>
617 * elf/tst-tlsalign-extern.c: New file.
618 * elf/tst-tlsalign-extern-static.c: New file.
619 * elf/tst-tlsalign-vars.c: New file.
620 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
621 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
622 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
623 ($(objpfx)tst-tlsalign-extern-static): Likewise.
624 (test-xfail-tst-tlsalign-extern-static): New variable.
626 2015-06-02 Joseph Myers <joseph@codesourcery.com>
628 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
629 Use variable name _sc_err instead of err.
630 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
632 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
633 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
634 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
635 (INLINE_SYSCALL): Likewise.
637 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
638 * include/string.h (__strnlen): Use libc_hidden_proto.
639 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
640 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
641 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
642 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
643 (libc_hidden_def): Undefine and redefine.
644 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
645 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
647 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
649 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
652 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
653 weak alias of __towlower. Use libc_hidden_weak.
654 (towupper): Rename to __towupper and define as weak alias of
655 __towupper. Use libc_hidden_weak.
656 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
657 (__towupper): Likewise.
658 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
659 __towlower instead of towlower.
661 2015-06-02 Roland McGrath <roland@hack.frob.com>
663 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
664 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
666 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
668 * sysdeps/aarch64/libm-test-ulps: Update.
670 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
672 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
674 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
676 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
677 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
678 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
679 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
680 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
682 2015-06-01 Martin Sebor <msebor@redhat.com>
685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
686 (__setcontext): Use extended four-operand version of mtsf whenever
688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
689 (__novec_swapcontext): Likewise.
691 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
693 * benchtests/scripts/compare_bench.py: New file.
694 * benchtests/scripts/import_bench.py (mean): New function.
695 (split_list): Likewise.
696 (do_for_all_timings): Likewise.
697 (compress_timings): Likewise.
699 * benchtests/scripts/import_bench.py: New file.
700 * benchtests/scripts/validate_benchout.py: Import import_bench
701 instead of jsonschema.
702 (validate_bench): Remove function.
703 (main): Use import_bench.
705 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
707 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
708 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
710 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
714 2015-05-28 Roland McGrath <roland@hack.frob.com>
716 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
717 set THREAD_SELF->tid to a magic value and futex-wake it.
718 Pass its address to the thread_exit system call.
719 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
721 * sysdeps/nacl/lowlevellock.h: New file.
722 * sysdeps/nacl/lll_timedwait_tid.c: New file.
724 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
725 Add TIMEOUT to current time, don't subtract it.
727 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
730 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
731 ($(objpfx)tst-audit2.out): Also depend on
732 $(objpfx)tst-auditmod9b.so.
733 * elf/tst-audit2.c: Include <dlfcn.h>.
734 (calloc_called): New.
735 (calloc): Allow to be called more than once.
736 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
738 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
740 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
741 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
743 2015-05-27 Marko Myllynen <myllynen@redhat.com>
745 * stdlib/monetary.h: Fix comment.
747 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
749 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
750 Avoid using variables in #defines that might cause shadowing.
751 (INTERNAL_VSYSCALL_CALL): Likewise.
753 2015-05-26 Roland McGrath <roland@hack.frob.com>
755 * sysdeps/nacl/lll_timedlock_wait.c: New file.
757 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
758 * nptl/lll_timedlock_wait.c: ... to this new file.
759 * nptl/Makefile (libpthread-routines): Add it.
760 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
761 * nptl/lll_timedwait_tid.c: ... to this new file.
762 * nptl/Makefile (libpthread-routines): Add it.
763 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
764 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
765 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
766 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
767 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
768 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
769 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
770 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
771 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
772 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
774 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
776 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
777 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
778 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
779 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
780 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
782 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
784 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
785 * sysdeps/unix/sysv/linux/tile/sysdep.h
786 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
787 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
788 using vDSO syscall macro.
790 2015-05-26 Andriy Rysin <arysin@gmail.com>
793 * uk_UA: Fix sorting order for Ukrainian locale
795 2015-05-26 Marko Myllynen <myllynen@redhat.com>
797 * stdlib/monetary.h: Fix comment.
799 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
802 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
803 st_mtim and st_ctim members.
804 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
805 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
806 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
807 (struct stat64): Likewise.
808 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
809 (struct stat64): Likewise.
810 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
811 (struct stat64): Likewise.
813 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
815 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
816 Define and include sysdep-vdso.h.
817 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
819 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
821 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
822 Define with VDSO_SYMBOL and use PTR_MANGLE.
823 (__vdso_clock_gettime): Likewise.
824 (__vdso_clock_getres): Likewise.
825 (_libc_vdso_platform_setup): Likewise.
826 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
828 (_libc_vdso_platform_setup): Likewise.
829 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
831 (__vdso_clock_gettime): Likewise.
832 (__vdso_clock_getres): Likewise.
833 (__vdso_get_tbfreq): Likewise.
834 (__vdso_getcpu): Likewise.
835 (__vdso_time): Likewise.
836 (__vdso_sigtramp_rt64): Likewise.
837 (__vdso_signtramp32): Likewise.
838 (__vdso_sigtramp_rt32): Likewise.
839 (_libc_vdso_platform_setup): Likewise.
840 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
842 (__vdso_clock_gettime): Likewise.
843 (__vdso_clock_getres): Likewise.
844 (_libc_vdso_platform_setup): Likewise.
845 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
847 (__vdso_clock_gettime): Likewise.
848 (_libc_vdso_platform_setup): Likewise.
849 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
851 (__vdso_getcpu): Likewise.
852 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
853 Use VDSO_SYMBOL macro to define.
854 (__vdso_clock_gettime): Likewise.
855 (__vdso_clock_getres): Likewise.
856 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
858 (__vdso_clock_gettime): Likewise.
859 (__vdso_clock_getres): Likewise.
860 (__vdso_get_tbfreq): Likewise.
861 (__vdso_getcpu): Likewise.
862 (__vdso_time): Likewise.
863 (__vdso_sigtramp_rt64): Likewise.
864 (__vdso_signtramp32): Likewise.
865 (__vdso_sigtramp_rt32): Likewise.
866 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
868 (__vdso_clock_gettime): Likewise.
869 (__vdso_clock_getres): Likewise.
870 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
872 (__vdso_clock_gettime): Likewise.
873 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
875 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
877 (INTERNAL_VSYSCALL): Likewise.
878 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
880 (INTERNAL_VSYSCALL): Likewise.
881 (INTERNAL_VSYSCALL_NCS): Likewise.
882 (INTERNAL_VSYSCALL_CALL): New macro.
883 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
886 (INTERNAL_VSYSCALL): Likewise.
887 (INTERNAL_VSYSCALL_NCS): Likewise.
888 (INTERNAL_VSYSCALL_CALL): New macro.
889 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
891 (INLINE_VSYSCALL): Remove macro.
892 (INTERNAL_VSYSCALL): Remove macro.
893 (INTERNAL_VSYSCALL_NCS): Remove macro.
894 (INTERNAL_VSYSCALL_CALL): New macro.
895 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
896 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
897 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
898 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
899 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
901 (INLINE_VSYSCALL): Remove macro.
902 (INTERNAL_VSYSCALL): Likewise.
903 (INTERNAL_VSYSCALL_NCS): Likewise.
904 (INTERNAL_VSYSCALL_CALL): New macro.
905 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
906 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
907 PTR_DEMANGLE on vDSO pointer.
908 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
909 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
911 (INTERNAL_SYSCALL): Likewise.
912 (INTERNAL_VSYSCALL_NCS): Remove macro.
913 (INTERNAL_VSYSCALL_CALL): New macro.
914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
916 (INTERNAL_VSYSCALL): Likewise.
917 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
918 sysdep-vdso.h instead of libc-vdso.h.
919 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
921 (INLINE_VSYSCALL): Likewise.
922 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
923 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
925 (INLINE_VSYSCALL): Likewise.
926 (INTERNAL_VSYSCALL): Likewise.
927 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
928 * sysdeps/unix/sysv/linux/timespec_get.c
929 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
930 (timespec_get): Use ANSI prototype.
931 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
932 and definition for Linux.
934 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
936 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
937 * include/libc-symbols.h: libmvec_hidden_* macro series added.
939 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
942 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
943 for missing DT_PLTRELSZ.
945 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
947 Remove obsolete aliases that broke 'locale -a'
949 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
950 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
951 breaking some applications that use 'locale -a' output.
952 Change the encoding of this file from Latin-1 to ASCII to avoid
953 other potential problems with people grepping this file.
955 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
957 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
958 -fasynchronous-unwind-tables.
959 (CFLAGS-sendto.c): Likewise.
960 (CFLAGS-sendmsg.c): Likewise.
961 (CFLAGS-connect.c): Likewise.
962 (CFLAGS-recvmsg.c): Likewise.
963 (CFLAGS-recvfrom.c): Likewise.
964 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
965 (SOCKETCALL): New macro: non-cancellable socketcall.
966 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
967 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
968 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
969 * sysdeps/unix/sysv/linux/accept.c: New file.
970 * sysdeps/unix/sysv/linux/bind.c: Likewise.
971 * sysdeps/unix/sysv/linux/connect.c: Likewise.
972 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
973 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
974 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
975 * sysdeps/unix/sysv/linux/listen.c: Likewise.
976 * sysdeps/unix/sysv/linux/recv.c: Likewise.
977 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
978 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
979 * sysdeps/unix/sysv/linux/send.c: Likewise.
980 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
981 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
982 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
983 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
984 * sysdeps/unix/sysv/linux/socket.c: Likewise.
985 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
986 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
988 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
989 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
990 instead of __internal_xxx function.
991 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
993 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
994 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
995 instead of __internal_xxx function.
996 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
998 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
999 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1000 instead of __internal_xxx function.
1001 * sysdeps/unix/sysv/linux/accept.S: Remove file.
1002 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1003 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1004 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1005 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1006 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1007 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1008 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1009 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1010 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1011 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1012 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1013 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1014 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1015 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1016 * sysdeps/unix/sysv/linux/listen.S: Likewise.
1017 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1018 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1019 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1020 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1023 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1024 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1025 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1026 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1027 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1028 * sysdeps/unix/sysv/linux/send.S: Likewise.
1029 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1030 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1031 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1032 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1033 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1034 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1035 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1036 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1037 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1038 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1039 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1040 socketcall is implemented in GLIBC.
1042 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1044 * soft-fp/fmadf4.c: Include <libc-internal.h>.
1045 (__fma): Ignore uninitialized warnings around packing.
1046 * soft-fp/fmasf4.c: Include <libc-internal.h>.
1047 (__fmaf): Ignore uninitialized warnings around packing.
1048 * soft-fp/fmatf4.c: Include <libc-internal.h>.
1049 (__fmal): Ignore uninitialized warnings around packing.
1051 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1052 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1053 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1054 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1056 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1057 switch statement into default case.
1058 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1060 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1061 a conditional in forcing "inexact".
1062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1065 2015-05-22 Roland McGrath <roland@hack.frob.com>
1067 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1068 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1069 for each INTERNAL_SYSCALL use.
1071 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1074 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1075 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1079 * string/basename.c (basename): Rename to __basename and define as
1080 weak alias of __basename. Use libc_hidden_weak.
1081 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1082 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1083 __basename instead of basename.
1084 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1086 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1088 2015-05-18 Florian Weimer <fweimer@redhat.com>
1090 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1091 (_IO_JUMPS_FILE_plus): New.
1092 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1093 _IO_CAST_FIELD_ACCESS.
1094 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1095 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1096 * libio/freopen.c (freopen): Likewise.
1097 * libio/freopen64.c (freopen64): Likewise.
1098 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1099 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1100 * libio/iofwide.c (_IO_fwide): Likewise.
1101 * libio/memstream.c (open_memstream): Likewise.
1102 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1103 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1104 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1106 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1108 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1109 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1112 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1114 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1115 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1118 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1121 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1122 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1124 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1125 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1126 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1128 2015-05-21 Florian Weimer <fweimer@redhat.com>
1130 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1131 Adjust jump table label generation macros.
1133 2015-05-21 Florian Weimer <fweimer@redhat.com>
1135 * stdio-common/vfprintf.c (vfprintf): Move local variables
1136 args_malloced, specs, specs_malloced, and the code after
1137 do_positional to the printf_positional function.
1138 (printf_positional): New function.
1140 2015-05-21 Florian Weimer <fweimer@redhat.com>
1142 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1144 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1145 STEP4_TABLE, process_arg): Move macro definitions
1146 out of the vfprintf function. (Cosmetic change only.)
1148 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1150 * benchtests/Makefile (stdio-common-bench): Define.
1151 (benchset): Add stdio-common-bench.
1152 * sprintf-inputs: New file.
1153 * sprintf-source.c: New file.
1155 2015-05-21 Andreas Schwab <schwab@suse.de>
1159 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1160 of struct __res_state.
1161 * resolv/res_send.c (__libc_res_nsend): Likewise.
1162 (get_nsaddr): New function.
1163 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1166 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1168 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1169 -D_POSIX_C_SOURCE=199506L.
1171 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1173 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1174 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1175 Do not mention otherwise.
1176 [POSIX] (_XOPEN_VERSION): Do not expect.
1177 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1178 [POSIX] (_POSIX2_C_BIND): Likewise.
1179 [POSIX] (_POSIX2_VERSION): Likewise.
1180 [POSIX] (_XOPEN_XPG2): Likewise.
1181 [POSIX] (_XOPEN_XPG3): Likewise.
1182 [POSIX] (_XOPEN_XPG4): Likewise.
1183 [POSIX] (_XOPEN_UNIX): Likewise.
1184 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1185 [POSIX] (_POSIX_BARRIERS): Likewise.
1186 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1187 [POSIX] (_POSIX_CPUTIME): Likewise.
1188 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1189 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1190 [POSIX] (_POSIX_SHELL): Likewise.
1191 [POSIX] (_POSIX_SPAWN): Likewise.
1192 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1193 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1194 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1195 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1196 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1197 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1198 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1199 [POSIX] (_XBS5_LP64_OFF64): Likewise.
1200 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1201 [POSIX] (_POSIX_TIMEOUTS): Likewise.
1202 [POSIX] (_POSIX2_PBS): Likewise.
1203 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1204 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1205 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1206 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1207 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1208 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1209 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1210 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1211 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1212 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1213 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1214 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1215 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1216 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1217 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1218 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1219 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1220 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1221 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1222 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1223 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1224 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1225 [POSIX] (_SC_2_C_BIND): Likewise.
1226 [POSIX] (_SC_2_C_VERSION): Likewise.
1227 [POSIX] (_SC_2_PBS): Likewise.
1228 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1229 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1230 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1231 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1232 [POSIX] (_SC_2_PBS_TRACK): Likewise.
1233 [POSIX] (_SC_ATEXIT_MAX): Likewise.
1234 [POSIX] (_SC_BARRIERS): Likewise.
1235 [POSIX] (_SC_BASE): Likewise.
1236 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1237 [POSIX] (_SC_DEVICE_IO): Likewise.
1238 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1239 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1240 [POSIX] (_SC_FD_MGMT): Likewise.
1241 [POSIX] (_SC_FIFO): Likewise.
1242 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1243 [POSIX] (_SC_FILE_LOCKING): Likewise.
1244 [POSIX] (_SC_FILE_SYSTEM): Likewise.
1245 [POSIX] (_SC_IOV_MAX): Likewise.
1246 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1247 [POSIX] (_SC_NETWORKING): Likewise.
1248 [POSIX] (_SC_PAGE_SIZE): Likewise.
1249 [POSIX] (_SC_PASS_MAX): Likewise.
1250 [POSIX] (_SC_PIPE): Likewise.
1251 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1252 [POSIX] (_SC_REGEXP): Likewise.
1253 [POSIX] (_SC_SHELL): Likewise.
1254 [POSIX] (_SC_SIGNALS): Likewise.
1255 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1256 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1257 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1258 [POSIX] (_SC_USER_GROUPS): Likewise.
1259 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1260 [POSIX] (_SC_STREAMS): Likewise.
1261 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1262 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1263 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1264 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1265 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1266 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1267 [POSIX] (_PC_FILESIZEBITS): Likewise.
1268 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1269 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1270 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1271 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1272 [POSIX] (uid_t): Likewise.
1273 [POSIX] (gid_t): Likewise.
1274 [POSIX] (off_t): Likewise.
1275 [POSIX] (pid_t): Likewise.
1276 [POSIX] (cuserid): Allow.
1277 (_SC_2_CHAR_TERM): Require constant.
1278 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1279 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1282 2015-05-20 Roland McGrath <roland@hack.frob.com>
1284 * sysdeps/nacl/pthread-pids.h: New file.
1285 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1286 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1288 * nptl/pthread-pids.h: New file.
1289 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1290 * nptl/nptl-init.c: Include <pthread-pids.h>.
1291 (__pthread_initialize_minimal_internal):
1292 Call __pthread_initialize_pids instead of set_tid_address syscall.
1294 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1295 * sysdeps/posix/usleep.c: ... here.
1297 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1299 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1300 call_pselect6 object.
1301 [$(subdir) = io]: Remove call_sync_file_range object.
1302 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1303 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1304 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1305 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1307 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1309 * math/s_cproj.c: Add include "math_private.h".
1310 * math/s_cprojf.c: Likewise.
1311 * math/s_cprojl.c: Likewise.
1313 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1316 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1317 high mantissa bit when testing whether P is a NaN.
1318 * math/libm-test.inc (remainder_test_data): Add more tests.
1319 (remquo_test_data): Likewise.
1322 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1323 below -32, return the argument, with underflow if subnormal.
1324 * math/auto-libm-test-in: Add more tests of atanh.
1325 * math/auto-libm-test-out: Regenerated.
1327 2015-05-19 Roland McGrath <roland@hack.frob.com>
1330 * nptl/tst-sem15.c: New file.
1331 * nptl/Makefile (tests): Add it.
1332 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1333 s/<</>>/ to fix typo in EOVERFLOW check.
1334 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1336 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1338 * manual/strings.texi (envz_remove): Fix typo in safety
1341 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1342 Steve Ellcey <sellcey@imgtec.com>
1344 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1345 in order to avoid strict alias warnings.
1346 (iruserok_af): Ditto for ra.
1348 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1352 (magicbyte): Convert to a function and avoid returning 0x01.
1353 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1354 (mem2chunk_check): Fix unsigned comparisons to zero.
1355 Hoist defs of sz and magic.
1357 2015-05-19 Richard Henderson <rth@redhat.com>
1359 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1361 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1363 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1366 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1367 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1368 (reused_arena): Find a non-corrupt arena.
1369 (heap_trim): Pass arena to unlink.
1370 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1372 (top_check): Likewise.
1373 (free_check): Likewise.
1374 (realloc_check): Likewise.
1375 * malloc/malloc.c (malloc_printerr): Add arena argument.
1377 (munmap_chunk): Adjust.
1378 (ARENA_CORRUPTION_BIT): New macro.
1379 (arena_is_corrupt): Likewise.
1380 (set_arena_corrupt): Likewise.
1381 (sysmalloc): Use mmap if there are no usable arenas.
1382 (_int_malloc): Likewise.
1383 (__libc_malloc): Don't fail if arena_get returns NULL.
1384 (_mid_memalign): Likewise.
1385 (__libc_calloc): Likewise.
1386 (__libc_realloc): Adjust for additional argument to
1388 (_int_free): Likewise.
1389 (malloc_consolidate): Likewise.
1390 (_int_realloc): Likewise.
1391 (_int_memalign): Don't touch corrupt arenas.
1392 * malloc/tst-malloc-backtrace.c: New test case.
1394 * Makefile (summarize-tests): Fix return value on success.
1396 * manual/string.texi (Envz Functions): Add envz_remove.
1398 2015-05-18 Roland McGrath <roland@hack.frob.com>
1400 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1401 (invalid_name): New function, broken out of ...
1402 (__opendirat): ... here. Call it.
1403 (need_isdir_precheck): New function, broken out of ...
1404 (__opendirat): ... here. Call it.
1405 Use __fxstatat64, not __xstatat64.
1406 (opendir_oflags): New function, broken out of ...
1407 (__opendirat): ... here. Call it.
1408 (opendir_tail): New function, broken out of ...
1409 (__opendirat): ... here. Call it.
1410 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1411 opendir_tail, rather than punting to __opendirat.
1412 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1414 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1416 * .gitignore: Ignore generated *.pyc.
1418 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1420 * include/stdio.h: Define __need_wint_t.
1421 * test-skeleton.c: Avoid `for' loop initial declaration.
1422 * nptl/tst-initializers1.c: Use test-skeleton.c.
1424 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1427 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1429 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1432 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1433 (__ieee754_atanh): Force underflow exception for results with
1434 small absolute value.
1435 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1436 (__ieee754_atanhf): Force underflow exception for results with
1437 small absolute value.
1438 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1439 (__ieee754_atanh): Force underflow exception for results with
1440 small absolute value.
1441 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1442 (__ieee754_atanhf): Force underflow exception for results with
1443 small absolute value.
1444 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1445 (__ieee754_atanhl): Force underflow exception for results with
1446 small absolute value.
1447 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1448 (__ieee754_atanhl): Force underflow exception for results with
1449 small absolute value.
1450 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1451 (__ieee754_atanhl): Force underflow exception for results with
1452 small absolute value.
1453 * math/auto-libm-test-in: Do not allow missing underflow
1454 exceptions from atanh.
1455 * math/auto-libm-test-out: Regenerated.
1458 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1459 2**-28 as threshold for returning x or +/- 1/x.
1460 * math/auto-libm-test-in: Add more tests of tan.
1461 * math/auto-libm-test-out: Regenerated.
1464 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1465 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1466 * math/auto-libm-test-in: Add another test of lgamma.
1467 * math/auto-libm-test-out: Regenerated.
1469 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1471 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1472 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1473 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1474 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1475 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1476 (ADD2A): Use fabs. (SUB2A): Use fabs.
1477 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1478 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1480 (log1): Use fabs. (my_log2): Use fabs.
1481 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1482 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1483 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1484 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1486 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1487 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1488 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1489 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1490 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1491 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1493 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1496 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1497 as threshold for returning 1 - x.
1498 * math/auto-libm-test-in: Add more tests of erfc.
1499 * math/auto-libm-test-out: Regenerated.
1501 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1504 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1505 threshold for large arguments.
1506 * math/auto-libm-test-in: Add another test of atan.
1507 * math/auto-libm-test-out: Regenerated.
1510 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1511 (__log1p): Force underflow exception for results with small
1513 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1514 (__log1pf): Force underflow exception for results with small
1516 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1517 (__log1p): Force underflow exception for results with small
1519 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1520 (__log1pf): Force underflow exception for results with small
1522 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1523 (__log1pl): Force underflow exception for results with small
1525 * math/auto-libm-test-in: Do not allow missing underflow
1526 exceptions from log1p.
1527 * math/auto-libm-test-out: Regenerated.
1529 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1530 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1533 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1535 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1537 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1538 (libmvec): New variable.
1539 * configure.ac: Added option for mathvec build.
1540 * configure: Regenerated.
1541 * mathvec/Depend: New file.
1542 * mathvec/Makefile: New file.
1543 * shlib-versions: Added libmvec.
1544 * math/Makefile: Added rule for libm.so installation.
1546 * bits/math-vector.h: New file.
1547 * bits/libm-simd-decl-stubs.h: New header.
1548 * math/Makefile (headers): Added new header
1549 libm-simd-decl-stubs.h.
1550 * math/math.h (__MATHCALL_VEC): New macro.
1552 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1553 for conditions in testing functions.
1554 * math/Makefile: Added call of libm-have-vector-test.sh.
1555 * math/libm-test.inc (HAVE_VECTOR): New macros.
1557 * math/libm-test.inc: START refactored.
1558 * math/test-double.c (TEST_MATHVEC): Add define.
1559 * math/test-float.c: Likewise.
1560 * math/test-idouble.c: Likewise.
1561 * math/test-ifloat.c: Likewise.
1562 * math/test-ildoubl.c: Likewise.
1563 * math/test-ldouble.c: Likewise.
1564 * sysdeps/generic/math-tests-arch.h
1565 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1568 * math/test-double.c (FUNC_TEST): New macro.
1569 * math/test-float.c: Likewise.
1570 * math/test-idouble.c: Likewise.
1571 * math/test-ifloat.c: Likewise.
1572 * math/test-ildoubl.c: Likewise.
1573 * math/test-ldouble.c: Likewise.
1574 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1576 2015-05-13 Roland McGrath <roland@hack.frob.com>
1578 * sysdeps/nacl/fdopendir.c: New file.
1580 * dirent/scandir-tail.c: New file.
1581 * dirent/scandir64-tail.c: New file.
1582 * dirent/Makefile (routines): Add them.
1583 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1584 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1585 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1586 [!SCANDIR] (SCANDIR_TAIL): New macro.
1587 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1588 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1589 (SCANDIRAT): Macro removed.
1590 (SCANDIR_TAIL): New macro.
1591 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1592 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1593 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1594 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1595 (READDIR): Macro removed.
1596 (SCANDIR_TAIL): New macro.
1597 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1598 (SCANDIR_TAIL): New macro.
1600 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1601 * dirent/scandir-cancel.c: ... to this new file.
1602 * dirent/Makefile (routines): Add it.
1603 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1604 * sysdeps/unix/sysv/linux/i386/scandir64.c
1605 (SKIP_SCANDIR_CANCEL): Macro removed.
1606 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1608 * dirent/tst-scandir.c: New file.
1609 * dirent/tst-scandir64.c: New file.
1610 * dirent/Makefile (tests): Add them.
1612 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1615 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1617 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1619 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1622 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1624 * benchtests/bench-strcoll.c: New benchmark.
1625 * benchtests/Makefile: Generate locales and run benchmark.
1626 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1627 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1628 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1629 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1630 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1631 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1632 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1633 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1634 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1635 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1636 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1637 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1638 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1639 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1640 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1641 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1642 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1643 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1644 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1645 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1646 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1647 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1648 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1649 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1651 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
1653 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1654 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1656 2015-05-12 Roland McGrath <roland@hack.frob.com>
1658 * posix/uname-values.h: New file.
1659 * posix/uname.c: Include that instead of <config-name.h>.
1660 * sysdeps/nacl/uname-values.h: New file.
1661 * sysdeps/arm/nacl/uname-values.h: New file.
1663 2015-05-12 Joseph Myers <joseph@codesourcery.com>
1665 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1666 splitting into fields.
1668 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
1670 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1671 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1672 * locale/localeinfo.h: Add enum collation_encoding_type.
1673 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1674 * programs/ld-collate.c (collate_output): Add encoding type info.
1675 * string/strcoll_l.c (STRDIFF): New function.
1676 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1677 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1679 2015-05-11 Joseph Myers <joseph@codesourcery.com>
1682 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1683 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1684 <fpu_control.h> instead of <math/fpu_control.c>.
1685 * sysdeps/mips/mips32/fpu/Makefile: New file.
1687 2015-05-11 Andreas Schwab <schwab@suse.de>
1690 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1692 (_nss_compat_endgrent): Call nss_endgrent.
1693 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1695 (_nss_compat_endpwent): Call nss_endpwent.
1696 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1697 needent, call nss_setspent only if non-zero.
1698 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1699 (internal_endspent): Don't call nss_endspent.
1700 (_nss_compat_endspent): Call nss_endspent.
1701 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1702 Remove. All uses removed.
1703 (internal_setent): Remove parameter stayopen, add parameter
1704 stream. Use it instead of global variable.
1705 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1706 (internal_endent, internal_getent): Add parameter stream. Use it
1707 instead of global variable.
1708 (CONCAT(_nss_files_end,ENTNAME))
1709 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1710 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1711 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1713 (internal_setent, internal_endent): Add parameter stream. Use it
1714 instead of global variable.
1715 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1717 (get_next_alias): Add parameter stream.
1718 (_nss_files_getaliasent_r): Pass global stream.
1719 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1720 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1721 (_nss_files_gethostbyname4_r): Pass local stream to
1722 internal_setent, internal_getent and internal_endent. Remove
1725 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1727 * tst-strfmon1.c (tests): Update expected currency symbol.
1729 2015-05-08 Roland McGrath <roland@hack.frob.com>
1731 * sysdeps/nacl/gethostname.c: New file.
1733 2015-05-08 Joseph Myers <joseph@codesourcery.com>
1735 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1737 * math/auto-libm-test-out: Regenerated.
1738 * sysdeps/i386/fpu/libm-test-ulps: Update.
1739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1741 2015-05-08 Carlos O'Donell <carlos@redhat.com>
1744 * stdlib/tst-setcontext3.c: New file.
1745 * stdlib/tst-setcontext3.sh: New file.
1746 * stdlib/Makefile (tests): Add tst-setcontext3.
1747 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1748 to verify test program created output file.
1749 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1750 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1751 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1752 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1754 2015-05-06 Roland McGrath <roland@hack.frob.com>
1757 * elf/tst-tlsalign.c: New file.
1758 * elf/tst-tlsalign-static.c: New file.
1759 * elf/tst-tlsalign-lib.c: New file.
1760 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1761 (tests-static): Add tst-tlsalign-static.
1762 (modules-names): Add tst-tlsalign-lib.
1763 (test-xfail-tst-tlsalign): New variable.
1764 (test-xfail-tst-tlsalign-static): New variable.
1766 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1767 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1769 2015-05-06 Joseph Myers <joseph@codesourcery.com>
1771 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1772 csqrt, erfc, sin and sincos.
1773 * math/auto-libm-test-out: Regenerated.
1774 * sysdeps/i386/fpu/libm-test-ulps: Update.
1775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1777 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1779 * sysdeps/aarch64/libm-test-ulps: Update.
1781 2015-05-05 Joseph Myers <joseph@codesourcery.com>
1783 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1784 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1785 * math/auto-libm-test-out: Regenerated.
1786 * sysdeps/i386/fpu/libm-test-ulps: Update.
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1789 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1792 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1793 (wcsncpy): Likewise.
1795 2015-05-05 Florian Weimer <fweimer@redhat.com>
1797 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1798 Assume __ASSUME_FALLOCATE is always true.
1799 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1800 (__posix_fallocate64_l64): Likweise.
1801 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1802 (posix_fallocate): Likewise.
1803 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1804 (__posix_fallocate64_l64): Likewise.
1805 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1806 [!__ASSUME_FALLOCATE]: Add comment.
1808 2015-05-05 Florian Weimer <fweimer@redhat.com>
1810 * sysdeps/unix/sysv/linux/i386/Makefile
1811 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1812 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1813 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1814 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1815 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1816 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1817 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1819 2015-05-02 Joseph Myers <joseph@codesourcery.com>
1821 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1822 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1824 * math/auto-libm-test-out: Regenerated.
1825 * sysdeps/i386/fpu/libm-test-ulps: Update.
1826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1828 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1830 * math/auto-libm-test-in: Add more tests of tgamma.
1831 * math/auto-libm-test-out: Regenerated.
1832 * sysdeps/i386/fpu/libm-test-ulps: Update.
1833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1835 * math/auto-libm-test-in: Add more tests of tanh.
1836 * math/auto-libm-test-out: Regenerated.
1837 * sysdeps/i386/fpu/libm-test-ulps: Update.
1838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1840 * math/auto-libm-test-in: Add more tests of tan.
1841 * math/auto-libm-test-out: Regenerated.
1842 * sysdeps/i386/fpu/libm-test-ulps: Update.
1843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1845 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1846 * math/auto-libm-test-out: Regenerated.
1847 * sysdeps/i386/fpu/libm-test-ulps: Update.
1848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1850 * math/auto-libm-test-in: Add another test of pow.
1851 * math/auto-libm-test-out: Regenerated.
1852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1854 * math/auto-libm-test-in: Add more tests of lgamma.
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 log, log10, log2 and
1861 * math/auto-libm-test-out: Regenerated.
1862 * sysdeps/i386/fpu/libm-test-ulps: Update.
1863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1865 2015-05-01 Mark Wielaard <mjw@redhat.com>
1867 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1868 Elf64_Chdr structs and ELFCOMPRESS constants.
1870 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1872 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1874 * math/auto-libm-test-out: Regenerated.
1875 * sysdeps/i386/fpu/libm-test-ulps: Update.
1876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1878 * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1885 * config.h.in (HAVE_AARCH64_BE): Add.
1887 2015-04-30 Joseph Myers <joseph@codesourcery.com>
1889 * math/auto-libm-test-in: Add more tests of csqrt.
1890 * math/auto-libm-test-out: Regenerated.
1891 * sysdeps/i386/fpu/libm-test-ulps: Update.
1892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1894 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1895 * math/auto-libm-test-out: Regenerated.
1896 * sysdeps/i386/fpu/libm-test-ulps: Update.
1897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1899 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1901 2015-04-29 Roland McGrath <roland@hack.frob.com>
1903 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1904 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1906 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1907 (euidaccess, eaccess): Define as weak aliases.
1909 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1910 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1911 but __suseconds_t is often 'long int' so some sources assume that
1912 type is being used (e.g. they use %ld to print tv_usec).
1914 2015-04-29 Florian Weimer <fweimer@redhat.com>
1917 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1919 * nss/tst-nss-getpwent.c: New file.
1920 * nss/Makefile (tests): Add new test.
1922 2015-04-28 Joseph Myers <joseph@codesourcery.com>
1925 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1926 exponents less than 48 as cases where high part of mantissa needs
1927 examining to determine whether argument is integral.
1928 * math/libm-test.inc (round_test_data): Add more tests.
1930 2015-04-28 Mark Wielaard <mjw@redhat.com>
1932 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1934 2015-04-27 David S. Miller <davem@davemloft.net>
1936 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1938 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1940 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1943 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1945 2015-04-27 Florian Weimer <fweimer@redhat.com>
1948 * time/tzset.c (parse_tzname): Return error on memory allocation
1950 * test-skeleton.c (struct temp_name_list): Change type of name
1951 member to non-const.
1952 (add_temp_file): Create a copy of the file name.
1953 (delete_temp_files): Deallocate memory.
1954 (create_temp_file): Add comment.
1956 2015-04-24 Florian Weimer <fweimer@redhat.com>
1958 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1959 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1961 2015-04-24 Roland McGrath <roland@hack.frob.com>
1963 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1964 * sysdeps/arm/configure: Regenerated.
1966 2015-04-24 Florian Weimer <fweimer@redhat.com>
1969 * time/tzfile.c (__tzfile_read): Check for large values of
1970 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1971 * time/tzset.c (__tzstring_len): New function, based on the old
1972 __tzstring function.
1973 (__tzstring): Call __tzstring_len.
1974 (parse_tzname): New helper function extracted from
1975 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1977 (parse_offset): New helper function extracted from
1978 __tzset_parse_tz. Replace switch with fallthrough with
1979 initialization before sscanf.
1980 (parse_rule): Likewise.
1981 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1982 new-style function definition.
1983 * timezone/Makefile (tests): Add tst-tzset.
1984 (tst-tzset.out): Dependencies on time zone files.
1985 (tst-tzset-ENV): Set TZDIR.
1986 (testdata/XT%): Copy crafted time zone files.
1987 * timezone/README: Mention crafted time zone files.
1988 * timezone/testdata/XT1, timezone/testdata/XT2,
1989 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1991 * timezone/tst-tzset.c: New test.
1993 2015-04-24 Florian Weimer <fweimer@redhat.com>
1995 * Makeconfig (+gccwarn): Remove -Winline.
1997 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1999 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2001 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2003 * NEWS: Mention sysconf() cache information support for s390.
2004 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2006 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
2008 * math/k_casinh.c (__kernel_casinh): Use __copysign.
2009 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2010 (__nearbyint): Likewise.
2011 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2012 (copysignl): Likewise.
2014 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
2017 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2018 based on padding. (CVE-2015-1781)
2020 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2022 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2024 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2025 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2026 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2027 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2028 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2029 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2030 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2031 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2032 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2033 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2034 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2035 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2036 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2037 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2038 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2039 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2040 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2041 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2042 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2043 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2044 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2045 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2046 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2048 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2050 * stdlib/setenv.c (__add_to_environ):
2051 Dump core quickly if setenv (..., NULL, ...) is called.
2052 This time, do it the right way, and pacify GCC with a pragma.
2054 2015-04-17 Roland McGrath <roland@hack.frob.com>
2056 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2057 IMAP->l_prev cannot be null, and #if out the code for the contrary
2058 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2059 believe that NS (&_dl_ns[NSID]) could point outside the array.
2061 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2062 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2063 before using NSID as an index.
2065 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2068 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2069 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2070 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2072 2015-04-17 Roland McGrath <roland@hack.frob.com>
2074 Add preliminary port to Google Native Client on ARM.
2075 * abi-tags (.*-.*-nacl.*): New entry.
2076 * sysdeps/arm/nacl: New directory.
2077 * sysdeps/nacl: New directory.
2079 2015-04-16 David S. Miller <davem@davemloft.net>
2081 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2082 lowlevellock-futex.h
2084 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2086 * sysdeps/tile/configure.ac: New file.
2087 * sysdeps/tile/configure: Regenerated.
2089 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2091 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2092 conditionals for weak_alias and libc_hidden_weak.
2093 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2094 libc_hidden_weak and weak_alias.
2095 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2096 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2097 and weak_alias for static one.
2099 2015-04-15 David S. Miller <davem@davemloft.net>
2101 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2103 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2106 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2107 Use signed comparision instead of substraction to avoid
2109 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2110 Take the sign of ret.
2111 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2112 Do not expect precise return values. Only the sign matters.
2113 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2114 * wcsmbs/test-wcsncmp.c: New File.
2115 * string/test-strncmp.c: Add wcsncmp support.
2117 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2120 * math/w_log1p.c: New file.
2121 * math/w_log1pf.c: Likewise.
2122 * math/w_log1pl.c: Likewise.
2123 * math/Makefile (libm-calls): Add w_log1p.
2124 * math/s_log1pl.c (log1pl): Remove weak_alias.
2125 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2126 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2127 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2128 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2129 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2130 [NO_LONG_DOUBLE] (log1pl): Likewise.
2131 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2132 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2133 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2134 (log1p): Remove long_double_symbol.
2135 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2136 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2137 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2138 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2139 remove weak_alias for corresponding log1p function.
2140 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2141 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2142 * sysdeps/ia64/fpu/w_log1p.c: New file.
2143 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2144 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2145 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2147 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2150 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2151 decimal exponent by 1.
2152 * stdlib/tst-strtod-round-data: Add more tests.
2153 * stdlib/tst-strtod-round.c (tests): Regenerated.
2155 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2157 * math/auto-libm-test-in: Add more tests of clog and clog10.
2158 * math/auto-libm-test-out: Regenerated.
2159 * sysdeps/i386/fpu/libm-test-ulps: Update.
2160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2162 2015-04-09 Roland McGrath <roland@hack.frob.com>
2164 * Makeconfig (module-cppflags): Exclude all .v.i files.
2165 (skip-module-cppflags): Variable removed.
2167 * configure.ac (libc_config_ok): Initialize before reading
2168 preconfigure scripts, not after.
2169 * configure: Regenerated.
2171 * test-skeleton.c (TIMEOUT): Move #define to top level.
2172 (main): Grok environment variable TEST_DIRECT. If set, print
2173 test expectation details into that file and then behave as if
2176 2015-04-09 Florian Weimer <fweimer@redhat.com>
2178 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2181 2015-04-08 David S. Miller <davem@davemloft.net>
2183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2185 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2187 * math/auto-libm-test-in: Add more tests of atanh.
2188 * math/auto-libm-test-out: Regenerated.
2189 * sysdeps/i386/fpu/libm-test-ulps: Update.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2192 * math/auto-libm-test-in: Add more tests of atan.
2193 * math/auto-libm-test-out: Regenerated.
2194 * sysdeps/i386/fpu/libm-test-ulps: Update.
2195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2197 2015-04-08 Florian Weimer <fweimer@redhat.com>
2199 * elf/pldd.c (main): Rewrite to use struct
2200 scratch_buffer instead of extend_alloca.
2201 * elf/pldd-xx.c (find_maps): Likewise.
2202 * grp/initgroups.c: Include <scratch_buffer.h> instead of
2204 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2205 scratch_buffer instead of extend_alloca.
2206 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2207 grp/compat-initgroups.c.
2208 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2209 Rewrite to use struct scratch_buffer instead of extend_alloca.
2210 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2211 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2213 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2215 * math/auto-libm-test-in: Add more tests of cbrt.
2216 * math/auto-libm-test-out: Regenerated.
2217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2219 * math/auto-libm-test-in: Add more tests of cabs.
2220 * math/auto-libm-test-out: Regenerated.
2221 * sysdeps/i386/fpu/libm-test-ulps: Update.
2222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2226 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2227 (__ieee754_atan2): Set FE_TONEAREST mode for internal
2229 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2231 * math/auto-libm-test-out: Regenerated.
2232 * sysdeps/i386/fpu/libm-test-ulps: Update.
2233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2236 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2237 (atan): Set FE_TONEAREST mode for internal computations.
2238 * math/auto-libm-test-in: Add more tests of atan.
2239 * math/auto-libm-test-out: Regenerated.
2241 2015-04-07 James Cowgill <james410@cowgill.org.uk>
2244 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2246 2015-04-07 Florian Weimer <fweimer@redhat.com>
2248 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2250 2015-04-07 Florian Weimer <fweimer@redhat.com>
2252 * include/scratch_buffer.h: New file.
2253 * malloc/scratch_buffer_grow.c: Likewise.
2254 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2255 * malloc/scratch_buffer_set_array_size.c: Likewise.
2256 * malloc/tst-scratch_buffer.c: Likewise.
2257 * malloc/Makefile (routines): Add scratch_buffer_grow.
2258 (tests): Add test case.
2259 * malloc/Versions (GLIBC_PRIVATE): Export
2260 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2261 __libc_scratch_buffer_set_array_size.
2263 2015-04-06 Richard Henderson <rth@redhat.com>
2265 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2266 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2268 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2269 unsigned int before printing.
2271 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2274 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2275 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2277 2015-04-02 Florian Weimer <fweimer@redhat.com>
2279 * include/libc-internal.h (libc_max_align_t): Define.
2281 2015-04-02 Andreas Schwab <schwab@suse.de>
2284 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2286 2015-04-02 Mel Gorman <mgorman@suse.de>
2289 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2290 as well as the main arena.
2292 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2295 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2296 sharing L2 cache to 2 for Silvermont/Knights Landing.
2298 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2301 * config.make.in (have-protected-data): New.
2302 * configure.ac: Check linker support for protected data symbol.
2303 * configure: Regenerated.
2304 * elf/Makefile (modules-names): Add tst-protected1moda and
2305 tst-protected1modb if $(have-protected-data) is yes.
2306 (tests): Add tst-protected1a and tst-protected1b if
2307 $(have-protected-data) is yes.
2308 ($(objpfx)tst-protected1a): New.
2309 ($(objpfx)tst-protected1b): Likewise.
2310 (tst-protected1modb.so-no-z-defs): Likewise.
2311 * elf/tst-protected1a.c: New file.
2312 * elf/tst-protected1b.c: Likewise.
2313 * elf/tst-protected1mod.h: Likewise.
2314 * elf/tst-protected1moda.c: Likewise.
2315 * elf/tst-protected1modb.c: Likewise.
2317 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2320 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2321 indicates it is called from do_lookup_x on relocation against
2322 protected data, skip the data definion in the executable from
2324 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2325 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2326 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2327 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2328 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2330 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2331 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2332 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2333 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2334 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2335 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2337 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2339 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2340 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2342 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2344 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2346 * sysdeps/x86_64/nptl/tls.h: Ditto.
2348 2015-03-27 Roland McGrath <roland@hack.frob.com>
2350 * dlfcn/tststatic.c (main): Converted to ...
2351 (do_test): ... this.
2352 (TEST_FUNCTION): New macro.
2353 Include test-skeleton.c.
2355 2015-03-26 Alan Modra <amodra@gmail.com>
2357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2358 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2359 zero for undefined weak.
2360 (elf_machine_plt_conflict): Similarly.
2362 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2364 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2366 * math/auto-libm-test-out: Regenerated.
2367 * sysdeps/i386/fpu/libm-test-ulps: Update.
2368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2370 * math/auto-libm-test-in: Add another test of asin.
2371 * math/auto-libm-test-out: Regenerated.
2372 * sysdeps/i386/fpu/libm-test-ulps: Update.
2373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2375 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2377 (LLL_EBX_REG): Likewise.
2378 (LLL_ENTER_KERNEL): Likewise.
2380 * math/auto-libm-test-in: Add more tests of asin.
2381 * math/auto-libm-test-out: Regenerated.
2382 * sysdeps/i386/fpu/libm-test-ulps: Update.
2383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2386 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2387 libc_do_syscall_args): New structure.
2388 (INTERNAL_SYSCALL_MAIN_0): New macro.
2389 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2390 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2391 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2392 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2393 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2394 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2395 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2396 Replace conditional definitions by conditional definitions of ....
2397 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2398 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2399 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2400 (libpthread-sysdep_routines): Add libc-do-syscall.
2401 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2402 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2403 to __NR_futex not 240.
2405 2015-03-25 Alan Modra <amodra@gmail.com>
2407 * NEWS: Advertise TLS optimization.
2408 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2409 (DT_PPC_NUM): Increment.
2410 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2411 (CHECK_STATIC_TLS): Use here.
2412 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2415 * sysdeps/powerpc/dl-tls.c: New file.
2416 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2417 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2418 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2419 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2424 2015-03-25 Alan Modra <amodra@gmail.com>
2426 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2427 for overlapping .opd entries" to "support...".
2428 * sysdeps/powerpc/powerpc64/configure: Regenerate
2430 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2432 * math/auto-libm-test-in: Add more tests of acos.
2433 * math/auto-libm-test-out: Regenerated.
2434 * sysdeps/i386/fpu/libm-test-ulps: Update.
2435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2437 * math/auto-libm-test-in: Add more tests of expm1.
2438 * math/auto-libm-test-out: Regenerated.
2439 * sysdeps/i386/fpu/libm-test-ulps: Update.
2440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2442 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2444 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2445 * math/auto-libm-test-out: Regenerated.
2446 * sysdeps/i386/fpu/libm-test-ulps: Update.
2447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2449 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2452 * math/auto-libm-test-in: Add more tests of log2.
2453 * math/auto-libm-test-out: Regenerated.
2454 * sysdeps/i386/fpu/libm-test-ulps: Update.
2455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2457 2015-03-23 Roland McGrath <roland@hack.frob.com>
2459 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2460 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2461 _IO_IS_APPENDING bit in READ_WRITE instead.
2463 2015-03-23 Florian Weimer <fweimer@redhat.com>
2465 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2466 (__determine_cpumask_size): Replace extend_alloca with a
2467 variable-length array. Do not treat res == 0 as an error.
2469 2015-03-23 Florian Weimer <fweimer@redhat.com>
2472 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2473 and integer overflow.
2474 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2475 (main): Add integer overflow tests.
2476 * manual/pattern.texi (Calling Wordexp): Document additional use
2479 2015-03-23 Alan Modra <amodra@gmail.com>
2481 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2482 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2483 and false branch of conditional.
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2487 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2489 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2491 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2492 unused declaration of _hurd_intr_rpc_msg_in_trap.
2493 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2494 defined instead of whether it is non-zero.
2495 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2496 input constraint instead of both input and output constraint. Use ecx
2497 clobber instead of %ecx.
2498 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2499 mutex_unlock): Use a statement expression instead of an expression list.
2500 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2501 type to vm_size_t instead of vm_address_t.
2502 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2503 defined instead of whether it is non-zero.
2504 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2505 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2506 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2507 comparisons with mapaddr.
2508 * nscd/nscd-client.h: Include <time.h>.
2509 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2510 9th parameter to __vm_region instead of int.
2511 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2512 * scripts/check-local-headers.sh (exclude): Add device/,
2513 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2516 2015-03-19 Roland McGrath <roland@hack.frob.com>
2518 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2519 to account for alignment padding.
2520 * sysdeps/arm/memmove.S: Likewise.
2522 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2524 * sysdeps/unix/sysv/linux/generic/README: New file.
2526 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2529 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2530 (futex_abstimed_wait)
2531 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2532 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2533 of lll_futex_timed_wait.
2535 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2538 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2540 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2547 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2548 entries with Static TLS too. Skip entries past the end of the
2549 allocated DTV, from Alan Modra.
2550 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2551 Static TLS DTV entry set up from...
2552 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2553 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2554 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2555 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2557 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2558 that the slot we find is associated with the given map before
2559 using its generation count.
2560 * nptl_db/db_info.c: Include ldsodefs.h.
2561 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2562 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2563 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2564 (link_map::l_tls_offset): New struct field.
2565 (dtv_t::counter): Likewise.
2566 (rtld_global): New struct.
2567 (_rtld_global): New rtld variable.
2568 (dl_tls_dtv_slotinfo_list): New rtld global field.
2569 (dtv_slotinfo_list): New struct.
2570 (dtv_slotinfo): Likewise.
2571 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2572 (td_lookup): Rename to...
2573 (td_mod_lookup): ... this. Use new mod parameter instead of
2575 * nptl_db/td_thr_tlsbase.c: Include link.h.
2576 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2577 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2578 addresses even if the DTV is out of date or missing them.
2579 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2580 index zero-length arrays.
2581 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2582 (td_lookup): Make it a macro implemented in terms of...
2583 (td_mod_lookup): ... this declaration.
2584 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2585 (DB_MAIN_VARIABLE): Likewise.
2587 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2590 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2592 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2594 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2596 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2599 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2600 (atomic_add, atomic_increment_and_test)
2601 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2603 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2605 * stdlib/setenv.c (__add_to_environ):
2606 Dump core quickly if setenv (..., NULL, ...) is called.
2608 2015-03-13 Roland McGrath <roland@hack.frob.com>
2610 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2611 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2612 all the necessary asm magic in one place.
2613 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2616 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2619 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2620 traced file mtime. Use consistent log message.
2621 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2622 (register_traced_file): Call install_watches. Always set mtime.
2623 (invalidate_cache): Iterate over all trace files. Call install_watches.
2624 (inotify_check_files): Don't inline. Handle watching parent
2625 directories and configuration file movement in and out.
2626 (handle_inotify_events): New function.
2627 (main_loop_poll): Call handle_inotify_events.
2628 (main_loop_epoll): Likewise.
2629 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2630 (struct traced_file): Use array of inotify fds. Add parent directory,
2632 (struct database_dyn): Remove unused file_mtime.
2633 (init_traced_file): New inline function.
2634 (define_traced_file): New macro.
2635 * nss/nss_db/db-init.c: Use define_traced_file.
2636 (_nss_db_init): Use init_traced_file.
2637 * nss/nss_files/files-init.c: Use define_traced_file.
2638 (_nss_files_init): Use init_traced_file.
2640 2015-03-12 Joseph Myers <joseph@codesourcery.com>
2642 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2643 [_LIBC]: Do not include <stdlib.h>.
2644 [!_LIBC] (abort): Remove declaration.
2645 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2646 _FP_STATIC_ASSERT instead of conditionally calling abort.
2647 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2648 (_FP_EXTEND_CNAN): Likewise.
2649 (FP_TRUNC): Likewise.
2650 (__FP_CLZ): Likewise.
2651 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2653 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2655 * manual/string.texi (XPG basename): Fix prototype.
2657 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2660 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2661 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2662 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2663 (__setcontext): Likewise.
2664 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2665 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2666 Call rt_sigprocmask syscall one time to set new signal mask
2667 and retrieve the current signal mask instead of two calls.
2668 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2669 (__swapcontext): Likewise.
2670 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2671 * stdlib/tst-setcontext2.c: New file.
2673 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2675 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2677 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2680 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2683 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2686 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2688 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2690 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2691 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2693 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2694 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2695 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2696 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2697 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2698 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2700 * nptl_db/td_symbol_list.c (td_lookup): Remove
2701 HAVE_ASM_GLOBAL_DOT_NAME code.
2702 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2703 HAVE_ASM_GLOBAL_DOT_NAME check.
2704 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2705 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2706 (DOT_LABEL): Remove define.
2707 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2708 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2709 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2710 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2711 (__TLS_GET_ADDR): Likewise.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2713 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2715 2015-03-11 Carlos O'Donell <carlos@redhat.com>
2718 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2719 (_FPU_SETCW): Initialize cw from fpsr before storing.
2720 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2721 (fesetexceptflag): Rewrite using fpu_control.h.
2722 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2724 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
2727 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2729 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2731 2015-03-11 Joseph Myers <joseph@codesourcery.com>
2733 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2734 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2736 (_FP_FMA): Likewise.
2737 (_FP_DIV): Likewise.
2739 2015-03-10 Roland McGrath <roland@hack.frob.com>
2741 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2742 with 0 in that case.
2743 * Makefile (summarize-tests): New canned sequence, factored out of
2744 commands for targets tests and xtests. Display summary lines that
2745 don't start with PASS: or XFAIL: rather than ones that do start with
2746 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2747 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2748 do start with ERROR: or FAIL:.
2749 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2750 (except for [$(build-shared) = yes]).
2751 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2752 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2753 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2754 * nptl/Makefile: Revert 2015-03-04 changes.
2755 [$(CXX) empty] (tests-unsupported): New variable.
2756 * debug/Makefile: Likewise.
2758 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2759 gnulib file. Replace __attribute with __attribute__ throughout.
2761 2015-03-10 Carlos O'Donell <carlos@redhat.com>
2763 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2765 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2768 * math/auto-libm-test-in: Add another test of pow.
2769 * math/auto-libm-test-out: Regenerated.
2771 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2773 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2774 $(config-cflags-nofma).
2776 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2778 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2779 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2780 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2781 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2782 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2783 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2784 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2785 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2786 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2787 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2788 Add comment on closing #endif.
2790 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2792 * posix/wordexp.c (CHAR_IN_SET): New macro.
2793 (parse_param): Use it.
2795 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2797 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2799 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2802 * posix/wordexp.c (parse_param): Fix buffer overflow.
2803 * posix/wordexp-test.c (test_case): Add test case.
2805 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2808 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2809 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2811 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2814 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2815 (do_bz18043): Delete.
2817 (testit): Refactor to have words at the edge of unreadable page.
2819 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2822 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2823 Cleanup read-only streams as well.
2824 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2826 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2828 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2831 2015-03-07 Joseph Myers <joseph@codesourcery.com>
2833 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2835 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2836 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2837 * soft-fp/op-common.h (_FP_DECL): Likewise.
2839 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2841 * elf/ifuncdep2.c (global): Replace
2842 __attribute__((visibility("protected"))) with
2843 asm (".protected global").
2844 * elf/ifuncmod1.c (global): Likewise.
2845 * elf/ifuncmod5.c (global): Likewise.
2847 2015-03-06 Joseph Myers <joseph@codesourcery.com>
2849 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2850 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2852 2015-03-06 Roland McGrath <roland@hack.frob.com>
2854 * manual/install.texi (Configuring and compiling):
2855 Document test-wrapper-env-only.
2856 * INSTALL: Regenerated.
2858 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2861 * posix/wordexp.c (parse_param): Fix buffer overflow.
2862 * posix/wordexp-test.c (do_bz18043): Add test case.
2864 2015-03-06 Vincent Bernat <vincent@bernat.im>
2866 * time/tst-strptime2.c (do_test): Ensure failing tests are
2868 * time/tst-strptime3.c (do_test): Likewise.
2870 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2872 Fix aio_error thread-safety.
2873 * sysdeps/pthread/aio_error.c: New file
2874 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2877 2015-03-06 Florian Weimer <fweimer@redhat.com>
2879 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2880 (group_number, vfprintf): Use it.
2881 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2882 (JUMP, REF): Use it.
2883 (WORK_BUFFER_SIZE): New enum constant.
2884 (process_arg, vfprintf): Use it.
2886 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
2888 * manual/errno.texi (Error Messages): Complete example function
2889 by adding missing #define.
2890 (program_invocation_name): Add statement indicating GNU
2891 extension and reference which header file declares the variable.
2892 (program_invocation_short_name): Likewise.
2894 2015-03-06 Mike Frysinger <vapier@gentoo.org>
2896 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2899 2015-03-05 Roland McGrath <roland@hack.frob.com>
2901 * Makeconfig (test-wrapper-env-only): New variable.
2902 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2903 then use that with $(test-wrapper-env-only) rather than using
2904 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2906 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2909 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2910 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2911 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2912 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2913 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2914 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2915 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2916 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2918 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2919 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2921 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2923 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2925 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2927 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2928 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2930 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2932 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2933 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2935 2015-03-04 Roland McGrath <roland@hack.frob.com>
2937 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2938 (ETH_ALEN): New macro.
2939 (struct ether_addr): Use it for length of ether_addr_octet.
2941 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2942 (setdb): Don't call __nss_configure_lookup for "rpc".
2943 (do_test): Don't call test_rpc.
2944 (output_rpcent, test_rpc): Functions moved ...
2945 * sunrpc/test-rpcent.c: ... to this new file.
2946 * sunrpc/Makefile (tests): Add it.
2948 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2950 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2951 * nptl/tst-signal6.c: Likewise.
2952 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2953 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2955 * configure.ac (libc_cv_cxx_link_ok): New check.
2956 Reset CXX to empty if it fails to link.
2957 * configure: Regenerated.
2958 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2959 bug-atexit3-lib only if $(CXX) is nonempty.
2960 * nptl/Makefile (tests): Likewise for tst-cancel24.
2961 (tests, tests-static): Likewise for tst-cancel24-static.
2962 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2963 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2964 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2965 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2967 2015-03-04 Andreas Schwab <schwab@suse.de>
2970 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2971 for non-GCC compilers.
2972 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2975 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2978 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2979 integer before bitwise and assembly operations.
2980 (feclearexcept): Likewise.
2981 * math/test-fenvinline.c: New file.
2982 * math/Makefile: Add test-fenvinline test.
2984 2015-03-03 Alan Modra <amodra@gmail.com>
2987 * scripts/localplt.awk: Strip off symbol version.
2988 * NEWS: Mention bug fix.
2990 2015-03-02 Roland McGrath <roland@hack.frob.com>
2992 * sysdeps/pthread/timer_routines.c
2993 (timer_free_list, thread_free_list, thread_active_list): Make static.
2995 2015-03-02 Joseph Myers <joseph@codesourcery.com>
2998 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2999 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3001 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3002 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3004 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3005 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3008 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3011 * posix/fnmatch_loop.c (END): Detect invalid pattern.
3012 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3014 2015-03-02 Andreas Schwab <schwab@suse.de>
3016 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3019 2015-03-02 Florian Weimer <fweimer@redhat.com>
3021 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3022 Return error status.
3024 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
3027 * locale/findlocale.c (_nl_find_locale): Introduce const
3028 version of loc_name and drop unsafe type casts.
3030 2015-02-27 Roland McGrath <roland@hack.frob.com>
3032 * dlfcn/tststatic2.c (main): Converted to ...
3033 (do_test): ... this.
3034 (TEST_FUNCTION): New macro.
3035 Include test-skeleton.c.
3037 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
3040 * elf/Makefile (tests): Add vismain only if PIE is enabled.
3041 (tests-pie): Add vismain.
3042 (CFLAGS-vismain.c): New.
3043 * elf/vismain.c: Add comments for PIE requirement.
3045 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3049 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3050 0x1p-56L as threshold for just returning the argument.
3051 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3052 0x1p-32L as threshold for just returning the argument.
3053 * math/auto-libm-test-in: Add more tests of atanh.
3054 * math/auto-libm-test-out: Regenerated.
3055 * sysdeps/i386/fpu/libm-test-ulps: Update.
3056 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3058 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3060 * string/bcopy.c (bcopy): Call memmove for performance.
3062 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3064 * string/bzero.c (__bzero): Call memset for performance.
3066 2015-02-27 John David Anglin <dave.anglin@bell.net>
3069 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3072 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3074 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3076 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3078 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3079 (__kernel_standard): Use CSTR macro when setting exc.name.
3080 * sysdeps/ieee754/Makefile [$(subdir) = math]
3081 (CFLAGS-k_standard.c): Remove variable.
3083 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3084 setting p and q from "else if" to "else".
3086 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3088 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3090 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3092 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3094 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3099 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3100 return pi/2 for arguments below 0x1p-113L.
3101 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3102 return pi/2 for arguments below 0x1p-106L.
3103 * math/auto-libm-test-in: Add more tests of acos.
3104 * math/auto-libm-test-out: Regenerated.
3107 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3109 (__ieee754_asin): Force underflow exception for results with small
3111 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3113 (__ieee754_asinf): Force underflow exception for results with
3114 small absolute value.
3115 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3116 (__ieee754_asin): Force underflow exception for results with small
3118 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3119 (__ieee754_asinf): Force underflow exception for results with
3120 small absolute value.
3121 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3122 (__ieee754_asinl): Force underflow exception for results with
3123 small absolute value.
3124 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3125 (__ieee754_asinl): Force underflow exception for results with
3126 small absolute value.
3127 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3128 (__ieee754_asinl): Force underflow exception for results with
3129 small absolute value.
3130 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3132 * math/auto-libm-test-in: Do not mark underflow exceptions as
3133 possibly missing for bug 16351.
3134 * math/auto-libm-test-out: Regenerated.
3137 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3138 of power of 2 down when low part has opposite sign.
3139 * math/libm-test.inc (logb_test_data): Add more tests.
3141 2015-02-26 Andreas Schwab <schwab@suse.de>
3144 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3145 over collating symbol inside a bracket expression. Minor cleanup.
3146 * posix/tst-fnmatch3.c (do_test): Add test case.
3148 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3151 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3152 Adjust exponent of power of 2 down when low part has opposite
3154 * math/libm-test.inc (ilogb_test_data): Add more tests.
3156 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3159 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3160 the previous change.
3163 * locale/findlocale.c (_nl_find_locale): Retry archive search
3164 after alias expansion.
3166 2015-02-25 Roland McGrath <roland@hack.frob.com>
3168 * iconv/tst-iconv3.c (main): Converted to ...
3169 (do_test): ... this.
3170 (TEST_FUNCTION): New macro.
3171 Include test-skeleton.c.
3173 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3174 (convert): Make function static.
3175 (test_unalign): Likewise. Add const to argument pointee types.
3176 (main): Replace with static function do_test.
3177 Print "Succeeded." only if RET is zero.
3178 (TEST_FUNCTION): New macro.
3179 Include test-skeleton.c.
3181 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3182 returns a null pointer.
3184 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3186 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3187 to __memcpy_ppc only for static builds.
3189 2015-02-25 Joseph Myers <joseph@codesourcery.com>
3192 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3193 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3194 * math/auto-libm-test-in: Add more tests of asinh.
3195 * math/auto-libm-test-out: Regenerated.
3196 * sysdeps/i386/fpu/libm-test-ulps: Update.
3197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3199 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
3202 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3203 and ip6_mtuinfo definitions here.
3204 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3205 in this define too. Update comment.
3207 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
3209 * elf/sprof.c (load_shobj): Tweak error message to match others.
3211 2015-02-24 Kevin Easton <kevin@guarana.org>
3213 [BZ #16145] (partial fix)
3214 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3215 to reduce lock contention.
3217 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
3219 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3220 (struct timex): Update time comment.
3221 (ADJ_SETOFFSET): Define.
3223 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3226 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3227 2**56 not 2**28 as threshold for log (2x) formula.
3228 * math/auto-libm-test-in: Add more tests of acosh.
3229 * math/auto-libm-test-out: Regenerated.
3230 * sysdeps/i386/fpu/libm-test-ulps: Update.
3231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3233 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3235 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3236 parenthesis around the buf assignment.
3237 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3239 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3242 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3243 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3244 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3245 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3246 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3247 * math/libm-test.inc (scalb_test_data): Add more tests.
3249 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3252 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3253 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3255 2015-02-24 Eric Rannaud <e@nanocritical.com>
3258 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3259 * io/bits/fcntl2.h (open): Use it.
3261 * io/open.c (__libc_open): Likewise.
3262 * io/open64.c (__libc_open64): Likewise.
3263 * io/open64_2.c (__open64_2): Likewise.
3264 * io/open_2.c (__open_2): Likewise.
3265 * io/openat.c (__openat): Likewise.
3266 * io/openat64.c (__openat64): Likewise.
3267 * io/openat64_2.c (__openat64_2): Likewise.
3268 * io/openat_2.c (__openat_2): Likewise.
3269 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3270 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3271 * sysdeps/posix/open64.c (__libc_open64): Likewise.
3272 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3273 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3274 (__open_nocancel): Likewise.
3275 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3276 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3277 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3279 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3282 * resolv/gethnamaddr.c (getanswer): Skip logging if
3283 RES_USE_DNSSEC is set.
3284 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3286 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3288 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3290 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3292 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3293 201304L, for Unicode 7.
3295 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3298 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3299 shared library. Add gmon-start.os otherwise.
3300 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3301 $(objpfx)gmon-start.os if builing shared library.
3302 ($(objpfx)g$(static-start-installed-name)): Likewise.
3304 2015-02-23 Andreas Schwab <schwab@suse.de>
3306 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3308 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3311 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3312 (enlarge_userbuf): Likewise.
3314 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3316 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3317 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3318 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3319 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3321 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3323 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3324 expression inside statement expression.
3326 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3328 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3329 <sysdeps/nptl/lowlevellock.h> and remove macros and
3330 functions that are now defined there.
3331 (SYS_futex): Remove.
3332 (lll_compare_and_swap): Remove.
3333 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3335 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3338 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3339 instead of scandirat.
3340 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3341 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3342 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3344 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3345 (__scandirat): Declare. Use libc_hidden_proto.
3346 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3348 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3350 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3353 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3355 (__ieee754_atan2): For results with small absolute value, force
3356 underflow exception and remove excess range and precision from
3358 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3360 (__ieee754_atan2f): For results with small absolute value, force
3361 underflow exception and remove excess range and precision from
3363 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3365 (__atan): For results with small absolute value, force underflow
3366 exception and remove excess range and precision from return value.
3367 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3369 (__atanf): For results with small absolute value, force underflow
3370 exception and remove excess range and precision from return value.
3371 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3373 (__ieee754_atan2): Force underflow exception for results with
3374 small absolute value.
3375 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3377 (atan): Force underflow exception for results with small absolute
3379 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3380 (__atanf): Force underflow exception for results with small
3382 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3384 (__atanl): Force underflow exception for results with small
3386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3387 (__atanl): Force underflow exception for results with small
3389 * sysdeps/x86/fpu/bits/mathinline.h
3390 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3391 (__ieee754_atan2): Only define inline for long double.
3392 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3393 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3394 * math/auto-libm-test-in: Do not mark underflow exceptions as
3395 possibly missing for bug 15319. Add more tests of atan2.
3396 * math/auto-libm-test-out: Regenerated.
3397 * math/libm-test.inc (casin_test_data): Do not mark underflow
3398 exceptions as possibly missing for bug 15319.
3399 (casinh_test_data): Likewise.
3400 * sysdeps/i386/fpu/libm-test-ulps: Update.
3402 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3404 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3405 * sysdeps/mips/bits/endian.h: Fix comments.
3407 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3410 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3411 (hdestroy_r): Likewise.
3412 (hsearch_r): Likewise.
3413 (__hcreate_r): Declare and use libc_hidden_proto.
3414 (__hdestroy_r): Likewise.
3415 (__hsearch_r): Likewise.
3416 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3417 (hcreate): Call __hcreate_r instead of hcreate_r.
3418 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3419 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3420 as weak alias of __hcreate_r.
3421 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3423 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3425 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3427 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3428 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3429 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3430 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3432 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3434 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3435 arena_lock into a single arena_get.
3437 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3439 * dl-reloc.c: Inlucde libc-internal.h.
3440 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3441 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3442 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3443 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3444 (grow_heap): Likewise.
3445 * malloc/malloc.c: Include libc-internal.h.
3446 (do_check_malloc): Call powerof2.
3447 (sysmalloc): Use pagesize. Call ALIGN_UP.
3448 (systrim): Use pagesize.
3449 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3450 (__libc_valloc): Use pagesize.
3451 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3453 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3456 * include/sys/resource.h (__getrlimit64): Declare. Use
3458 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3459 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3460 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3462 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3464 [!getrlimit64] (getrlimit64): Define as weak alias of
3465 __getrlimit64. Use libc_hidden_weak.
3466 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3467 using __getrlimit64 not __new_getrlimit64.
3468 (__GI_getrlimit64): Likewise.
3469 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3471 (__GI_getrlimit64): Likewise.
3472 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3474 (getrlimit): Add __getrlimit64 alias.
3475 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3477 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3479 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3480 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3482 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3484 * libio/fileops.c: Add missing sys/mman.h
3485 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3487 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3489 * manual/math.texi (Errors in Math Functions): Clarify goals
3490 regarding inexact and underflow exceptions.
3492 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3494 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3495 * sysdeps/mips/memset.S: Ditto.
3497 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3499 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3501 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3503 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3504 (__v1longjmp): Remove versioned symbol.
3505 (__v1siglongjmp): Remove alias and versioned symbol.
3506 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3507 (__v2siglongjmp): Likewise.
3509 2015-02-16 Torvald Riegel <triegel@redhat.com>
3511 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3513 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3515 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3517 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3520 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3521 zero result does not depend on the sign resulting from
3523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3525 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3526 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3527 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3528 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3529 * math/libm-test.inc (remquo_test_data): Add more tests.
3531 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3533 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3534 Problem reported by J William Piggott.
3536 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3539 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3540 products 4 * y and 2 * y where those would overflow.
3541 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3543 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3544 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3545 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3546 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3547 * math/libm-test.inc (remquo_test_data): Add more tests.
3549 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3551 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3552 [defined _COMPILING_NEWLIB].
3553 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3554 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3556 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3557 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3559 2015-02-16 Torvald Riegel <triegel@redhat.com>
3561 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3564 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3567 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3568 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3569 HOST_STACK_END_ADDR): Likewise.
3571 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3573 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3574 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3575 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3577 2015-02-13 Roland McGrath <roland@hack.frob.com>
3579 * sysdeps/generic/c++-types.data: New file.
3580 * sysdeps/generic/ld.abilist: New file.
3581 * sysdeps/generic/libBrokenLocale.abilist: New file.
3582 * sysdeps/generic/libanl.abilist: New file.
3583 * sysdeps/generic/libc.abilist: New file.
3584 * sysdeps/generic/libcrypt.abilist: New file.
3585 * sysdeps/generic/libdl.abilist: New file.
3586 * sysdeps/generic/libm.abilist: New file.
3587 * sysdeps/generic/libpthread.abilist: New file.
3588 * sysdeps/generic/libresolv.abilist: New file.
3589 * sysdeps/generic/librt.abilist: New file.
3591 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3594 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3595 Compute absolute value of x as modified by fmod, not original
3597 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3598 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3599 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3600 RUN_TEST_ffI_f1_mod8.
3601 (remquo_test_data): Add more tests.
3603 2015-02-13 Roland McGrath <roland@hack.frob.com>
3605 * sysdeps/init_array/pt-crti.S: New file.
3607 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3610 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3611 __builtin_fmaf instead of relying on contraction of a * b + c.
3613 2015-02-12 J William Piggott <elseifthen@gmx.com>
3616 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3619 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3622 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3623 __builtin_fma instead of relying on contraction of a * b + c.
3625 2015-02-12 Roland McGrath <roland@hack.frob.com>
3627 * Makeconfig (ASFLAGS): Add -Werror=undef.
3628 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3629 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3630 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3632 * Makeconfig (after-link): New variable.
3633 (+link-pie, +link-pie-tests): Use it.
3634 (+link-static, +link-static-tests): Likewise.
3635 (+link, +link-tests): Likewise.
3636 * Makerules (build-module, build-module-asneeded): Likewise.
3637 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3639 * elf/Makefile ($(objpfx)ld.so): Likewise.
3641 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3644 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3645 both struct timeval and struct timespec.
3647 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3650 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3652 (__ieee754_exp2l): Do not multiply small fractional parts by
3654 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3656 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3657 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3658 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3659 * math/auto-libm-test-in: Add more tests of exp2.
3660 * math/auto-libm-test-out: Regenerated.
3662 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3664 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3667 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3669 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3672 2015-02-12 Andreas Schwab <schwab@suse.de>
3675 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3676 Filter out elision flags from value returned in kind.
3677 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3678 * nptl/tst-pthread-mutexattr.c: New file.
3680 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3682 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3683 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3684 into gnu-gnu, and update comment to refer to abi-tags.
3686 2015-02-11 Joseph Myers <joseph@codesourcery.com>
3689 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3690 (__sincos): Set errno to EDOM for infinite argument.
3691 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3692 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3693 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3694 (__sincosl): Set errno to EDOM for infinite argument.
3695 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3696 (__sincosl): Set errno to EDOM for infinite argument.
3697 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3698 (__sincosl): Set errno to EDOM for infinite argument.
3699 * math/libm-test.inc (sincos_test_data): Test errno setting.
3701 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
3703 * string/strxfrm_l.c: Remove #define STRCMP.
3704 * string/strcoll_l.c: Remove #define STRLEN.
3705 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3706 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3708 2015-02-10 Joseph Myers <joseph@codesourcery.com>
3710 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3711 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3712 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3713 * sysdeps/mips/mips64/Makefile: ... here.
3714 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3715 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3716 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3717 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3718 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3719 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3720 * sysdeps/mips/mips64/n64/Implies: Likewise.
3722 2015-02-10 Roland McGrath <roland@hack.frob.com>
3724 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3725 <sys/time.h>, <string.h>, and <errno.h>.
3726 (dest_offset, dest_address, value, zero): Remove unused variables.
3727 (ldouble): Remove typedef.
3728 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3729 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3731 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3732 (check): Function removed.
3734 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3735 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3736 Don't call set_sigaction_FP and remove_sigaction_FP here.
3737 (ldouble_test): Just use 'long double' as macro argument, no need for
3738 the 'ldouble' typedef.
3739 (do_test): Set up SIGFPE handler at start, using plain signal rather
3740 than sigaction. Fix code style.
3742 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3745 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3748 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3750 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3751 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3753 * sysdeps/powerpc/configure.ac: Remove file.
3754 * sysdeps/powerpc/configure: Likewise.
3756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3757 [sysdep_routines]: Remove wordcopy-power6 object.
3758 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3759 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3760 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3761 (__memmove_ppc32): Likewise.
3762 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3764 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3765 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3766 Remove preprocessor.
3768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3769 [sysdep_routines]: Remove wide chars objects.
3770 [wcsmbs]: New rule for wide char objects.
3772 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3773 Remove wordcopy-power6 obejct.
3774 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3775 Use local call for wordcopy and memcpy symbols.
3776 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3777 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3778 implementation for loader.
3779 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3781 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3782 Remove wordcopy-power7 object.
3783 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3784 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3785 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3786 (_wordcopy_fwd_dest_aligned): Likewise.
3787 (_wordcopy_bwd_aligned): Likewise.
3788 (_wordcopy_bwd_dest_aligned): Likewise.
3790 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3791 Rewrite to call __memmove_ppc instead of include default
3794 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3795 Remove wide chars objects.
3796 [wcsmbs]: New rule for wide char objects.
3798 2015-02-09 Andreas Schwab <schwab@suse.de>
3801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3802 in terms of __O_DIRECTORY.
3804 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3806 * time/getdate.c: Include <stdbool.h>.
3807 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3809 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3812 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3814 Add ersatz _Static_assert on older C hosts
3815 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3816 pre-C11 C platform that is not known to support _Static_assert.
3818 2015-02-07 Richard Braun <rbraun@sceen.net>
3820 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3822 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3824 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3826 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3827 priority against unexistent AIO_PRIO_DELTA_MAX.
3828 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3830 * misc/fchflags.c (fchflags): Likewise.
3831 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3832 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3833 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3834 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3835 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3837 [__USE_MISC] (chflags, fchflags): Declare functions.
3838 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3839 EINVAL when nfds is greater than FD_SETSIZE.
3840 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3841 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3843 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3844 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3845 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3847 * hurd/hurd/signal.h (_hurd_self_sigstate,
3848 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3849 Explicit casts from void *.
3850 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3851 * abi-tags: Rename gnu-gnu os into gnu.
3854 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3855 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3856 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3857 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3858 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3859 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3862 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3863 duplicates ADDR->sun_path with sockaddr LEN limitation.
3864 * sysdeps/mach/hurd/connect.c: Include <string.h>
3865 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3866 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3867 * sysdeps/mach/hurd/sendto.c: Likewise.
3868 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3869 implementing it by hand.
3871 2015-02-06 Roland McGrath <roland@hack.frob.com>
3873 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3874 Use sfi_breg on ldr.
3875 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3878 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3880 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3881 Test SIGSETXID only if it's defined.
3883 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3885 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3886 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3888 * nptl/tst-align2.c: Moved ...
3889 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3890 * nptl/Makefile (tests): Remove tst-align2.
3891 * sysdeps/unix/sysv/linux/Makefile
3892 [$(subdir) = nptl] (tests): Add tst-align-clone.
3893 * nptl/tst-getpid1.c: Moved ...
3894 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3895 * nptl/tst-getpid2.c: Moved ...
3896 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3897 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3898 * sysdeps/unix/sysv/linux/Makefile
3899 [$(subdir) = nptl] (tests): ... here.
3900 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3901 * sysdeps/unix/sysv/linux/Makefile
3902 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3904 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3905 Drop trailing \n from perror argument. Use return rather than exit.
3907 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3909 * nptl/tst-cancel21.c (do_test): Likewise.
3910 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3911 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3912 [!SA_SIGINFO]: Make it a stub test.
3914 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3915 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3917 * posix/tst-getlogin.c: Move to ...
3918 * login/tst-getlogin.c: ... here.
3919 * posix/Makefile (tests): Move tst-getlogin to ...
3920 * login/Makefile (tests): ... here.
3922 * libio/tst-atime.c (do_test): Move local variables SV and E
3923 inside [ST_NOATIME] conditional.
3925 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3927 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3929 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3930 (wait_code): New function replaces macro.
3931 Call nanosleep rather than syscall.
3933 * nptl/pt-system.c: Rewritten. Put everything under
3934 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3935 Use IFUNC to redirect when possible.
3937 * nptl/pt-longjmp.c: Rewritten. Put everything under
3938 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3939 Use IFUNC to redirect when possible.
3941 * nptl/pt-fork.c: Rewritten. Put everything under
3942 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3943 Use IFUNC to redirect when possible.
3944 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3946 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3947 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3948 unconditionally nowadays. This included the only reference to
3949 __vdso_clock_gettime that appears outside libc proper.
3950 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3951 Remove version set (containing only __vdso_clock_gettime).
3952 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3953 Add attribute_hidden.
3954 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3955 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3956 libc_hidden_data_def.
3957 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3958 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3960 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3961 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3962 setrpcent, and getrpcport to ...
3963 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3964 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3965 getrpcbynumber_r, and getrpcent_r to ...
3966 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3967 * inet/getrpcbyname.c: Moved ...
3968 * sunrpc/getrpcbyname.c: ... here.
3969 * inet/getrpcbyname_r.c: Moved ...
3970 * sunrpc/getrpcbyname_r.c: ... here.
3971 * inet/getrpcbynumber.c: Moved ...
3972 * sunrpc/getrpcbynumber.c: ... here.
3973 * inet/getrpcbynumber_r.c: Moved ...
3974 * sunrpc/getrpcbynumber_r.c: ... here.
3975 * inet/getrpcent.c: Moved ...
3976 * sunrpc/getrpcent.c: ... here.
3977 * inet/getrpcent_r.c: Moved ...
3978 * sunrpc/getrpcent_r.c: ... here.
3979 * inet/Makefile (routines): Move those to ...
3980 * sunrpc/Makefile (routines): ... here.
3981 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3982 the $(subdirs) list.
3983 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3984 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3985 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3986 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3988 * elf/Makefile (routines): Include $(all-dl-routines), not just
3990 (rtld-routines): Likewise. Use = rather than :=.
3991 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3992 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3993 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3994 * sysdeps/arm/Makefile: Likewise.
3995 * sysdeps/i386/Makefile: Likewise.
3996 * sysdeps/x86_64/Makefile: Likewise.
3997 * sysdeps/hppa/Makefile [$(subdir) = elf]
3998 (sysdep_routines, sysdep-rtld-routines): Don't add
3999 $(sysdep-dl-routines) to these.
4000 * sysdeps/ia64/Makefile: Likewise.
4001 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4002 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4003 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4004 Don't add dl-static to these; sysdep-dl-routines alone is enough.
4005 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4006 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4007 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4008 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4009 * sysdeps/powerpc/Makefile [$(subdir) = elf]
4010 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4011 these; sysdep-dl-routines alone is enough.
4013 2015-02-06 Joseph Myers <joseph@codesourcery.com>
4016 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4017 where multiplication results in zero and third argument is finite
4019 * math/auto-libm-test-in: Add more tests of fma.
4020 * math/auto-libm-test-out: Regenerated.
4022 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4023 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4024 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4025 (_FP_CMP_EQ): Likewise.
4026 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4028 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4029 extra argument CHECK_NAN. Redefine as wrapper around
4032 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
4034 * version.h (RELEASE): Set to "stable".
4035 (VERSION): Set to "2.21"
4036 * include/features.h (__GLIBC_MINOR__): Set to 21.
4038 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4040 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4041 Paul Eggert <eggert@cs.ucla.edu>
4044 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4045 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4046 size in bytes. Store needed elements in wpmax. Use needed size
4047 in bytes for extend_alloca.
4049 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
4051 * manual/install.texi: Latest tested versions are GCC 4.9.2,
4052 binutls 2.25, and texinfo 5.2.
4053 * INSTALL: Regenerate.
4054 * sysdeps/nios2/configure: Regenerate.
4055 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4056 * manual/contrib.texi: Update.
4080 * po/pt_BR.po: Update.
4089 * po/zh_CN.po: Update.
4090 * po/zh_TW.po: Update.
4092 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4093 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4094 * sysdeps/hppa/dl-irel.h: Remove #warning.
4095 * sysdeps/hppa/entry.h: Provide prototype for
4096 __canonicalize_funcptr_for_compare and cast argument.
4097 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4098 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4099 * sysdeps/hppa/sotruss-lib.c: New file.
4100 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4101 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4102 (atomic_compare_and_exchange_bool_acq): Likewise.
4103 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4104 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4106 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4107 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4108 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4110 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4112 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4113 called function in non-PIC case.
4115 2015-01-31 David S. Miller <davem@davemloft.net>
4117 * sysdeps/sparc/sparc32/bits/atomic.h
4118 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4119 unlock not after it.
4120 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4121 volatile register usage warnings from the compiler.
4123 * sysdeps/sparc/nptl/sem_init.c: Delete.
4124 * sysdeps/sparc/nptl/sem_post.c: Delete.
4125 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4126 * sysdeps/sparc/nptl/sem_wait.c: Delete.
4127 * sysdeps/sparc/sparc32/sem_init.c: New file.
4128 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4129 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4130 padding explicitly initialized.
4131 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4132 padding for in-semaphore spinlock.
4133 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4134 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4135 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4136 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4137 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4138 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4139 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4140 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4142 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4143 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4145 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4149 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4150 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4152 (index_AVX_Fast_Unaligned_Load): Likewise.
4153 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4154 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4155 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4156 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4157 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4158 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4159 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4160 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4161 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4163 2015-01-29 Andreas Schwab <schwab@suse.de>
4165 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4167 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4170 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4172 2015-01-28 Martin Sebor <msebor@redhat.com>
4174 * math/README.libm-test: Clarify. Add "How to read the test output."
4176 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4178 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4181 2015-01-28 Joseph Myers <joseph@codesourcery.com>
4183 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4184 (__HAVE_64B_ATOMICS): Define to 0.
4186 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4189 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4190 value to set as new flag.
4193 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4194 and use _ARCH_PPCSQ instead.
4195 (__ieee754_sqrt): Likewise.
4196 (__ieee754_sqrtf): Likewise.
4197 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4198 _ARCH_PPCSQ is defined.
4199 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4201 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4202 _ARCH_PPCSQ is defined.
4203 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4205 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4207 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4209 * iconv/loop.c: Suppress array out of bound warning caused by GCC
4210 bug (GCC BZ #64739).
4212 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
4214 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4215 Mark _retval as used.
4216 (lll_futex_wake_unlock): Likewise.
4217 (lll_futex_timed_wait_requeue_pi): Likewise.
4219 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4220 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4223 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4226 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4227 (__bswap_64): Mark as __always_inline.
4229 2015-01-25 Bram <bug_rh@spam.wizbit.be>
4232 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4233 when none of the search directories exist.
4235 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4238 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4239 power8 in .machine directive.
4242 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4243 set dependency from opd value.
4245 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4248 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4251 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4254 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4256 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4258 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4259 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4260 Replace 1UL with (uint64_t) 1.
4261 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4264 2015-01-23 Roland McGrath <roland@hack.frob.com>
4266 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4267 (if_freenameindex): Likewise.
4269 * resource/getrlimit64.c: Add missing libc_hidden_def.
4271 2015-01-22 Joseph Myers <joseph@codesourcery.com>
4273 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4275 (_FP_FMA): Likewise.
4276 (_FP_TO_INT_ROUND): Likewise.
4277 (_FP_FROM_INT): Likewise.
4279 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4282 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4283 Make code racy and cancel safe.
4285 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4287 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4288 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4291 * pwd/tst-getpw.c: Rewrite.
4294 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4295 (modules-names): Add moddummy1 and moddummy2.
4296 ($(objpfx)tst-rec-dlopen): Define.
4297 * dlfcn/moddummy1.c: New file.
4298 * dlfcn/moddummy2.c: New file.
4299 * dlfcn/tst-rec-dlopen.c: New file.
4300 * elf/dl-cache.c (_dl_load_cache_lookup):
4301 Return char*. Copy result with alloca/strcpy/strdup.
4302 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4303 returns char*. Free cached. If not saving realname
4305 * elf/dl-open.c (dl_open_worker): Do not assert that
4306 _r_debug->r_state is RT_CONSISTENT.
4307 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4310 2015-01-21 Torvald Riegel <triegel@redhat.com>
4311 Carlos O'Donell <carlos@redhat.com>
4314 * nptl/sem_waitcommon.c: New file.
4315 * nptl/sem_wait.c: Include sem_waitcommon.c.
4316 (__sem_wait_cleanup, do_futex_wait): Remove.
4317 (__new_sem_wait): Adapt.
4318 (__new_sem_trywait): New function.
4319 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4320 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4321 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4322 (sem_timedwait): Adapt.
4323 * nptl/sem_post.c (__new_sem_post): Adapt.
4324 (futex_wake): New function.
4325 (__old_sem_post): Add release MO fence.
4326 * nptl/sem_open.c (sem_open): Adapt.
4327 * nptl/sem_init.c (__new_sem_init): Adapt.
4328 (futex_private_if_supported): New function.
4329 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4330 (__old_sem_getvalue): Add using previous code.
4331 * sysdeps/nptl/internaltypes.h: Adapt.
4332 * nptl/tst-sem13.c (do_test): Adapt.
4333 * nptl/tst-sem11.c (main): Adapt.
4334 * nptl/sem_trywait.c: Remove.
4335 * nptl/DESIGN-sem.txt: Remove.
4336 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4337 (gen-as-const-headers): Remove structsem.sym.
4338 * nptl/structsem.sym: Remove.
4339 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4340 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4341 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4342 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4343 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4344 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4345 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4346 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4347 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4348 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4349 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4350 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4351 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4352 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4353 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4354 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4355 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4356 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4357 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4358 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4359 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4360 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4362 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4364 * INSTALL: Regenerated.
4366 * po/libc.pot: Regenerated.
4368 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4369 Sandra Loosemore <sandra@codesourcery.com>
4370 Andrew Jenner <andrew@codesourcery.com>
4371 Joseph Myers <joseph@codesourcery.com>
4372 Nathan Sidwell <nathan@codesourcery.com>
4374 * NEWS: Mention new Nios II port.
4375 * sysdeps/nios2/Implies: New file.
4376 * sysdeps/nios2/Makefile: New file.
4377 * sysdeps/nios2/Subdirs: New file.
4378 * sysdeps/nios2/Versions: New file.
4379 * sysdeps/nios2/__longjmp.S: New file.
4380 * sysdeps/nios2/abort-instr.h: New file.
4381 * sysdeps/nios2/backtrace.c: New file.
4382 * sysdeps/nios2/bits/endian.h: New file.
4383 * sysdeps/nios2/bits/fenv.h: New file.
4384 * sysdeps/nios2/bits/link.h: New file.
4385 * sysdeps/nios2/bits/setjmp.h: New file.
4386 * sysdeps/nios2/bsd-_setjmp.S: New file.
4387 * sysdeps/nios2/bsd-setjmp.S: New file.
4388 * sysdeps/nios2/configure: New generated file.
4389 * sysdeps/nios2/configure.ac: New file.
4390 * sysdeps/nios2/crti.S: New file.
4391 * sysdeps/nios2/crtn.S: New file.
4392 * sysdeps/nios2/dl-init.c: New file.
4393 * sysdeps/nios2/dl-machine.h: New file.
4394 * sysdeps/nios2/dl-sysdep.h: New file.
4395 * sysdeps/nios2/dl-tls.h: New file.
4396 * sysdeps/nios2/dl-trampoline.S: New file.
4397 * sysdeps/nios2/gccframe.h: New file.
4398 * sysdeps/nios2/gmp-mparam.h: New file.
4399 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4400 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4401 * sysdeps/nios2/ldsodefs.h: New file.
4402 * sysdeps/nios2/libc-tls.c: New file.
4403 * sysdeps/nios2/libm-test-ulps: New file.
4404 * sysdeps/nios2/machine-gmon.h: New file.
4405 * sysdeps/nios2/math-tests.h: New file.
4406 * sysdeps/nios2/math_private.h: New file.
4407 * sysdeps/nios2/memusage.h: New file.
4408 * sysdeps/nios2/nptl/Makefile: New file.
4409 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4410 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4411 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4412 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4413 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4414 * sysdeps/nios2/nptl/tls.h: New file.
4415 * sysdeps/nios2/preconfigure: New file.
4416 * sysdeps/nios2/s_fma.c: New file.
4417 * sysdeps/nios2/s_fmaf.c: New file.
4418 * sysdeps/nios2/setjmp.S: New file.
4419 * sysdeps/nios2/sfp-machine.h: New file.
4420 * sysdeps/nios2/sotruss-lib.c: New file.
4421 * sysdeps/nios2/stackguard-macros.h: New file.
4422 * sysdeps/nios2/stackinfo.h: New file.
4423 * sysdeps/nios2/start.S: New file.
4424 * sysdeps/nios2/sysdep.h: New file.
4425 * sysdeps/nios2/tls-macros.h: New file.
4426 * sysdeps/nios2/tst-audit.h: New file.
4427 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4428 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4429 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4430 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4431 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4432 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4433 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4434 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4435 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4436 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4437 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4438 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4439 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4440 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4441 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4442 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4443 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4444 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4445 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4446 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4447 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4448 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4449 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4450 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4451 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4452 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4453 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4454 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4455 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4456 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4457 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4458 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4459 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4460 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4461 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4462 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4463 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4464 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4465 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4466 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4467 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4468 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4469 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4470 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4472 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4475 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4476 (getutent): Use weak_alias in non SHARED case
4477 and default_symbol_version in SHARED case.
4478 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4479 (getutent_r, pututline): Likewise.
4480 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4481 (getutid): Likewise.
4482 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4483 (getutid_r): Likewise.
4484 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4485 (getutline): Likewise.
4486 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4487 (getutline_r): Likewise.
4488 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4489 (updwtmp): Likewise.
4491 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4494 * sysdeps/s390/s390-32/memcmp.S
4495 (memcmp_g5): Rename to __memcmp_g5.
4496 * sysdeps/s390/s390-32/memcpy.S
4497 (memcpy_g5): Rename to __memcpy_g5.
4498 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4499 (memcpy_mvcle) Rename to __memcpy_mvcle.
4500 * sysdeps/s390/s390-32/memset.S
4501 (memset_g5): Rename to __memset_g5.
4502 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4503 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4504 and use prefixed functions.
4505 * sysdeps/s390/s390-32/multiarch/memcmp.S
4506 (memcmp_z196): Rename to __memcmp_z196.
4507 (memcmp_z10): Rename to __memcmp_z10.
4508 (memcmp): Set alias to __memcmp_g5.
4509 (bcmp): Set alias to __memcmp_g5.
4510 * sysdeps/s390/s390-32/multiarch/memcpy.S
4511 (memcpy_z196): Rename to __memcpy_z196.
4512 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4513 (memcpy_z10): Rename to __memcpy_z10.
4514 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4515 (memcpy): Set alias to __memcpy_g5.
4516 * sysdeps/s390/s390-32/multiarch/memset.S
4517 (memset_z196): Rename to __memset_z196.
4518 Jump to __memset_mvcle instead of memset_mvcle.
4519 (memset_z10): Rename to __memset_z10.
4520 Jump to __memset_mvcle instead of memset_mvcle.
4521 (memset_mvcle) Rename to __memset_mvcle.
4522 (memset): Set alias to __memset_g5.
4523 * sysdeps/s390/s390-64/memcmp.S
4524 (memcmp_z900): Rename to __memcmp_z900.
4525 * sysdeps/s390/s390-64/memcpy.S
4526 (memcpy_z900): Rename to __memcpy_z900.
4527 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4528 (memcpy_mvcle) Rename to __memcpy_mvcle.
4529 * sysdeps/s390/s390-64/memset.S
4530 (memset_z900): Rename to __memset_z900.
4531 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4532 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4533 and use prefixed functions.
4534 * sysdeps/s390/s390-64/multiarch/memcmp.S
4535 (memcmp_z196): Rename to __memcmp_z196.
4536 (memcmp_z10): Rename to __memcmp_z10.
4537 (memcmp): Set alias to __memcmp_z900.
4538 (bcmp): Set alias to __memcmp_z900.
4539 * sysdeps/s390/s390-64/multiarch/memcpy.S
4540 (memcpy_z196): Rename to __memcpy_z196.
4541 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4542 (memcpy_z10): Rename to __memcpy_z10.
4543 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4544 (memcpy): Set alias to __memcpy_z900.
4545 * sysdeps/s390/s390-64/multiarch/memset.S
4546 (memset_z196): Rename to __memset_z196.
4547 Jump to __memset_mvcle instead of memset_mvcle.
4548 (memset_z10): Rename to __memset_z10.
4549 Jump to __memset_mvcle instead of memset_mvcle.
4550 (memset_mvcle) Rename to __memset_mvcle.
4551 (memset): Set alias to __memset_z900.
4553 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4556 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4557 __fesetenv instead of fesetenv.
4559 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4561 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4564 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4566 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4569 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4570 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4571 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4572 strncmp-power8 object.
4573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4574 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4575 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4578 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4579 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4581 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4582 trailing byte check.
4584 2015-01-13 David S. Miller <davem@davemloft.net>
4586 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4588 2015-01-13 Roland McGrath <roland@hack.frob.com>
4590 * login/logout.c (logout): Use memset rather than bzero.
4591 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4592 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4593 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4594 (_gethtbyaddr): Likewise.
4595 * locale/programs/simple-hash.c (bcopy): Macro removed.
4597 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4599 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4600 Add strcmp-power8 object.
4601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4602 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4603 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4604 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4605 __strcmp_power8 implementation.
4606 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4609 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4610 Add strncpy-power8 and stpncpy-power8 objects.
4611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4612 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4614 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4615 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4616 __stpncpy_power8 implementation.
4617 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4618 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4619 __strncpy_power8 implementation.
4620 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4621 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4624 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4625 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4626 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4628 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4629 strncat-power8 object.
4630 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4631 __strcat_power8 implementation.
4632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4633 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4634 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4635 optimized strcat for power8.
4637 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4638 strcpy-power8 and stpcpy-power8 objects.
4639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4640 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4642 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4643 multiarch stpcpy implementation for POWER8.
4644 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4645 multiarch strcpy implementation for POWER8.
4646 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4647 __strcpy_power8 function.
4648 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4650 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4654 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
4657 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4658 weights and rules. Use do_xfrm_cached if data fits in cache,
4659 do_xfrm otherwise. Moved former main loop to...
4660 * (do_xfrm_cached): New function.
4661 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4662 find_idx, find_position and stack_push.
4663 * (find_idx): New function.
4664 * (find_position): Likewise.
4665 * localedata/sort-test.sh: Added test run for do_xfrm.
4666 * localedata/xfrm-test.c (main): Added command line option
4667 -nocache to run the test with strings that are too large for
4670 2015-01-13 Torvald Riegel <triegel@redhat.com>
4672 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4673 variable to lll_futex_wake call, not the value itself.
4675 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4678 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4679 twom64. Adjust value to 0x1p-64L.
4680 (__scalblnl): Only return standard underflowing result for K <=
4681 -64 not K <= -63; adjust exponent for underflowing result by 64
4683 * math/libm-test.inc (scalbn_test_data): Add more tests.
4684 (scalbln_test_data): Likewise.
4687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4689 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4691 * math/libm-test.inc (scalbn_test_data): Add more tests.
4692 (scalbln_test_data): Likewise.
4694 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4695 Stefani Seibold <stefani@seibold.net>
4697 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4698 (sysdep_routines): Add dl-vdso here, ...
4699 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4700 (sysdep_routines): ... not here.
4701 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4702 fallback when vDSO is not presented.
4703 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4704 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4705 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4706 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4707 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4708 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4709 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4710 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4711 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4713 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4714 fallback configurable symbol when vDSO is not available.
4715 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4716 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4717 be able to redefine fallback symbol when vDSO is not available.
4718 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4719 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4721 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4723 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4724 (TLS_INIT_TP): Add tm_capable initialization.
4725 (TLS_DEFINE_INIT_TP): Likewise.
4726 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4728 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4729 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4731 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4732 transactoion is lock elision is built and TCB tm_capable is set.
4733 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4735 (INTERNAL_SYSCALL_NCS): Likewise.
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4737 (INTERNAL_SYSCALL_NCS): Likewise.
4738 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4740 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4742 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4743 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4744 and remove it for 32 bits case.
4745 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4746 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4748 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4749 Disable lock elision with rdlocks if elision is not available.
4751 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4752 (sysdep_routines): Add lock elision objects.
4753 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4754 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4755 [pthread_mutex_t] (__elision): Add field.
4756 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4757 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4758 elision definitions for powerpc.
4759 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4760 implementation of lock elision for powerpc.
4761 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4762 implementation of timed lock elision for powerpc.
4763 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4764 implementation of trylock with lock elision for powerpc.
4765 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4766 implementaion of unlock for lock elision for powerpc.
4767 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4768 automatic enable lock elision for mutexes.
4769 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4770 transaction execution definitions for powerpc.
4771 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4773 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4774 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4775 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4776 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4779 2015-01-09 Roland McGrath <roland@hack.frob.com>
4781 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4782 for #include of <shm-directory.h>.
4784 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4786 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4787 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4789 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4792 * NEWS: Mention bug fix.
4793 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4794 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4795 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4797 2015-01-09 Torvald Riegel <triegel@redhat.com>
4799 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4801 2015-01-09 Torvald Riegel <triegel@redhat.com>
4803 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4805 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4807 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4808 pointer and cast to uintptr_t.
4810 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4812 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4814 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4816 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4818 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4821 2015-01-08 Roland McGrath <roland@hack.frob.com>
4823 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4824 <nptl/pthreadP.h> instead.
4825 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4827 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4829 [__SIGRTMIN] (init): Function removed.
4830 [__SIGRTMIN] (initialized): Variable removed.
4831 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4832 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4833 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4834 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4835 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4836 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4837 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4838 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4839 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4840 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4841 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4842 * sysdeps/nptl/allocrtsig.c: New file.
4843 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4844 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4845 * sysdeps/generic/testrtsig.h: File removed.
4847 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4848 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4850 * nptl/nptl-init.c (pthread_functions): Conditionalize
4851 .ptr__nptl_setxid initialization on [SIGSETXID].
4853 * sysdeps/nptl/sys/procfs.h: New file.
4854 * nptl_db/Makefile (headers): Add it.
4855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4857 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4858 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4859 * nptl/pthread_attr_setaffinity.c: Include it.
4860 * nptl/pthread_setattr_default_np.c: Likewise.
4861 * nptl/check-cpuset.h: New file.
4863 2015-01-08 Richard Henderson <rth@redhat.com>
4865 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4866 (CFLAGS-tst-execstack-prog.c): Likewise.
4867 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4869 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4870 Sandra Loosemore <sandra@codesourcery.com>
4871 Andrew Jenner <andrew@codesourcery.com>
4872 Joseph Myers <joseph@codesourcery.com>
4873 Nathan Sidwell <nathan@codesourcery.com>
4875 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4876 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4877 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4878 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4879 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4880 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4881 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4882 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4883 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4884 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4885 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4886 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4887 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4888 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4889 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4890 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4891 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4893 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4895 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4896 timespec struct member in syscall macro.
4897 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4898 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4899 first timeval struct member in syscall macro.
4900 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4902 2015-01-07 Joseph Myers <joseph@codesourcery.com>
4905 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4906 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4907 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4908 __feupdateenv and define as weak alias of __feupdateenv. Use
4910 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4912 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4913 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4914 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4915 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4917 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4918 __feupdateenv and define as weak alias of __feupdateenv. Use
4920 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4922 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4923 __feupdateenv and define as weak alias of __feupdateenv. Use
4925 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4927 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4928 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4929 (__feupdateenv): Likewise.
4930 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4931 __feupdateenv and define as weak alias of __feupdateenv. Use
4933 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4934 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4936 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4938 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4940 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4941 __feupdateenv instead of feupdateenv.
4942 (default_libc_feupdateenv_test): Likewise.
4943 (libc_feresetround_ctx): Likewise.
4945 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4947 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4950 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4952 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4953 COLL_SYM in a couple of places to avoid uninitialized variable
4954 wanings on tilegx gcc 4.8.2.
4956 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4958 * sysdeps/aarch64/strcpy.S: New file.
4959 * sysdeps/aarch64/stpcpy.S: New file.
4962 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4964 * sysdeps/aarch64/strrchr.S: New file.
4967 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
4970 * stdlib/setenv.c: Fix memory leak when setting large,
4973 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4976 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4977 and tabs from buffer before parsing fstab entry.
4978 * misc/tst-mntent.c (main): Add test for mount entry with
4979 trailing spaces and tabs.
4981 2015-01-06 Joseph Myers <joseph@codesourcery.com>
4984 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4985 * math/fesetround.c (fesetround): Rename to __fesetround and
4986 define as weak alias of __fesetround. Use libm_hidden_weak.
4987 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4988 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4989 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4990 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4991 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4992 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4993 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4994 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4995 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4996 __fesetround_inline.
4997 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4998 __fesetround_inline instead of __fesetround.
4999 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5000 __fesetround and define as weak alias of __fesetround. Use
5001 libm_hidden_weak. Call __fesetround_inline instead of
5003 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5004 __fesetround and define as weak alias of __fesetround. Use
5006 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5008 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5009 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5010 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5011 * sysdeps/tile/math_private.h (__fesetround): New inline function.
5012 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5013 __fesetround and define as weak alias of __fesetround. Use
5015 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5016 __fesetround instead of fesetround.
5017 (default_libc_feholdexcept_setround): Likewise.
5018 (libc_feholdsetround_ctx): Likewise.
5019 (libc_feholdsetround_noex_ctx): Likewise.
5022 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5023 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5024 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5025 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5026 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5027 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5028 define as weak alias of __fesetenv. Use libm_hidden_weak.
5029 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5030 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5031 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5032 define as weak alias of __fesetenv. Use libm_hidden_weak.
5033 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5034 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5035 define as weak alias of __fesetenv. Use libm_hidden_weak.
5036 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5038 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5039 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5041 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5042 define as weak alias of __fesetenv. Use libm_hidden_weak.
5043 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5044 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5045 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5046 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5047 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5048 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5049 __fesetenv instead of fesetenv.
5050 (libc_feresetround_noex_ctx): Likewise.
5051 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5052 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5053 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5054 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5055 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5056 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5057 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5058 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5059 (__feupdateenv): Likewise.
5060 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5061 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5062 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5063 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5065 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5068 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5069 addresses have been freed.
5071 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5073 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5076 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5078 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5079 Clean up check_pf allocation pattern. addresses
5081 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5083 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5084 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5085 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5086 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5087 * nptl/pthread_join.c (pthread_join): Likewise.
5088 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5089 * sysdeps/posix/waitid.c (__waitid): Likewise.
5090 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5091 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5092 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5093 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5094 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5096 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5097 (__libc_pread64): Likewise.
5098 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5099 (__libc_pwrite): Likewise.
5100 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5101 (__libc_pwrite64): Likewsie.
5102 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5103 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5104 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5105 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5106 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5107 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5108 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5112 (__libc_pread64): Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5116 (__libc_pwrite64): Likewise.
5117 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5118 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5119 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5120 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5121 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5122 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5123 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5124 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5125 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5126 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5127 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5128 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5129 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5130 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5131 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5132 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5135 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5137 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5138 (CFLAGS-test-double.c): Likewise.
5139 (CFLAGS-test-ldouble.c): Likewise.
5140 (CPPFLAGS-test-ifloat.c): Likewise.
5141 (CPPFLAGS-test-idouble.c): Likewise.
5142 (CPPFLAGS-test-ildoubl.c): Likewise.
5143 (CFLAGS-test-test-fenv.c): Remove variable.
5144 (CFLAGS-test-misc.c): Likewise.
5146 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5149 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5150 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5151 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5152 CLOCKS_PER_SEC == 1000000.
5153 * time/clocktest.c (main): Replace %ld with %jd and cast to
5156 2015-01-05 Roland McGrath <roland@hack.frob.com>
5158 * sysdeps/generic/unwind-resume.h: New file.
5159 * sysdeps/gnu/unwind-resume.c: Include it.
5160 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5161 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5163 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5164 global rather than static.
5165 (_Unwind_Resume): Update user.
5166 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5167 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5168 rather than static. Add __attribute__ ((cold)).
5169 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5170 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5171 * sysdeps/arm/arm-unwind-resume.S: New file.
5172 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5173 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5174 * sysdeps/arm/Makefile [$(subdir) = csu]
5175 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5176 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5177 Add rt-arm-unwind-resume.
5179 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5180 Add pt-arm-unwind-resume.
5181 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5182 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5184 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5187 * include/fenv.h (__feholdexcept): Declare. Use
5189 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5190 define as weak alias of __feholdexcept. Use libm_hidden_weak.
5191 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5192 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5193 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5194 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5195 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5196 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5197 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5198 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5199 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5200 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5201 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5202 (feholdexcept): Likewise.
5203 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5204 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5205 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5206 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5207 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5208 __feholdexcept instead of feholdexcept.
5209 (default_libc_feholdexcept_setround): Likewise.
5211 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5213 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5214 to avoid using stl/str to align destination.
5216 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5218 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5220 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5223 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5224 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5225 Define as weak alias not strong alias.
5227 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5229 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5230 bltzal with addiupc.
5231 (RTLD_START): Ditto.
5233 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
5235 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5236 for __vdso_* functions in declarations.
5237 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5239 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5240 INTERNAL_VSYSCALL): Use struct return types to check for error.
5242 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5243 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5244 function with cast from llround().
5245 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5246 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5249 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5252 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5253 Define as weak alias not strong alias.
5256 * ctype/ctype-c99.c: New file. isblank implementation moved from
5258 * ctype/ctype-extn.c: ... here.
5259 (__isblank_l): Move to ...
5260 * ctype/ctype-c99_l.c: ... here. New file.
5261 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5262 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5264 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5265 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5266 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5267 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5268 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5271 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5272 (posix_fadvise64): Define as weak alias not strong alias.
5273 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5274 (posix_fallocate64): Likewise.
5275 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5277 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5278 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5279 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5280 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5281 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5283 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5286 * NEWS: Mention bug fix.
5287 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5288 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5289 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5290 (HOST_STACK_END_ADDR): Likewise.
5292 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5295 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5296 * math/fegetround.c (fegetround): Rename to __fegetround and
5297 define as weak alias of __fegetround. Use libm_hidden_weak.
5298 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5299 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5300 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5301 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5302 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5303 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5304 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5305 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5306 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5307 Undefine after rather than before function definition; use
5308 parentheses around function name in definition.
5309 (__fegetround): Also undefine macro after function definition.
5310 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5311 __fegetround and define as weak alias of __fegetround. Use
5312 libm_hidden_weak. Do not undefine as macro.
5313 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5315 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5316 __fegetround and define as weak alias of __fegetround. Use
5318 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5319 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5320 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5321 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5322 __fegetround and define as weak alias of __fegetround. Use
5324 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5325 __fegetround instead of fegetround.
5328 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5329 Condition macro definition on [__USE_MISC].
5332 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5333 (struct sigaction): Change type of sa_flags field to int.
5336 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5337 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5340 * nptl/version.c (banner): Use single year in copyright notice.
5342 * NEWS: Update copyright dates.
5343 * catgets/gencat.c (print_version): Likewise.
5344 * csu/version.c (banner): Likewise.
5345 * debug/catchsegv.sh: Likewise.
5346 * debug/pcprofiledump.c (print_version): Likewise.
5347 * debug/xtrace.sh (do_version): Likewise.
5348 * elf/ldconfig.c (print_version): Likewise.
5349 * elf/ldd.bash.in: Likewise.
5350 * elf/pldd.c (print_version): Likewise.
5351 * elf/sotruss.sh: Likewise.
5352 * elf/sprof.c (print_version): Likewise.
5353 * iconv/iconv_prog.c (print_version): Likewise.
5354 * iconv/iconvconfig.c (print_version): Likewise.
5355 * locale/programs/locale.c (print_version): Likewise.
5356 * locale/programs/localedef.c (print_version): Likewise.
5357 * login/programs/pt_chown.c (print_version): Likewise.
5358 * malloc/memusage.sh (do_version): Likewise.
5359 * malloc/memusagestat.c (print_version): Likewise.
5360 * malloc/mtrace.pl: Likewise.
5361 * manual/libc.texinfo: Likewise.
5362 * nptl/version.c (banner): Likewise.
5363 * nscd/nscd.c (print_version): Likewise.
5364 * nss/getent.c (print_version): Likewise.
5365 * nss/makedb.c (print_version): Likewise.
5366 * posix/getconf.c (main): Likewise.
5367 * scripts/test-installation.pl: Likewise.
5368 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5370 2015-01-02 Will Newton <will.newton@linaro.org>
5372 * sysdeps/arm/armv7/configure: Removed.
5373 * sysdeps/arm/armv7/configure.ac: Likewise.
5375 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5377 * All files with FSF copyright notices: Update copyright dates
5378 using scripts/update-copyrights.
5379 * intl/plural.c: Regenerated.
5380 * locale/programs/charmap-kw.h: Likewise.
5381 * locale/programs/locfile-kw.h: Likewise.
5383 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5385 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5387 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5390 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5391 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5392 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5393 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5394 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5395 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5396 define as weak alias of __fegetenv. Use libm_hidden_weak.
5397 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5398 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5399 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5400 define as weak alias of __fegetenv. Use libm_hidden_weak.
5401 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5402 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5403 define as weak alias of __fegetenv. Use libm_hidden_weak.
5404 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5406 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5407 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5409 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5410 define as weak alias of __fegetenv. Use libm_hidden_weak.
5411 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5412 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5413 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5414 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5415 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5416 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5417 __fegetenv instead of fegetenv.
5418 (libc_feholdsetround_noex_ctx): Likewise.
5420 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5422 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5423 (Elf_MIPS_ABIFlags_v0): New structure.
5424 (EF_MIPS_FP64): Define.
5425 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5426 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5427 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5428 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5429 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5430 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5431 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5432 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5433 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5434 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5435 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5436 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5437 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5438 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5439 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5440 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5441 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5442 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5443 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5444 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5445 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5446 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5448 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5450 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5451 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5452 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5453 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5454 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5455 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5456 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5457 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5458 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5459 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5460 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5461 record the current FP ABI extension.
5462 (mips-mode-switch): Define to show if kernel headers support mode
5464 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5465 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5466 supported SYSV ABI version to 3.
5467 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5470 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5471 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5473 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5475 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5477 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5479 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5480 __fegetround and redefine to call __fegetround. Remove condition
5481 on [!__NO_MATH_INLINES].
5482 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5484 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5485 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5487 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5488 instead of <fenv_libc.h>.
5489 (__llrintl): Call fegetround instead of __fegetround.
5490 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5491 instead of <fenv_libc.h>.
5492 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5493 (__lrintl): Call fegetround instead of __fegetround.
5494 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5495 instead of <fenv_libc.h>.
5496 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5497 (__rintl): Call fegetround instead of __fegetround.
5499 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5501 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5504 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5507 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5508 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5509 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5511 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5513 * sysdeps/i386/tls-macros.h: Include <features.h>.
5514 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5518 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5519 define for GCC >= 5.0.
5521 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5523 * math/test-fenv.c (test_single_exception, set_single_exc,
5524 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5525 feexcp_mask_test, feenable_test, fe_single_test): Add
5526 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5527 case where they are not used.
5528 * math/libm-test.inc: Likewise.
5529 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5530 unused in the absence of FP rounding/exception support.
5531 * stdio-common/tst-printf-round.c: Likewise.
5532 * stdlib/tst-strtod-round.c: Likewise.
5533 * stdlib/tst-strtod-underflow.c: Likewise.
5535 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5538 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5539 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5540 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5541 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5543 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5544 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5545 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5547 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5548 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5550 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5552 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5553 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5554 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5556 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5558 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5559 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5560 (__feraiseexcept): Likewise.
5561 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5562 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5564 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5565 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5567 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5568 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5569 Use libm_hidden_def.
5570 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5572 (feraiseexcept): Define as weak not strong alias. Use
5574 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5575 New inline function. Factored out of ...
5576 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5577 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5578 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5580 * math/w_acos.c (__acos): Likewise.
5581 * math/w_asin.c (__asin): Likewise.
5582 * math/w_ilogb.c (__ilogb): Likewise.
5583 * math/w_j0.c (y0): Likewise.
5584 * math/w_j1.c (y1): Likewise.
5585 * math/w_jn.c (yn): Likewise.
5586 * math/w_log.c (__log): Likewise.
5587 * math/w_log10.c (__log10): Likewise.
5588 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5589 * sysdeps/aarch64/fpu/math_private.h
5590 (libc_feupdateenv_test_aarch64): Likewise.
5591 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5592 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5593 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5594 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5595 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5596 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5597 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5598 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5599 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5600 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5602 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5605 * io/test-utime.c (main): Replace %ld with %jd and cast to
5607 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5608 * nptl/tst-mutex5.c: Include <stdint.h>.
5609 (do_test): Replace %ld with %jd and cast to intmax_t.
5610 * posix/tst-regex.c (run_test): Likewise.
5611 (run_test_backwards): Likewise.
5612 * rt/tst-clock.c: Include <stdint.h>.
5613 (clock_test): Replace %ld with %jd and cast to intmax_t.
5614 * rt/tst-cpuclock1.c: Include <stdint.h>.
5615 (do_test): Replace %lu with %ju and cast to uintmax_t.
5616 * rt/tst-cpuclock2.c: Include <stdint.h>.
5617 (do_test): Replace %lu with %ju and cast to uintmax_t.
5618 * rt/tst-mqueue1.c: Include <stdint.h>.
5619 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5620 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5622 * rt/tst-mqueue4.c (do_test): Likewise.
5623 * rt/tst-timer4.c: Include <stdint.h>.
5624 (check_ts): Replace %ld with %jd and cast to intmax_t.
5625 (do_test): Likewise.
5626 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5627 and cast to intmax_t.
5628 * sysdeps/pthread/tst-timer.c (main): Likewise.
5629 * time/clocktest.c (main): Likewise.
5630 * time/tst-posixtz.c (do_test): Likewise.
5631 * timezone/tst-timezone.c (main): Likewise.
5633 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5634 H.J. Lu <hongjiu.lu@intel.com>
5636 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5637 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5638 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5639 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5640 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5641 version if bit_Fast_Unaligned_Load is set.
5642 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5643 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5644 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5645 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5646 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5647 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5649 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5650 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5651 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5653 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5654 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5655 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5656 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5658 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5660 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5661 instead of #if to avoid a Wundef warning.
5662 * stdlib/tst-limits.c (do_test): Likewise.
5664 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5665 parallel other exception macros.
5666 (fegetenv): Convert from macro to extern inline so that it applies
5667 retroactively to inline functions already seen by the compiler.
5668 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5670 * posix/Makefile (before-compile): Use $(objpfx) for
5671 posix-conf-vars-def.h.
5673 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5675 * posix/getconf.c (main): Use size_t for type of I.
5676 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5679 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5680 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5681 * posix/posix-envs.def: Likewise.
5682 * sysdeps/posix/sysconf.c: Likewise.
5683 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5684 (specs): Remove array.
5685 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5688 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5689 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5690 (__sysconf): Use CONF_IS_* macros.
5692 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5693 ($(objpfx)posix-conf-vars-def.h): New target.
5694 * posix/posix-conf-vars.list: New file.
5695 * posix/posix-conf-vars.h: New file.
5696 * posix/confstr.c: Include posix-conf-vars.h.
5697 (confstr): Use CONF_IS_* macros.
5698 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5700 * scripts/gen-posix-conf-vars.awk: New file.
5702 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5704 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5705 fegetround): Add no-op macros to avoid linknamespace issues.
5707 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5708 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5710 * sysdeps/unix/sysv/linux/tile/sysdep.h
5711 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5712 assembly-specific section to avoid a redefinition warning.
5714 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5715 long before casting to pointer to avoid a cast warning.
5717 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5719 * sysdeps/tile/tilegx/Implies: New file.
5721 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
5723 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5725 2014-12-23 Florian Weimer <fweimer@redhat.com>
5727 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5729 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5733 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5734 <kernel-features.h>.
5735 (__utimes) [__NR_utimes]: Make code unconditional.
5736 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5737 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5738 (__ASSUME_UTIMES): Do not undefine.
5739 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5740 (__ASSUME_UTIMES): Likewise.
5741 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5742 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5743 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5744 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5746 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5748 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5750 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5753 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5754 alias to weak alias for j0l, y0l.
5755 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5756 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5759 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5762 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5764 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5765 to zero if not already defined.
5767 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5770 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5771 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5772 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5773 (char *) casts added.
5774 * sysdeps/ieee754/k_standardf.c: New file.
5775 * sysdeps/ieee754/k_standardl.c: Likewise.
5776 * math/Makefile (libm-support): Remove k_standard.
5777 (libm-calls): Add k_standard.
5779 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5781 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5782 Optimize to avoid an unnecessary FPCR read.
5784 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5786 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5787 Optimize to reduce FPCR/FPSR accesses.
5789 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5791 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5792 Call libc_fetestexcept_aarch64.
5794 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5796 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5797 Call libc_fesetround_aarch64.
5799 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5802 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5803 (__bind): Do not define as weak alias.
5804 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5806 (__getsockname): Do not define as weak alias.
5808 2014-12-22 Will Newton <will.newton@linaro.org>
5810 * manual/install.texi: Document that we require bison 2.7
5812 * INSTALL: Regenerate.
5813 * configure.ac: Use AC_CHECK_PROG_VER instead of
5814 AC_PATH_PROG when checking for bison and check for
5815 version 2.7 or above.
5816 * configure: Regenerate.
5818 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5821 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5822 * sysdeps/tile/ffsll.c (ffsll): To here.
5824 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5826 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5828 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5830 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5832 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5833 hidden ___tls_get_addr.
5834 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5835 hidden __tls_get_addr.
5836 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5837 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5840 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5842 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5845 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5847 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5848 from "call _dl_init@PLT".
5849 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5851 2014-12-21 Anders Kaseorg <andersk@mit.edu>
5853 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5856 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5858 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5860 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5863 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5866 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5868 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5870 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5871 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5872 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5873 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5874 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5876 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5878 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5879 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5880 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5881 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5882 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5884 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5886 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
5888 * string/strncat.c (STRNCAT): Simplify implementation.
5890 2014-12-19 David S. Miller <davem@davemloft.net>
5892 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5893 access the quad as both a long double and as a series of 4 words.
5895 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5896 link_map->l_info array access.
5898 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5900 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5902 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5903 * math/atest-exp2.c (TIMEOUT): Likewise.
5904 * math/atest-sincos.c (TIMEOUT): Likewise.
5906 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5908 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5909 -Wno-error with -fno-builtin-lround.
5911 2014-12-19 Torvald Riegel <triegel@redhat.com>
5913 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5914 Contains futex constants and functions moved over from ...
5915 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5916 <lowlevellock-futex.h>.
5917 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5918 (lll_timedwait_tid): Add comments and parentheses around macro
5921 2014-12-19 Torvald Riegel <triegel@redhat.com>
5923 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5924 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5925 (__lll_private_flag): Remove.
5926 (lll_futex_wait): Likewise.
5927 (lll_futex_timed_wait): Likewise.
5928 (lll_futex_wake): Likewise.
5929 (lll_futex_requeue): Likewise.
5930 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5931 (__lll_timedwait_tid): Spell out argument names.
5932 (lll_timedwait_tid): Add comments and parentheses around macro
5934 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5935 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5937 2014-12-19 Torvald Riegel <triegel@redhat.com>
5939 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5940 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5941 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5942 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5943 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5944 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5945 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5946 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5947 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5948 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5949 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5950 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5951 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5952 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5953 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5954 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5955 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5956 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5957 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5959 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5961 * sysdeps/x86_64/x32/Makefile: New file.
5963 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5965 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5966 1L with (mp_limb_t) 1.
5968 2014-12-17 Roland McGrath <roland@hack.frob.com>
5970 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5971 * nptl/libc_pthread_init.c: ... here.
5972 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5973 * nptl/register-atfork.c: ... here.
5975 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5976 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5977 Use assert_perror to check its return value.
5978 (__gai_create_helper_thread): Likewise.
5980 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5982 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5984 2014-12-17 Joseph Myers <joseph@codesourcery.com>
5987 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5989 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5991 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5993 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5995 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5996 (profil_counter): Likewise.
5997 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5998 (profil_counter): Likewise.
5999 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6001 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6003 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6004 (profil_counter): Likewise.
6005 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6007 [!__profil_counter] (profil_counter): Define as weak alias of
6009 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6010 (profil_counter): Rename to __profil_counter.
6011 [!__profil_counter] (profil_counter): Define as weak alias of
6013 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6014 (profil_counter): Rename to __profil_counter.
6015 [!__profil_counter] (profil_counter): Define as weak alias of
6017 * sysdeps/posix/profil.c: Update comment referring to
6019 (__profil): Use __profil_counter instead of profil_counter.
6020 * sysdeps/posix/sprofil.c (profil_counter): Rename to
6021 __profil_counter. Use __profil_counter_ushort and
6022 __profil_counter_uint in definitions.
6023 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6024 instead of profil_counter_uint and profil_counter_ushort.
6027 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6028 define as weak alias of __inet_makeaddr.
6029 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6030 as weak alias of __inet_addr.
6031 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6032 as weak alias of __inet_pton. Use libc_hidden_weak.
6033 * include/arpa/inet.h (__inet_pton): Declare. Use
6035 (inet_makeaddr): Don't use libc_hidden_proto.
6036 (__inet_makeaddr): Declare. Use libc_hidden_proto.
6037 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6038 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
6039 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6041 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6042 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6044 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
6046 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6048 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6050 * stdio-common/bug-vfprintf-nargs.c (do_test):
6051 Cast value to intptr_t to avoid format warning
6052 for usage with PRIdPTR printing macro.
6054 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6056 * libio/tst-widetext.c (do_test):
6057 Use format type %td instead of %Zd for ptrdiff_t
6058 in order to avoid format warning.
6060 2014-12-17 Andreas Schwab <schwab@suse.de>
6062 * nscd/mem.c (gc): Add size_t cast to match printf format.
6064 2014-12-16 Roland McGrath <roland@hack.frob.com>
6066 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6067 (init): Apply PTR_MANGLE to pointers before storing them.
6068 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6071 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6074 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6075 define as weak alias of __memrchr.
6076 (__memrchr): Do not define as strong alias of memrchr.
6077 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6079 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6080 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6081 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6084 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6085 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6086 (if_indextoname): Rename to __if_indextoname and define as weak
6087 alias of __if_indextoname. Use libc_hidden_weak.
6088 (if_freenameindex): Rename to __if_freenameindex and define as
6089 weak alias of __if_freenameindex.
6090 (if_nameindex): Rename to __if_nameindex and define as weak alias
6092 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6093 __if_nametoindex and define as weak alias of __if_nametoindex.
6094 Use libc_hidden_weak.
6095 (if_freenameindex): Rename to __if_freenameindex and define as
6096 weak alias of __if_freenameindex.
6097 (if_nameindex): Rename to __if_nameindex and define as weak alias
6099 (if_indextoname): Rename to __if_indextoname and define as weak
6100 alias of __if_indextoname. Use libc_hidden_weak.
6101 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6102 __if_nametoindex and define as weak alias of __if_nametoindex.
6103 Use libc_hidden_weak.
6104 (if_freenameindex): Rename to __if_freenameindex and define as
6105 weak alias of __if_freenameindex. Use libc_hidden_weak.
6106 (if_nameindex_netlink): Use __if_freenameindex instead of
6108 (if_nameindex): Rename to __if_nameindex and define as weak alias
6109 of __if_nameindex. 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 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6114 [!_ISOMAC] (__if_freenameindex): Likewise.
6115 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6117 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6119 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6120 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6121 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6122 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6123 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6124 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6125 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6127 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6129 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6130 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6132 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6134 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6135 subscript above bounds'
6137 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6140 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
6142 * libio/tst-fopenloc.c: Use test-skeleton.c.
6144 * stdlib/tst-bsearch.c: Use test-skeleton.c.
6145 (entry): Rename to ITEM.
6146 (do_test, comp): Adjust.
6148 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6150 2014-12-16 Torvald Riegel <triegel@redhat.com>
6152 * string/tester.c: Include <libc-internal.h>.
6153 (test_memset): Ignore -Wmemset-transposed-args.
6155 2014-12-16 Torvald Riegel <triegel@redhat.com>
6157 * misc/tst-mntent2.c (do_test): Fix warning.
6159 2014-12-16 Torvald Riegel <triegel@redhat.com>
6161 * elf/tst-unique4lib.cc(a): Mark as used.
6163 2014-12-16 Florian Weimer <fweimer@redhat.com>
6166 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6169 2014-12-16 Allan McRae <allan@archlinux.org>
6171 * stdio-common/Makefile (tests): Re-add bug26.
6173 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6176 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6179 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
6181 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6182 (__lll_lock_wait): Likewise.
6183 (__lll_timedlock_wait): Likewise.
6184 (__lll_timedwait_tid): Likewise.
6185 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6186 (__lll_robust_timedlock_wait): Likewise.
6187 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6188 (lll_cond_trylock): Likewise.
6189 (__lll_lock): Likewise.
6190 (__lll_robust_lock): Likewise.
6191 (__lll_cond_lock): Likewise.
6192 (lll_robust_cond_lock): Likewise.
6193 (__lll_timedlock): Likewise.
6194 (__lll_robust_timedlock): Likewise.
6195 (__lll_unlock): Likewise.
6196 (__lll_robust_unlock): Likewise.
6197 (lll_wait_tid): Likewise.
6198 (lll_timedwait_tid): Likewise.
6200 2014-12-15 Torvald Riegel <triegel@redhat.com>
6202 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6204 2014-12-15 Torvald Riegel <triegel@redhat.com>
6206 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6208 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6210 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6211 * stdio-common/tst-sprintf.c: Likewise.
6213 2014-12-15 Torvald Riegel <triegel@redhat.com>
6215 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6217 2014-12-15 Jeff Law <law@redhat.com>
6220 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6221 on the heap. (CVE-2012-3406)
6222 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6223 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
6224 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6226 2014-12-15 Will Newton <will.newton@linaro.org>
6228 * manual/install.texi: Bump required version of texinfo
6230 * INSTALL: Regenerated.
6231 * configure.ac: Check for makeinfo version 4.7 and above.
6232 * configure: Regenerated.
6234 2014-12-12 Roland McGrath <roland@hack.frob.com>
6236 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6237 PREFIX, string constant to insert between directory and name.
6238 * sysdeps/posix/shm_open.c: Update caller.
6239 * sysdeps/posix/shm_unlink.c: Likewise.
6240 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6241 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6242 (SEM_SHM_PREFIX): New macro.
6243 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6244 [$(have-thread-library) = no].
6245 * nptl/Makefile (libpthread-routines): Add shm-directory.
6246 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6247 * sysdeps/nptl/shm-directory.h: New file.
6248 * sysdeps/posix/shm-directory.c
6249 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6250 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6251 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6253 (__where_is_shmfs): Function removed.
6254 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6256 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6258 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6260 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6261 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6262 unconditional for use inside libpthread.
6263 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6265 2014-12-12 Roland McGrath <roland@hack.frob.com>
6267 * nptl/pthread_getaffinity.c: New file.
6268 * nptl/pthread_setaffinity.c: New file.
6269 * nptl/pthread_getname.c: New file.
6270 * nptl/pthread_setname.c: New file.
6272 * nptl/pthread_create.c (START_THREAD_DEFN)
6273 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6275 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6276 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6278 * resolv/res_send.c (send_vc): Disable warning resplen may
6279 be used uninitialized.
6281 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6284 (ATTR_NULL): New define checks ATTR against NULL.
6285 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6286 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6288 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6292 (mem2mem_check): Revert my previous change.
6293 (malloc_check_get_size): Revert my previous change.
6294 (mem2chunk_check): Revert my previous change.
6296 2014-12-11 Roland McGrath <roland@hack.frob.com>
6298 * sysdeps/posix/shm-directory.c: New file.
6299 * sysdeps/posix/shm-directory.h: New file.
6300 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6301 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6302 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6303 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6304 Transmute EPERM to EACCES.
6305 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6307 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6308 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6310 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6312 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6313 pointer and cast to uintptr_t.
6314 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6315 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6316 Add cast to avoid warning.
6317 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6319 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6321 * nptl/semaphore.h: Move to ...
6322 * sysdeps/pthread/semaphore.h: ... here.
6323 * Makefile (installed-headers): Change nptl/semaphore.h to
6324 sysdeps/pthread/semaphore.h.
6326 2014-12-11 Roland McGrath <roland@hack.frob.com>
6328 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6329 generated error format strings.
6331 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6332 -Wformat-extra-args warnings for scanf formats.
6333 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6334 test of zero-length format (duh).
6335 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6336 corner-case scanf format test.
6337 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6338 generated fprintf format string.
6339 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6340 corner-case sprintf format tests.
6341 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6342 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6343 -Wformat-extra-args warnings throughout.
6344 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6345 (CFLAGS-scanf4.c): Likewise.
6346 (CFLAGS-scanf7.c): Likewise.
6347 (CFLAGS-tst-sprintf.c): Likewise.
6348 (CFLAGS-tst-printf.c): Likewise.
6349 (CFLAGS-tst-printfsz.c): Likewise.
6351 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6353 * include/cpio.h: New file.
6354 * include/fmtmsg.h: Likewise.
6356 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6357 corresponding format argument to size_t.
6358 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6360 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6361 corresponding format argument to size_t.
6362 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6364 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6365 corresponding format argument to size_t.
6366 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6367 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6368 (CFLAGS-tst-mbswcs2.c): Likewise.
6369 (CFLAGS-tst-mbswcs3.c): Likewise.
6370 (CFLAGS-tst-mbswcs4.c): Likewise.
6371 (CFLAGS-tst-mbswcs5.c): Likewise.
6372 (CFLAGS-tst-trans.c): Likewise
6374 2014-12-11 Roland McGrath <roland@hack.frob.com>
6376 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6377 rather than assuming they won't contain any '%'s.
6379 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6381 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6382 inhibit_loop_to_libcall to avoid recursive calls.
6383 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6384 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6386 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6388 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6391 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6393 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6394 integer value instead of boolean.
6396 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6398 * malloc/malloc.c: Fix powerof2 check.
6400 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6402 * locale/programs/locfile.h (maybe_swap_uint32):
6403 Remove inline and add unused attribute.
6405 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6407 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6408 Truncating assembler expression to a .long expression.
6410 2014-12-11 Andreas Schwab <schwab@suse.de>
6412 * elf/rtld.c (struct map_args): Constify str member.
6413 (do_preload): Constify fname argument.
6415 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6418 constants definition.
6420 2014-12-11 Andreas Schwab <schwab@suse.de>
6423 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6424 FORCE_ELISION instead of DO_ELISION.
6425 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6427 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6430 * iconvdata/gconv-modules: Remove duplicate entry.
6432 2014-12-11 Will Newton <will.newton@linaro.org>
6434 Merge gettext 0.19.3 into intl/.
6436 This involves a number of cosmetic changes to comments
6437 and ANSI function definitions and prototypes throughout
6438 all the files. The gettext copyright header is used but
6439 with the date ranges taken from the glibc copy.
6441 * NEWS: Add gettext merge to 2.21.
6442 * intl/bindtextdom.c: Switch to gettext copyright.
6443 Use ANSI definitions and prototypes.
6444 Use gl_* locking primitives rather than __libc_* ones.
6445 Use __builtin_expect rather than __glibc_likely/unlikely.
6446 * intl/dcgettext.c: Switch to gettext copyright.
6447 Use ANSI definitions and prototypes.
6448 * intl/dcigettext.c: Switch to gettext copyright.
6449 Use ANSI definitions and prototypes.
6450 (INTDIV0_RAISES_SIGFPE): New define.
6451 Use gl_* locking primitives rather than __libc_* ones.
6452 Include eval-plural.h instead of plural-eval.c.
6453 Use __builtin_expect rather than __glibc_likely/unlikely.
6454 * intl/dcngettext.c: Switch to gettext copyright.
6455 Use ANSI definitions and prototypes.
6456 * intl/dgettext.c: Likewise.
6457 * intl/dngettext.c: Likewise.
6458 * intl/plural-eval.c: Renamed to...
6459 * intl/eval-plural.h: ...this.
6460 * intl/explodename.c: Switch to gettext copyright.
6461 Use ANSI definitions and prototypes.
6462 (_nl_explode_name): Use strchr instead of __rawmemchr.
6463 * intl/finddomain.c: Switch to gettext copyright.
6464 Use ANSI definitions and prototypes.
6465 Use gl_* locking primitives rather than __libc_* ones.
6466 (_nl_find_domain): Use malloc rather than alloca for
6467 allocation of temporary locale name.
6468 * intl/gettext.c: Switch to gettext copyright.
6469 Use ANSI definitions and prototypes.
6470 * intl/gettextP.h: Switch to gettext copyright.
6471 Use ANSI definitions and prototypes.
6472 Use gl_* locking primitives rather than __libc_* ones.
6473 * intl/gmo.h: Switch to gettext copyright.
6474 (struct sysdep_string): Move struct segment_pair outside of
6476 * intl/hash-string.c: Use ANSI definitions and prototypes.
6477 * intl/hash-string.h: Switch to gettext copyright.
6478 Use ANSI definitions and prototypes.
6479 * intl/l10nflist.c: Switch to gettext copyright.
6480 Use ANSI definitions and prototypes.
6481 (_nl_normalize_codeset): Avoid integer overflow.
6482 * intl/loadinfo.h: Switch to gettext copyright.
6483 Use ANSI definitions and prototypes.
6484 (LIBINTL_DLL_EXPORTED): New define.
6485 (PATH_SEPARATOR): New define.
6486 * intl/loadmsgcat.c: Switch to gettext copyright.
6487 * intl/localealias.c: Switch to gettext copyright.
6488 Use ANSI definitions and prototypes.
6489 (_nl_expand_alias): Use PATH_SEPARATOR.
6490 * intl/ngettext.c: Switch to gettext copyright.
6491 Use ANSI definitions and prototypes.
6492 * intl/plural-exp.c: Likewise.
6493 * intl/plural-exp.h: Switch to gettext copyright.
6494 Use ANSI definitions and prototypes.
6495 (struct expression): Move definition of enum operator outside
6496 of struct definition.
6497 * intl/plural.c: Regenerate.
6498 * intl/plural.y: Switch to gettext copyright.
6499 Use ANSI definitions and prototypes.
6501 * intl/textdomain.c: Switch to gettext copyright.
6502 Use ANSI definitions and prototypes.
6503 Use gl_* locking primitives rather than __libc_* ones.
6505 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6507 * debug/warning-nop.c: Add used atrribute.
6509 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6511 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6513 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6514 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6515 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6517 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6518 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6521 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6522 Undefine after defining function. Define as weak alias of
6523 __wcschr. Use libc_hidden_weak.
6524 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6525 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6526 (libc_hidden_def): Also define __GI___wcschr alias.
6527 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6528 __wcschr and define as weak alias of __wcschr.
6529 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6531 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6532 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6533 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6534 libc_hidden_weak. Do not use libc_hidden_def.
6535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6536 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6537 __GI___wcschr alias.
6538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6539 [IS_IN (libc)] (wcschr): Define as macro expanding to
6541 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6542 [IS_IN (libc)] (__wcschr_power6): Likewise.
6543 [IS_IN (libc)] (__wcschr_power7): Likewise.
6544 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6546 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6548 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6549 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6550 __wcschr and define as weak alias of __wcschr. Use
6551 libc_hidden_builtin_def.
6552 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6553 as weak alias of __wcschr. Use libc_hidden_weak.
6554 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6556 * time/era.c (_nl_init_era_entries): Likewise.
6557 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6559 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6560 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6562 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6564 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6565 format for long int variable.
6567 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6570 * manual/search.texi: (Array Sort Function): Remove claim how to make
6573 2014-12-10 Andreas Schwab <schwab@suse.de>
6576 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6577 user-controlled locks.
6579 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6581 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6584 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6586 * configure.ac (--disable-werror): New configure option.
6587 (enable_werror): New AC_SUBST.
6588 * configure: Regenerated.
6589 * config.make.in (enable-werror): New variable.
6590 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6592 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6593 * manual/install.texi (Configuring and compiling): Document
6595 * INSTALL: Regenerated.
6596 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6597 (CFLAGS-tst-chk2.c): Likewise.
6598 (CFLAGS-tst-chk3.c): Likewise.
6599 (CFLAGS-tst-chk4.cc): Likewise.
6600 (CFLAGS-tst-chk5.cc): Likewise.
6601 (CFLAGS-tst-chk6.cc): Likewise.
6602 (CFLAGS-tst-lfschk1.c): Likewise.
6603 (CFLAGS-tst-lfschk2.c): Likewise.
6604 (CFLAGS-tst-lfschk3.c): Likewise.
6605 (CFLAGS-tst-lfschk4.cc): Likewise.
6606 (CFLAGS-tst-lfschk5.cc): Likewise.
6607 (CFLAGS-tst-lfschk6.cc): Likewise.
6609 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6610 (main): Disable -Wdeprecated-declarations around calls to
6611 register_printf_function.
6613 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6614 (do_test): Disable -Wdiv-by-zero around some calls to
6615 fwrite_unlocked and fread_unlocked.
6617 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6618 (DIAG_POP_NEEDS_COMMENT): Likewise.
6619 (_DIAG_STR1): Likewise.
6620 (_DIAG_STR): Likewise.
6621 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6622 * stdio-common/bug21.c: Include <libc-internal.h>.
6623 (do_test): Disable -Wformat around call to sscanf.
6624 * stdio-common/scanf14.c: Include <libc-internal.h>.
6625 (main): Disable -Wformat around some calls to scanf functions.
6627 2014-12-09 Torvald Riegel <triegel@redhat.com>
6629 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6631 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6633 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6634 stack variable alignment.
6636 2014-12-06 Joseph Myers <joseph@codesourcery.com>
6639 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6640 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6641 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6642 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6643 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6644 __getrlimit instead of getrlimit.
6645 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6646 __gettimeofday instead of gettimeofday.
6647 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6649 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6651 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6652 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6654 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6655 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6657 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6659 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6660 for wide-character tests.
6662 2014-12-04 Roland McGrath <roland@hack.frob.com>
6664 * io/openat64.c: #include <libc-internal.h>
6665 (__openat64): Prototypify. Use ignore_value on MODE.
6666 * io/openat.c: Likewise.
6667 * misc/reboot.c: #include <libc-internal.h>
6668 (reboot): Prototypify. Use ignore_value on HOWTO.
6669 * misc/ptrace.c: #include <libc-internal.h>
6670 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6672 2014-12-04 Joseph Myers <joseph@codesourcery.com>
6674 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6675 XPG4, UNIX98 and XOPEN2K.
6676 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6678 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6680 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6682 * libio/fileops.c: Use ISO C style for function definitions.
6683 * libio/iofopen.c: Likewise.
6684 * libio/wfileops.c: Likewise.
6687 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6689 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6690 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6691 (fgets_func): Function pointer to fgets and fgetws.
6692 (do_ftell_test): Add test to verify ftell value after read
6694 (do_test): Set fgets_func.
6696 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6697 O_TRUNC flag for w and w+ modes.
6698 (do_rewind_test): Likewise.
6699 (do_ftell_test): Likewise.
6700 (do_write_test): Likewise.
6703 * libio/fileops.c (do_ftell): Seek only when there are
6705 * libio/wfileops.c (do_ftell_wide): Likewise.
6706 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6708 (do_one_test): Call it.
6710 2014-12-03 Joseph Myers <joseph@codesourcery.com>
6712 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6713 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6714 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6716 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6717 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6718 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6720 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6722 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6724 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6727 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6728 as weak alias of __getifaddrs. Use libc_hidden_weak.
6729 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6730 __freeifaddrs. Use libc_hidden_weak.
6731 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6732 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6733 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6734 __freeifaddrs. Use libc_hidden_weak.
6735 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6736 __getifaddrs and define as weak alias of __getifaddrs. Use
6738 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6739 __freeifaddrs. Use libc_hidden_weak.
6740 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6742 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6743 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6745 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6748 * sysdeps/mips/start.S (__start): Use indirect jump to call
6751 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6753 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6755 * nptl/tst-mutex1.c: Include <stdbool.h>.
6756 [!ATTR] (ATTR_NULL): New macro.
6757 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6758 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6759 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6761 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6765 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6766 Change conditional to [__USE_MISC].
6769 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6771 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6773 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6775 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6777 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6778 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6779 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6780 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6781 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6782 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6783 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6784 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6785 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6787 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6789 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6791 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6792 Remove strpbrk objects.
6793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6794 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6795 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6796 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6797 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6798 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6800 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6801 Remove strcspn objects.
6802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6803 (__libc_ifunc_impl_list): Remove strcspn implementation.
6804 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6805 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6806 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6807 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6809 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6810 Remove strspn objetcs.
6811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6812 (__libc_ifunc_impl_list): Remove strspn implementation.
6813 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6814 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6815 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6816 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6818 2014-12-01 James Lemke <jwlemke@codesourcery.com>
6822 (mem2mem_check): Add a terminator to the chain of checking blocks.
6823 (malloc_check_get_size): Use it here.
6824 (mem2chunk_check): Ditto.
6826 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6828 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6829 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6831 2014-11-29 Carlos O'Donell <carlos@redhat.com>
6833 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6835 * nptl/nptl-init.c: Include libc-internal.h.
6836 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6838 * elf/ldconfig.c (search_dir): Expand comment.
6840 2014-11-29 Joseph Myers <joseph@codesourcery.com>
6842 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6844 (linknamespace-symlist-stdlibs-tests): Likewise.
6845 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6846 instead of $(objpfx)symlist-stdlibs.
6847 (linknamespace-libs-isoc): New variable.
6848 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6849 (linknamespace-libs-ISO): New variable.
6850 (linknamespace-libs-ISO99): Likewise.
6851 (linknamespace-libs-ISO11): Likewise.
6852 (linknamespace-libs-XPG3): Likewise.
6853 (linknamespace-libs-XPG4): Likewise.
6854 (linknamespace-libs-POSIX): Likewise.
6855 (linknamespace-libs-UNIX98): Likewise.
6856 (linknamespace-libs-XOPEN2K): Likewise.
6857 (linknamespace-libs-POSIX2008): Likewise.
6858 (linknamespace-libs-XOPEN2K8): Likewise.
6859 ($(objpfx)symlist-stdlibs): Replace by
6860 $(linknamespace-symlist-stdlibs-tests). Use
6861 $(linknamespace-libs-$*) as set of libraries.
6862 ($(linknamespace-header-tests)): Update dependencies. Use
6863 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6864 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6865 * conform/linknamespace.pl: Remove comment about considering
6866 definitions of symbols from irrelevant libraries.
6868 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6871 * elf/dl-tls.c: Include <atomic.h>.
6872 (oom): Remove #ifdef SHARED/#endif.
6873 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6874 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6875 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6877 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6878 * nptl/Makefile (tests): Add tst-stack4.
6879 (modules-names): Add tst-stack4mod.
6880 ($(objpfx)tst-stack4): New.
6881 (tst-stack4mod.sos): Likewise.
6882 ($(objpfx)tst-stack4.out): Likewise.
6883 ($(tst-stack4mod.sos)): Likewise.
6885 * nptl/tst-stack4.c: New file.
6886 * nptl/tst-stack4mod.c: Likewise.
6888 2014-11-27 J. Brown <jb999@gmx.de>
6890 * sysdeps/x86/bits/string.h: Add recent CPUs.
6892 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6894 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6897 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6900 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6903 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6905 * nscd/connections.c: Include libc-internal.h because of macro
6908 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6910 * string/bits/string3.h (__warn_memset_zero_len): Don't
6911 declare for gcc newer than 5.0.
6912 (memset): Don't test for zero-length __LEN for gcc newer than
6915 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6917 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6918 size_t for %zu format.
6920 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6921 difference, not %ju.
6923 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6925 * include/libc-internal.h (ignore_value): New macro.
6926 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6929 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6932 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6933 pthread_cleanup_push to void *.
6935 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6940 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6941 instead of 1L << 52.
6943 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6944 * libio/bug-rewind2.c (do_test): Likewise.
6946 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6947 * debug/test-strcpy_chk-ifunc.c: Likewise.
6948 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6949 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6950 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6951 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6952 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6953 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6954 * Rules [$(multi-arch) = no] (tests): Do not filter out
6956 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6957 * debug/Makefile (tests-ifunc): Remove variable.
6958 (tests): Do not add $(tests-ifunc).
6959 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6960 (tests): Do not add $(tests-ifunc).
6961 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6962 [TEST_IFUNC]: Remove conditionals.
6963 * string/test-string.h (TEST_IFUNC): Remove macro.
6964 [TEST_IFUNC]: Remove conditionals.
6966 * string/test-strchr.c [!WIDE] (L): New macro.
6967 [WIDE] (L): Likewise.
6968 (check1): Use CHAR instead of char. Use L on string and character
6971 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6973 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6975 * sysdeps/powerpc/bits/atomic.h
6976 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6977 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6978 (atomic_exchange_and_add_acq): Likewise.
6979 (atomic_exchange_and_add_rel): Likewise.
6980 * sysdeps/powerpc/powerpc32/bits/atomic.h
6981 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6982 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6983 * sysdeps/powerpc/powerpc64/bits/atomic.h
6984 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6985 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6987 2014-11-26 Torvald Riegel <triegel@redhat.com>
6989 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6990 Change synchronization of __sched_fifo_min_prio and
6991 __sched_fifo_max_prio.
6992 * nptl/pthread_mutexattr_getprioceiling.c
6993 (pthread_mutexattr_getprioceiling): Likewise.
6994 * nptl/pthread_mutexattr_setprioceiling.c
6995 (pthread_mutexattr_setprioceiling): Likewise.
6996 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6997 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7000 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7002 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7005 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7007 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7008 third argument const.
7010 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
7012 fnmatch: work around GCC compiler warning bug with uninit var
7013 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7014 This works around a bug with x86-64 GCC 4.9.2 and earlier
7015 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7016 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7017 used uninitialized in this function [-Wmaybe-uninitialized]".
7019 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7021 * posix/bug-regex31.c (main): Return RES not 0.
7023 2014-11-25 Anton Blanchard <anton@samba.org>
7025 * sysdeps/powerpc/bits/atomic.h
7026 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7028 2014-11-24 Sterling Augustine <saugustine@google.com>
7030 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7032 2014-11-24 Ryan Cumming <etaoins@gmail.com>
7035 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7037 2014-11-24 Joseph Myers <joseph@codesourcery.com>
7040 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7041 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7043 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7044 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7046 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7048 * string/strncpy.c (strncpy): Improve performance by using memset.
7050 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7052 * string/strcpy.c (strcpy):
7053 Improve performance by using strlen and memcpy.
7055 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
7057 * string/strcoll_l.c (get_next_seq): __always_inline.
7058 * string/strcoll_l.c (do_compare): __always_inline.
7060 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7062 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7064 * include/mqueue.h: Likewise.
7065 * include/stdlib.h: Likewise.
7067 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7068 (get_null_defines): Adjust.
7069 * sunrpc/Makefile: Adjust comment.
7070 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7071 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7072 (CFLAGS-interp.c): Likewise.
7073 (CFLAGS-ldconfig.c): Likewise.
7074 (CPPFLAGS-.os): Likewise.
7075 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7076 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7077 * extra-modules.mk (extra-modules.mk): Likewise.
7078 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7079 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7080 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7081 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7082 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7083 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7084 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7085 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7086 * iconvdata/Makefile (CPPFLAGS): Likewise.
7087 (cpp-srcs-left): Add libof for all iconvdata routines.
7088 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7089 * include/assert.h: Likewise.
7090 * include/ctype.h: Likewise.
7091 * include/errno.h: Likewise.
7092 * include/libc-symbols.h: Likewise.
7093 * include/math.h: Likewise.
7094 * include/netdb.h: Likewise.
7095 * include/resolv.h: Likewise.
7096 * include/stdio.h: Likewise.
7097 * include/stdlib.h: Likewise.
7098 * include/string.h: Likewise.
7099 * include/sys/stat.h: Likewise.
7100 * include/wctype.h: Likewise.
7101 * intl/l10nflist.c: Likewise.
7102 * libidn/idn-stub.c: Likewise.
7103 * libio/libioP.h: Likewise.
7104 * nptl/libc_multiple_threads.c: Likewise.
7105 * nptl/pthreadP.h: Likewise.
7106 * posix/regex_internal.h: Likewise.
7107 * resolv/res_hconf.c: Likewise.
7108 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7109 * sysdeps/arm/memmove.S: Likewise.
7110 * sysdeps/arm/sysdep.h: Likewise.
7111 * sysdeps/generic/_itoa.h: Likewise.
7112 * sysdeps/generic/symbol-hacks.h: Likewise.
7113 * sysdeps/gnu/errlist.awk: Likewise.
7114 * sysdeps/gnu/errlist.c: Likewise.
7115 * sysdeps/i386/i586/memcpy.S: Likewise.
7116 * sysdeps/i386/i586/memset.S: Likewise.
7117 * sysdeps/i386/i686/memcpy.S: Likewise.
7118 * sysdeps/i386/i686/memmove.S: Likewise.
7119 * sysdeps/i386/i686/mempcpy.S: Likewise.
7120 * sysdeps/i386/i686/memset.S: Likewise.
7121 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7122 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7123 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7124 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7125 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7126 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7127 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7128 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7129 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7130 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7131 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7132 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7133 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7134 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7135 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7136 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7137 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7138 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7139 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7140 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7141 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7142 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7143 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7144 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7145 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7146 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7147 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7148 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7149 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7150 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7151 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7152 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7154 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7155 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7156 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7157 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7158 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7159 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7160 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7161 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7162 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7163 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7164 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7165 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7166 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7167 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7168 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7169 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7170 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7171 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7172 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7173 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7174 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7175 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7176 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7177 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7178 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7179 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7180 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7181 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7182 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7183 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7184 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7185 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7186 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7187 * sysdeps/posix/closedir.c: Likewise.
7188 * sysdeps/posix/opendir.c: Likewise.
7189 * sysdeps/posix/readdir.c: Likewise.
7190 * sysdeps/posix/rewinddir.c: Likewise.
7191 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7192 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7193 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7194 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7195 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7197 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7198 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7199 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7200 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7201 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7202 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7204 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7206 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7208 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7209 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7210 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7211 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7212 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7213 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7214 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7216 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7218 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7219 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7224 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7226 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7227 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7228 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7229 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7230 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7231 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7232 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7233 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7234 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7235 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7236 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7237 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7238 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7239 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7240 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7241 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7242 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7243 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7244 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7245 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7246 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7247 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7248 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7249 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7250 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7251 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7252 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7253 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7254 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7255 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7256 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7257 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7258 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7259 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7260 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7261 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7262 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7263 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7264 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7265 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7266 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7267 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7268 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7269 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7270 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7271 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7272 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7273 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7274 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7275 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7276 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7277 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7278 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7279 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7281 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7282 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7283 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7284 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7285 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7286 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7287 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7289 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7290 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7291 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7292 * sysdeps/unix/alpha/sysdep.S: Likewise.
7293 * sysdeps/unix/alpha/sysdep.h: Likewise.
7294 * sysdeps/unix/make-syscalls.sh: Likewise.
7295 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7296 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7297 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7298 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7299 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7300 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7301 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7302 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7303 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7304 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7305 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7306 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7307 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7308 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7309 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7310 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7311 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7312 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7313 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7314 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7315 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7316 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7317 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7318 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7319 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7320 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7321 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7324 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7325 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7327 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7329 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7330 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7331 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7333 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7334 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7335 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7336 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7337 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7338 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7340 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7341 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7342 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7343 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7345 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7346 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7347 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7348 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7349 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7350 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7351 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7353 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7354 * sysdeps/x86_64/memcpy.S: Likewise.
7355 * sysdeps/x86_64/memmove.c: Likewise.
7356 * sysdeps/x86_64/memset.S: Likewise.
7357 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7358 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7359 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7360 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7361 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7362 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7363 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7364 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7365 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7366 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7367 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7368 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7369 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7370 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7371 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7372 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7373 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7374 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7375 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7376 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7377 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7378 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7379 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7380 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7381 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7382 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7383 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7384 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7385 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7386 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7387 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7388 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7389 * sysdeps/x86_64/strcmp.S: Likewise.
7391 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7393 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7394 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7395 * elf/rtld-Rules: Likewise.
7396 * elf/setup-vdso.h: Likewise.
7397 * include/assert.h: Likewise.
7398 * include/bits/stdlib-float.h: Likewise.
7399 * include/errno.h: Likewise.
7400 * include/sys/stat.h: Likewise.
7401 * include/unistd.h: Likewise.
7402 * sysdeps/aarch64/setjmp.S: Likewise.
7403 * sysdeps/alpha/setjmp.S: Likewise.
7404 * sysdeps/arm/__longjmp.S: Likewise.
7405 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7406 * sysdeps/arm/setjmp.S: Likewise.
7407 * sysdeps/arm/sysdep.h: Likewise.
7408 * sysdeps/generic/_itoa.h: Likewise.
7409 * sysdeps/generic/dl-sysdep.h: Likewise.
7410 * sysdeps/generic/ldsodefs.h: Likewise.
7411 * sysdeps/i386/dl-tls.h: Likewise.
7412 * sysdeps/i386/setjmp.S: Likewise.
7413 * sysdeps/m68k/setjmp.c: Likewise.
7414 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7415 * sysdeps/mach/hurd/opendir.c: Likewise.
7416 * sysdeps/posix/getcwd.c: Likewise.
7417 * sysdeps/posix/opendir.c: Likewise.
7418 * sysdeps/posix/profil.c: Likewise.
7419 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7420 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7421 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7422 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7423 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7424 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7425 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7426 * sysdeps/s390/dl-tls.h: Likewise.
7427 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7428 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7429 * sysdeps/sh/sh3/setjmp.S: Likewise.
7430 * sysdeps/sh/sh4/setjmp.S: Likewise.
7431 * sysdeps/unix/alpha/sysdep.h: Likewise.
7432 * sysdeps/unix/arm/sysdep.S: Likewise.
7433 * sysdeps/unix/i386/sysdep.S: Likewise.
7434 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7435 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7436 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7437 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7438 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7439 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7440 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7441 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7442 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7443 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7444 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7445 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7446 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7449 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7452 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7453 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7454 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7456 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7457 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7458 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7459 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7461 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7462 * sysdeps/x86_64/setjmp.S: Likewise.
7464 * include/math.h: Use IS_IN instead of IS_IN_libm.
7465 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7466 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7468 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7469 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7476 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7477 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7485 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7486 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7487 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7488 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7489 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7490 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7492 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7493 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7494 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7495 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7496 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7497 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7508 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7509 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7510 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7511 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7512 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7513 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7519 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7520 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7521 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7522 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7523 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7524 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7525 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7526 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7527 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7528 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7529 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7530 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7532 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7534 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7536 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7537 * nptl/pthreadP.h: Likewise.
7538 * nptl_db/structs.def: Likewise.
7539 * sysdeps/arm/sysdep.h: Likewise.
7540 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7541 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7542 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7543 * sysdeps/unix/alpha/sysdep.h: Likewise.
7544 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7545 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7546 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7547 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7548 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7549 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7550 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7551 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7552 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7553 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7554 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7555 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7556 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7557 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7560 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7561 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7562 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7565 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7566 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7567 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7568 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7569 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7571 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7572 * nptl/pthreadP.h: Likewise.
7573 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7574 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7575 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7576 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7577 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7578 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7579 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7580 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7581 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7582 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7583 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7584 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7591 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7594 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7595 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7596 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7598 * dlfcn/dladdr.c: Use IS_IN.
7599 * dlfcn/dladdr1.c: Likewise.
7600 * dlfcn/dlclose.c: Likewise.
7601 * dlfcn/dlerror.c: Likewise.
7602 * dlfcn/dlinfo.c: Likewise.
7603 * dlfcn/dlmopen.c: Likewise.
7604 * dlfcn/dlopen.c: Likewise.
7605 * dlfcn/dlsym.c: Likewise.
7606 * dlfcn/dlvsym.c: Likewise.
7608 * include/ifaddrs.h: Use IS_IN.
7609 * inet/check_pf.c: Likewise.
7610 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7611 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7613 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7615 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7616 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7618 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7619 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7622 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7624 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7625 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7626 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7627 * include/libc-symbols.h (IS_IN_LIB): New macro.
7628 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7629 * include/netdb.h: Likewise.
7630 * include/stap-probe.h: Remove all uses of IN_LIB.
7632 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7633 instead of IN_MODULE.
7634 * include/libc-symbols.h (IN_MODULE): Define using
7636 (PASTE_NAME, PASTE_NAME1): New macros.
7637 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7639 (STAP_PROBE_ASM): Likewise.
7641 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7643 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7644 __mach_init in dlopened libc.
7646 2014-11-22 Mike Frysinger <vapier@gentoo.org>
7648 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7649 * sysdeps/arm/preconfigure: Regenerate.
7651 2014-11-21 Roland McGrath <roland@hack.frob.com>
7653 * nptl/pthread_create.c (__pthread_create_2_1): Set
7654 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7655 when copying values from IATTR into PD.
7657 2014-11-21 Will Newton <will.newton@linaro.org>
7658 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7660 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7661 Refactor inline-asm. Also add comment.
7663 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7664 ElfW macro instead of hardcoded Elf64 types.
7665 (la_aarch64_gnu_pltenter): Likewise.
7666 * sysdeps/aarch64/dl-machine.h
7667 (elf_machine_runtime_setup): Use ElfW(Addr).
7669 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7670 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7671 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7672 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7673 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7674 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7675 (R_AARCH64_TLS_DTPMOD): This.
7676 (R_AARCH64_TLS_DTPREL64): Rename to ...
7677 (R_AARCH64_TLS_DTPREL): This.
7678 (R_AARCH64_TLS_TPREL64): Rename to ...
7679 (R_AARCH64_TLS_TPREL): This.
7680 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7681 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7682 R_AARCH64_TLS_TPREL64.
7683 (elf_machine_rela): Likewise.
7685 2014-11-21 Torvald Riegel <triegel@redhat.com>
7687 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7688 by setting it to 0. 64b atomics are not supported currently.
7690 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7693 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7694 search domain names.
7696 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7700 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7702 * posix/tst-getaddrinfo5.c: New.
7703 * posix/Makefile (tests): Add it.
7705 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7709 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7710 after parsing line but before break_if_match.
7711 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7712 if there is a protocol mismatch.
7714 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7716 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7717 because the potential race is on the user-supplied stream.
7719 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7721 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7722 string literal if not passed a buffer.
7723 * manual/job.texi (ctermid): Update reasoning, note deviation
7724 from posix, suggest mtasurace when not passed a buffer, for
7725 future non-preliminary safety notes.
7727 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7729 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7730 of not passing it a buffer.
7731 Reported by Peng Haitao.
7733 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7735 * manual/Makefile ($(objpfx)stamp-summary): Require
7736 check-safety.sh to pass.
7737 * manual/check-safety.sh: Wish for verification that every
7738 @deftypefn and @deftypefun is followed by a @safety remark.
7740 2014-11-20 Roland McGrath <roland@hack.frob.com>
7742 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7744 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7745 PTHREAD_CANCEL_ASYNCHRONOUS.
7746 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7749 * nptl/default-sched.h: New file.
7750 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7751 * nptl/pthread_create.c: Include it.
7752 (__pthread_create_2_1): Use collect_default_sched instead of making
7753 Linux syscalls here directly.
7755 2014-11-20 Torvald Riegel <triegel@redhat.com>
7757 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7758 __pthread_once): Use C11 atomics.
7760 2014-11-20 Torvald Riegel <triegel@redhat.com>
7762 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7764 2014-11-20 Torvald Riegel <triegel@redhat.com>
7766 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7767 atomic_thread_fence_acquire, atomic_thread_fence_release,
7768 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7769 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7770 atomic_compare_exchange_weak_relaxed,
7771 atomic_compare_exchange_weak_acquire,
7772 atomic_compare_exchange_weak_release,
7773 atomic_exchange_acquire, atomic_exchange_release,
7774 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7775 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7776 atomic_fetch_and_acquire,
7777 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7779 2014-11-20 Torvald Riegel <triegel@redhat.com>
7781 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7782 USE_ATOMIC_COMPILER_BUILTINS): Define.
7783 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7784 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7785 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7786 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7787 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7788 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7789 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7790 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7791 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7792 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7793 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7794 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7795 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7796 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7797 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7798 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7799 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7800 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7801 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7802 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7803 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7804 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7805 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7806 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7807 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7808 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7809 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7810 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7811 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7812 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7813 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7814 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7815 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7816 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7817 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7818 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7819 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7820 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7821 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7822 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7824 2014-11-19 Roland McGrath <roland@hack.frob.com>
7826 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7827 the sched_priority value here. It was already checked when the user
7828 called pthread_attr_setschedparam.
7830 * nptl/tst-bad-schedattr.c: New file.
7831 * nptl/Makefile (tests): Add it.
7833 2014-11-19 Carlos O'Donell <carlos@redhat.com>
7834 Florian Weimer <fweimer@redhat.com>
7835 Joseph Myers <joseph@codesourcery.com>
7836 Adam Conrad <adconrad@0c3.net>
7837 Andreas Schwab <schwab@suse.de>
7838 Brooks <bmoses@google.com>
7841 * wordexp-test.c (__dso_handle): Add prototype.
7842 (__register_atfork): Likewise.
7843 (__app_register_atfork): New function.
7844 (registered_forks): New global.
7845 (register_fork): New function.
7846 (test_case): Add 3 new tests for WRDE_CMDSUB.
7847 (main): Call __app_register_atfork.
7848 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7849 fork count is non-zero fail the test.
7850 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7852 (parse_dollars): Remove check for WRDE_NOCMD.
7853 (parse_dquote): Likewise.
7855 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7857 * Makeconfig (built-modules): List non-library modules to be
7859 (module-cppflags): Include libc-modules.h for
7860 everything except shlib-versions.v.i.
7862 (before-compile): Add libc-modules.h.
7863 ($(common-objpfx)libc-modules.h,
7864 $(common-objpfx)libc-modules.stmp): New targets.
7865 (common-generated): Add libc-modules.h and libc-modules.stmp.
7866 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7867 * include/libc-symbols.h: Don't include libc-modules.h.
7868 * include/libc-modules.h: Remove file.
7869 * scripts/gen-libc-modules.awk: New script to generate
7871 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7872 Depend on libc-modules.stmp.
7874 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7876 * Makeconfig (in-module): Get value of libof set for the
7878 (CPPFLAGS): Use $(in-module).
7879 * Makerules: Don't suffix routine names for nonlib.
7880 * include/libc-modules.h: New file.
7881 * include/libc-symbols.h: Include libc-modules.h
7882 (IS_IN): New macro to replace IS_IN_* macros.
7883 * elf/Makefile: Set libof-* for each routine.
7884 * elf/rtld-Rules: Likewise.
7885 * extra-modules.mk: Likewise.
7886 * iconv/Makefile: Likewise.
7887 * iconvdata/Makefile: Likewise.
7888 * locale/Makefile: Likewise.
7889 * malloc/Makefile: Likewise.
7890 * nss/Makefile: Likewise.
7891 * sysdeps/gnu/Makefile: Likewise.
7892 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7893 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7894 * sysdeps/s390/s390-64/Makefile: Likewise.
7895 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7896 CPPFLAGS for nscd instead of nonlib.
7898 2014-11-18 Roland McGrath <roland@hack.frob.com>
7900 * nptl/createthread.c: New file.
7902 * nptl/createthread.c: Moved ...
7903 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7905 * nptl/createthread.c: Add proper top-line comment.
7906 (do_clone): Folded into ...
7907 (create_thread): ... here. Take new arguments STOPPED_START and
7908 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7909 increment __nptl_threads, do event-reporting logic, do
7910 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7911 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7912 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7913 just send SIGCANCEL.
7914 * nptl/pthread_create.c: Forward-declare create_thread before
7915 including createthread.c.
7916 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7917 declaration, and new macro START_THREAD_SELF to replace argument.
7918 Remove return statement.
7919 (report_thread_creation): New function.
7920 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7921 synchronization logic, and __nptl_nthreads increment here, around
7922 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7923 PD->parent_cancelhandling here, before create_thread. When
7924 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7925 __deallocate_stack, and ENOMEM translation here.
7927 2014-11-18 Joseph Myers <joseph@codesourcery.com>
7930 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7931 (mptwo): Rename to __mptwo.
7932 (__inv): Use __mptwo instead of mptwo.
7933 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7934 (mptwo): Rename to __mptwo.
7935 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7936 of mpone and __mptwo instead of mptwo.
7937 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7940 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7941 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7942 of mpone and __mptwo instead of mptwo.
7943 (__mpranred): Use __mpone instead of mpone.
7944 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7946 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7947 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7948 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7949 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7950 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7951 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7952 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7953 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7954 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7955 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7956 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7957 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7958 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7959 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7960 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7961 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7962 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7963 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7964 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7966 2014-11-18 Tom de Vries <tom@codesoucery.com>
7968 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7969 replace BSD Handler xref with BSD Signal Handling.
7971 2014-11-17 Richard Henderson <rth@redhat.com>
7973 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7974 (_FP_PACK_RAW_2): Remove.
7975 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7976 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7977 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7978 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7979 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7980 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7981 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7982 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7983 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7984 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7985 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7986 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7987 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7988 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7989 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7990 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7992 2014-11-14 Roland McGrath <roland@hack.frob.com>
7994 * signal/signal.h [__USE_MISC]
7995 (struct sigvec): Remove type.
7996 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7997 (sigvec): Remove declaration.
7998 * sysdeps/posix/sigvec.c: Moved ...
7999 * signal/sigvec.c: ... here, replacing old file.
8000 (struct sigvec): New type, copied from old signal.h definition.
8001 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8002 (__sigvec): Convert definition to prototype.
8003 (sigvec): Replace weak_alias with compat_symbol.
8004 * signal/Versions (libc: GLIBC_2.21): New version set.
8005 * include/signal.h: Remove __sigvec declaration.
8006 * sysdeps/unix/bsd/sigvec.c: Remove file.
8007 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8008 * manual/signal.texi (BSD Handler): Remove subsection.
8009 Move siginterrupt up to ...
8010 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
8011 (Blocking in BSD): Fold subsection into its parent.
8012 * NEWS: Mention sigvec removal.
8014 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8016 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8017 (DLA_FMS): Make definition conditional only on [__FMA4__].
8018 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8021 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8022 Make definition conditional only on [PROF].
8023 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8025 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8026 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8028 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8030 * include/signal.h (__sigpause): Move declaration above call to
8032 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8034 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8035 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8037 2014-11-14 David S. Miller <davem@davemloft.net>
8039 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8040 Define before including <string/memcpy.c> and <string/mempcpy.c>.
8042 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8044 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8045 * configure: Regenerated.
8046 * manual/install.texi (Tools for Compilation): Document a
8047 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8048 compiler verified to work.
8049 * INSTALL: Regenerated.
8051 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8052 redeclare with asm name.
8053 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8054 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8055 including <string.h>.
8056 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8057 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8058 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8059 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8060 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8061 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8062 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8064 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8066 * stdlib/strtol.c (__strtol): Use prototype definition.
8069 * stdlib/strtol.c (SYM__): New macro.
8071 (__strtol): Likewise.
8072 (strtol): Rename to __strtol and define as weak alias of
8073 __strtol. Use libc_hidden_weak.
8075 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8077 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8078 Use numbered labels in inline assembly.
8080 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8082 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8083 Add setjmp LIBC_PROBE.
8084 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8086 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8087 Add longjmp, longjmp_target LIBC_PROBE.
8088 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8091 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8093 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8094 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8095 to get rid of unused variable warning.
8097 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8099 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8100 Check for unwind_backtrace == NULL only in SHARED case.
8101 (__backchain_backtrace): Compile only in SHARED case.
8102 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8104 (__backchain_backtrace): Declare as static.
8106 2014-11-12 Roland McGrath <roland@hack.frob.com>
8108 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8109 (__libc_multiple_threads_ptr): Variable moved ...
8110 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8112 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8114 * conform/GlibcConform.pm: New file.
8115 * conform/conformtest.pl: Use GlibcConform module.
8116 * conform/linknamespace.pl: New file.
8117 * conform/list-header-symbols.pl: Likewise.
8118 * conform/Makefile (linknamespace-symlists-base): New variable.
8119 (linknamespace-symlists-tests): Likewise.
8120 (linknamespace-header-base): Likewise.
8121 (linknamespace-header-tests): Likewise.
8122 (tests-special): Add new tests.
8123 ($(linknamespace-symlists-tests)): New rule.
8124 (linknamespace-libs): New variable.
8125 ($(objpfx)symlist-stdlibs): New rule.
8126 ($(linknamespace-header-tests)): Likewise.
8127 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8128 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8129 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8130 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8131 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8132 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8133 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8134 (test-xfail-ISO/math.h/linknamespace): Likewise.
8135 (test-xfail-ISO/signal.h/linknamespace): Likewise.
8136 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8137 (test-xfail-ISO/time.h/linknamespace): Likewise.
8138 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8139 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8140 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8141 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8142 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8143 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8144 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8145 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8146 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8147 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8148 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8149 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8150 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8151 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8152 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8153 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8154 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8155 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8156 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8157 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8158 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8159 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8160 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8161 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8162 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8163 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8164 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8165 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8166 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8167 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8168 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8169 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8170 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8171 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8172 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8173 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8174 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8175 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8176 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8177 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8178 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8179 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8180 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8181 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8182 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8183 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8184 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8185 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8186 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8187 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8188 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8189 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8190 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8191 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8192 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8193 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8194 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8195 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8196 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8197 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8198 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8199 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8200 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8201 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8202 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8203 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8204 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8205 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8206 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8207 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8208 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8209 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8210 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8211 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8212 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8213 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8214 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8215 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8216 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8217 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8218 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8219 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8220 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8221 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8222 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8223 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8224 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8225 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8226 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8227 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8228 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8229 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8230 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8231 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8232 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8233 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8234 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8235 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8236 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8237 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8238 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8239 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8240 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8241 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8242 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8243 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8244 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8245 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8246 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8247 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8248 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8249 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8250 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8251 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8252 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8253 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8254 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8255 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8256 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8257 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8258 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8259 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8260 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8261 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8262 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8263 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8264 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8265 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8266 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8267 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8268 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8269 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8270 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8271 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8272 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8273 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8274 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8275 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8276 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8277 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8278 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8279 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8280 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8281 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8282 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8283 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8284 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8285 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8286 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8287 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8290 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8294 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8295 (memmem): Rename to __memmem and define as weak alias of
8296 __memmem. Use libc_hidden_weak.
8297 (__memmem): Use libc_hidden_def.
8298 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8299 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8303 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8304 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8305 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8306 and define as weak alias of __fgets_unlocked. Use
8308 (__fgets_unlocked): Use libc_hidden_def.
8309 * include/stdio.h (__fgets_unlocked): Declare. Use
8311 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8312 __fgets_unlocked instead of fgets_unlocked.
8313 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8314 (GET_NPROCS_CONF_PARSER): Likewise.
8315 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8316 (GET_NPROCS_CONF_PARSER): Likewise.
8319 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8320 weak alias of __wmemset. Use libc_hidden_weak.
8321 (__wmemset): Use libc_hidden_def.
8322 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8323 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8327 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8328 with asm name __mempcpy.
8329 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8332 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8333 and define as weak alias of __rawmemchr.
8334 (__rawmemchr): Do not define as strong alias of rawmemchr.
8337 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8339 (qsort): Call __qsort_r instead of qsort_r.
8340 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8341 (__qsort_r): Declare. Call libc_hidden_proto.
8342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8344 * nscd/gai.c (__qsort_r): Define to qsort_r.
8345 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8346 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8347 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8350 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8351 define as weak alias of __malloc_info.
8354 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8355 as weak alias of __rewinddir. Don't use libc_hidden_def.
8356 (__rewinddir): Use libc_hidden_def.
8357 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8358 as weak alias of __rewinddir. Don't use libc_hidden_def.
8359 (__rewinddir): Use libc_hidden_def.
8360 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8361 weak alias of __rewinddir. Don't use libc_hidden_def.
8362 (__rewinddir): Use libc_hidden_def.
8363 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8364 (__rewinddir): Use libc_hidden_proto.
8365 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8367 (__getcwd): Use __rewinddir instead of rewinddir.
8370 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8371 alias of __fileno. Use libc_hidden_weak.
8372 (__fileno): Use libc_hidden_def.
8373 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8374 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8376 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8378 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8379 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8381 (fread_unlocked): Don't use libc_hidden_ver.
8382 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8383 and define as weak alias of __fread_unlocked. Don't use
8385 (__fread_unlocked): Use libc_hidden_def.
8386 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8387 (ftello): Don't use libc_hidden_proto.
8388 (__ftello): Declare. Use libc_hidden_proto.
8389 (fread_unlocked): Don't use libc_hidden_proto.
8390 (__fread_unlocked): Declare. Use libc_hidden_proto.
8391 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8392 and __ftello instead of fileno, fread_unlocked and ftello.
8394 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8396 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8398 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8400 (_dl_start_user): Likewise.
8401 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8403 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8404 Siddhesh Poyarekar <siddhesh@redhat.com>
8406 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8407 Move argv and envp down instead of moving argc up.
8408 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8410 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8413 * test-skeleton.c (main): Return successful if one of
8414 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8415 * string/tst-strcoll-overflow.c: Define expected status.
8417 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8420 * locale/iso-639.def: Define Bhili and Tulu language codes.
8422 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8424 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8426 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8429 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8431 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8433 * configure.ac: Updated check of minimal required version to
8435 * manual/install.texi (Tools for Compilation): Updated version
8437 * configure: Regenerated.
8438 * INSTALL: Likewise.
8440 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8442 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8445 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8447 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8448 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8449 (__waitpid): Don't define as alias. Use libc_hidden_def not
8451 (waitpid): Define as alias of __waitpid.
8452 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8454 (__waitpid): Don't define as alias. Use libc_hidden_def not
8456 (waitpid): Define as alias of __waitpid.
8457 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8458 __libc_waitpid alias.
8459 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8460 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8462 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8463 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8464 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8466 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8468 (__waitpid): Don't define as alias. Use libc_hidden_def not
8470 (waitpid): Define as alias of __waitpid.
8472 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8474 * manual/llio.texi: Add comment that write safety has been
8477 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8478 (localplt-build-dso): Add elf/ld.so.
8479 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8480 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8483 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8488 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8489 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8490 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8491 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8492 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8493 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8494 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8495 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8496 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8497 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8498 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8500 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8503 * include/libc-symbols.h (INTUSE): Remove macro.
8505 (INTVARDEF): Likewise.
8506 (_INTVARDEF): Likewise.
8507 (INTDEF2): Likewise.
8508 (INTVARDEF2): Likewise.
8509 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8510 rtld_hidden_def instead of INTVARDEF.
8511 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8512 (_dl_starting_up_internal): Remove declaration.
8513 (_dl_starting_up): Use rtld_hidden_proto.
8514 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8516 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8517 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8519 * elf/dl-writev.h (_dl_writev): Likewise.
8520 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8521 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8522 _dl_starting_up_internal.
8524 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8526 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8529 2014-11-05 Will Newton <will.newton@linaro.org>
8531 * benchtests/Makefile: (bench-malloc): Add malloc thread
8532 scalability benchmark.
8533 * benchtests/bench-malloc-threads.c: New file.
8535 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8537 * sysdeps/aarch64/strchrnul.S: New file.
8539 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8541 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8543 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8545 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8547 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8549 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8551 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8554 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8556 * catgets/test-gencat.c: Use test-skeleton.c.
8557 * catgets/tst-catgets.c: Likewise.
8558 * csu/tst-empty.c: Likewise.
8559 * elf/tst-audit2.c: Likewise.
8560 * elf/tst-global1.c: Likewise.
8561 * elf/tst-pathopt.c: Likewise.
8562 * elf/tst-piemod1.c: Likewise.
8563 * elf/tst-tls10.c: Likewise.
8564 * elf/tst-tls11.c: Likewise.
8565 * elf/tst-tls12.c: Likewise.
8566 * gnulib/tst-gcc.c: Likewise.
8567 * iconvdata/tst-e2big.c: Likewise.
8568 * iconvdata/tst-loading.c: Likewise.
8569 * iconv/tst-iconv1.c: Likewise.
8570 * iconv/tst-iconv2.c: Likewise.
8571 * inet/test-inet6_opt.c: Likewise.
8572 * inet/tst-gethnm.c: Likewise.
8573 * inet/tst-network.c: Likewise.
8574 * inet/tst-ntoa.c: Likewise.
8575 * intl/tst-codeset.c: Likewise.
8576 * intl/tst-gettext2.c: Likewise.
8577 * intl/tst-gettext3.c: Likewise.
8578 * intl/tst-ngettext.c: Likewise.
8579 * intl/tst-translit.c: Likewise.
8580 * io/test-stat.c: Likewise.
8581 * libio/test-fmemopen.c: Likewise.
8582 * libio/tst-freopen.c: Likewise.
8583 * libio/tst-sscanf.c: Likewise.
8584 * libio/tst-ungetwc1.c: Likewise.
8585 * libio/tst-ungetwc2.c: Likewise.
8586 * libio/tst-widetext.c: Likewise.
8587 * localedata/tst-ctype.c: Likewise.
8588 * localedata/tst-digits.c: Likewise.
8589 * localedata/tst-leaks.c: Likewise.
8590 * localedata/tst-mbswcs1.c: Likewise.
8591 * localedata/tst-mbswcs2.c: Likewise.
8592 * localedata/tst-mbswcs3.c: Likewise.
8593 * localedata/tst-mbswcs4.c: Likewise.
8594 * localedata/tst-mbswcs5.c: Likewise.
8595 * localedata/tst-setlocale.c: Likewise.
8596 * localedata/tst-trans.c: Likewise.
8597 * localedata/tst-wctype.c: Likewise.
8598 * localedata/tst-xlocale1.c: Likewise.
8599 * login/tst-grantpt.c: Likewise.
8600 * malloc/tst-calloc.c: Likewise.
8601 * malloc/tst-malloc.c: Likewise.
8602 * malloc/tst-mallocstate.c: Likewise.
8603 * malloc/tst-mcheck.c: Likewise.
8604 * malloc/tst-mtrace.c: Likewise.
8605 * malloc/tst-obstack.c: Likewise.
8606 * math/atest-exp2.c: Likewise.
8607 * math/atest-exp.c: Likewise.
8608 * math/atest-sincos.c: Likewise.
8609 * math/test-matherr.c: Likewise.
8610 * math/test-misc.c: Likewise.
8611 * math/test-powl.c: Likewise.
8612 * math/tst-definitions.c: Likewise.
8613 * misc/tst-dirname.c: Likewise.
8614 * misc/tst-efgcvt.c: Likewise.
8615 * misc/tst-fdset.c: Likewise.
8616 * misc/tst-hsearch.c: Likewise.
8617 * misc/tst-mntent2.c: Likewise.
8618 * nptl/tst-sem7.c: Likewise.
8619 * nptl/tst-sem8.c: Likewise.
8620 * nptl/tst-sem9.c: Likewise.
8621 * nss/test-netdb.c: Likewise.
8622 * posix/tst-fnmatch.c: Likewise.
8623 * posix/tst-getlogin.c: Likewise.
8624 * posix/tst-gnuglob.c: Likewise.
8625 * posix/tst-mmap.c: Likewise.
8626 * pwd/tst-getpw.c: Likewise.
8627 * resolv/tst-inet_ntop.c: Likewise.
8628 * rt/tst-timer.c: Likewise.
8629 * stdio-common/test-fseek.c: Likewise.
8630 * stdio-common/test-popen.c: Likewise.
8631 * stdio-common/test-vfprintf.c: Likewise.
8632 * stdio-common/tst-cookie.c: Likewise.
8633 * stdio-common/tst-fileno.c: Likewise.
8634 * stdio-common/tst-gets.c: Likewise.
8635 * stdio-common/tst-obprintf.c: Likewise.
8636 * stdio-common/tst-perror.c: Likewise.
8637 * stdio-common/tst-sprintf2.c: Likewise.
8638 * stdio-common/tst-sprintf3.c: Likewise.
8639 * stdio-common/tst-sprintf.c: Likewise.
8640 * stdio-common/tst-swprintf.c: Likewise.
8641 * stdio-common/tst-tmpnam.c: Likewise.
8642 * stdio-common/tst-unbputc.c: Likewise.
8643 * stdio-common/tst-wc-printf.c: Likewise.
8644 * stdlib/tst-environ.c: Likewise.
8645 * stdlib/tst-fmtmsg.c: Likewise.
8646 * stdlib/tst-limits.c: Likewise.
8647 * stdlib/tst-rand48-2.c: Likewise.
8648 * stdlib/tst-rand48.c: Likewise.
8649 * stdlib/tst-random2.c: Likewise.
8650 * stdlib/tst-random.c: Likewise.
8651 * stdlib/tst-strtol.c: Likewise.
8652 * stdlib/tst-strtoll.c: Likewise.
8653 * stdlib/tst-tls-atexit.c: Likewise.
8654 * stdlib/tst-xpg-basename.c: Likewise.
8655 * string/test-ffs.c: Likewise.
8656 * string/tst-bswap.c: Likewise.
8657 * string/tst-inlcall.c: Likewise.
8658 * string/tst-strtok.c: Likewise.
8659 * string/tst-strxfrm.c: Likewise.
8660 * sysdeps/x86_64/tst-audit10.c: Likewise.
8661 * sysdeps/x86_64/tst-audit3.c: Likewise.
8662 * sysdeps/x86_64/tst-audit4.c: Likewise.
8663 * sysdeps/x86_64/tst-audit5.c: Likewise.
8664 * time/tst-ftime_l.c: Likewise.
8665 * time/tst-getdate.c: Likewise.
8666 * time/tst-mktime3.c: Likewise.
8667 * time/tst-mktime.c: Likewise.
8668 * time/tst-posixtz.c: Likewise.
8669 * time/tst-strptime2.c: Likewise.
8670 * time/tst-strptime3.c: Likewise.
8671 * wcsmbs/tst-btowc.c: Likewise.
8672 * wcsmbs/tst-mbrtowc.c: Likewise.
8673 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8674 * wcsmbs/tst-wchar-h.c: Likewise.
8675 * wcsmbs/tst-wcpncpy.c: Likewise.
8676 * wcsmbs/tst-wcrtomb.c: Likewise.
8677 * wcsmbs/tst-wcsnlen.c: Likewise.
8678 * wcsmbs/tst-wcstof.c: Likewise.
8680 2014-11-04 Joseph Myers <joseph@codesourcery.com>
8683 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8685 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8687 (_dl_mcount): Use rtld_hidden_proto.
8688 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8690 * elf/rtld.c (_rtld_global_ro): Likewise.
8693 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8694 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8695 of _dl_init_internal.
8696 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8697 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8698 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8699 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8700 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8701 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8702 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8703 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8704 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8705 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8706 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8707 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8708 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8709 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8710 * sysdeps/tile/dl-start.S (_start): Likewise.
8711 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8712 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8715 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8716 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8717 (rtld_progname): Make macro definition unconditional.
8718 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8720 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8721 (dl_main): Likewise.
8722 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8723 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8724 instead of _dl_argv_internal.
8725 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8726 __GI__dl_argv instead of INTUSE(_dl_argv).
8727 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8728 __GI__dl_argv instead of _dl_argv_internal.
8730 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8731 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8733 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8734 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8736 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8737 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8739 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8740 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8742 2014-11-04 Andreas Schwab <schwab@suse.de>
8744 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8746 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8748 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8749 mtvsrd instruction in binary form.
8751 2014-11-03 Andreas Schwab <schwab@suse.de>
8754 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8755 for less than MB_LEN_MAX use a local buffer of that size.
8756 * libio/tst-fputws.c: New file.
8757 * libio/Makefile (tests): Add tst-fputws.
8759 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8761 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8762 the size of the fpu_fr.fpu_dregs[] array.
8764 2014-11-01 Joseph Myers <joseph@codesourcery.com>
8766 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8767 (__nanosleep): Do not define as alias.
8768 (nanosleep): Define as alias of __nanosleep.
8769 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8770 __libc_nanosleep name.
8772 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8774 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8775 install.texi in comment.
8777 2014-10-31 Torvald Riegel <triegel@redhat.com>
8779 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8780 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8781 ... add here and use lwsync or sync ...
8782 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8783 ... and add here using lwsync.
8785 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8787 * elf/dl-machine-reject-phdr.h: New file.
8788 * elf/dl-load.c: #include that.
8789 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8790 if that returned true.
8792 2014-10-31 Roland McGrath <roland@hack.frob.com>
8795 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8796 gen-as-const-headers chunk. Add a big scare comment after the last
8797 safe place to touch before-compile.
8799 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8801 * manual/install.texi (Tools for Compilation): Update autoconf
8802 version requirements.
8803 * INSTALL: Regenerated.
8805 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8806 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8807 (__libc_pselect): Likewise.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8815 2014-10-31 Torvald Riegel <triegel@redhat.com>
8817 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8818 correct barrier instruction.
8819 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8821 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8824 2014-10-30 Roland McGrath <roland@hack.frob.com>
8826 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8827 after defining inlines. Instead, just use parens to defeat macro
8828 expansion of __isctype in its declaration.
8830 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8832 * include/sys/uio.h (__libc_readv): Remove declaration.
8833 (__libc_writev): Likewise.
8834 * misc/readv.c (__libc_readv): Rename to __readv.
8835 (__readv): Do not define as alias.
8836 (readv): Define as alias of __readv.
8837 * misc/writev.c (__libc_writev): Rename to __writev.
8838 (__writev): Do not define as alias.
8839 (writev): Define as alias of __writev.
8840 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8841 (__readv): Do not define as alias.
8842 (readv): Define unconditionally as alias of __readv.
8843 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8844 (__writev): Do not define as alias.
8845 (writev): Define unconditionally as alias of __writev.
8846 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8848 (writev): Do not define __libc_writev name.
8850 2014-10-30 Roland McGrath <roland@hack.frob.com>
8852 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8853 (convert_charseq): New function, broken out of ...
8854 (use_from_charmap): ... here. Call it.
8855 (use_to_charmap): Use convert_charseq and free instead of duplicating
8856 its code with a variable-length stack struct.
8858 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8860 * include/fcntl.h (__libc_creat): Remove declaration.
8861 * io/creat.c (__libc_creat): Rename to creat.
8862 (creat): Do not define as alias.
8863 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8864 of creat instead of __libc_creat.
8865 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8867 (creat): Do not define as alias.
8868 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8870 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8872 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8875 2014-10-29 Carlos O'Donell <carlos@redhat.com>
8877 * manual/llio.texi: Add comments discussing why write() may be
8878 considered MT-unsafe on Linux.
8880 2014-10-28 Carlos O'Donell <carlos@redhat.com>
8882 * dl-load.c (local_strdup): Remove.
8883 (expand_dynamic_string_token): Use __strdup.
8884 (decompose_rpath): Likewise.
8885 (_dl_map_object): Likewise.
8887 2014-10-28 Joseph Myers <joseph@codesourcery.com>
8890 * sysdeps/generic/unwind-dw2-fde.c
8891 (__register_frame_info_bases_internal): Do not declare.
8892 (__register_frame_info_table_bases_internal): Likewise.
8893 (__deregister_frame_info_bases_internal): Likewise.
8894 (__register_frame_info_bases): Declare and use hidden_proto before
8895 definition. Use hidden_def instead of INTDEF.
8896 (__register_frame_info_table_bases): Likewise.
8897 (__deregister_frame_info_bases): Likewise.
8898 (__register_frame_info): Do not use INTUSE.
8899 (__register_frame): Likewise.
8900 (__register_frame_info_table): Likewise.
8901 (__register_frame_table): Likewise.
8902 (__deregister_frame_info): Likewise.
8903 (__deregister_frame): Likewise.
8905 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8907 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8908 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8910 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8912 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8915 2014-10-27 Joseph Myers <joseph@codesourcery.com>
8918 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8919 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8920 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8921 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8922 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8923 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8924 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8925 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8926 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8927 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8928 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8929 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8930 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8932 (setfsuid): Likewise.
8933 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8934 (setfsuid): Likewise.
8935 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8936 (setfsuid): Likewise.
8937 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8939 (setfsuid): Likewise.
8940 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8941 (setfsuid): Likewise.
8942 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8944 (setfsuid): Likewise.
8946 2014-10-27 Andreas Schwab <schwab@suse.de>
8949 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8950 check for Slow_SSE4_2 feature bit.
8951 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8952 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8953 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8954 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8956 2014-10-24 Roland McGrath <roland@hack.frob.com>
8958 * configure.ac: Validate compiler version with a empirical test of
8959 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8961 * configure: Regenerated.
8963 * inet/htons.c (htons): Prototypify.
8964 * inet/htonl.c (htonl): Likewise.
8966 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8968 * string/strncat.c (strncat): Improve performance by using strlen.
8970 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8972 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8974 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8976 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8977 Call libc_fetestexcept_aarch64.
8979 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8981 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8982 Call libc_feholdexcept_aarch64.
8984 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8986 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8987 Call get_rounding_mode.
8989 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8991 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8994 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8996 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8999 2014-10-24 Joseph Myers <joseph@codesourcery.com>
9002 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9003 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9004 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9005 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9006 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9007 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9008 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9009 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9010 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9011 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9012 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9013 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9014 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9015 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9016 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9017 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9018 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9019 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9020 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9021 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9022 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9023 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9024 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9025 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9026 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9027 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9028 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9029 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9030 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9031 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9032 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9033 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9034 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9035 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9036 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9037 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9038 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9039 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9040 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9041 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9042 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9044 (geteuid): Likewise.
9047 (getresgid): Likewise.
9048 (getresuid): Likewise.
9049 (getgroups): Likewise.
9050 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9051 (geteuid): Likewise.
9054 (getresgid): Likewise.
9055 (getresuid): Likewise.
9056 (getgroups): Likewise.
9057 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9058 (geteuid): Likewise.
9061 (getresgid): Likewise.
9062 (getresuid): Likewise.
9063 (getgroups): Likewise.
9064 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9066 (geteuid): Likewise.
9069 (getresgid): Likewise.
9070 (getresuid): Likewise.
9071 (getgroups): Likewise.
9072 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9073 (geteuid): Likewise.
9076 (getresgid): Likewise.
9077 (getresuid): Likewise.
9078 (getgroups): Likewise.
9079 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9081 (geteuid): Likewise.
9084 (getgroups): Likewise.
9087 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9088 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9089 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9090 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9091 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9092 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9093 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9094 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9095 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9096 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9097 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9098 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9099 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9101 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9104 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9108 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9111 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9116 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9118 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9121 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9123 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9126 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9128 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9129 Remove unused include.
9131 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9133 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9134 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9135 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9136 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9138 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9139 Helge Deller <deller@gmx.de>
9142 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9143 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9144 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9146 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9149 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9150 Remove macro definition.
9151 (__ashrdi3_v_glibc20): Likewise.
9152 (__lshrdi3_v_glibc20): Likewise.
9153 (__cmpdi2_v_glibc20): Likewise.
9154 (__ucmpdi2_v_glibc20): Likewise.
9155 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9156 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9157 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9158 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9159 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9160 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9162 2014-10-22 Roland McGrath <roland@hack.frob.com>
9164 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9165 old GNU extension [0] syntax.
9166 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9167 alloca rather than an array member with variable length.
9168 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9169 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9170 (parse_opt): ... here. Likewise use alloca there.
9171 Validate the -i argument before checking for rootness.
9172 (send_shutdown): New function, broken out of ...
9173 (parse_opt): ... here.
9175 2014-10-22 Roland McGrath <roland@hack.frob.com>
9177 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9178 macro to get at the _rt_local_ro field.
9179 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9180 ([PIC] case) or _dl_hwcap ([!PIC] case).
9181 * sysdeps/arm/setjmp.S: Likewise.
9183 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9184 * sysdeps/arm/configure.ac: New check to define it.
9185 * sysdeps/arm/configure: Regenerated.
9186 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9187 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9188 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9189 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9190 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9191 Use move/movt pair instead of a load.
9192 (LDST_GLOBAL): Macro removed.
9193 (LDR_GLOBAL): New macro replaces it.
9194 (LDR_HIDDEN): New macro.
9195 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9196 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9198 * setjmp/tst-setjmp-static.c: New file.
9199 * setjmp/Makefile (tests): Add it.
9200 (tests-static): New variable.
9202 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
9205 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9207 2014-10-21 Joseph Myers <joseph@codesourcery.com>
9210 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9212 2014-10-21 Roland McGrath <roland@hack.frob.com>
9214 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9216 2014-10-20 Roland McGrath <roland@hack.frob.com>
9218 * io/fts.c (dirent_not_directory): New function.
9219 (fts_build): Call it.
9221 2014-10-20 Roland McGrath <roland@hack.frob.com>
9223 * nptl/version.c (__nptl_main): Use normal __write rather than
9225 (banner): Update copyright years.
9227 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9229 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9230 * nptl/pthread_cond_timedwait.c: Likewise.
9231 * nptl/pthread_mutex_timedlock.c: Likewise.
9232 * nptl/sem_timedwait.c: Likewise.
9234 * sysdeps/nptl/bits/libc-lock.h
9235 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9236 (__libc_lock_init_recursive): Return void, not 0.
9237 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9238 (__libc_rwlock_init): Likewise.
9239 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9241 2014-10-20 Torvald Riegel <triegel@redhat.com>
9244 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9245 (__pthread_once_slow): ... here.
9246 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9247 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9249 2014-10-20 Torvald Riegel <triegel@redhat.com>
9252 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9253 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9254 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9255 * nptl/pthread_once.c (__pthread_once): Likewise.
9258 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9261 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9263 (writev): Use __libc_writev as strong name.
9264 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9265 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9267 2014-10-17 Roland McGrath <roland@hack.frob.com>
9269 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9271 * sysdeps/i386/nptl/tls.h
9272 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9273 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9275 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9276 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9277 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9278 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9279 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9280 Call CHECK_THREAD_SYSINFO instead of doing an assert.
9282 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9283 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9285 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9287 (__pthread_mutex_init): ... here. Call it.
9288 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9289 Conditionalize PI cases on [__NR_futex].
9290 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9291 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9292 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9294 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9295 conditional on [SIGSETXID].
9296 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9297 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9298 is defined. Likewise for SIGSETXID.
9299 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9300 Conditionalize definitions on [SIGSETXID].
9301 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9302 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9303 unblocking on [SIGCANCEL].
9305 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9306 [__NR_set_robust_list].
9308 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9310 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9311 (do_compare): Likewise.
9313 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9316 * string/strcoll_l.c: Don't include stdio.h.
9317 (coll_seq): Remove members idxarr and rulearr.
9318 (get_next_seq_cached): Remove function.
9319 (get_next_seq): Likewise.
9320 (get_next_seq_nocache): Rename to get_next_seq.
9321 (do_compare): Remove function.
9322 (do_compare_nocache): Rename to do_compare.
9323 (STRCOLL): Remove weight and rules cache.
9325 2014-10-16 Roland McGrath <roland@hack.frob.com>
9327 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9328 * sysdeps/arm/sfp-machine.h: ... to here.
9329 * sysdeps/arm/Implies: Remove arm/soft-fp.
9331 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9333 * conform/data/sys/utsname.h-data (*_t): Allow.
9334 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9335 [POSIX] (WEXITED): Do not expect constant.
9336 [POSIX] (WSTOPPED): Likewise.
9337 [POSIX] (WNOHANG): Likewise.
9338 [POSIX] (WNOWAIT): Likewise.
9339 [POSIX] (siginfo_t): Do not expect type or elements.
9340 [POSIX] (pid_t): Do not expect type.
9341 [POSIX] (signal.h): Do not allow header.
9342 [POSIX] (sys/resource.h): Likewise.
9343 [POSIX] (si_*): Do not allow pattern.
9344 [POSIX] (W*): Likewise.
9345 [POSIX] (P_*): Likewise.
9346 [POSIX] (BUS_*): Likewise.
9347 [POSIX] (CLD_*): Likewise.
9348 [POSIX] (FPE_*): Likewise.
9349 [POSIX] (ILL_*): Likewise.
9350 [POSIX] (POLL_*): Likewise.
9351 [POSIX] (SEGV_*): Likewise.
9352 [POSIX] (SI_*): Likewise.
9353 [POSIX] (TRAP_*): Likewise.
9354 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9357 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9360 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9361 infinite loop when __recvmsg returns 0.
9363 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9365 * CANCEL-FCT-WAIVE: Remove file.
9366 * CANCEL-FILE-WAIVE: Likewise.
9369 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9370 instead of INTVARDEF.
9371 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9372 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9373 rtld_hidden_data_def instead of INTVARDEF.
9374 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9375 * elf/dl-deps.c (expand_dst): Likewise.
9376 * elf/dl-load.c (_dl_dst_count): Likewise.
9377 (_dl_dst_substitute): Likewise.
9378 (decompose_rpath): Likewise.
9379 (_dl_init_paths): Likewise.
9380 (open_path): Likewise.
9381 (_dl_map_object): Likewise.
9382 * elf/rtld.c (dl_main): Likewise.
9383 (process_dl_audit): Likewise.
9384 (process_envvars): Likewise.
9385 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9387 (__libc_enable_secure): Use rtld_hidden_proto.
9389 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9392 (add_path): New function broken out of _dl_rtld_di_serinfo.
9393 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9395 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9397 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9398 parentheses around macro arguments.
9399 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9400 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9401 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9402 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9403 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9404 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9405 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9406 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9407 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9408 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9409 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9410 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9411 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9412 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9413 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9414 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9415 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9416 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9417 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9418 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9419 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9420 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9421 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9422 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9423 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9424 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9425 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9426 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9427 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9428 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9429 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9430 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9431 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9432 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9433 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9434 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9436 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9437 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9439 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9440 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9441 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9443 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9444 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9445 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9446 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9447 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9448 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9449 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9450 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9451 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9452 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9453 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9454 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9455 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9456 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9457 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9458 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9459 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9460 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9461 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9462 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9463 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9464 (_FP_FRAC_SRS_1): Likewise.
9465 (_FP_FRAC_CLZ_1): Likewise.
9466 (_FP_MUL_MEAT_1_imm): Likewise.
9467 (_FP_MUL_MEAT_1_wide): Likewise.
9468 (_FP_MUL_MEAT_1_hard): Likewise.
9469 (_FP_SQRT_MEAT_1): Likewise.
9470 (_FP_FRAC_ASSEMBLE_1): Likewise.
9471 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9472 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9473 (__FP_CLZ_2): Likewise.
9474 (_FP_MUL_MEAT_2_wide): Likewise.
9475 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9476 (_FP_MUL_MEAT_2_gmp): Likewise.
9477 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9478 (_FP_SQRT_MEAT_2): Likewise.
9479 (_FP_FRAC_ASSEMBLE_2): Likewise.
9480 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9481 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9482 (_FP_FRAC_CLZ_4): Likewise.
9483 (_FP_MUL_MEAT_4_wide): Likewise.
9484 (_FP_MUL_MEAT_4_gmp): Likewise.
9485 (_FP_SQRT_MEAT_4): Likewise.
9486 (_FP_FRAC_ASSEMBLE_4): Likewise.
9487 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9488 * soft-fp/op-common.h (_FP_CMP): Likewise.
9489 (_FP_CMP_EQ): Likewise.
9490 (_FP_CMP_UNORD): Likewise.
9491 (_FP_TO_INT): Likewise.
9492 (_FP_FROM_INT): Likewise.
9493 [!__FP_CLZ] (__FP_CLZ): Likewise.
9494 (_FP_DIV_HELP_imm): Likewise.
9495 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9497 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9498 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9499 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9500 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9501 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9502 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9503 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9504 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9505 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9506 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9507 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9508 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9509 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9510 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9511 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9512 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9513 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9514 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9515 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9516 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9517 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9518 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9519 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9520 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9521 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9522 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9523 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9524 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9525 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9526 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9527 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9528 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9529 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9530 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9531 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9532 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9533 (FP_UNPACK_RAW_SP): Likewise.
9534 (FP_PACK_RAW_S): Likewise.
9535 (FP_PACK_RAW_SP): Likewise.
9536 (FP_UNPACK_S): Likewise.
9537 (FP_UNPACK_SP): Likewise.
9538 (FP_UNPACK_SEMIRAW_S): Likewise.
9539 (FP_UNPACK_SEMIRAW_SP): Likewise.
9540 (FP_PACK_S): Likewise.
9541 (FP_PACK_SP): Likewise.
9542 (FP_PACK_SEMIRAW_S): Likewise.
9543 (FP_PACK_SEMIRAW_SP): Likewise.
9544 (_FP_SQRT_MEAT_S): Likewise.
9545 (FP_CMP_S): Likewise.
9546 (FP_CMP_EQ_S): Likewise.
9547 (FP_CMP_UNORD_S): Likewise.
9548 (FP_TO_INT_S): Likewise.
9549 (FP_FROM_INT_S): Likewise.
9551 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9553 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9554 (FP_EX_INVALID_IMZ): Likewise.
9555 (FP_EX_INVALID_IMZ_FMA): Likewise.
9556 (FP_EX_INVALID_ISI): Likewise.
9557 (FP_EX_INVALID_ZDZ): Likewise.
9558 (FP_EX_INVALID_IDI): Likewise.
9559 (FP_EX_INVALID_SQRT): Likewise.
9560 (FP_EX_INVALID_CVI): Likewise.
9561 (FP_EX_INVALID_VC): Likewise.
9562 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9563 "invalid" exceptions.
9564 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9565 (_FP_ADD_INTERNAL): Likewise.
9566 (_FP_MUL): Likewise.
9567 (_FP_FMA): Likewise.
9568 (_FP_DIV): Likewise.
9569 (_FP_CMP_CHECK_NAN): Likewise.
9570 (_FP_SQRT): Likewise.
9571 (_FP_TO_INT): Likewise.
9572 (FP_EXTEND): Likewise.
9574 2014-10-09 Allan McRae <allan@archlinux.org>
9576 * po/fr.po: Update French translation from translation project.
9578 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9581 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9583 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9584 (__cxa_atexit): Use libc_hidden_proto.
9585 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9588 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9590 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9591 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9592 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9593 [!_ISOMAC] (__iswctype_internal): Likewise.
9594 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9595 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9597 (fcntl): Remove __fcntl_internal alias.
9598 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9599 __connect_internal alias.
9600 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9603 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9604 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9606 (_FP_CHECK_FLUSH_ZERO): New macro.
9607 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9608 (_FP_CMP): Likewise.
9609 (_FP_CMP_EQ): Likewise.
9610 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9612 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9613 (FP_TRUNC): Likewise.
9615 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9616 treated as invalid conversion, not as normal exponent.
9618 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9619 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9620 (_FP_CMP_EQ): Likewise.
9621 (_FP_CMP_UNORD): Likewise.
9622 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9623 (FP_CMP_EQ_D): Likewise.
9624 (FP_CMP_UNORD_D): Likewise.
9625 * soft-fp/extended.h (FP_CMP_E): Likewise.
9626 (FP_CMP_EQ_E): Likewise.
9627 (FP_CMP_UNORD_E): Likewise.
9628 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9629 (FP_CMP_EQ_Q): Likewise.
9630 (FP_CMP_UNORD_Q): Likewise.
9631 * soft-fp/single.h (FP_CMP_S): Likewise.
9632 (FP_CMP_EQ_S): Likewise.
9633 (FP_CMP_UNORD_S): Likewise.
9634 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9635 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9636 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9637 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9638 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9639 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9640 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9641 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9642 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9643 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9644 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9645 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9646 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9648 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9650 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9651 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9653 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9655 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9656 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9657 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9658 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9660 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9662 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9663 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9665 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9667 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9668 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9669 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9670 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9673 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9674 a subnormal result, set the underflow exception if trapping on
9675 underflow is enabled.
9676 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9677 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9678 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9680 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9681 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9682 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9683 * soft-fp/extendxftf2.c (__extendxftf2): Use
9684 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9686 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9687 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9688 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9689 FP_HANDLE_EXCEPTIONS.
9690 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9691 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9692 FP_HANDLE_EXCEPTIONS.
9693 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9694 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9695 FP_HANDLE_EXCEPTIONS.
9696 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9697 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9698 FP_HANDLE_EXCEPTIONS.
9700 2014-10-08 Joseph Myers <joseph@codesourcery.com>
9703 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9704 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9706 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9707 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9709 (__adjtimex): Define using libc_hidden_ver.
9710 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9712 (ntp_gettime): Call __adjtimex directly.
9713 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9715 (ntp_gettimex): Call __adjtimex directly.
9716 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9717 __adjtimex_internal alias.
9719 2014-10-08 Roland McGrath <roland@hack.frob.com>
9722 * nscd/nscd.c (more_help): Rewrite list of tables collection
9723 using xstrdup and asprintf.
9725 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9727 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9728 Roland McGrath <roland@hack.frob.com>
9730 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9731 (do_lookup_unique): ... local function 'enter' here; update callers.
9733 2014-10-06 Joseph Myers <joseph@codesourcery.com>
9735 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9736 compat_symbol calls on [SHARED].
9737 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9738 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9740 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9741 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9742 (oldsetrlimit): Remove.
9743 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9745 (lchown): New syscall entry.
9746 (oldsetrlimit): Remove.
9747 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9748 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9749 (oldsetrlimit): Remove.
9750 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9753 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9754 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9755 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9756 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9757 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9758 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9760 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9765 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9767 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9768 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9769 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9770 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9771 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9773 (__old_sem_post): Likewise.
9775 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
9777 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9778 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9779 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9780 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9781 Use INLINE_VSYSCALL macro.
9782 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9783 __vdso_clock_gettime.
9784 * sysdeps/unix/sysv/linux/tile/init-first.c
9785 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9786 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9787 __vdso_clock_gettime.
9789 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9790 to set up frame more cleanly.
9792 * sysdeps/tile/memcmp.c: New file.
9794 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9796 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9797 * sysdeps/tile/tilegx/strcasestr.c: New file.
9798 * sysdeps/tile/tilegx/strnlen.c: New file.
9799 * sysdeps/tile/tilegx/strstr.c: New file.
9801 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9803 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
9805 * nptl/tst-setuid3.c: Write errors to stdout.
9807 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9810 (preload): New functions broken out of _dl_map_object_deps.
9811 (_dl_map_object_deps): Remove a nested function. Update call sites.
9813 2014-10-01 Joseph Myers <joseph@codesourcery.com>
9816 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9817 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9819 2014-10-01 Steve Ellcey <sellcey@mips.com>
9821 * sysdeps/mips/strcmp.S: New.
9823 2014-09-30 Joseph Myers <joseph@codesourcery.com>
9826 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9828 (mkdirat): Likewise.
9829 (readlinkat): Likewise.
9830 (renameat): Likewise.
9831 (symlinkat): Likewise.
9832 (unlinkat): Likewise.
9833 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9834 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9835 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9836 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9837 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9838 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9839 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9841 2014-09-30 Will Newton <will.newton@linaro.org>
9843 * math/math.h: Define long double math functions if
9844 _LIBC_TEST is defined.
9845 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9847 * localedata/Makefile: Move assignment to tests-special
9848 into an ifdef testing run-built-tests.
9849 * timezone/Makefile: Likewise.
9851 2014-09-29 Joseph Myers <joseph@codesourcery.com>
9853 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9854 with $(BASH) not $(SHELL).
9856 2014-09-29 Carlos O'Donell <carlos@redhat.com>
9857 Matthew LeGendre <legendre1@llnl.gov>
9860 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9863 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9865 * stdio-common/printf_fp.c
9866 (hack_digit): New function, broken out of ...
9867 (__printf_fp): ... local function here. Update call sites.
9868 hack_digit now takes an additional parameter that is a pointer
9869 to a struct of the referenced locals. Those locals moved inside
9870 the struct and references updated.
9872 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9874 * aclocal.m4: Require autoconf 2.69.
9875 * configure: Regenerated.
9876 * sysdeps/aarch64/configure: Likewise.
9877 * sysdeps/alpha/configure: Likewise.
9878 * sysdeps/arm/armv7/configure: Likewise.
9879 * sysdeps/arm/configure: Likewise.
9880 * sysdeps/ia64/configure: Likewise.
9881 * sysdeps/mach/configure: Likewise.
9882 * sysdeps/mips/configure: Likewise.
9883 * sysdeps/s390/configure: Likewise.
9884 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9887 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9889 * sysdeps/ia64/configure.ac: Likewise.
9891 2014-09-26 Joseph Myers <joseph@codesourcery.com>
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9894 specify symbol version for ld.so. Do not include entry for
9896 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9897 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9898 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9901 * Makeconfig [$(build-shared) = yes]
9902 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9904 [$(build-shared) = yes && $(soversions.mk-done) = t]
9905 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9906 [$(build-shared) = yes && $(soversions.mk-done) = t]
9907 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9909 [$(build-shared) = yes && $(soversions.mk-done) = t]
9910 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9912 [$(build-shared) = yes && $(soversions.mk-done) = t]
9913 (common-generated): Don't append gnu/lib-names.h and
9914 gnu/lib-names.stmp here.
9915 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9916 (lib-names-h-abi): New variable.
9917 [$(build-shared) = yes && $(soversions.mk-done) = t]
9918 (lib-names-stmp-abi): Likewise.
9919 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9920 abi-variants] (before-compile): Append
9921 $(common-objpfx)$(lib-names-h-abi).
9922 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9923 abi-variants] (common-generated): Append gnu/lib-names.h.
9924 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9925 abi-variants] (install-others-nosubdir): Depend on
9926 $(inst_includedir)/$(lib-names-h-abi).
9927 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9928 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9929 [$(build-shared) = yes && $(soversions.mk-done) = t]
9930 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9931 [$(build-shared) = yes && $(soversions.mk-done) = t]
9932 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9933 [$(build-shared) = yes && $(soversions.mk-done) = t]
9934 (common-generated): Append $(lib-names-h-abi) and
9935 $(lib-names-stmp-abi).
9936 * scripts/lib-names.awk: Do not handle multi being set.
9937 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9939 (abi-lp64_be-ld-soname): Likewise.
9940 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9942 (abi-hard-ld-soname): Likewise.
9943 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9944 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9946 (abi-o32_hard-ld-soname): Likewise.
9947 (abi-o32_soft_2008-ld-soname): Likewise.
9948 (abi-o32_hard_2008-ld-soname): Likewise.
9949 (abi-n32_soft-ld-soname): Likewise.
9950 (abi-n32_hard-ld-soname): Likewise.
9951 (abi-n32_soft_2008-ld-soname): Likewise.
9952 (abi-n32_hard_2008-ld-soname): Likewise.
9953 (abi-n64_soft-ld-soname): Likewise.
9954 (abi-n64_hard-ld-soname): Likewise.
9955 (abi-n64_soft_2008-ld-soname): Likewise.
9956 (abi-n64_hard_2008-ld-soname): Likewise.
9957 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9959 (abi-64-v2-ld-soname): Likewise.
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9962 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9964 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9966 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9968 (abi-64-ld-soname): Likewise.
9969 (abi-x32-ld-soname): Likewise.
9970 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9972 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9974 2014-09-23 Joseph Myers <joseph@codesourcery.com>
9977 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9978 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9979 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9980 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9981 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9982 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9983 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9984 syscall entry for GLIBC_2.2 symbol version.
9985 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9988 (setrlimit): Likewise.
9989 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9992 2014-09-23 Will Newton <will.newton@linaro.org>
9994 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9995 _LINUX_ARM_SYSDEP_H include guard too.
9996 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9999 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10001 * sysdeps/unix/sysv/linux/eventfd.c:
10002 Make first argument unsigned.
10003 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10004 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10006 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10008 * socket/recvmmsg.c (recvmmsg): Drop const argument.
10009 * socket/sys/socket.h: Likewise
10010 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10012 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10014 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10016 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
10018 * time/tst-ftime.c: New test.
10019 * time/Makefile (tests): Add tst-ftime.
10021 2014-09-17 Joseph Myers <joseph@codesourcery.com>
10023 * soft-fp/extended.h: Fix comment formatting.
10024 * soft-fp/op-1.h: Likewise.
10025 * soft-fp/op-2.h: Likewise.
10026 * soft-fp/op-4.h: Likewise.
10027 * soft-fp/op-8.h: Likewise.
10028 * soft-fp/op-common.h: Likewise.
10029 * soft-fp/soft-fp.h: Likewise.
10031 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10033 2014-09-16 Joseph Myers <joseph@codesourcery.com>
10036 * Makeconfig (soversions-default-setname): Remove variable.
10037 ($(common-objpfx)soversions.i): Don't pass default_setname to
10039 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10040 oldest_abi to abi-versions.awk.
10041 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10042 * config.make.in (oldest-abi): Remove variable.
10043 * configure.ac (--enable-oldest-abi): Remove configure option.
10044 * configure: Regenerated.
10045 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10047 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10048 * scripts/soversions.awk: Do not handle default_setname variable.
10049 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10051 * sysdeps/mach/hurd/configure: Regenerated.
10052 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10054 * sysdeps/unix/sysv/linux/configure: Regenerated.
10056 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10058 * elf/Makefile (CFLAGS-interp.c): Remove.
10059 ($(elf-objpfx)runtime-linker.h): Generate header with linker
10061 * elf/interp.c: Include generated runtime-linker.h
10063 * Makerules (lib%.so): Don't include $(+interp) in
10065 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10066 * dlfcn/eval.c: Remove file.
10068 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10072 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10076 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10078 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10079 Jakub Jelinek <jakub@redhat.com>
10082 * libio/stdio.h: Check definition of __fortify_function
10083 instead of __extern_always_inline to include bits/stdio2.h.
10084 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10085 check if __extern_always_inline is defined.
10086 [__USE_MISC || __USE_XOPEN]: Likewise.
10087 [__USE_ISOC99] Likewise.
10088 * misc/sys/cdefs.h (__fortify_function): Define only if
10089 __extern_always_inline is defined.
10090 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10091 __extern_always_inline and __extern_inline only for g++-4.3
10092 and newer or a compatible gcc.
10094 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10097 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10098 last change to handle zero prefix length.
10100 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10102 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10105 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10106 _POSIX_RAW_SOCKETS.
10108 2014-09-13 Allan McRae <allan@archlinux.org>
10110 * po/ru.po: Update Russian translation from translation project.
10112 2014-09-12 Roland McGrath <roland@hack.frob.com>
10114 * locale/programs/locale.c (show_locale_vars): Inline local function
10115 into its sole call site. Clean up some style nits.
10116 (print_item): New function, broken out of ...
10117 (show_info): ... local function here. Clean up style nits.
10119 * locale/programs/ld-ctype.c (set_one_default): New function, broken
10121 (set_class_defaults): ... local function set_default here.
10122 Define set_default as a macro locally to pass constant parameters.
10123 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10124 rather than a shared local.
10126 * stdlib/rpmatch.c (try): New function, broken out of ...
10127 (rpmatch): ... local function here. Also, prototypify definition.
10129 2014-09-12 Joseph Myers <joseph@codesourcery.com>
10131 * scripts/soversions.awk: Do not handle configuration names.
10132 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10133 vendor and os variables to soversions.awk.
10134 * configure.ac: Do not modify gnu-* host_os.
10135 * configure: Regenerated
10136 * shlib-versions: Remove first column with configuration names.
10137 * nptl/shlib-versions: Likewise.
10138 * nptl_db/shlib-versions: Likewise.
10139 * sysdeps/hppa/shlib-versions: Likewise.
10140 * sysdeps/m68k/shlib-versions: Likewise.
10141 * sysdeps/mach/hurd/shlib-versions: Likewise.
10142 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10143 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10144 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10145 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10146 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10147 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10148 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10149 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10152 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10153 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10154 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10155 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10156 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10157 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10158 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10159 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10162 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10165 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10167 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10169 * shlib-versions: Remove OS-specific entries. Moved to files in
10171 * sysdeps/mach/hurd/shlib-versions: New file.
10172 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10174 * nptl/shlib-versions: Remove architecture-specific entries.
10175 Moved to files in sysdeps.
10176 * shlib-versions: Likewise.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10179 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10180 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10181 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10182 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10184 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10185 (UDP_NO_CHECK6_RX): Likewise.
10187 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10189 * sysdeps/posix/sysconf.c (__sysconf): Spell
10190 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10192 2014-08-12 Florian Weimer <fweimer@redhat.com>
10194 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10196 * iconv/Versions (__gconv_transliterate): Export for use from
10198 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10199 (struct __gconv_trans_data, __gconv_trans_fct,
10200 __gconv_trans_context_fct, __gconv_trans_query_fct,
10201 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10203 (struct __gconv_step_data): Remove __trans member.
10204 (__gconv_transliterate): Declaration moved from gconv_int.h. No
10205 longer hidden. Remove unused trans_data argument.
10206 * iconv/gconv_int.h (struct trans_struct): Remove definition.
10207 (__gconv_translit_find): Remove declaration.
10208 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
10210 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10211 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10212 trans_data argument. Add hidden definition.
10213 (__gconv_translit_find): Remove.
10214 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10215 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10216 * iconv/skeleton.c: Remove transliteration initialization.
10217 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10218 __gconv_step_data initialization.
10219 * libio/iofwide.c (__libio_translit_): Remove.
10220 (_IO_fwide): Adjust struct __gconv_step_data initialization.
10221 * wcsmbs/btowc.c (__btowc): Likewise.
10222 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10223 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10224 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10225 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10226 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10227 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10228 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10229 * wcsmbs/wctob.c (wctob): Likewise.
10231 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10234 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10235 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
10237 * sysdeps/x86/Makefile: Adjust.
10239 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10240 Roland McGrath <roland@hack.frob.com>
10242 * locale/weight.h: Add include guard.
10243 (findidx): Make static rather than auto; take new parameters
10244 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10245 * locale/weightwc.h: Likewise.
10246 * posix/fnmatch_loop.c
10247 (FCT): Change type of EXTRA from int32_t to wint_t.
10248 Don't include either header inside the function.
10249 Call FINDIDX rather than findidx, and pass new arguments.
10250 #undef FINDIDX at the end of the file.
10251 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10252 FINDIDX before including fnmatch_loop.c for the non-wide version.
10253 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10254 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10255 for the wide version.
10256 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10257 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10258 Pass new arguments to findidx.
10259 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10260 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10261 Don't #include it inside the function. Pass new arguments to findidx.
10262 * posix/regex_internal.h
10263 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10264 (re_string_elem_size_at): Don't #include it inside the function.
10265 Pass new arguments to findidx.
10266 * string/strcoll_l.c: #include WEIGHT_H at top level.
10267 (get_next_seq): Don't #include it inside the function.
10268 Pass new arguments to findidx.
10269 (get_next_seq_nocache): Likewise.
10270 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10271 (STRXFRM): Don't #include it inside the function.
10272 Pass new arguments to findidx.
10274 2014-09-11 Florian Weimer <fweimer@redhat.com>
10277 * malloc/malloc.c (unlink): Turn asserts into a call to
10280 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10283 * libio/wfileops (do_ftell_wide): Free OUT.
10285 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10287 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10289 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10292 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10293 group if the current group is empty.
10295 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10297 * benchtests/bench-memset.c (test_main): Add more test from size
10298 from 32 to 512 bytes.
10299 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10300 Add POWER8 memset object.
10301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10302 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10303 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10305 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10307 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10308 multiarch POWER8 memset optimization.
10309 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10310 POWER8 memset optimization.
10312 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10313 Remove bzero multiarch objects.
10314 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10315 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10316 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10317 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10319 [__bzero]: Redefine to specific name.
10320 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10321 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10322 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10324 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10325 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10327 2014-09-10 Florian Weimer <fweimer@redhat.com>
10329 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10330 warnings into errors.
10332 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10333 __cxa_thread_atexit_impl prototype.
10335 2014-09-09 Steve Ellcey <sellcey@mips.com>
10337 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10338 Fix capitalization of error message.
10340 2014-09-09 Steve Ellcey <sellcey@mips.com>
10342 * sysdeps/mips/preconfigure: Modify ABI tests.
10344 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10346 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10348 2014-09-07 Roland McGrath <roland@hack.frob.com>
10349 Carlos O'Donell <carlos@systemhalted.org>
10351 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10352 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10353 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10354 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10355 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10356 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10357 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10358 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10359 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10360 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10361 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10362 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10363 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10364 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10365 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10366 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10367 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10368 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10369 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10370 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10371 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10372 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10373 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10374 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10375 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10376 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10377 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10378 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10379 Deconditionalize the code that was previously under [RESET_PID].
10380 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10381 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10382 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10383 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10386 2014-09-08 Allan McRae <allan@archlinux.org>
10388 * version.h (RELEASE): Set to "development".
10389 (VERSION): Set to "2.20.90"
10391 2014-09-07 Allan McRae <allan@archlinux.org
10393 * version.h (RELEASE): Set to "stable".
10394 (VERSION): Set to "2.20"
10395 * include/features.h (__GLIBC_MINOR__): Set to 20.
10397 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10400 * po/ko.po: Update Korean translation from translation project.
10402 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10405 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10406 macro for handling signed relocations.
10408 2014-09-03 Florian Weimer <fweimer@redhat.com>
10411 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10412 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10414 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10415 * iconvdata/ibm935.c (BODY): Likewise.
10416 * iconvdata/ibm937.c (BODY): Likewise.
10417 * iconvdata/ibm939.c (BODY): Likewise.
10418 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10420 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10422 * iconvdata/run-iconv-test.sh: New test loop for checking for
10425 2014-09-02 Khem Raj <raj.khem@gmail.com>
10427 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10430 2014-09-01 Allan McRae <allan@archlinux.org>
10432 * po/eo.po: Update Esperanto translation from translation project.
10434 * po/ca.po: Update Catalan translation from translation project.
10436 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10438 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10439 __proc_dostop call.
10441 2014-08-27 Mark Wielaard <mjw@redhat.com>
10444 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10445 to call set_thread_area instead of hand written asm.
10446 (__NR_set_thread_area): Removed define.
10447 (TLS_FLAG_WRITABLE): Likewise.
10448 (__ASSUME_SET_THREAD_AREA): Remove check.
10449 (TLS_EBX_ARG): Remove define.
10450 (TLS_LOAD_EBX): Likewise.
10452 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10454 Simplify atomicity of socket creation in bind.
10456 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10457 looking up the name after linking the file.
10459 2014-08-27 Allan McRae <allan@archlinux.org>
10461 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10463 2014-08-26 Florian Weimer <fweimer@redhat.com>
10466 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10467 trans_compare, open_translit, __gconv_translit_find):
10468 Remove module loading code.
10470 2014-08-26 Allan McRae <allan@archlinux.org>
10472 * po/vi.po: Update Vietnamese translation from translation project.
10474 * po/uk.po: Update Ukrainian translation from translation project.
10476 * po/fr.po: Update French translation from translation project.
10478 * po/ru.po: Update Russian translation from translation project.
10480 * po/pl.po: Update Polish translation from translation project.
10482 * po/cs.po: Update Czech translation from translation project.
10484 * po/de.po: Update German translation from translation project.
10486 * po/bg.po: Update Bulgarian translation from translation project.
10488 * po/sv.po: Update Sweedish translation from translation project.
10490 * po/nl.po: Update Dutch translation from translation project.
10492 * po/es.po: Update Spanish translation from translation project.
10494 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10496 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10498 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10499 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10500 (CPPFLAGS-iconvconfig): Likewise.
10501 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10503 * include/libc-symbols.h: Remove unnecessary check for
10505 * nptl/pthreadP.h: Likewise.
10506 * sysdeps/aarch64/setjmp.S: Likewise.
10507 * sysdeps/alpha/setjmp.S: Likewise.
10508 * sysdeps/arm/sysdep.h: Likewise.
10509 * sysdeps/i386/setjmp.S: Likewise.
10510 * sysdeps/m68k/setjmp.c: Likewise.
10511 * sysdeps/posix/getcwd.c: Likewise.
10512 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10513 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10514 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10515 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10516 * sysdeps/sh/sh3/setjmp.S: Likewise.
10517 * sysdeps/sh/sh4/setjmp.S: Likewise.
10518 * sysdeps/unix/alpha/sysdep.h: Likewise.
10519 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10520 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10521 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10522 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10527 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10528 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10529 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10530 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10532 * sysdeps/x86_64/setjmp.S: Likewise.
10534 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10537 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10539 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10540 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10542 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10544 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10547 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10548 and __x86_64__ when disabling x87 inline functions.
10550 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10553 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10554 asm statement with __cpuid_count.
10556 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10558 * configure.ac: Change __ehdr_start code to dereference the struct.
10559 Run readelf on the output to look for relocations.
10560 * configure: Regenerated.
10562 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10565 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10567 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10569 2014-08-12 Roland McGrath <roland@hack.frob.com>
10571 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10573 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10576 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10577 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10579 2014-08-12 Sean Anderson <seanga2@gmail.com>
10581 * malloc/malloc.c: Fix typo in comment.
10583 2014-08-09 Allan McRae <allan@archlinux.org>
10585 * Regenerate libc.po.
10587 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10589 * intl/tst-gettext2.sh: Check every lang file for creation.
10591 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10593 * sysdeps/aarch64/fpu/math_private.h
10594 (libc_feholdsetround_noex_aarch64_ctx): New function.
10596 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10598 * sysdeps/arm/armv6/strcpy.S (strcpy):
10599 Fix performance issue in misaligned cases.
10601 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10603 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10604 Move definition from termios.h.
10605 (struct termio): Likewise.
10606 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10607 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10608 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10609 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10611 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10612 Move definition to ioctl-types.h
10613 (struct termio): Likewise.
10614 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10615 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10616 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10617 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10620 2014-08-05 Richard Henderson <rth@redhat.com>
10622 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10624 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10626 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10627 Use __feraiseexcept.
10628 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10629 Protect libm symbols with IS_IN_libm.
10631 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10633 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10635 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10637 2014-08-04 Will Newton <will.newton@linaro.org>
10639 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10642 2014-08-04 Mike Frysinger <vapier@gentoo.org>
10644 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10645 variants for each function.
10647 2014-08-04 Roland McGrath <roland@hack.frob.com>
10649 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10651 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10652 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10654 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10655 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10656 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10657 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10658 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10659 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10660 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10661 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10662 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10663 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10664 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10665 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10666 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10667 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10668 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10669 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10670 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10671 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10672 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10673 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10674 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10675 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10676 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10677 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10678 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10679 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10680 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10681 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10682 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10684 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10685 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10686 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10687 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10688 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10689 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10690 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10691 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10692 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10693 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10694 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10695 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10696 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10697 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10698 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10699 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10700 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10701 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10702 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10703 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10704 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10705 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10706 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10708 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10709 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10711 2014-08-04 Roland McGrath <roland@hack.frob.com>
10713 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10714 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10715 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10716 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10717 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10718 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10720 2014-08-04 Roland McGrath <roland@hack.frob.com>
10722 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10723 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10724 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10725 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10727 2014-08-04 Roland McGrath <roland@hack.frob.com>
10729 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10730 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10731 (__libc_vfork): Define function under this name.
10732 (__vfork): Define as an alias.
10733 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10734 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10736 2014-08-04 Roland McGrath <roland@hack.frob.com>
10738 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10739 that was previously under [RESET_PID].
10740 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10742 2014-08-04 Andreas Schwab <schwab@suse.de>
10744 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10746 2014-08-03 Mike Frysinger <vapier@gentoo.org>
10748 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10751 2014-08-01 Roland McGrath <roland@hack.frob.com>
10753 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10755 2014-08-01 Richard Henderon <rth@redhat.com>
10757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10758 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10759 typo in exact zero test.
10760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10761 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10762 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10764 2014-08-01 Roland McGrath <roland@hack.frob.com>
10766 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10767 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10768 * sysdeps/arm/sysdep.h: ... here.
10769 [!__ASSEMBLER__]: Include <stdint.h>.
10771 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10773 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10774 (HAVE_WCTYPE_H): Likewise.
10775 (HAVE_ISWCTYPE): Likewise.
10776 (ENABLE_NLS): Likewise.
10777 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10778 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10780 * posix/regex_internal.c: Check if DEBUG is defined and is
10783 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10784 (HAVE_MBSRTOWCS): Likewise.
10785 * posix/fnmatch.c: Include string.h unconditionally.
10787 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10789 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10792 2014-07-31 Roland McGrath <roland@hack.frob.com>
10794 * sysdeps/generic/safe-fatal.h: New file.
10795 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10796 * nptl/forward.c: Include it.
10797 (__pthread_unwind): Use __safe_fatal as default action, rather
10798 than a bogus use of INTERNAL_SYSCALL that could never work.
10800 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10801 * configure.ac (libc_cv_builtin_trap): New test.
10802 * configure: Regenerated.
10803 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10804 (ABORT_INSTRUCTION): Define using __builtin_trap.
10806 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10807 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10808 * sysdeps/nptl/nptl-signals.h: New file.
10809 * nptl/pthreadP.h: Include <nptl-signals.h>.
10811 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10813 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10814 (ONE_DIRECTION): Define.
10815 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10816 (ONE_DIRECTION): Define.
10817 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10818 (ONE_DIRECTION): Define.
10820 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10822 * sysdeps/s390/Makefile: Delete file.
10823 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10824 * sysdeps/s390/__longjmp.c: Delete file.
10825 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10826 Remove fields __flags and __reserved.
10827 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10828 and add versioning.
10829 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10830 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10831 * sysdeps/s390/rtld-setjmp.S: Likewise.
10832 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10833 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10834 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10835 * sysdeps/s390/s390-32/setjmp.S: ... here.
10837 (__sigsetjmp): Remove setting __flags field.
10838 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10839 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10840 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10841 * sysdeps/s390/s390-64/setjmp.S: ... here.
10843 (__sigsetjmp): Remove setting __flags field.
10844 * sysdeps/s390/setjmp.S: Delete file.
10845 * sysdeps/s390/sigjmp.c: Likewise.
10846 * sysdeps/s390/v1-longjmp.c: Likewise.
10847 * sysdeps/s390/v1-setjmp.h: Likewise.
10848 * sysdeps/s390/v1-sigjmp.c: Likewise.
10849 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10850 Remove v1-longjmp_chk.
10851 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10852 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10853 Include debug/longjmp_chk.c and add versioning.
10854 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10855 Include nptl/pt-longjmp.c and add versioning.
10856 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10857 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10858 Include __longjmp.c.
10859 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10861 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10862 (__getcontext): Remove setting __flags field.
10864 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10865 Don't restore upper high grps.
10866 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10868 (__swapcontext): Remove setting uc_flags field.
10869 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10871 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10872 Include __longjmp.c.
10873 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10875 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10876 (__getcontext): Remove setting __flags field.
10878 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10879 (__swapcontext): Remove setting uc_flags field.
10880 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10882 Remove fields uc_high_gprs and __reserved.
10883 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10884 New file with reverted content.
10885 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10886 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10888 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10891 2014-07-31 Andreas Schwab <schwab@suse.de>
10893 * config.h.in (HAVE_IFUNC): Define to 0.
10894 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10897 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10900 memmove-avx-unaligned, memcpy-avx-unaligned and
10901 mempcpy-avx-unaligned.
10902 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10903 Add tests for AVX memcpy functions.
10904 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10905 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10907 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10908 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10910 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10911 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10913 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10914 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10915 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10917 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10920 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10923 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
10926 * manual/llio.texi: Add section about open file description locks.
10927 * manual/examples/ofdlocks.c: Example of open file description
10929 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10930 F_OFD_SETLK, and F_OFD_SETLKW.
10932 2014-07-23 Allan McRae <allan@archlinux.org>
10934 * po/es.po: Update Spanish translation from translation project.
10936 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10938 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10940 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10943 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10944 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10945 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10947 2014-07-17 Joseph Myers <joseph@codesourcery.com>
10950 * math/fesetenv.c (__fesetenv)
10951 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10952 * math/feupdateenv.c (__feupdateenv)
10953 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10955 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10956 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10957 (__ASSUME_SOCKETCALL): Do not define.
10959 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10960 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10961 (__ASSUME_SOCKETCALL): Do not define.
10962 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10963 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10964 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10965 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10966 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10967 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10968 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10969 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10971 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10972 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10973 (__ASSUME_SOCKETCALL): Do not define.
10974 (__ASSUME_IPC64): Define unconditionally.
10975 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10976 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10977 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10978 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10979 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10980 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10981 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10984 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10985 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10986 (__ASSUME_SOCKETCALL): Do not define.
10987 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10988 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10989 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10990 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10991 (__ASSUME_REQUEUE_PI): Define unconditionally.
10992 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10993 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10994 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10995 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10996 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10997 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10999 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11000 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11001 (__ASSUME_SOCKETCALL): Do not define.
11002 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11003 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11004 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11005 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11006 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11007 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11009 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11010 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11011 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11012 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11013 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11014 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11015 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11016 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11017 (__ASSUME_GETCPU_SYSCALL): Likewise.
11019 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11020 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
11021 cases for individual architectures.
11022 * sysdeps/gnu/configure: Regenerated.
11023 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11024 LIBC_SLIBDIR_RTLDDIR.
11025 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11026 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11027 LIBC_SLIBDIR_RTLDDIR.
11028 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11030 LIBC_SLIBDIR_RTLDDIR.
11031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11033 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11034 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11036 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11037 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11039 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11040 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11041 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11042 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11044 * sysdeps/aarch64/shlib-versions: Move to ...
11045 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11046 * sysdeps/alpha/shlib-versions: Move to ...
11047 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11048 * sysdeps/arm/shlib-versions: Move to ...
11049 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11050 * sysdeps/hppa/shlib-versions: Move all contents except for
11051 libgcc_s entry to ...
11052 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
11054 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
11055 * sysdeps/ia64/shlib-versions: Move to ...
11056 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
11058 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
11059 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11060 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11061 * sysdeps/microblaze/shlib-versions: Move to ...
11062 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11063 * sysdeps/mips/shlib-versions: Move to ...
11064 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11066 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11067 * sysdeps/tile/shlib-versions: Move to ...
11068 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11069 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11071 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11072 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11074 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11076 2014-07-17 Will Newton <will.newton@linaro.org>
11078 * sysdeps/arm/bits/atomic.h
11079 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11080 (__arch_compare_and_exchange_bool_16_int): Likewise.
11081 (__arch_compare_and_exchange_bool_64_int): Likewise.
11083 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11084 into an #else block.
11086 2014-07-16 Roland McGrath <roland@hack.frob.com>
11088 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11089 just Linux configurations. Test empirically that the compiler sets
11090 __ARM_EABI__, rather than using the tuple to decide.
11091 * sysdeps/arm/preconfigure: Regenerated.
11092 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11093 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11094 contents appended ...
11095 * sysdeps/arm/configure.ac: ... here.
11096 * sysdeps/arm/configure: Regenerated.
11098 2014-07-15 Roland McGrath <roland@hack.frob.com>
11100 * nptl/pthread_kill.c: New file.
11101 * nptl/pthread_sigmask.c: New file.
11102 * nptl/pthread_sigqueue.c: New file.
11104 * sysdeps/nptl/lowlevellock.h: New file.
11105 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11106 * sysdeps/nptl/lowlevellock-futex.h: New file.
11108 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11109 Remove dead declarations.
11111 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11113 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11114 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11115 config-cflags-avx2.
11116 * sysdeps/x86_64/configure.ac: Likewise.
11117 * sysdeps/i386/configure: Regenerated.
11118 * sysdeps/x86_64/configure: Likewise.
11119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11120 memset-avx2 only if config-cflags-avx2 is yes.
11121 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11122 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11124 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11125 only if HAVE_AVX2_SUPPORT is defined.
11126 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11128 2014-07-14 Alan Modra <amodra@gmail.com>
11131 * elf/elf.h (DT_PPC64_NUM): Correct value.
11132 * NEWS: Add to fixed bug list.
11134 2014-07-13 Jim Meyering <meyering@fb.com>
11137 regex: don't deref NULL upon heap allocation failure
11138 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11139 failure in one more place.
11140 To trigger the segfault, configure grep -with-included-regex,
11141 build it, and run these commands:
11142 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11144 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
11146 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11148 2014-07-11 Richard Henderson <rth@redhat.com>
11150 * sysdeps/aarch64/libm-test-ulps: Update.
11152 2014-07-10 Florian Weimer <fweimer@redhat.com>
11155 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11156 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11157 (__nptl_setxid): Initialize error member. Call
11158 __nptl_setxid_error.
11159 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11160 * nptl/descr.h (struct xid_command): Add error member.
11161 * nptl/tst-setuid3.c: New file.
11162 * nptl/Makefile (tests): Add it.
11164 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11166 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11168 (__lll_trylock): Use __lll_base_trylock.
11169 (__lll_cond_trylock): Likewise.
11171 2014-07-10 Roland McGrath <roland@hack.frob.com>
11173 * nptl/pthread_create.c (start_thread): Use atomic_or and
11174 lll_futex_wake directly rather than lll_robust_dead.
11175 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11176 (lll_robust_dead): Macro removed.
11177 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11178 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11179 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11180 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11181 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11182 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11183 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11184 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11185 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11186 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11187 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11188 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11189 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11190 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11191 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11193 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11194 Use atomic_compare_and_exchange_val_acq directly rather than
11195 lll_robust_trylock.
11196 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11197 (__lll_robust_trylock, lll_robust_trylock): Removed.
11198 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11199 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11200 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11201 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11202 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11203 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11204 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11205 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11206 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11207 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11208 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11209 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11210 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11211 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11213 2014-07-02 Florian Weimer <fweimer@redhat.com>
11215 * manual/locale.texi (Locale Names): New section documenting
11216 locale name syntax. Adjust menu and node chaining accordingly.
11217 (Choosing Locale): Reference Locale Names, Locale Categories.
11218 Mention setting LC_ALL=C. Reflect that name syntax is now
11220 (Locale Categories): New section title. Reference Locale Names.
11221 LC_ALL is an environment variable, but not a category.
11222 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11223 description, now in Locale Name. Reference that section. Locale
11224 name syntax is now documented.
11226 2014-07-02 Florian Weimer <fweimer@redhat.com>
11229 * locale/findlocale.c (name_present, valid_locale_name): New
11231 (_nl_find_locale): Use the loc_name variable to store name
11232 candidates. Call name_present and valid_locale_name to check and
11233 validate locale names. Return an error if the locale is invalid.
11235 2014-07-02 Florian Weimer <fweimer@redhat.com>
11237 * locale/setlocale.c (setlocale): Use strdup for allocating
11238 composite name copy.
11240 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11242 Sync up with gnulib.
11243 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11244 [!_LIBC && ENABLE_NLS]: Include gettext.h.
11245 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11246 and _GL_ARG_NONNULL.
11247 [USE_UNLOCKED_IO]: Include unlocked-io.h.
11248 [!_LIBC]: Include code for Windows and Cygwin.
11249 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11250 Include prototype for int strerror_r.
11251 [!_LIBC] (is_open): New function.
11252 (flush_stdout): New function.
11253 (print_errno_message): Use it.
11255 (error_at_line): Likewise.
11256 (error_tail) Add function attribute macros. Use
11259 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11261 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11263 * io/ftw.c: Include sys/param.h unconditionally.
11265 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11268 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11270 (freecache): New function to free CACHE on exit.
11272 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11275 2014-07-09 David S. Miller <davem@davemloft.net>
11277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11279 * sysdeps/sparc/nptl/internaltypes.h: Delete.
11280 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11281 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11282 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11283 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11284 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11285 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11286 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11287 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11288 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11289 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11290 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11291 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11293 2014-07-09 Andreas Schwab <schwab@suse.de>
11295 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11297 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11298 (do_test): Likewise.
11300 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11302 2014-07-09 Will Newton <will.newton@linaro.org>
11304 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11305 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11306 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11307 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11308 * sysdeps/hppa/start.S (_start): Likewise.
11310 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11312 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11314 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11317 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11319 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11320 after checking that it is non-NULL.
11322 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11324 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11326 * sysdeps/powerpc/memmove.c: Remove file.
11327 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11328 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11329 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11330 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11331 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11332 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11333 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11334 string memmove instead of removed powerpc one.
11336 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11337 [weak_alias]: Fix compiler warning due trailing data.
11338 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11339 [weak_alias]: Likewise.
11340 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11341 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11344 (__libc_ifunc_impl_list): Add memmove functions.
11346 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11348 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11350 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11352 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11354 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11356 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11358 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11360 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11362 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11364 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11366 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11368 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11370 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11372 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11374 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11376 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11378 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11380 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11383 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11385 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11386 to avoid alignment traps in non-cacheable memory.
11387 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11391 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11392 file: multiarch power7 memmove.
11393 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11394 multiarch default memmove.
11395 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11396 multiarch memove for powerpc32/power4.
11398 * string/bcopy.c: Use full path to include memmove.c.
11399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11401 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11402 bcopy for powerpc64.
11403 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11404 bcopy for powerpc64.
11405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11406 and memmove implementations.
11407 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11408 optimized multiarch memmove for POWER7/powerpc64.
11409 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11410 default multiarch memmove for powerpc64.
11411 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11412 multiarch for powerpc64.
11413 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11414 for POWER7/powerpc64.
11415 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11416 memmove for POWER7/powerpc64.
11418 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11421 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11422 __ELF_NATIVE_CLASS equal to 64.
11424 2014-07-07 Roland McGrath <roland@hack.frob.com>
11426 * sysdeps/nptl/lowlevellock.h: File removed.
11428 * NEWS: NPTL is no longer an add-on!
11429 * nptl/internaltypes.h: Moved ...
11430 * sysdeps/nptl/internaltypes.h: ... here.
11431 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11432 * sysdeps/nptl/fork.c: Likewise.
11433 * sysdeps/nptl/gai_misc.h: Likewise.
11434 * sysdeps/nptl/librt-cancellation.c: Likewise.
11435 * sysdeps/nptl/jmp-unwind.c: Likewise.
11436 * sysdeps/nptl/setxid.h: Likewise.
11437 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11438 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11439 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11440 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11441 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11442 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11443 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11444 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11445 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11446 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11447 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11448 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11449 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11450 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11451 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11452 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11453 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11454 * nptl/Makeconfig: Moved ...
11455 * sysdeps/nptl/Makeconfig: ... here.
11456 * nptl/configure: File removed.
11457 * nptl/ANNOUNCE: File removed.
11458 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11459 * sysdeps/unix/sysv/linux/configure: Regenerated.
11461 * nptl/Makefile (routines): Add libc_pthread_init,
11462 libc_multiple_threads, register-atfork and unregister-atfork.
11463 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11464 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11465 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11466 pthread-pi-defines.sym, structsem.sym.
11467 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11468 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11469 [$(subdir) = nptl] (tests): Add tst-setgetname.
11470 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11471 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11472 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11473 [!LIBC_SIGACTION]: Remove aliases.
11474 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11475 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11476 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11477 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11478 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11479 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11480 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11481 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11482 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11483 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11484 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11485 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11486 __libc_allocate_rtsig_private.
11487 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11488 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11489 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11490 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11491 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11492 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11493 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11494 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11495 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11496 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11497 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11498 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11499 * nptl/internaltypes.h: ... here.
11500 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11501 * sysdeps/nptl/jmp-unwind.c: ... here.
11502 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11503 * nptl/libc-lowlevellock.c: ... here.
11504 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11505 * nptl/libc_multiple_threads.c: ... here.
11506 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11507 * nptl/libc_pthread_init.c: ... here.
11508 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11509 * nptl/lowlevelbarrier.sym: ... here.
11510 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11511 * nptl/lowlevelcond.sym: ... here.
11512 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11513 * nptl/lowlevellock.c: ... here.
11514 * nptl/lowlevellock.h: Moved ...
11515 * sysdeps/nptl/lowlevellock.h: ... here.
11516 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11517 * nptl/lowlevelrobustlock.c: ... here.
11518 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11519 * nptl/lowlevelrobustlock.sym: ... here.
11520 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11521 * nptl/lowlevelrwlock.sym: ... here.
11522 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11523 * nptl/pt-fork.c: ... here.
11524 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11525 * nptl/pthread-pi-defines.sym: ... here.
11526 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11527 * nptl/pthread_attr_getaffinity.c: ... here.
11528 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11529 * nptl/pthread_attr_setaffinity.c: ... here.
11530 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11531 * nptl/pthread_mutex_cond_lock.c: ... here.
11532 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11534 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11535 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11536 * nptl/pthread_once.c: ... here, replacing old file.
11537 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11538 * nptl/pthread_yield.c: ... here.
11539 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11540 * nptl/register-atfork.c: ... here.
11541 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11542 * nptl/sem_post.c: ... here.
11543 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11544 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11545 * nptl/sem_timedwait.c: ... here.
11546 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11547 * nptl/sem_trywait.c: ... here.
11548 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11549 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11550 * nptl/sem_wait.c: ... here.
11551 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11552 * nptl/structsem.sym: ... here.
11553 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11554 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11555 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11556 * nptl/unregister-atfork.c: ... here.
11557 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11558 * nptl/unwindbuf.sym: ... here.
11559 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11560 * sysdeps/nptl/fork.c: ... here.
11561 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11562 * sysdeps/nptl/fork.h: ... here.
11563 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11564 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11565 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11566 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11567 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11568 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11569 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11570 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11571 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11572 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11573 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11574 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11575 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11576 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11577 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11578 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11579 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11580 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11581 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11582 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11583 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11584 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11585 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11586 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11587 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11588 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11589 * sysdeps/unix/sysv/linux/raise.c: ... here.
11590 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11591 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11592 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11593 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11594 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11595 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11596 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11597 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11598 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11599 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11600 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11601 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11602 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11603 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11604 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11606 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11608 * sysdeps/generic/memcopy.h: Add comment for
11609 MEMCPY_OK_FOR_FWD_MEMMOVE.
11611 2014-07-04 Will Newton <will.newton@linaro.org>
11613 * string/memchr.c: Merge from gnulib.
11614 [_LIBC]: Remove conditionals.
11615 (__ptr_t): Remove define.
11616 (LONG_MAX_32_BITS): Likewise.
11617 (LONG_MAX): Likewise.
11618 (MEMCHR): Use ANSI prototype and optimize algorithm.
11620 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11622 2014-07-03 Roland McGrath <roland@hack.frob.com>
11624 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11625 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11627 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11628 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11629 in a bare environment with no <stdlib.h> installed.
11630 * sysdeps/nptl/configure: Regenerated.
11632 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11634 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11635 AC_EGREP_CPP for kernel header checks, so they only succeed if
11636 including <linux/version.h> actually works right.
11637 * sysdeps/unix/sysv/linux/configure: Regenerated.
11639 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11640 value so it's not diagnosed as unused.
11642 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11643 thing) with "ifeq ($(subdir),rt)".
11645 2014-07-03 Richard Henderson <rth@redhat.com>
11647 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11648 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11649 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11651 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11652 (math_force_eval): New.
11654 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11655 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11657 * sysdeps/alpha/fpu/s_round.c: Remove file.
11658 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11660 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11661 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11662 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11663 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11664 (_dl_start, print_statistics): Likewise.
11665 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11666 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11668 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11669 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11670 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11671 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11672 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11673 (HP_SMALL_TIMING_AVAIL): Define.
11674 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11675 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11676 (HP_SMALL_TIMING_AVAIL): Define.
11677 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11678 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11680 * sysdeps/aarch64/hp-timing.h: New file.
11682 * sysdeps/generic/hp-timing.h: Remove dead comment.
11683 * sysdeps/generic/hp-timing-common.h: New file.
11684 * sysdeps/alpha/hp-timing.h: Include it.
11685 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11686 * sysdeps/i386/i686/hp-timing.h: Likewise.
11687 * sysdeps/ia64/hp-timing.h: Likewise.
11688 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11689 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11690 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11691 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11692 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11693 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11694 (hp_timing_t): New.
11696 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11697 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11698 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11699 * elf/rtld.c (_dl_start_final): Likewise.
11700 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11701 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11702 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11703 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11704 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11705 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11706 (HP_TIMING_DIFF_INIT): Remove.
11707 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11708 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11709 (HP_TIMING_DIFF_INIT): Remove.
11710 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11711 * sysdeps/i386/i686/hp-timing.c: Remove file.
11712 * sysdeps/x86_64/hp-timing.c: Remove file.
11713 * sysdeps/ia64/hp-timing.c: Remove file.
11714 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11715 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11716 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11717 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11719 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11720 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11721 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11722 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11723 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11724 (HP_TIMING_ACCUM): Remove.
11725 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11726 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11727 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11729 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11730 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11731 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11732 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11733 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11734 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11735 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11736 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11738 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11740 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11742 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11744 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11746 Sync up with gettext.
11747 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11748 [_MSC_VER]: Include malloc.h
11749 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11750 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11751 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11752 TEMP_FAILURE_RETRY. Cast return of alloca.
11753 [!_LIBC] Call gl_rwlock_init.
11754 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11756 2014-07-02 Roland McGrath <roland@hack.frob.com>
11758 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11759 before checking its value.
11761 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11763 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11765 * debug/memcpy_chk.c: Don't include pagecopy.h.
11766 * debug/mempcpy_chk.c: Likewise.
11767 * string/memcpy.c: Likewise.
11768 * string/memmove.c: Likewise.
11769 * sysdeps/powerpc/memmove.c: Likewise.
11770 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11771 definition of PAGE_COPY_FWD_MAYBE here...
11772 * sysdeps/generic/pagecopy.h: ... from here.
11773 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11775 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11776 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11778 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11782 (__libc_ifunc_impl_list): Likewise.
11783 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11784 multiarch strcat for PPC64.
11785 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11786 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11788 2014-07-02 Roland McGrath <roland@hack.frob.com>
11790 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11792 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11794 * intl/loadmsgcat.c: Remove declaration of
11795 get_sysdep_segment_value.
11796 (get_sysdep_segment_value): Use ISO C style.
11797 (_nl_load_domain): Use ISO C style. Get rid of redundant
11798 semicolon. Fix typo and formatting in comment.
11799 (_nl_unload_domain): Use ISO C style.
11801 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11803 2014-07-02 Will Newton <will.newton@linaro.org>
11805 * malloc/obstack.c: Merge from gnulib master.
11806 [HAVE_CONFIG_H]: Remove conditional code.
11807 [!_LIBC]: Include config.h.
11808 [!ELIDE_CODE]: Don't include inttypes.h, include
11809 stdint.h unconditionally.
11810 (print_and_abort): Mark as _Noreturn.
11811 (_obstack_allocated_p): Mark as __attribute_pure__.
11812 (obstack_free): Rename to __obstack_free.
11813 [!__attribute__]: Remove conditional code.
11814 * malloc/obstack.h: Merge from gnulib master.
11815 [__cplusplus]: Move conditional down.
11816 [!__attribute_pure__]: Define __attribute_pure__ here
11817 if it is not already defined.
11818 (_obstack_memory_used): Mark as __attribute_pure__.
11819 [!__obstack_free]: Define as obstack_free.
11820 [__GNUC__]: Remove check for ancient NeXT gcc.
11822 2014-07-02 Will Newton <will.newton@linaro.org>
11823 Paul Eggert <eggert@cs.ucla.edu>
11825 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11827 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11829 * resolv/gethnamaddr.c: Add comment warning that the file is
11832 2014-07-01 Carlos O'Donell <carlos@redhat.com>
11834 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11837 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11838 entry for aio_cancel and aio_cancel64.
11839 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11840 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11841 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11842 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11843 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11844 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11845 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11846 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11847 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11848 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11849 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11850 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11851 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11853 2014-07-01 Roland McGrath <roland@hack.frob.com>
11855 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11856 * nptl/pthread_mutex_lock.c: Likewise.
11857 * nptl/pthread_mutex_timedlock.c: Likewise.
11858 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11860 2014-07-01 Richard henderson <rth@redhat.com>
11862 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11863 (__isnan, __isnanl): Remove.
11864 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11866 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11868 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11870 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11872 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11874 * resolv/nss_dns/dns-host.c (getanswer_r)
11875 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11877 2014-07-01 Joseph Myers <joseph@codesourcery.com>
11879 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11880 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11882 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11883 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11885 2014-07-01 Roland McGrath <roland@hack.frob.com>
11887 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11888 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11890 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11891 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11893 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11894 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11896 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11897 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11899 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11900 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11901 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11902 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11904 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11905 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11906 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11907 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11908 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11910 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11912 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11913 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11914 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11915 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11916 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11917 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11918 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11919 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11920 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11921 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11922 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11923 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11924 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11925 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11926 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11927 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11928 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11929 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11930 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11931 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11933 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11934 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11935 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11936 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11937 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11938 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11939 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11940 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11942 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11944 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11945 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11946 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11949 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11953 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11955 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11956 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11958 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11960 * sysdeps/arm/libm-test-ulps: Regenerated.
11962 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11963 Roland McGrath <roland@hack.frob.com>
11965 * test-skeleton.c (signal_handler): Kill the whole process group
11966 before killing the child individually.
11967 (main): Report any failure on `setpgid'.
11969 2014-06-30 Roland McGrath <roland@hack.frob.com>
11971 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11972 from _TLS_H to _ARM_NPTL_TLS_H.
11973 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11974 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11976 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11979 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11980 (__expm1l): Return argument unchanged when small but not
11983 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11984 include macro name.
11985 (_FP_UNPACK_RAW_1_P): Likewise.
11986 (_FP_PACK_RAW_1): Likewise.
11987 (_FP_PACK_RAW_1_P): Likewise.
11988 (_FP_MUL_MEAT_1_wide): Likewise.
11989 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11990 (_FP_MUL_MEAT_1_hard): Likewise.
11991 (_FP_DIV_MEAT_1_imm): Likewise.
11992 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11993 (_FP_DIV_MEAT_1_udiv): Likewise.
11994 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11995 (_FP_UNPACK_RAW_2): Likewise.
11996 (_FP_UNPACK_RAW_2_P): Likewise.
11997 (_FP_PACK_RAW_2): Likewise.
11998 (_FP_PACK_RAW_2_P): Likewise.
11999 (_FP_MUL_MEAT_DW_2_wide): Likewise.
12000 (_FP_MUL_MEAT_2_wide): Likewise.
12001 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12002 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12003 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12004 (_FP_MUL_MEAT_2_gmp): Likewise.
12005 (_FP_DIV_MEAT_2_udiv): Likewise.
12006 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12007 (_FP_FRAC_SRL_4): Likewise.
12008 (_FP_FRAC_SRST_4): Likewise.
12009 (_FP_FRAC_SRS_4): Likewise.
12010 (_FP_UNPACK_RAW_4): Likewise.
12011 (_FP_UNPACK_RAW_4_P): Likewise.
12012 (_FP_PACK_RAW_4): Likewise.
12013 (_FP_PACK_RAW_4_P): Likewise.
12014 (_FP_MUL_MEAT_DW_4_wide): Likewise.
12015 (_FP_MUL_MEAT_4_wide): Likewise.
12016 (_FP_MUL_MEAT_4_gmp): Likewise.
12017 (umul_ppppmnnn): Likewise.
12018 (_FP_DIV_MEAT_4_udiv): Likewise.
12019 (__FP_FRAC_ADD_4): Likewise.
12020 (__FP_FRAC_SUB_3): Likewise.
12021 (__FP_FRAC_SUB_4): Likewise.
12022 (__FP_FRAC_DEC_3): Likewise.
12023 (__FP_FRAC_DEC_4): Likewise.
12024 (__FP_FRAC_ADDI_4): Likewise.
12025 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12026 (_FP_FRAC_SRL_8): Likewise.
12027 (_FP_FRAC_SRS_8): Likewise.
12029 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12030 include macro name.
12031 (FP_UNPACK_RAW_EP): Likewise.
12032 (FP_PACK_RAW_E): Likewise.
12033 (FP_PACK_RAW_EP): Likewise.
12034 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12035 (_FP_ISSIGNAN): Likewise.
12036 (_FP_ADD_INTERNAL): Likewise.
12037 (_FP_FMA): Likewise.
12038 (_FP_CMP): Likewise.
12039 (_FP_SQRT): Likewise.
12040 (_FP_TO_INT): Likewise.
12041 (_FP_FROM_INT): Likewise.
12042 (FP_EXTEND): Likewise.
12043 (_FP_DIV_MEAT_N_loop): Likewise.
12045 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12047 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12050 2014-06-29 Joseph Myers <joseph@codesourcery.com>
12053 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12054 result with correct sign in case of exponents that produce
12055 overflow except for X very close to 1.
12057 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
12059 mktime: merge #if/#ifdef usage from glibc
12060 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12061 as that works with both Glibc's and Gnulib's style.
12062 See thread starting at Siddhesh Poyarekar's bug report at:
12063 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12065 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12067 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12068 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12069 * sysdeps/tile/tilegx/memmove.c: Remove file.
12071 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12073 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12074 abi-name definition.
12075 * scripts/soversions.awk: Do not handle or generate ABI lines.
12076 * shlib-versions: Remove ABI entries.
12077 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12078 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12080 2014-06-27 Roland McGrath <roland@hack.frob.com>
12082 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12083 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12084 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12085 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12086 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12087 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12088 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12090 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12092 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12093 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12094 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12095 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12096 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12097 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12099 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12100 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12101 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12103 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12106 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12107 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12108 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12110 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12111 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12113 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12114 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12116 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12117 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12118 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12121 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12122 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12123 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12124 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12125 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12127 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12130 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12132 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12133 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12135 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12136 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12138 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12139 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12140 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12141 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12143 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12145 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12146 Identical file removed.
12147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12149 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12150 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12151 Identical file removed.
12152 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12153 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12154 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12156 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12157 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12158 Identical file removed.
12159 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12160 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12161 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12162 Identical file removed.
12163 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12164 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12165 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12166 Identical file removed.
12167 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12168 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12170 Identical file removed.
12171 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12173 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12174 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12175 Identical file removed.
12176 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12178 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12179 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12180 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12181 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12182 Identical file removed.
12183 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12185 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12187 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12188 Identical file removed.
12189 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12191 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12192 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12193 Identical file removed.
12194 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12196 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12197 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12198 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12199 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12200 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12201 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12203 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12204 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12205 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12207 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12208 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12209 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12210 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12211 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12213 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
12216 * nscd/nscd.c (monitor_child): Return exit status of child
12217 instead of return value from wait syscall.
12219 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12221 * configure.ac (libc_commonpagesize): Remove variable.
12222 (libc_relro_required): Likewise.
12223 (libc_cv_z_relro): Remove configure test.
12224 * configure: Regenerated.
12225 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12227 (libc_relro_required): Likewise.
12228 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12229 (libc_relro_required): Likewise.
12230 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12231 (libc_relro_required): Likewise.
12232 * sysdeps/arm/preconfigure: Regenerated.
12233 * sysdeps/ia64/preconfigure: Remove file.
12234 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12236 (libc_relro_required): Likewise.
12240 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12241 (__ieee754_yn): Set FE_TONEAREST mode internally and then
12242 recompute overflowing results in original rounding mode.
12243 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12244 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12245 recompute overflowing results in original rounding mode.
12246 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12247 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12248 recompute overflowing results in original rounding mode.
12249 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12250 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12251 recompute overflowing results in original rounding mode.
12252 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12253 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12254 recompute overflowing results in original rounding mode.
12255 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12256 (libc_feholdsetround_ctx): New macro.
12257 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12258 * sysdeps/i386/fpu/libm-test-ulps: Update.
12259 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12261 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12263 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12264 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12265 corresponding .cpsetup call.
12267 2014-06-26 Roland McGrath <roland@hack.frob.com>
12269 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12270 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12271 * sysdeps/arm/Makefile [$(subdir) = csu]
12272 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12273 (static-only-routines): Add aeabi_read_tp here.
12274 (shared-only-routines): Add libc-aeabi_read_tp here.
12275 (CFLAGS-libc-start.c): Add -fexceptions here.
12276 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12277 (sysdep_routines, static-only-routines, shared-only-routines):
12278 Don't add to these here.
12279 (CFLAGS-libc-start.c): Likewise.
12281 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12282 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12283 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12284 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12285 * sysdeps/arm/Makefile [$(subdir) = rt]
12286 (librt-sysdep_routines, librt-shared-only-routines):
12287 Append rt-aeabi_unwind_cpp_pr1 here.
12288 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12289 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12290 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12291 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12292 Append nptl-aeabi_unwind_cpp_pr1 here.
12293 (tests): Filter out tst-cleanupx4 here.
12294 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12295 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12296 Don't do those here.
12298 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12300 * scripts/list-sources.sh: Do not handle ports specially.
12302 2014-06-26 Roland McGrath <roland@hack.frob.com>
12304 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12305 * sysdeps/arm/feupdateenv.c: Likewise.
12307 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12309 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12311 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12312 trailing whitespace removed.
12313 * scripts/config.guess: Update to version 2014-03-23.
12314 * scripts/config.sub: Update to version 2014-05-01
12315 * scripts/install-sh: Update to version 2013-12-25.23.
12316 * scripts/move-if-change: Update from gnulib.
12318 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12320 * debug/memmove_chk.c: Remove pagecopy.h include.
12322 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12324 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12325 identical to gnulib mktime.
12327 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12329 * configure.ac: Do not test for machine being rs6000. Do not test
12330 for powerpc*-*soft.
12331 * configure: Regenerated.
12334 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12336 * configure: Regenerated.
12337 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12338 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12339 Remove configure test.
12340 * sysdeps/arm/configure: Regenerated.
12341 * sysdeps/nptl/configure.ac: Do not check
12342 libc_cv_asm_cfi_directives.
12343 * sysdeps/nptl/configure: Regenerated.
12344 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12345 * sysdeps/x86_64/nptl/configure: Remove generated file.
12346 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12348 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12350 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12352 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12353 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12354 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12357 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12358 instead of whether it is defined.
12359 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12360 * sysdeps/hppa/dl-machine.h: Likewise.
12361 * sysdeps/ia64/dl-machine.h: Likewise.
12362 * sysdeps/m68k/dl-machine.h: Likewise.
12363 * sysdeps/microblaze/dl-machine.h: Likewise.
12364 * sysdeps/mips/dl-machine.: Likewise.
12365 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12366 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12367 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12368 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12369 * sysdeps/sh/dl-machine.h: Likewise.
12370 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12371 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12372 * sysdeps/tile/dl-machine.h: Likewise.
12373 * sysdeps/x86_64/dl-machine.h: Likewise.
12375 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12377 (verify_persistent_db): Likewise.
12379 2014-06-26 Roland McGrath <roland@hack.frob.com>
12381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12382 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12384 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12387 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12390 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12392 Identical file removed.
12393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12394 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12396 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12398 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12400 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12402 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12405 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12407 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12409 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12412 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12414 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12416 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12418 Identical file removed.
12419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12420 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12422 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12425 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12428 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12430 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12432 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12434 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12436 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12439 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12442 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12444 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12447 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12449 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12453 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12454 * sysdeps/unix/sysv/linux/s390/Versions
12455 (libpthread: GLIBC_2.19): New version set.
12456 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12457 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12458 (librt: GLIBC_2.3.3): New version set.
12459 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12460 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12461 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12462 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12463 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12464 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12465 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12466 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12467 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12468 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12469 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12470 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12471 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12472 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12473 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12474 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12475 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12476 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12477 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12478 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12479 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12480 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12481 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12482 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12483 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12484 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12485 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12486 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12487 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12488 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12489 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12490 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12491 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12492 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12494 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12495 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12496 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12497 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12498 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12499 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12500 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12501 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12502 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12503 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12505 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12506 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12507 (__libc_vfork): Define the function under this name.
12508 [!NOT_IN_libc] (__vfork): Make this an alias.
12509 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12510 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12511 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12512 (__libc_vfork): Define the function under this name.
12513 [!NOT_IN_libc] (__vfork): Make this an alias.
12514 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12515 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12516 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12517 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12518 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12519 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12521 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12522 code that was previously under [RESET_PID].
12523 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12524 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12527 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12528 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12529 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12530 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12531 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12532 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12533 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12534 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12535 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12536 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12537 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12539 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12540 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12541 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12542 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12543 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12544 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12545 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12546 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12547 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12548 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12549 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12550 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12551 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12552 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12553 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12554 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12555 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12556 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12557 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12558 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12559 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12560 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12561 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12562 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12563 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12564 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12565 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12566 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12567 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12569 2014-06-25 Roland McGrath <roland@hack.frob.com>
12571 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12572 that was previously under [RESET_PID].
12573 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12575 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12577 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12578 not undefine and redefine.
12579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12580 [O_CLOEXEC]: Make code unconditional.
12581 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12582 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12583 <kernel-features.h>.
12584 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12585 conditional variable definition.
12586 (shm_open) [O_CLOEXEC]: Make code unconditional.
12587 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12590 * configure.ac (USE_REGPARMS): Don't define here.
12591 * configure: Regenerated.
12592 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12593 * sysdeps/i386/configure: Regenerated.
12595 * nptl/createthread.c: Don't include kernel-features.h.
12596 * nptl/pthread_cancel.c: Likewise.
12597 * nptl/pthread_condattr_setclock.c: Likewise.
12598 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12599 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12600 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12601 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12602 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12603 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12604 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12605 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12606 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12607 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12608 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12609 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12610 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12611 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12612 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12613 * nscd/gai.c: Likewise.
12614 * nss/nss_db/db-open.c: Likewise.
12615 * sysdeps/generic/ldsodefs.h: Likewise.
12616 * sysdeps/sh/nptl/tls.h: Likewise.
12617 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12618 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12619 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12620 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12621 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12622 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12623 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12624 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12625 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12626 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12627 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12628 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12629 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12630 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12631 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12632 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12633 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12634 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12635 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12636 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12637 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12638 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12639 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12640 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12641 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12642 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12643 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12644 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12645 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12646 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12647 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12648 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12649 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12650 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12651 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12652 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12653 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12654 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12655 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12656 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12657 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12658 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12659 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12660 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12661 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12662 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12663 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12664 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12665 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12666 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12667 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12668 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12669 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12670 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12671 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12672 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12673 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12674 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12697 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12698 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12699 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12700 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12701 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12702 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12703 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12704 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12705 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12706 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12707 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12708 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12709 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12710 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12711 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12712 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12713 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12714 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12715 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12716 * sysdeps/unix/sysv/linux/system.c: Likewise.
12717 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12718 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12719 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12720 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12721 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12722 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12723 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12725 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12726 * configure: Regenerated.
12727 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12729 * configure.ac (base_machine): Do not set specially for particular
12731 * configure: Regenerated.
12732 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12733 settings from configure.ac.
12734 * sysdeps/i386/preconfigure: New file.
12735 * sysdeps/s390/preconfigure: Likewise.
12736 * sysdeps/sh/preconfigure: Likewise.
12737 * sysdeps/sparc/preconfigure: Likewise.
12739 2014-06-25 Roland McGrath <roland@hack.frob.com>
12741 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12742 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12743 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12744 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12745 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12746 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12747 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12748 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12749 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12750 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12751 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12752 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12753 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12754 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12755 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12756 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12757 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12758 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12759 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12761 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12762 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12763 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12764 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12765 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12766 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12767 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12768 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12769 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12770 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12771 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12772 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12773 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12774 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12775 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12776 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12777 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12778 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12779 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12780 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12781 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12782 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12783 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12784 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12785 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12786 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12787 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12788 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12789 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12790 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12791 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12792 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12793 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12794 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12795 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12796 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12797 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12798 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12801 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12803 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12806 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12809 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12811 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12814 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12816 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12818 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12820 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12823 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12826 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12828 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12831 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12833 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12835 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12837 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12839 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12842 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12845 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12847 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12850 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12852 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12854 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12856 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12859 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12862 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12864 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12867 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12869 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12871 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12873 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12875 * timezone/checktab.awk: Update from tzcode 2014e.
12876 * timezone/private.h: Likewise.
12877 * timezone/tzfile.h: Likewise.
12878 * timezone/zdump.c: Likewise.
12879 * timezone/zic.c: Likewise.
12881 * sysdeps/unix/sysv/linux/kernel-features.h
12882 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12883 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12884 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12885 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12886 Remove conditional code.
12888 2014-06-25 Will Newton <will.newton@linaro.org>
12890 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12891 (_dl_arm_cap_flags): Add HWCAP2 values.
12892 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12893 (_DL_HWCAP_COUNT): Increase to 37.
12894 (_DL_HWCAP_LAST): New define.
12895 (_DL_HWCAP2_LAST): New define.
12896 (_dl_procinfo): Add support for printing
12898 (_dl_string_hwcap): Use _dl_hwcap_string.
12900 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12904 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12906 * README: Do not mention ports directory.
12908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12910 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12911 <kernel-features.h>.
12912 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12913 conditional variable definition.
12914 (__futimes): Update comment.
12915 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12916 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12919 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12920 arguments close to 0.
12921 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12923 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12925 * math/auto-libm-test-in: Add more tests of exp10.
12926 * math/auto-libm-test-out: Regenerated.
12927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12929 * sysdeps/unix/sysv/linux/kernel-features.h
12930 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12931 * sysdeps/unix/sysv/linux/readv.c: Do not include
12932 <kernel-features.h>.
12933 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12934 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12935 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12937 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12939 * sysdeps/unix/sysv/linux/writev.c: Do not include
12940 <kernel-features.h>.
12941 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12942 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12943 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12945 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12948 2014-06-25 Will Newton <will.newton@linaro.org>
12950 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12951 comment changes throughout the file. Remove checks
12952 for HAVE_*_H definitions that are not required.
12953 (__gen_tempname): Call abort if an unknown kind value is
12956 2014-06-25 Andreas Schwab <schwab@suse.de>
12959 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12960 scalbln, scalblnf, scalblnl in libc.
12962 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12965 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12966 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12967 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12969 2014-06-24 Roland McGrath <roland@hack.frob.com>
12971 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12972 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12973 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12974 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12976 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12977 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12979 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12980 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12981 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12982 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12983 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12984 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12985 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12986 * sysdeps/x86/bits/semaphore.h: ... here.
12987 * sysdeps/x86/nptl/elide.h: Moved ...
12988 * sysdeps/x86/elide.h: ... here.
12989 * sysdeps/x86_64/nptl/Implies: File removed.
12990 * sysdeps/i386/nptl/Implies: File removed.
12992 2014-06-24 Joseph Myers <joseph@codesourcery.com>
12995 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12996 return the argument for normal arguments with exponent below -64.
12997 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12999 * math/auto-libm-test-in: Add another test of expm1.
13000 * math/auto-libm-test-out: Regenerated.
13003 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13004 calling __erfcl for arguments at least 16.
13005 * math/auto-libm-test-in: Add more tests of erf.
13006 * math/auto-libm-test-out: Regenerated.
13008 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13009 individual architectures.
13010 * sysdeps/unix/sysv/linux/configure: Regenerated.
13011 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13012 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13013 * sysdeps/unix/sysv/linux/powerpc/configure.ac
13014 (ldd_rewrite_script): Define variable.
13015 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13020 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13021 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13022 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13023 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13024 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13025 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13026 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13027 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13029 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13032 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13033 Rename member __data.d to __data.__elision_data.
13035 2014-06-24 Wilco <wdijkstr@arm.com>
13037 * NEWS: Add 16918 to fixed bug list.
13039 2014-06-24 Wilco <wdijkstr@arm.com>
13041 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13043 2014-06-24 Wilco <wdijkstr@arm.com>
13045 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13046 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13047 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13048 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13049 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13050 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13051 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13054 2014-06-24 Wilco <wdijkstr@arm.com>
13056 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13058 2014-06-24 Wilco <wdijkstr@arm.com>
13060 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13061 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13062 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13063 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13065 2014-06-24 Wilco <wdijkstr@arm.com>
13068 * sysdeps/arm/feupdateenv.c (feupdateenv):
13069 Rewrite to reduce FPSCR accesses and fix return value.
13071 2014-06-24 Wilco <wdijkstr@arm.com>
13073 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13074 Optimize to avoid unnecessary FPSCR writes.
13075 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13076 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13077 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13078 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13080 2014-06-24 Wilco <wdijkstr@arm.com>
13082 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13083 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13084 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13085 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13086 Call libc_fetestexcept_vfp.
13087 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13088 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13089 __SOFTFP__ ifdef so that they can be built for softfp.
13091 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13093 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13094 argument type signed char.
13096 * Makerules (check-abi): Dump diff of symlist if the test
13099 2014-06-23 Roland McGrath <roland@hack.frob.com>
13101 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13104 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13105 Remove unused variable ST.
13107 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13111 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13112 small arguments before calling __expm1.
13113 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13114 small arguments before calling __expm1f.
13115 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13116 small arguments before calling __expm1l.
13117 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13119 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13120 * math/auto-libm-test-in: Add more cosh tests. Do not allow
13121 spurious underflow for some cosh tests.
13122 * math/auto-libm-test-out: Regenerated.
13123 * sysdeps/i386/fpu/libm-test-ulps: Update.
13126 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13127 (__ieee754_y1): Set errno if return value overflows.
13128 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13129 (__ieee754_y1f): Set errno if return value overflows.
13130 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13131 (__ieee754_y1l): Set errno if return value overflows.
13132 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13133 (__ieee754_y1l): Set errno if return value overflows.
13134 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13135 * math/auto-libm-test-out: Regenerated.
13137 * math/gen-auto-libm-tests.c: Document use of
13138 ignore-zero-inf-sign.
13139 (input_flag_type): Add value flag_ignore_zero_inf_sign.
13140 (input_flags): Add ignore-zero-inf-sign.
13141 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13142 * math/gen-libm-test.pl (generate_testfile): Handle
13143 ignore-zero-inf-sign.
13144 * math/auto-libm-test-in: Mark some cpow tests with
13145 ignore-zero-inf-sign and some with xfail-rounding.
13146 * math/auto-libm-test-out: Regenerated.
13147 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13148 * sysdeps/i386/fpu/libm-test-ulps: Update.
13149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13152 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13153 overflowing or underflowing operations take place with sign of
13155 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13156 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13157 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13158 (__ieee754_pow): Recompute overflowing and underflowing results in
13159 original rounding mode.
13160 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13161 (__powl_helper): Allow negative argument X and scale negated value
13162 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13163 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13164 overflowing or underflowing operations take place with sign of
13166 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13168 * math/auto-libm-test-in: Add more tests of pow.
13169 * math/auto-libm-test-out: Regenerated.
13170 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13171 (pow_tonearest_test_data): Remove.
13172 (pow_test_tonearest): Likewise.
13173 (pow_towardzero_test_data): Likewise.
13174 (pow_test_towardzero): Likewise.
13175 (pow_downward_test_data): Likewise.
13176 (pow_test_downward): Likewise.
13177 (pow_upward_test_data): Likewise.
13178 (pow_test_upward): Likewise.
13179 (main): Don't call removed functions.
13180 * sysdeps/i386/fpu/libm-test-ulps: Update.
13181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13183 2014-06-23 Roland McGrath <roland@hack.frob.com>
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13359 2014-06-23 Will Newton <will.newton@linaro.org>
13360 Wilco <wdijkstr@arm.com>
13362 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13363 implementation. Include get-rounding-mode.h.
13364 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13365 [!libc_feholdsetround_noex_ctx]: Define
13366 libc_feholdsetround_noex_ctx.
13367 [!libc_feholdsetround_noexf_ctx]: Define
13368 libc_feholdsetround_noexf_ctx.
13369 [!libc_feholdsetround_noexl_ctx]: Define
13370 libc_feholdsetround_noexl_ctx.
13371 (libc_feholdsetround_ctx): New function.
13372 (libc_feresetround_ctx): New function.
13373 (libc_feholdsetround_noex_ctx): New function.
13374 (libc_feresetround_noex_ctx): New function.
13376 2014-06-23 Roland McGrath <roland@hack.frob.com>
13378 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13379 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13380 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13381 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13382 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13383 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13385 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13386 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13387 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13388 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13389 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13390 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13391 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13392 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13393 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13394 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13395 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13397 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13399 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13400 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13401 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13402 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13403 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13405 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13406 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13407 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13408 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13409 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13411 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13412 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13414 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13415 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13417 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13418 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13419 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13420 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13422 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13424 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13425 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13426 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13427 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13428 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13429 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13430 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13431 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13433 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13435 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13436 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13437 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13438 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13439 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13440 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13441 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13442 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13443 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13444 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13445 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13446 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13447 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13449 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13450 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13451 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13452 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13453 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13454 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13456 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13457 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13458 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13459 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13460 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13462 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13463 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13464 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13465 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13466 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13467 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13468 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13469 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13471 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13472 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13473 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13474 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13475 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13476 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13477 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13478 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13479 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13480 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13481 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13482 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13483 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13484 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13485 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13486 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13487 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13488 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13489 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13491 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13493 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13494 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13495 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13496 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13497 (IPV6_PMTUDISC_INTERFACE): Likewise.
13498 (IPV6_PMTUDISC_OMIT): Likewise.
13500 2014-06-23 Andreas Schwab <schwab@suse.de>
13502 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13503 Remove unused errout label.
13505 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13507 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13508 macro: hardware supports Vector Crypto instructions.
13510 2014-06-23 Will Newton <will.newton@linaro.org>
13512 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13513 rather than __builtin_expect.
13515 * elf/dl-lookup.c (undefined_msg): Remove variable.
13516 (_dl_lookup_symbol_x): Replace undefined_msg with string
13519 * elf/dl-lookup.c (do_lookup_unique): New function.
13520 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13521 to a separate function.
13523 2014-06-23 Andreas Schwab <schwab@suse.de>
13526 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13527 before reading the next line.
13529 2014-06-23 Will Newton <will.newton@linaro.org>
13531 * test-skeleton.c (signal_handler): Use printf and %m
13532 rather than perror. Use printf rather than fprintf to
13533 stderr. Use puts rather than fputs to stderr.
13536 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13538 * nscd/nscd.c (thread_info_t): Remove typedef.
13539 (thread_info): Remove variable.
13541 2014-06-21 Allan McRae <allan@archlinux.org>
13543 * NEWS: Mention CVE-2014-4043.
13545 2014-06-20 Roland McGrath <roland@hack.frob.com>
13547 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13548 * nptl/smp.h: ... here.
13550 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13552 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13553 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13554 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13555 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13557 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13558 * nptl/stack-aliasing.h: New file.
13559 * sysdeps/i386/i686/stack-aliasing.h: New file.
13560 * sysdeps/i386/i686/nptl/Makefile: File removed.
13561 * sysdeps/x86_64/stack-aliasing.h: New file.
13562 * sysdeps/x86_64/nptl/Makefile
13563 (CFLAGS-pthread_create.c): Variable removed.
13565 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13566 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13568 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13569 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13572 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13574 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13575 (__ASSUME_SIGFRAME_V2): Remove macro.
13576 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13577 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13578 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13579 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13580 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13581 Declare as function. Remove conditional macro definitions.
13582 (__default_rt_sa_restorer): Likewise.
13583 (__default_sa_restorer_v1): Remove declaration.
13584 (__default_sa_restorer_v2): Likewise.
13585 (__default_rt_sa_restorer_v1): Likewise.
13586 (__default_rt_sa_restorer_v2): Likewise.
13587 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13588 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13589 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13591 2014-06-20 Roland McGrath <roland@hack.frob.com>
13593 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13594 (libpthread-routines): Add sysdep.
13595 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13596 * sysdeps/unix/sysv/linux/sparc/Versions
13597 (libpthread: GLIBC_2.3.3): New version set.
13598 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13599 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13600 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13601 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13602 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13603 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13605 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13606 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13607 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13608 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13609 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13610 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13611 * sysdeps/sparc/nptl/sem_init.c: ... here.
13612 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13613 * sysdeps/sparc/nptl/sem_post.c: ... here.
13614 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13615 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13616 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13617 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13618 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13619 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13620 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13621 (libpthread-routines): Add cpu_relax.
13622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13624 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13625 (librt: GLIBC_2.3.3): New version set.
13626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13627 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13628 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13629 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13632 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13635 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13636 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13637 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13639 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13640 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13641 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13643 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13646 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13650 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13652 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13654 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13658 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13662 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13666 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13669 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13670 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13675 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13677 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13680 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13682 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13684 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13686 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13688 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13689 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13690 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13691 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13692 * nscd/nscd.c: Likewise.
13693 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13694 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13695 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13696 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13698 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13699 <kernel-features.h>.
13700 (init_mq_netlink): Remove conditional have_sock_cloexec
13701 definitions. Remove code conditional on have_sock_cloexec < 0.
13702 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13703 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13704 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13705 <kernel-features.h>.
13706 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13707 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13709 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13711 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13712 Add tests for memset_chk and memset.
13714 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13717 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13720 * elf/tst-dl-iter-static.c: New file.
13721 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13723 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13726 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13728 * sysdeps/unix/sysv/linux/kernel-features.h
13729 (__ASSUME_F_GETOWN_EX): Remove macro.
13730 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13731 <kernel-features.h>.
13732 (miss_F_GETOWN_EX): Remove variable or macro.
13733 (do_fcntl): Do not check miss_F_GETOWN_EX.
13734 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13736 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13738 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13739 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13740 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13742 * sysdeps/unix/sysv/linux/kernel-features.h
13743 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13744 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13745 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13746 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13748 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13751 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13752 Fix calculation of the symbol's value.
13753 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13754 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13755 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13756 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13757 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13758 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13759 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13760 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13761 (modules-names): Add `tst-armtlsdescmod',
13762 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13763 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13764 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13765 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13766 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13767 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13768 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13769 ($(objpfx)tst-armtlsdescloc): New dependency.
13770 ($(objpfx)tst-armtlsdescextnow): Likewise.
13771 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13772 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13773 TLS scheme support.
13774 * sysdeps/arm/configure: Regenerate.
13776 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13778 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13779 (__atfct_seterrno_2): Likewise.
13780 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13781 <kernel-features.h>.
13782 (__ASSUME_ATFCTS): Do not undefine and redefine.
13783 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13784 (__have_atfcts): Remove conditional definition.
13785 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13786 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13787 unreachable if [__ASSUME_ATFCTS].
13788 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13789 not undefine and redefine.
13790 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13791 <kernel-features.h>.
13792 (faccessat) [__NR_faccessat]: Make code unconditional.
13793 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13794 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13795 <kernel-features.h>.
13796 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13797 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13798 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13799 <kernel-features.h>.
13800 (fchownat) [__NR_fchownat]: Make code unconditional.
13801 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13802 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13803 <kernel-features.h>.
13804 (futimesat) [__NR_futimesat]: Make code unconditional.
13805 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13806 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13807 <kernel-features.h>.
13808 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13809 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13810 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13811 <kernel-features.h>.
13812 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13813 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13814 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13815 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13816 <kernel-features.h>.
13817 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13818 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13819 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13820 <kernel-features.h>.
13821 (linkat) [__NR_linkat]: Make code unconditional.
13822 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13823 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13824 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13825 <kernel-features.h>.
13826 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13827 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13828 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13829 <kernel-features.h>.
13830 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13831 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13832 * sysdeps/unix/sysv/linux/openat.c: Do not include
13833 <kernel-features.h>.
13834 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13835 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13836 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13837 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13838 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13839 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13840 <kernel-features.h>.
13841 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13842 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13843 result of INLINE_SYSCALL directly, not via int variable.
13844 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13845 <kernel-features.h>.
13846 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13847 (renameat) [__NR_renameat]: Make code unconditional.
13848 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13849 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13850 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13851 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13852 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13853 (__ASSUME_ATFCTS): Do not undefine and redefine.
13854 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13855 <kernel-features.h>.
13856 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13857 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13858 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13859 <kernel-features.h>.
13860 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13861 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13862 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13863 (__ASSUME_ATFCTS): Do not undefine and redefine.
13864 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13865 <kernel-features.h>.
13866 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13867 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13868 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13869 <kernel-features.h>.
13870 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13871 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13873 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13875 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13877 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13880 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13881 constructed tree before returning error.
13882 * posix/bug-regexp36.c: Expand test case.
13884 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13887 * math/libm-test.inc (scalbln_test_date):
13888 Add errno expectations.
13889 * math/w_scalblnf.c: New File.
13890 Add wrapper which checks for setting errno to ERANGE.
13891 Add weak_alias for corresponding scalbln function.
13892 * math/w_scalbln.c: Likewise.
13893 * math/w_scalblnl.c: Likewise.
13894 * math/Makefile (libm-calls): Add w_scalbln.
13895 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13896 Remove weak_alias for corresponding scalbln function.
13897 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13898 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13899 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13901 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13902 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13903 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13904 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13905 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13906 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13907 Remove long_double_symbol for scalblnl function in libm, libc.
13908 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13909 Add wrapper which checks for setting errno to ERANGE.
13910 Add long_double_symbol for scalblnl function in libm, libc.
13911 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13912 Remove long_double_symbol for scalblnl in libm.
13913 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13914 Add wrapper which checks for setting errno to ERANGE.
13915 Add long_double_symbol for scalblnl function in libm.
13916 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13917 Do not use wrapper because of own implementation.
13919 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13921 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13922 3 bytes for __pad1 for x32.
13923 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13925 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13926 H.J. Lu <hongjiu.lu@intel.com>
13928 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13929 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13930 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13931 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13932 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13934 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13937 * posix/regcomp.c (parse_expression): Deallocate partially
13938 constructed tree before returning error.
13939 * posix/Makefile.c (tests): Add bug-regex36.
13940 (generated): Add bug-regex36.mtrace.
13941 (tests-special): Add $(objpfx)bug-regex36-mem.out
13942 (bug-regex36-ENV): New variable.
13943 ($(objpfx)bug-regex36-mem.out): New rule.
13944 * posix/bug-regex36.c: New file.
13946 2014-06-19 Will Newton <will.newton@linaro.org>
13948 * malloc/malloc.c (systrim): If extra is zero then return
13951 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13953 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13955 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
13957 * sysdeps/aarch64/strchr.S: New file.
13959 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13962 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13963 from arguments -2 or below.
13964 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13965 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13967 2014-06-18 Andreas Schwab <schwab@suse.de>
13970 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13971 of a bracket expr not to run off the end of the string.
13972 * posix/Makefile (tests): Add tst-fnmatch3.
13973 * posix/tst-fnmatch3.c: New file.
13975 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13977 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13978 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13979 [$(cross-compiling) = no]: Likewise.
13980 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13981 [$(cross-compiling) = no]: Likewise.
13983 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13986 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13987 double, adjusted for any remainder from the high double.
13988 * math/libm-test.inc (nearbyint): Add tests.
13991 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13993 * nptl/sysdeps/powerpc/Makefile: Moved ...
13994 * sysdeps/powerpc/nptl/Makefile: ... here.
13995 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13996 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13997 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13998 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13999 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14000 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14001 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14002 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14003 * nptl/sysdeps/powerpc/tls.h: Moved ...
14004 * sysdeps/powerpc/nptl/tls.h: ... here.
14006 2014-06-16 Joseph Myers <joseph@codesourcery.com>
14009 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14010 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14011 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14012 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14013 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14014 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14015 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14016 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14017 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14019 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
14021 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14023 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
14025 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14028 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14031 2014-06-16 Florian Weimer <fweimer@redhat.com>
14034 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14035 non-executed part of the test.
14037 2014-06-16 Andreas Schwab <schwab@suse.de>
14039 * string/bits/string2.h (strdup, strndup): Update feature guard.
14041 2014-06-14 David S. Miller <davem@davemloft.net>
14043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14045 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
14047 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14048 that was previously under [RESET_PID].
14049 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14051 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14052 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14053 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14054 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14055 (__libc_vfork): New strong alias.
14056 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14058 2014-06-14 Andi Kleen <ak@linux.intel.com>
14060 * sysdeps/generic/elide.h: New file.
14062 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14064 * Makefile (installed-headers): Adjust path of pthread.h header.
14066 2014-06-13 Roland McGrath <roland@hack.frob.com>
14068 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14069 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14070 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14071 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14073 * nptl/sysdeps/s390/Makefile: Moved ...
14074 * sysdeps/s390/nptl/Makefile: ... here.
14075 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14076 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14077 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14078 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14079 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14080 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14081 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14082 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14083 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14084 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14085 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14086 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14087 * nptl/sysdeps/s390/tls.h: Moved ...
14088 * sysdeps/s390/nptl/tls.h: ... here.
14090 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14091 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14093 2014-06-13 David S. Miller <davem@davemloft.net>
14095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14097 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14098 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14099 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14102 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14103 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14104 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14105 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14106 Remove RESET_PID cpp guards.
14107 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14108 Remove RESET_PID cpp guards.
14109 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14111 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14113 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14116 2014-06-13 Andi Kleen <ak@linux.intel.com>
14118 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14119 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14120 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14121 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14122 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14123 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14124 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14125 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14126 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14127 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14128 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14129 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14130 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14131 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14132 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14133 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14134 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14135 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14136 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14137 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14139 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14140 (pthread_rwlock_rdlock): Add elision.
14141 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14142 (pthread_rwlock_wrlock): Add elision.
14143 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14144 (pthread_rwlock_trywrlock): Add elision.
14145 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14146 (pthread_rwlock_tryrdlock): Add elision.
14147 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14148 (pthread_rwlock_tryrdlock): Add elision unlock.
14149 * nptl/sysdeps/pthread/pthread.h:
14150 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14151 (PTHREAD_RWLOCK_INITIALIZER,
14152 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14153 Handle new elision field.
14154 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14155 * sysdeps/arm/nptl/bits/pthreadtypes.h
14156 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14157 * sysdeps/sh/nptl/bits/pthreadtypes.h
14158 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14159 * sysdeps/tile/nptl/bits/pthreadtypes.h
14160 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14161 * sysdeps/a/nptl/bits/pthreadtypes.h
14162 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14163 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14164 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14165 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14166 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14167 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14168 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14169 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14170 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14171 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14172 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14173 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14174 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14175 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14176 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14177 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14178 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14179 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14180 (elision_init): Set try_xbegin to zero when no RTM.
14181 * sysdeps/x86/nptl/bits/pthreadtypes.h
14182 (pthread_rwlock_t): Change __pad1 to __rwelision.
14183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14185 2014-06-13 Andi Kleen <ak@linux.intel.com>
14187 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14188 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14189 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14190 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14192 2014-06-13 Meador Inge <meadori@codesourcery.com>
14195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14196 that the cached result has been set before returning it.
14198 2014-06-12 Roland McGrath <roland@hack.frob.com>
14200 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14201 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14202 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14203 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14204 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14205 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14207 * nptl/sysdeps/sparc/Makefile: Moved ...
14208 * sysdeps/sparc/nptl/Makefile: ... here.
14209 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14210 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14211 * nptl/sysdeps/sparc/tls.h: Moved ...
14212 * sysdeps/sparc/nptl/tls.h: ... here.
14213 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14214 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14215 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14216 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14217 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14218 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14219 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14220 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14221 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14222 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14223 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14224 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14225 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14226 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14227 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14228 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14229 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14230 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14232 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14233 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14235 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14236 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14238 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14239 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14242 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14244 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14245 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14247 * sysdeps/pthread/posix-timer.h: Include <list.h>.
14248 (struct list_links): Type removed.
14249 (struct thread_node, struct timer_node): Replace struct list_links
14250 with struct list_head.
14251 (list_unlink_ip): Likewise.
14252 * sysdeps/pthread/timer_routines.c
14253 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14254 (list_append, list_insbefore): Likewise.
14255 (list_init): Function removed.
14256 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14257 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14258 * sysdeps/pthread/Makefile: ... here, new file.
14260 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14261 * sysdeps/nptl/Implies: ... here.
14262 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14263 * nptl/sysdeps/pthread/list.h: Moved ...
14264 * include/list.h: ... here.
14265 * nptl/sysdeps/pthread/createthread.c: Moved ...
14266 * nptl/createthread.c: ... here.
14267 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14268 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14269 * nptl/pt-longjmp.c: ... here.
14270 * nptl/sysdeps/pthread/Makefile: Moved ...
14271 * sysdeps/nptl/Makefile: ... here.
14272 * nptl/sysdeps/pthread/Subdirs: Moved ...
14273 * sysdeps/nptl/Subdirs: ... here.
14274 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14275 * sysdeps/nptl/aio_misc.h: ... here.
14276 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14277 * sysdeps/nptl/bits/libc-lock.h: ... here.
14278 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14279 * sysdeps/nptl/bits/libc-lockP.h: ... here.
14280 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14281 * sysdeps/nptl/bits/stdio-lock.h: ... here.
14282 * nptl/sysdeps/pthread/configure: Moved ...
14283 * sysdeps/nptl/configure: ... here.
14284 * nptl/sysdeps/pthread/configure.ac: Moved ...
14285 * sysdeps/nptl/configure.ac: ... here.
14286 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14287 * sysdeps/nptl/gai_misc.h: ... here.
14288 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14289 * sysdeps/nptl/librt-cancellation.c: ... here.
14290 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14291 * sysdeps/nptl/malloc-machine.h: ... here.
14292 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14293 * sysdeps/nptl/pthread-functions.h: ... here.
14294 * nptl/sysdeps/pthread/pthread.h: Moved ...
14295 * sysdeps/nptl/pthread.h: ... here.
14296 * nptl/sysdeps/pthread/setxid.h: Moved ...
14297 * sysdeps/nptl/setxid.h: ... here.
14298 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14299 * sysdeps/nptl/sigfillset.c: ... here.
14300 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14301 * sysdeps/nptl/tcb-offsets.h: ... here.
14302 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14303 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14304 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14305 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14306 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14307 * sysdeps/pthread/allocalim.h: ... here.
14308 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14309 * sysdeps/pthread/bits/sigthread.h: ... here.
14310 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14311 * sysdeps/pthread/flockfile.c: ... here.
14312 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14313 * sysdeps/pthread/ftrylockfile.c: ... here.
14314 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14315 * sysdeps/pthread/funlockfile.c: ... here.
14316 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14317 * sysdeps/pthread/posix-timer.h: ... here.
14318 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14319 * sysdeps/pthread/timer_create.c: ... here.
14320 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14321 * sysdeps/pthread/timer_delete.c: ... here.
14322 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14323 * sysdeps/pthread/timer_getoverr.c: ... here.
14324 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14325 * sysdeps/pthread/timer_gettime.c: ... here.
14326 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14327 * sysdeps/pthread/timer_routines.c: ... here.
14328 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14329 * sysdeps/pthread/timer_settime.c: ... here.
14330 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14331 * sysdeps/pthread/tst-timer.c: ... here.
14332 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14333 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14335 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14336 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14338 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14339 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14340 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14341 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14342 Update #include target.
14343 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14344 * sysdeps/i386/i686/nptl/Makefile: ... here.
14345 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14346 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14347 Update #include target.
14348 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14349 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14350 * nptl/sysdeps/i386/Makefile: Moved ...
14351 * sysdeps/i386/nptl/Makefile: ... here.
14352 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14353 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14354 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14355 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14356 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14357 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14358 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14359 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14360 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14361 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14362 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14363 * nptl/sysdeps/i386/tls.h: Moved ...
14364 * sysdeps/i386/nptl/tls.h: ... here.
14366 * sysdeps/sh/Makefile [$(subdir) = csu]
14367 (gen-as-const-headers): Add tcb-offsets.sym.
14368 * nptl/sysdeps/sh/Makefile: File removed.
14369 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14370 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14371 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14372 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14373 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14374 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14375 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14376 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14377 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14378 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14379 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14380 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14381 * nptl/sysdeps/sh/tls.h: Moved ...
14382 * sysdeps/sh/nptl/tls.h: ... here.
14383 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14384 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14385 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14386 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14387 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14388 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14389 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14390 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14391 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14392 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14393 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14394 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14395 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14396 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14397 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14398 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14399 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14400 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14401 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14402 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14403 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14404 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14405 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14406 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14407 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14409 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14410 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14412 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14413 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14414 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14415 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14416 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14417 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14418 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14419 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14420 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14421 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14422 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14423 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14424 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14425 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14426 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14427 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14428 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14429 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14430 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14432 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14434 * posix/spawn_faction_addopen.c: Include string.h.
14436 2014-06-11 Roland McGrath <roland@hack.frob.com>
14438 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14439 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14440 * nptl/sysdeps/x86_64/Makefile: Moved ...
14441 * sysdeps/x86_64/nptl/Makefile: ... here.
14442 * nptl/sysdeps/x86_64/configure: Moved ...
14443 * sysdeps/x86_64/nptl/configure: ... here.
14444 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14445 * sysdeps/x86_64/nptl/configure.ac: ... here.
14446 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14447 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14448 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14449 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14450 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14451 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14452 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14453 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14454 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14455 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14456 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14457 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14458 * nptl/sysdeps/x86_64/tls.h: Moved ...
14459 * sysdeps/x86_64/nptl/tls.h: ... here.
14460 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14461 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14462 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14463 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14465 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14467 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14471 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14473 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14475 [POSIX] (off_t): Likewise.
14476 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14477 [POSIX] (S_ISBLK): Require macro.
14478 [POSIX] (S_ISCHR): Likewise.
14479 [POSIX] (S_ISDIR): Likewise.
14480 [POSIX] (S_ISFIFO): Likewise.
14481 [POSIX] (S_ISREG): Likewise.
14482 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14484 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14486 [POSIX] (time_t): Likewise.
14487 [POSIX] (timer_t): Likewise.
14489 2014-06-11 Florian Weimer <fweimer@redhat.com>
14492 * posix/spawn_int.h (struct __spawn_action): Make the path string
14493 non-const to support deallocation.
14494 * posix/spawn_faction_addopen.c
14495 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14496 * posix/spawn_faction_destroy.c
14497 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14498 path in all spawn_do_open actions.
14499 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14500 posix_spawn_file_actions_addopen.
14502 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14504 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14505 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14506 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14507 conditional code always true.
14508 (__libc_vfork): New alias.
14510 2014-06-11 Roland McGrath <roland@hack.frob.com>
14512 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14513 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14515 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14517 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14518 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14520 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14521 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14523 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14524 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14526 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14528 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14529 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14530 multiarch strcmp for PPC64.
14531 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14532 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14534 multiarch optimizations.
14535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14536 (__libc_ifunc_impl_list): Likewise.
14538 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14540 * benchtests/scripts/validate_benchout.py: New script.
14541 * benchtests/Makefile (bench-func): Call it.
14542 * benchtests/scripts/benchout.schema.json: New file.
14544 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14546 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14547 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14548 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14549 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14550 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14551 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14552 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14553 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14554 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14555 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14556 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14557 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14558 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14559 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14560 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14561 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14665 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14666 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14667 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14668 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14669 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14671 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14673 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14674 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14675 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14676 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14677 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14678 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14679 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14680 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14681 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14682 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14683 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14684 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14685 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14687 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14688 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14690 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14691 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14692 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14693 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14695 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14697 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14698 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14699 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14700 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14701 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14703 2014-06-10 Wilco <wdijkstr@arm.com>
14705 * math/test-fenv-return.c: New file.
14706 * math/Makefile: Add new test test-fenv-return.
14708 2014-06-10 Joseph Myers <joseph@codesourcery.com>
14711 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14712 when x - 1 is zero.
14713 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14714 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14715 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14716 0.0L for an argument of 1.0L.
14717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14719 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14720 value when x - 1 is zero.
14721 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14722 * sysdeps/i386/fpu/libm-test-ulps: Update.
14723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14725 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14728 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14730 2014-06-09 Roland McGrath <roland@hack.frob.com>
14732 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14733 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14735 2014-06-09 Roland McGrath <roland@hack.frob.com>
14737 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14738 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14740 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14741 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14743 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14744 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14746 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14747 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14749 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14750 if not already defined.
14751 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14752 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14753 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14754 (TLS_INIT_TP): Use it.
14755 (TLS_DEFINE_INIT_TP): New macro.
14756 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14758 2014-06-09 Joseph Myers <joseph@codesourcery.com>
14760 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14762 [POSIX] (IXANY): Likewise.
14763 [POSIX] (OLCUC): Likewise.
14764 [POSIX || POSIX2008] (CBAUD): Do not allow.
14765 [POSIX || POSIX2008] (DEFECHO): Likewise.
14766 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14767 [POSIX || POSIX2008] (ECHOKE): Likewise.
14768 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14769 [POSIX || POSIX2008] (EXTA): Likewise.
14770 [POSIX || POSIX2008] (EXTB): Likewise.
14771 [POSIX || POSIX2008] (FLUSHO): Likewise.
14772 [POSIX || POSIX2008] (LOBLK): Likewise.
14773 [POSIX || POSIX2008] (PENDIN): Likewise.
14774 [POSIX || POSIX2008] (SWTCH): Likewise.
14775 [POSIX || POSIX2008] (VDISCARD): Likewise.
14776 [POSIX || POSIX2008] (VDSUSP): Likewise.
14777 [POSIX || POSIX2008] (VLNEXT): Likewise.
14778 [POSIX || POSIX2008] (VREPRINT): Likewise.
14779 [POSIX || POSIX2008] (VSTATUS): Likewise.
14780 [POSIX || POSIX2008] (VWERASE): Likewise.
14781 (B*): Change to B[0123456789]*.
14782 * conform/data/time.h-data [POSIX || UNIX98]
14783 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14784 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14785 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14786 [POSIX] (tm_*): Do not allow.
14788 2014-06-07 Joseph Myers <joseph@codesourcery.com>
14790 * Makefile (install): Don't set LANGUAGE.
14791 * Makefile.in (install): Likewise.
14792 * assert/Makefile (test-assert-ENV): Remove variable.
14793 (test-assert-perr-ENV): Likewise.
14794 * elf/Makefile (neededtest4-ENV): Likewise.
14795 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14796 [$(cross-compiling) = no]: Don't set LANGUAGE.
14797 * io/ftwtest-sh (LANG): Remove variable.
14798 * libio/Makefile (tst-widetext-ENV): Likewise.
14799 * manual/install.texi (Running make install): Don't refer to
14800 environment settings for make install.
14801 * INSTALL: Regenerated.
14802 * nptl/tst-tls6.sh: Don't set LANG.
14803 * posix/globtest.sh (LANG): Remove variable.
14804 * string/Makefile (tester-ENV): Likewise.
14805 (inl-tester-ENV): Likewise.
14806 (noinl-tester-ENV): Likewise.
14807 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14808 [$(cross-compiling) = no]: Don't set LANGUAGE.
14809 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14810 without explicit environment settings.
14812 2014-06-06 Roland McGrath <roland@hack.frob.com>
14814 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14815 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14816 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14817 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14819 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14821 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14822 other files in the crypt directory.
14823 * crypt/crypt.c: Remove duplicate includes.
14824 * crypt/crypt-entry.c: Likewise.
14825 * crypt/crypt_util.c: Likewise.
14827 2014-06-06 Joseph Myers <joseph@codesourcery.com>
14829 * Makeconfig (run-program-env): New variable.
14830 (run-program-prefix-before-env): Likewise.
14831 (run-program-prefix-after-env): Likewise.
14832 (run-program-prefix): Define in terms of new variables.
14833 (built-program-cmd-before-env): New variable.
14834 (built-program-cmd-after-env): Likewise.
14835 (built-program-cmd): Define in terms of new variables.
14836 (test-program-prefix-before-env): New variable.
14837 (test-program-prefix-after-env): Likewise.
14838 (test-program-prefix): Define in terms of new variables.
14839 (test-program-cmd-before-env): New variable.
14840 (test-program-cmd-after-env): Likewise.
14841 (test-program-cmd): Define in terms of new variables.
14842 * Rules (make-test-out): Use $(run-program-env).
14843 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14844 (help): Do not mention environment variables. Mention
14845 --timeoutfactor option.
14846 (timeoutfactor): New variable.
14847 (blacklist_exports): Remove function.
14848 (exports): Remove variable.
14849 (command): Do not include ${exports}.
14850 * manual/install.texi (Configuring and compiling): Do not mention
14851 test wrappers preserving environment variables. Mention that last
14852 assignment to a variable must take precedence.
14853 * INSTALL: Regenerated.
14854 * benchtests/Makefile (run-bench): Use $(run-program-env).
14855 * catgets/Makefile ($(objpfx)test1.cat): Use
14856 $(built-program-cmd-before-env), $(run-program-env) and
14857 $(built-program-cmd-after-env).
14858 ($(objpfx)test2.cat): Do not specify environment variables
14860 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14861 $(run-program-env) and $(built-program-cmd-after-env).
14862 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14863 $(run-program-env) and $(test-program-cmd-after-env).
14864 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14866 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14867 run_program_env and test_program_cmd_after_env arguments.
14868 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14869 * elf/tst-pathopt.sh: Use run_program_env argument.
14870 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14871 $(test-wrapper-env) and $(run-program-env).
14872 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14873 run_program_env arguments.
14874 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14875 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14876 $(test-program-prefix-before-env), $(run-program-env) and
14877 $(test-program-prefix-after-env).
14878 ($(objpfx)tst-gettext2.out): Likewise.
14879 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14880 run_program_env and test_program_prefix_after_env arguments.
14881 * intl/tst-gettext2.sh: Likewise.
14882 * intl/tst-gettext4.sh: Do not set environment variables
14884 * intl/tst-gettext6.sh: Likewise.
14885 * intl/tst-translit.sh: Likewise.
14886 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14887 $(test-program-prefix-before-env), $(run-program-env) and
14888 $(test-program-prefix-after-env).
14889 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14890 run_program_env and test_program_prefix_after_env arguments.
14891 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14892 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14893 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14894 explicitly with each use of ${test_wrapper_env}.
14895 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14896 $(test-program-prefix-before-env), $(run-program-env) and
14897 $(test-program-prefix-after-env).
14898 * posix/tst-getconf.sh: Do not set environment variables
14900 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14901 run_program_env and test_program_prefix_after_env arguments.
14902 * stdio-common/tst-printf.sh: Do not set environment variables
14904 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14905 $(test-program-prefix-before-env), $(run-program-env) and
14906 $(test-program-prefix-after-env).
14907 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14908 run_program_env and test_program_prefix_after_env arguments.
14909 Split $test calls into $test_pre and $test.
14910 * timezone/Makefile (build-testdata): Use
14911 $(built-program-cmd-before-env), $(run-program-env) and
14912 $(built-program-cmd-after-env).
14914 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14916 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14917 strlen for non SHARED builds.
14919 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14921 * nptl/allocatestack.c (check_list): Inlined function...
14922 (__reclaim_stacks): ... here.
14924 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14927 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14930 2014-06-05 Joseph Myers <joseph@codesourcery.com>
14932 * Rules (make-test-out): Include
14933 LOCPATH=$(common-objpfx)localedata in default environment.
14934 * debug/Makefile (tst-chk1-ENV): Remove variable.
14935 (tst-chk2-ENV): Likewise.
14936 (tst-chk3-ENV): Likewise.
14937 (tst-chk4-ENV): Likewise.
14938 (tst-chk5-ENV): Likewise.
14939 (tst-chk6-ENV): Likewise.
14940 (tst-lfschk1-ENV): Likewise.
14941 (tst-lfschk2-ENV): Likewise.
14942 (tst-lfschk3-ENV): Likewise.
14943 (tst-lfschk4-ENV): Likewise.
14944 (tst-lfschk5-ENV): Likewise.
14945 (tst-lfschk6-ENV): Likewise.
14946 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14947 (tst-iconv7-ENV): Likewise.
14948 * intl/Makefile (LOCPATH-ENV): Likewise.
14949 (tst-codeset-ENV): Likewise.
14950 (tst-gettext3-ENV): Likewise.
14951 (tst-gettext5-ENV): Likewise.
14952 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14953 (tst-fopenloc-ENV): Likewise.
14954 (tst-fgetws-ENV): Remove variable.
14955 (tst-ungetwc1-ENV): Likewise.
14956 (tst-ungetwc2-ENV): Likewise.
14957 (bug-ungetwc2-ENV): Likewise.
14958 (tst-swscanf-ENV): Likewise.
14959 (bug-ftell-ENV): Likewise.
14960 (tst-fgetwc-ENV): Likewise.
14961 (tst-fseek-ENV): Likewise.
14962 (tst-ftell-partial-wide-ENV): Likewise.
14963 (tst-ftell-active-handler-ENV): Likewise.
14964 (tst-ftell-append-ENV): Likewise.
14965 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14966 (tst-regexloc-ENV): Likewise.
14967 (bug-regex1-ENV): Likewise.
14968 (tst-regex-ENV): Likewise.
14969 (tst-regex2-ENV): Likewise.
14970 (bug-regex5-ENV): Likewise.
14971 (bug-regex6-ENV): Likewise.
14972 (bug-regex17-ENV): Likewise.
14973 (bug-regex18-ENV): Likewise.
14974 (bug-regex19-ENV): Likewise.
14975 (bug-regex20-ENV): Likewise.
14976 (bug-regex22-ENV): Likewise.
14977 (bug-regex23-ENV): Likewise.
14978 (bug-regex25-ENV): Likewise.
14979 (bug-regex26-ENV): Likewise.
14980 (bug-regex30-ENV): Likewise.
14981 (bug-regex32-ENV): Likewise.
14982 (bug-regex33-ENV): Likewise.
14983 (bug-regex34-ENV): Likewise.
14984 (bug-regex35-ENV): Likewise.
14985 (tst-rxspencer-ENV): Likewise.
14986 (tst-rxspencer-no-utf8-ENV): Likewise.
14987 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14988 (tst-sscanf-ENV): Likewise.
14989 (tst-swprintf-ENV): Likewise.
14990 (tst-swscanf-ENV): Likewise.
14991 (test-vfprintf-ENV): Likewise.
14992 (scanf13-ENV): Likewise.
14993 (bug14-ENV): Likewise.
14994 (tst-grouping-ENV): Likewise.
14995 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14996 (tst-strtod3-ENV): Likewise.
14997 (tst-strtod4-ENV): Likewise.
14998 (tst-strtod5-ENV): Likewise.
14999 (testmb2-ENV): Likewise./
15000 * string/Makefile (tst-strxfrm-ENV): Likewise.
15001 (tst-strxfrm2-ENV): Likewise.
15002 (bug-strcoll1-ENV): Likewise.
15003 (test-strcasecmp-ENV): Likewise.
15004 (test-strncasecmp-ENV): Likewise.
15005 * time/Makefile (tst-strptime-ENV): Likewise.
15006 (tst-ftime_l-ENV): Likewise.
15007 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15008 (tst-mbrtowc-ENV): Likewise.
15009 (tst-wcrtomb-ENV): Likewise.
15010 (tst-mbrtowc2-ENV): Likewise.
15011 (tst-c16c32-1-ENV): Likewise.
15012 (tst-mbsnrtowcs-ENV): Likewise.
15014 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15016 * manual/resource.texi (How to get information about the memory
15017 subsystem?): Fix typo.
15018 Reported by Peon de la Parra Ivan <peon@keba.com>
15020 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
15023 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15024 (pthread_spin_lock): Branch out of spin loop to proper location.
15025 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15026 (pthread_spin_lock): Likewise.
15028 * nptl/tst-spin4.c: New test.
15029 * nptl/Makefile (tests): Add tst-spin4.
15031 2014-06-03 Andreas Schwab <schwab@suse.de>
15034 * resolv/res_send.c (send_dg): Reload file descriptor after
15037 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
15039 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15041 2014-06-03 Richard Henderson <rth@redhat.com>
15043 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15044 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15045 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15046 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
15047 in the SAVE_PID block.
15048 (__libc_vfork): New alias.
15049 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15051 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15052 child in registers, not on the stack. Remove RESET_PID conditionals.
15053 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15055 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15057 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15059 2014-06-03 Wilco <wdijkstr@arm.com>
15061 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15062 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15063 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15064 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15065 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15068 2014-06-03 Wilco <wdijkstr@arm.com>
15070 * sysdeps/aarch64/fpu/math_private.h
15071 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15072 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15073 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15074 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15077 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15079 * crypt/crypt-private.h: Include ufc-crypt.h.
15080 (__b64_from_24bit): Declare extern.
15081 * crypt/crypt_util.c(__b64_from_24bit): New function.
15082 (b64t): New static const variable.
15083 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15084 (b64t): Remove variable.
15085 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15086 * crypt/sha256-crypt.c: Include crypt-private.h.
15087 (b64t): Remove variable.
15088 (__sha256_crypt_r): Remove b64_from_24bit and replace
15089 with __b64_from_24bit.
15090 * crypt/sha512-crypt.c: Likewise.
15092 2014-06-02 Roland McGrath <roland@hack.frob.com>
15094 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15095 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15096 Label the code __libc_vfork rather than __vfork.
15097 [!NOT_IN_libc] (vfork): Define as weak alias.
15098 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15099 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15100 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15102 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15104 * malloc/malloc.c (malloc_info): Fix format specifier for
15107 2014-06-02 Wilco <wdijkstr@arm.com>
15109 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15112 2014-06-02 Wilco <wdijkstr@arm.com>
15115 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15116 Rewrite to reduce FPCR/FPSR accesses.
15118 2014-06-01 David S. Miller <davem@davemloft.net>
15120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15122 2014-05-31 David S. Miller <davem@davemloft.net>
15124 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15125 to occur in round to nearest mode when |x| >= 2.0
15127 2014-05-30 Richard Henderson <rth@twiddle.net>
15129 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15130 (PSEUDO_RET_NOERRNO): Remove.
15131 (ret): Don't redefine.
15132 (ret_NOERRNO): Define in terms of ret.
15133 (ret_ERRVAL): Likewise.
15135 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15136 use of PSEUDO_RET; perform the error check directly.
15138 2014-05-30 Marko Myllynen <myllynen@redhat.com>
15140 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15143 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15145 * malloc/malloc (malloc_info): Fix formatting.
15147 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15148 Roland McGrath <roland@hack.frob.com>
15150 * malloc/malloc (malloc_info): Also print mmapped statistics.
15152 2014-05-30 Roland McGrath <roland@hack.frob.com>
15154 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15155 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15157 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15159 * malloc/malloc.c (malloc_info): Inline mi_arena.
15161 2014-05-29 Richard Henderson <rth@twiddle.net>
15163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15164 Remove comma before expanding ASM_ARGS_##nr.
15165 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15166 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15168 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15169 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15170 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15171 (ASM_ARGS_1): Add leading comma.
15173 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15174 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15175 to __errno_location.
15176 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15177 Remove the expected plt for __errno_location.
15179 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15180 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15183 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15184 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15185 it and break it down.
15186 (DOCARGS_0, DOCARGS_1): Do nothing.
15187 (DOCARGS_2): Update to store into the new stack frame.
15188 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15189 (UNDOCARGS_1): Update to restore from the new stack frame.
15190 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15191 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15193 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15194 (SINGLE_THREAD_P): New parameter for result regno.
15195 (PSEUDO): Update to match; use cbz instead of beq.
15197 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15198 Use ENTRY to define the _nocancel entry point. Share the syscall
15199 and syscall error check paths with the cancel path.
15202 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15203 whitespace; tabs before and after asm mnemonics.
15205 2014-05-29 Eric Wong <normalperson@yhbt.net>
15208 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15209 Call fstat64 or stat64 internally, depending on arguments passed.
15210 Replace stat buffer argument with file descriptor argument.
15211 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15212 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15213 Pass fd to __internal_statvfs instead of calling fstat64.
15214 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15215 Pass fd to __internal_statvfs64 instead of calling fstat64.
15216 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15217 Pass -1 to __internal_statvfs instead of calling stat64.
15218 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15219 Pass -1 to __internal_statvfs64 instead of calling stat64.
15221 2014-05-28 Roland McGrath <roland@hack.frob.com>
15223 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15224 that was previously under [RESET_PID].
15225 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15227 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15228 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15230 2014-05-27 Roland McGrath <roland@hack.frob.com>
15232 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15234 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15235 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15237 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
15239 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15241 2014-05-27 Andreas Schwab <schwab@suse.de>
15243 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15245 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15246 * elf/rtld.c (init_tls, dl_main): Likewise.
15247 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15248 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15249 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15250 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15251 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15252 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15253 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15254 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15255 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15256 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15257 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15258 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15259 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15260 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15261 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15262 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15263 * sysdeps/generic/tls.h: Update description.
15265 2014-05-27 Will Newton <will.newton@linaro.org>
15268 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15269 and restore r2 rather than just restoring.
15271 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15274 * libio/tst-ftell-append.c: New test case.
15275 * libio/Makefile (tests): Add test case.
15276 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15278 * libio/wfileops.c (do_ftell_wide): Likewise.
15280 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15284 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15288 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15289 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15290 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15291 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15292 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15293 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15297 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15300 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15301 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15302 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15303 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15304 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15306 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15307 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15309 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15311 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15313 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15314 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15315 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15317 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15318 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15319 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15320 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15322 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15331 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15335 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15338 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15343 conditional [RESET_PID].
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15345 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15347 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15352 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15353 (__libc_vfork): New strong alias.
15354 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15361 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15362 (__libc_vfork): New strong alias.
15363 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15365 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15368 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15370 * malloc/malloc.c (mi_arena): New function.
15371 (malloc_info): Remove nested function mi_arena. Call non-nosted
15374 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15376 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15378 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15379 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15380 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15381 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15382 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15383 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15384 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15386 2014-05-26 Andreas Schwab <schwab@suse.de>
15389 * locale/programs/repertoire.c (repertoire_read): Add slash
15390 between I18NPATH element and file name.
15391 * locale/programs/locfile.c (locfile_read): Likewise.
15393 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15395 * nptl/pthread_mutexattr_settype.c
15396 (__pthread_mutexattr_settype):
15397 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15399 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15401 * nptl/tst-mutex5 (do_test):
15402 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15404 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15406 * benchtests/README: Document 'init' directive.
15407 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15409 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15410 (parse_file): Recognize 'init' directive.
15412 2014-05-26 Kyle McMartin <kyle@redhat.com>
15415 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15416 alignment of struct pthread.
15418 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15421 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15422 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15423 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15424 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15426 2014-05-25 Richard Henderson <rth@twiddle.net>
15428 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15429 (SINGLE_THREAD_P_PIC): Remove.
15430 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15431 (SINGLE_THREAD_P_PIC): Remove.
15433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15434 branch to syscall error ...
15435 (PSEUDO): ... here.
15436 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15437 from __local_syscall_error to .Lsyscall_error.
15438 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15439 (SYSCALL_ERROR): Update label name.
15441 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15442 Do not use DOARGS/UNDOARGS.
15443 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15444 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15445 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15446 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15447 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15449 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15452 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15453 define if !NOT_IN_libc.
15454 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15455 define with non-default symbol versions.
15457 2014-05-23 Richard Henderson <rth@twiddle.net>
15459 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15460 (vfork, __vfork): Define via compat_symbol.
15462 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15463 [!HAVE_IFUNC] (vfork_compat): Remove.
15464 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15466 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15469 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15470 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15473 2014-05-23 Richard Henderson <rth@twiddle.net>
15475 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15476 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15477 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15478 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15480 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15481 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15482 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15483 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15484 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15485 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15486 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15487 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15488 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15489 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15490 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15491 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15492 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15493 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15494 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15495 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15496 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15497 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15498 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15499 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15500 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15501 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15502 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15503 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15504 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15505 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15506 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15507 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15508 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15509 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15510 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15511 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15512 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15513 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15514 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15515 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15516 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15517 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15518 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15519 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15520 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15521 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15522 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15523 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15524 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15525 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15526 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15527 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15528 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15529 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15530 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15531 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15532 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15533 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15534 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15535 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15537 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15538 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15539 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15540 before exiting on error.
15541 (__libc_vfork): New strong alias.
15542 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15543 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15545 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15546 that was previously under [RESET_PID].
15547 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15549 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15551 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15554 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15555 value when x - 1 is zero.
15556 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15557 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15558 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15559 0.0L for an argument of 1.0L.
15560 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15562 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15563 value when x - 1 is zero.
15564 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15565 * sysdeps/i386/fpu/libm-test-ulps: Update.
15566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15568 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15570 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15571 alphasort and versionsort.
15573 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15575 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15577 [copysignf]: Likewise.
15579 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15581 * crypt/md5-crypt.c: Fix formatting.
15583 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15585 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15586 (b64_from_24bit): New function.
15588 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15590 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15591 libc_hidden_builtin_def to ifunc.
15592 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15593 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15595 2014-05-21 Roland McGrath <roland@hack.frob.com>
15597 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15598 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15600 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15602 * nscd/Depend (linuxthreads): Remove.
15604 * resolv/Depend (linuxthreads): Remove.
15605 * rt/Depend (linuxthreads): Remove.
15607 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15608 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15609 $(common-objpfx)elf/.
15610 (link-libc-before-gnulib): Likewise.
15611 (elfobjdir): Remove variable.
15612 * Makefile (install): Use $(elf-objpfx) instead of
15613 $(common-objpfx)elf/.
15614 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15616 (link-libc-deps): Likewise.
15617 ($(common-objpfx)libc.so): Likewise.
15618 ($(common-objpfx)linkobj/libc.so): Likewise.
15619 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15620 instead of $(common-objpfx)elf/.
15621 (symbolic-link-list): Likewise.
15622 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15623 [$(cross-compiling) = no]: Likewise.
15624 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15626 (static-gnulib-arch): Likewise.
15627 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15628 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15629 $(common-objpfx)elf/.
15631 2014-05-21 Richard Henderson <rth@redhat.com>
15633 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15634 (SINGLE_THREAD_P): Use the correct width load. Fold
15635 into the ldr offset.
15637 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15638 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15640 2014-05-20 Joseph Myers <joseph@codesourcery.com>
15642 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15643 (libgcc_s_resume): Use __attribute_used__.
15644 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15647 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15649 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15650 optimization when used with float constants.
15652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15654 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15657 * locale/nl_langinfo_l.c: Make direct reference to every
15658 _nl_current_CATEGORY symbol.
15659 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15660 (tests-static): Add tst-langinfo-static.
15661 (tests-special): Add tst-langinfo-static.out.
15662 ($(objpfx)tst-langinfo.out): Redirect output.
15663 ($(objpfx)tst-langinfo-static.out): New.
15664 * localedata/tst-langinfo.sh: Send output to stdout.
15665 * localedata/tst-langinfo-static.c: New file.
15668 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15669 when the shift amount is modulo the limb size.
15671 2014-05-20 Richard Henderson <rth@redhat.com>
15674 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15675 Change type of sa_flags from unsigned int to int.
15678 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15680 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15682 2014-05-20 Will Newton <will.newton@linaro.org>
15684 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15685 Test the return value of the system call in the nocancel case.
15687 2014-05-20 Will Newton <will.newton@linaro.org>
15688 Yvan Roux <yvan.roux@linaro.org>
15690 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15691 #include of asm/ptrace.h.
15692 (PTRACE_GET_THREAD_AREA): Remove #undef.
15693 (PTRACE_GETHBPREGS): Likewise.
15694 (PTRACE_SETHBPREGS): Likewise.
15695 (struct user_regs_struct): New structure.
15696 (struct user_fpsimd_struct): New structure.
15697 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15698 #include of asm/ptrace.h and second #include of sys/user.h.
15699 (PTRACE_GET_THREAD_AREA): Remove #undef.
15700 (PTRACE_GETHBPREGS): Likewise.
15701 (PTRACE_SETHBPREGS): Likewise.
15702 (ELF_NGREG): Use new struct user_regs_struct.
15703 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15705 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15707 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15708 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15710 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15713 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15714 membar to avoid block loads/stores to overlap previous stores.
15716 2014-05-17 Richard Henderson <rth@redhat.com>
15718 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15719 Create the __##syscall_name##_nocancel entry point.
15720 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15721 Remove; let the sysdep-cancel.h code create it.
15723 2014-05-17 David S. Miller <davem@davemloft.net>
15725 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15726 Protect with __USE_GNU.
15727 (TIOCSET_TEMPT): Likewise.
15728 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15729 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15730 these are already provided in bits/ioctl-types.h
15732 2014-05-16 Roland McGrath <roland@hack.frob.com>
15734 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15735 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15737 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15738 Use wait4 regardless of [__NR_waitpid].
15740 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15743 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15744 (_FP_NANSIGN_Q): Set the quiet bit.
15746 2014-05-16 Joseph Myers <joseph@codesourcery.com>
15748 * benchtests/Makefile
15749 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15750 not $(common-objpfx)math/libm.so.
15751 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15752 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15753 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15754 $(common-objpfx)dlfcn/libdl.so.
15755 ($(objpfx)tst-audit8): Depend on $(libm), not
15756 $(common-objpfx)math/libm.so.
15757 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15758 not $(common-objpfx)dlfcn/libdl.so.
15760 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15761 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15762 [$(build-shared) = yes].
15763 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15764 $(common-objpfx)nptl/libpthread.so.
15765 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15766 $(common-objpfx)math/libm.so$(libm.so-version) or
15767 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15768 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15769 $(common-objpfx)dlfcn/libdl.so.
15770 * setjmp/Makefile (link-libm): Remove variable.
15771 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15772 * stdio-common/Makefile (link-libm): Remove variable.
15773 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15774 * stdlib/Makefile (link-libm): Remove variable.
15775 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15776 ($(objpfx)tst-strtod-round): Likewise.
15777 ($(objpfx)tst-tininess): Likewise.
15778 ($(objpfx)tst-strtod-underflow): Likewise.
15779 ($(objpfx)tst-strtod6): Likewise.
15780 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15781 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15782 $(common-objpfx)dlfcn/libdl.so.
15784 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15786 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15787 BSD terminal modes definitions.
15789 2014-05-16 Roland McGrath <roland@hack.frob.com>
15791 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15792 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15794 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15795 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15796 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15797 Don't do #include_next.
15798 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15799 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15800 Don't do #include_next.
15801 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15802 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15803 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15804 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15806 2014-05-16 Allan McRae <allan@archlinux.org>
15808 * po/sv.po: Update Swedish translation from translation project.
15810 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15813 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15816 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15817 errno if the TIOCGPTN ioctl fails with an error different than
15819 * login/tst-ptsname.c: New file.
15820 * login/Makefile (tests): Add tst-ptsname.
15823 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15826 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15830 herrno to return EAI_AGAIN.
15832 2014-05-14 Roland McGrath <roland@hack.frob.com>
15834 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15835 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15836 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15837 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15838 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15839 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15840 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15841 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15842 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15843 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15844 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15845 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15846 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15847 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15848 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15849 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15850 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15851 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15852 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15853 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15854 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15855 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15856 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15857 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15858 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15859 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15860 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15861 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15862 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15863 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15865 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15867 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15870 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15872 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15874 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15876 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15878 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15880 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15882 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15884 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15886 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15888 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15890 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15892 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15894 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15896 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15899 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15901 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15903 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15905 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15907 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15909 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15911 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15913 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15915 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15917 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15920 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15922 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15924 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15925 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15926 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15927 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15928 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15929 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15930 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15931 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15932 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15933 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15934 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15935 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15936 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15937 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15938 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15939 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15940 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15941 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15942 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15943 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15944 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15945 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15946 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15947 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15948 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15949 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15950 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15951 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15952 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15953 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15954 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15956 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15957 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15959 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15960 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15961 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15962 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15963 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15964 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15966 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15967 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15969 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15970 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15972 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15973 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15975 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15976 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15977 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15978 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15980 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15981 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15982 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15983 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15984 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15985 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15986 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15987 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15989 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15990 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15992 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15994 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15995 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15996 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15997 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15998 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16000 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16002 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16004 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16005 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16006 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16007 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16008 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16009 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16011 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16012 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16014 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16015 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16017 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16018 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16020 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16021 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16022 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16023 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16025 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16026 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16027 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16028 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16029 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16030 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16031 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16032 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16034 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16035 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16037 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16039 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16040 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16041 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16042 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16043 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16045 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16047 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16049 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16050 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16051 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16052 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16053 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16054 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16055 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16056 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16057 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16058 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16060 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16061 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16063 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16064 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16066 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16067 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16069 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16070 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16071 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16072 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16073 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16074 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16076 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16077 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16078 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16079 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16080 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16081 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16082 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16083 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16085 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16086 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16088 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16090 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16091 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16092 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16093 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16094 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16096 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16098 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16100 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16101 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16102 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16103 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16104 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16105 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16106 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16107 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16108 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16109 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16110 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16112 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16113 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16115 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16116 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16118 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16119 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16120 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16121 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16122 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16123 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16124 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16125 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16126 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16127 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16128 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16129 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16130 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16131 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16132 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16133 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16134 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16137 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16138 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16139 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16140 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16142 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16143 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16144 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16145 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16146 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16147 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16148 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16149 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16151 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16152 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16154 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16155 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16156 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16157 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16158 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16159 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16160 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16161 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16162 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16163 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16164 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16165 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16166 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16167 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16168 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16169 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16170 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16172 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16173 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16174 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16175 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16176 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16178 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16179 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16180 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16181 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16182 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16183 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16184 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16185 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16186 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16187 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16189 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16190 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16192 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16193 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16194 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16195 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16196 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16197 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16198 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16199 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16200 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16201 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16202 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16203 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16204 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16205 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16206 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16208 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16210 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16212 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16214 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16216 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16218 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16222 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16226 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16228 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16229 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16231 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16232 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16233 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16234 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16235 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16236 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16237 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16238 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16239 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
16240 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
16242 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16243 that was previously under [RESET_PID].
16244 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16245 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16246 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16248 * sysdeps/i386/nptl/Implies: New file.
16249 * sysdeps/x86_64/nptl/Implies: New file.
16250 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16251 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16252 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16253 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16255 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16256 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16257 (__libc_vfork): New strong alias.
16258 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16259 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16261 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16262 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16263 (__libc_vfork): New strong alias.
16264 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16265 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16267 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16268 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16269 (__libc_vfork): New strong alias.
16270 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16271 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16272 * nptl/pt-vfork.c: New file.
16273 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16274 (libpthread: GLIBC_2.20): New version set (empty).
16276 2014-05-14 Will Newton <will.newton@linaro.org>
16278 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16281 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16284 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16285 arguments with exponent 65 or above.
16286 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16287 arguments 0x1p113L or above.
16288 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16289 to arguments 0x1p107L or above.
16290 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16291 positive arguments with exponent 65 or above.
16292 * math/auto-libm-test-in: Add more tests of log1p.
16293 * math/auto-libm-test-out: Regenerated.
16296 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16297 non-finite arguments is +0.
16298 * math/s_cacosf.c (__cacosf): Likewise.
16299 * math/s_cacosl.c (__cacosl): Likewise.
16300 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16301 * sysdeps/i386/fpu/libm-test-ulps: Update.
16302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16305 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16307 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16308 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16309 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16310 for explicit high bit of mantissa when testing for argument equal
16312 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16313 * sysdeps/i386/fpu/libm-test-ulps: Update.
16314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16317 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16318 (__erf): Scale by 16 instead of 8 in potentially underflowing
16319 case. Ensure exception if result actually underflows.
16320 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16321 (__erff): Scale by 16 instead of 8 in potentially underflowing
16322 case. Ensure exception if result actually underflows.
16323 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16324 (efx8): Remove variable.
16325 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16326 case. Ensure exception if result actually underflows.
16327 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16328 (efx8): Remove variable.
16329 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16330 case. Ensure exception if result actually underflows.
16331 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16332 (efx8): Remove variable.
16333 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16334 case. Ensure exception if result actually underflows.
16335 * math/auto-libm-test-in: Add more tests of erf.
16336 * math/auto-libm-test-out: Regenerated.
16338 2014-05-14 Andreas Schwab <schwab@suse.de>
16340 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16341 Remove code conditionalized on USE___THREAD.
16343 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16344 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16347 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16349 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16350 Define unconditionally.
16351 (__ASSUME_O_CLOEXEC): Likewise.
16352 (__ASSUME_SOCK_CLOEXEC): Likewise.
16353 (__ASSUME_IN_NONBLOCK): Likewise.
16354 (__ASSUME_PIPE2): Likewise.
16355 (__ASSUME_EVENTFD2): Likewise.
16356 (__ASSUME_SIGNALFD4): Likewise.
16357 (__ASSUME_DUP3): Likewise.
16358 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16359 (__ASSUME_DUP3): Do not define.
16360 (__ASSUME_EVENTFD2): Likewise.
16361 (__ASSUME_IN_NONBLOCK): Likewise.
16362 (__ASSUME_O_CLOEXEC): Likewise.
16363 (__ASSUME_PIPE2): Likewise.
16364 (__ASSUME_SIGNALFD4): Likewise.
16365 (__ASSUME_SOCK_CLOEXEC): Likewise.
16366 (__ASSUME_UTIMES): Undefine.
16367 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16368 (__ASSUME_UTIMES): Do not define.
16369 (__ASSUME_O_CLOEXEC): Likewise.
16370 (__ASSUME_SOCK_CLOEXEC): Likewise.
16371 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16372 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16374 (__ASSUME_PIPE2): Likewise.
16375 (__ASSUME_EVENTFD2): Likewise.
16376 (__ASSUME_SIGNALFD4): Likewise.
16377 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16378 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16380 (__ASSUME_EVENTFD2): Likewise.
16381 (__ASSUME_SIGNALFD4): Likewise.
16382 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16383 (__ASSUME_32BITUIDS): Likewise.
16384 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16385 (__ASSUME_IPC64): Likewise.
16386 (__ASSUME_ST_INO_64_BIT): Likewise.
16387 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16388 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16389 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16390 (__ASSUME_UTIMES): Do not define.
16391 (__ASSUME_PSELECT): Likewise.
16392 (__ASSUME_PPOLL): Likewise.
16393 (__ASSUME_O_CLOEXEC): Likewise.
16394 (__ASSUME_SOCK_CLOEXEC): Likewise.
16395 (__ASSUME_IN_NONBLOCK): Likewise.
16396 (__ASSUME_PIPE2): Likewise.
16397 (__ASSUME_EVENTFD2): Likewise.
16398 (__ASSUME_SIGNALFD4): Likewise.
16399 (__ASSUME_DUP3): Likewise.
16400 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16401 (__ASSUME_UTIMES): Likewise.
16402 (__ASSUME_O_CLOEXEC): Likewise.
16403 (__ASSUME_SOCK_CLOEXEC): Likewise.
16404 (__ASSUME_IN_NONBLOCK): Likewise.
16405 (__ASSUME_PIPE2): Likewise.
16406 (__ASSUME_EVENTFD2): Likewise.
16407 (__ASSUME_SIGNALFD4): Likewise.
16408 (__ASSUME_DUP3): Likewise.
16409 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16410 (__ASSUME_UTIMES): Likewise.
16411 (__ASSUME_O_CLOEXEC): Likewise.
16412 (__ASSUME_SOCK_CLOEXEC): Likewise.
16413 (__ASSUME_IN_NONBLOCK): Likewise.
16414 (__ASSUME_PIPE2): Likewise.
16415 (__ASSUME_EVENTFD2): Likewise.
16416 (__ASSUME_SIGNALFD4): Likewise.
16417 (__ASSUME_DUP3): Likewise.
16418 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16420 (__ASSUME_UTIMES): Likewise.
16421 (__ASSUME_EVENTFD2): Likewise.
16422 (__ASSUME_SIGNALFD4): Likewise.
16423 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16424 (__ASSUME_O_CLOEXEC): Likewise.
16425 (__ASSUME_SOCK_CLOEXEC): Likewise.
16426 (__ASSUME_IN_NONBLOCK): Likewise.
16427 (__ASSUME_PIPE2): Likewise.
16428 (__ASSUME_EVENTFD2): Likewise.
16429 (__ASSUME_SIGNALFD4): Likewise.
16430 (__ASSUME_DUP3): Likewise.
16431 (__ASSUME_UTIMES): Undefine.
16433 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16434 feclearexcept. Remove symbol versioning code.
16435 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16436 symbol versioning code.
16437 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16438 symbol versioning code.
16439 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16440 feupdateenv. Remove symbol versioning code.
16441 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16442 fegetexceptflag. Remove symbol versioning code.
16443 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16444 fesetexceptflag. Remove symbol versioning code.
16445 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16446 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16447 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16448 (__posix_fadvise64_l32): Remove prototype.
16449 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16452 2014-05-13 Roland McGrath <roland@hack.frob.com>
16454 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16455 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16456 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16457 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16459 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16461 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16462 current working directory
16464 2014-05-13 Roland McGrath <roland@hack.frob.com>
16466 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16467 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16468 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16469 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16470 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16471 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16472 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16473 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16474 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16475 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16476 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16477 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16478 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16479 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16480 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16481 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16482 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16483 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16484 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16485 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16486 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16487 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16488 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16489 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16490 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16491 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16492 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16493 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16494 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16495 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16496 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16497 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16498 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16499 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16500 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16501 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16502 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16503 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16504 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16505 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16506 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16507 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16509 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16510 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16512 * sysdeps/unix/sysv/linux/arm/Makefile
16513 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16514 Add rt-aeabi_unwind_cpp_pr1.
16515 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16516 Add nptl-aeabi_unwind_cpp_pr1.
16517 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16518 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16519 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16520 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16521 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16522 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16524 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16525 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16526 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16527 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16529 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16530 Deconditionalize the code that was previously under [RESET_PID].
16531 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16533 * sysdeps/generic/exit-thread.h: New file.
16534 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16535 * include/unistd.h (__exit_thread): Remove declaration.
16536 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16537 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16538 * csu/libc-start.c: Include <exit-thread.h>.
16539 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16540 * nptl/pthread_create.c: Include <exit-thread.h>.
16541 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16542 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16543 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16544 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16545 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16546 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16547 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16548 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16549 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16550 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16551 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16552 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16553 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16554 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16555 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16556 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16557 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16559 2014-05-13 Andreas Schwab <schwab@suse.de>
16561 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16563 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16565 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16566 (__ASSUME_UTIMES): Do not condition on kernel version.
16567 (__ASSUME_PSELECT): Define unconditionally.
16568 (__ASSUME_PPOLL): Likewise.
16569 (__ASSUME_ATFCTS): Likewise.
16570 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16571 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16572 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16573 (__ASSUME_UTIMENSAT): Define unconditionally.
16574 (__ASSUME_PRIVATE_FUTEX): Likewise.
16575 (__ASSUME_FALLOCATE): Likewise.
16576 (__ASSUME_O_CLOEXEC): Likewise.
16577 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16578 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16579 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16580 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16581 (__ASSUME_IN_NONBLOCK): Likewise.
16582 (__ASSUME_PIPE2): Likewise.
16583 (__ASSUME_EVENTFD2): Likewise.
16584 (__ASSUME_SIGNALFD4): Likewise.
16585 (__ASSUME_DUP3): Likewise.
16586 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16587 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16588 (__ASSUME_AT_RANDOM): Likewise.
16589 (__ASSUME_PREADV): Likewise.
16590 (__ASSUME_PWRITEV): Likewise.
16591 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16592 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16593 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16594 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16595 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16596 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16597 (__ASSUME_O_CLOEXEC): Define unconditionally.
16598 (__ASSUME_PSELECT): Do not undefine conditionally.
16599 (__ASSUME_PPOLL): Likewise.
16600 (__ASSUME_ATFCTS): Likewise.
16601 (__ASSUME_SET_ROBUST_LIST): Likewise.
16602 (__ASSUME_UTIMENSAT): Likewise.
16603 (__ASSUME_FDATASYNC): Define unconditionally.
16604 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16605 (__ASSUME_SIGFRAME_V2): Likewise.
16606 )__ASSUME_EVENTFD2): Likewise.
16607 (__ASSUME_SIGNALFD4): Likewise.
16608 (__ASSUME_PSELECT): Do not undefine conditionally.
16609 (__ASSUME_PPOLL): Likewise.
16610 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16611 (__ASSUME_PSELECT): Define unconditionally.
16612 (__ASSUME_PPOLL): Likewise.
16613 (__ASSUME_O_CLOEXEC): Likewise.
16614 (__ASSUME_SOCK_CLOEXEC): Likewise.
16615 (__ASSUME_IN_NONBLOCK): Likewise.
16616 (__ASSUME_PIPE2): Likewise.
16617 (__ASSUME_EVENTFD2): Likewise.
16618 (__ASSUME_SIGNALFD4): Likewise.
16619 (__ASSUME_DUP3): Likewise.
16620 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16621 (__ASSUME_O_CLOEXEC): Likewise.
16622 (__ASSUME_SOCK_CLOEXEC): Likewise.
16623 (__ASSUME_IN_NONBLOCK): Likewise.
16624 (__ASSUME_PIPE2): Likewise.
16625 (__ASSUME_EVENTFD2): Likewise.
16626 (__ASSUME_SIGNALFD4): Likewise.
16627 (__ASSUME_DUP3): Likewise.
16628 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16629 (__ASSUME_EVENTFD2): Likewise.
16630 (__ASSUME_SIGNALFD4): Likewise.
16631 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16633 2014-05-12 Andreas Schwab <schwab@suse.de>
16636 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16637 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16638 than maximum RPC packet size.
16639 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16640 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16641 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16642 (_nss_nis_getservbyport_r): Likewise.
16644 2014-05-12 Will Newton <will.newton@linaro.org>
16646 * malloc/Makefile (tests): Add tst-mallopt.
16647 * malloc/tst-mallopt.c: New file.
16649 2014-05-09 Roland McGrath <roland@hack.frob.com>
16651 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16652 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16654 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16656 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16657 (tst-tlsmod6.so): Likewise.
16659 2014-05-09 Roland McGrath <roland@hack.frob.com>
16661 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16663 2014-05-09 Joseph Myers <joseph@codesourcery.com>
16666 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16667 and <dl-procinfo.h>.
16668 (__fegetenv): Save SSE state in envp->__eip if supported.
16669 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16670 envp->__eip if supported.
16671 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16672 and <dl-procinfo.h>.
16673 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16674 __data_offset and __data_selector in environment to 0. Set SSE
16675 state if supported.
16676 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16678 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16680 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16682 2014-05-09 Will Newton <will.newton@linaro.org>
16684 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16685 and libc_relro_required for ARM.
16686 * sysdeps/arm/preconfigure: Regenerate.
16688 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16689 Stefan Liebler <stli@linux.vnet.ibm.com>
16691 * config.make.in (enable-lock-elision): New Makefile variable.
16692 * configure.ac: Likewise.
16693 * configure: Regenerate.
16694 * sysdeps/s390/configure.ac:
16695 Add check for gcc transactions support.
16696 * sysdeps/s390/configure: Regenerate.
16697 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16698 Build elision files if enabled.
16699 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16700 Add lock elision support for s390.
16701 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16702 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16703 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16704 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16705 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16706 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16707 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16709 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16711 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16713 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16715 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16716 (__lll_timedlock_elision, __lll_lock_elision)
16717 (__lll_unlock_elision, __lll_trylock_elision)
16718 (lll_timedlock_elision, lll_lock_elision)
16719 (lll_unlock_elision, lll_trylock_elision): Add.
16720 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16721 (pthread_mutex_t): Add lock elision support for s390.
16723 2014-05-14 Wilco <wdijkstr@arm.com>
16725 * sysdeps/arm/fclrexcpt.c: Cleanup.
16726 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16727 * sysdeps/arm/feenablxcpt.c: Cleanup.
16728 * sysdeps/arm/fegetenv.c: Cleanup.
16729 * sysdeps/arm/fegetexcept.c: Cleanup.
16730 * sysdeps/arm/fegetround.c: Cleanup.
16731 * sysdeps/arm/feholdexcpt.c: Cleanup.
16732 * sysdeps/arm/fesetenv.c: Cleanup.
16733 * sysdeps/arm/fesetround.c: Cleanup.
16734 * sysdeps/arm/feupdateenv.c: Cleanup.
16735 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16736 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16737 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16738 * sysdeps/arm/ftestexcept.c: Cleanup.
16739 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16740 * sysdeps/arm/setfpucw.c: Cleanup.
16742 2014-05-09 Will Newton <will.newton@linaro.org>
16744 * sysdeps/arm/armv7/strcmp.S: New file.
16745 * NEWS: Mention addition of ARMv7 optimized strcmp.
16747 2014-05-08 Roland McGrath <roland@hack.frob.com>
16749 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16750 look for %.ac rather than %.in.
16752 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16753 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16754 * sysdeps/mach/hurd/configure: Regenerated.
16755 * sysdeps/unix/sysv/linux/configure: Regenerated.
16757 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16759 2014-05-07 Steve Ellcey <sellcey@mips.com>
16762 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16766 2014-05-07 Andreas Schwab <schwab@suse.de>
16768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16769 when skipping over non-matching result from nscd.
16771 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
16774 * nptl/sockperf.c (client): Check socket return value.
16777 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16778 nscd security class.
16780 2014-05-06 Roland McGrath <roland@hack.frob.com>
16782 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16783 * sysdeps/arm/unwind.h: ... here.
16785 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16788 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16791 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16793 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16794 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16795 multiarch strncpy for PPC64.
16796 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16797 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16799 multiarch optimizations.
16800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16801 (__libc_ifunc_impl_list): Likewise.
16802 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16803 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16804 multiarch stpncpy for PPC64.
16805 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16806 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16808 2014-05-06 Andreas Schwab <schwab@suse.de>
16811 * gmon/mcount.c (_MCOUNT_DECL): Use
16812 atomic_compare_and_exchange_bool_acq instead of
16813 catomic_compare_and_exchange_bool_acq.
16815 2014-05-05 Roland McGrath <roland@hack.frob.com>
16817 * elf/Makefile (others, install-bin): Remove pldd.
16818 (pldd-modules): Variable removed.
16819 ($(objpfx)pldd): Target removed.
16820 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16821 (others, install-bin): Append pldd here.
16822 ($(objpfx)pldd): New target.
16824 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16825 to 0, so the first #if test emitted later doesn't see it undefined.
16826 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16827 * sysdeps/gnu/errlist.c: Regenerated.
16829 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16831 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16832 [libc_hidden_builtin_def]: Define to empty value.
16833 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16834 [libc_hidden_builtin_def]: Likewise.
16835 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16836 [libc_hidden_builtin_def]: Likewise.
16837 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16838 [libc_hidden_builtin_def]: Likewise.
16839 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16840 __redirect_memcpy and define ifunc as default hidden symbol.
16841 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16842 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16844 2014-05-04 Adam Conrad <adconrad@0c3.net>
16846 * locale/iso-4217.def: Reintroduce XDR currency.
16848 2014-05-04 Allan McRae <allan@archlinux.org>
16850 * po/eo.po: Update Esperanto translation from translation project.
16852 2014-05-02 Carlos O'Donell <carlos@redhat.com>
16854 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16855 and FEATURE_INDEX_MAX to 1.
16856 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16858 2014-05-01 Steve Ellcey <sellcey@mips.com>
16860 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16861 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16862 * iconvdata/big5.c (ONE_DIRECTION): Define.
16863 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16864 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16865 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16866 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16867 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16868 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16869 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16870 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16871 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16872 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16873 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16874 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16875 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16876 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16877 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16878 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16879 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16880 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16881 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16882 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16883 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16884 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16885 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16886 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16887 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16888 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16889 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16890 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16891 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16892 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16893 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16894 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16895 * iconvdata/johab.c (ONE_DIRECTION): Define.
16896 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16897 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16898 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16899 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16900 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16901 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16902 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16903 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16904 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16905 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16907 2014-05-01 Roland McGrath <roland@hack.frob.com>
16909 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16910 (_IO_JUMPS_OFFSET): Define to 0.
16912 * nptl/sysdeps/pthread/bits/libc-lock.h
16913 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16914 (__libc_lock_define_initialized_recursive): Always define using
16915 initializer. Modern compilers treat uninitialized (implicit zero) and
16916 explicit zero initializers the same (i.e. put the datum in bss).
16918 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16920 * nscd/nscd-client.h: Include <string.h>.
16922 2014-05-01 David S. Miller <davem@davemloft.net>
16925 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16926 multiple zero bytes exist at the end of a string.
16927 Reported by Aurelien Jarno <aurelien@aurel32.net>
16929 * string/test-strcmp.c (check): Add explicit test for situations where
16930 there are multiple zero bytes after the first.
16932 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16935 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16936 when compiling wprintf.
16937 * stdio-common/tstdiomisc.c (t3): New function.
16940 2014-05-01 Steve Ellcey <sellcey@mips.com>
16942 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16943 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16944 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16945 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16947 2014-05-01 Steve Ellcey <sellcey@mips.com>
16949 * stdlib/longlong.h: Updated from GCC.
16951 2014-05-01 Will Newton <will.newton@linaro.org>
16952 Bernard Ogden <bernie.ogden@linaro.org>
16954 * NEWS: Update fixed bug list.
16957 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16959 2014-04-30 David S. Miller <davem@davemloft.net>
16961 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16962 (libc_feholdexcept_setround_sparc_ctx): New function.
16963 (libc_fesetenv_sparc_ctx): Likewise.
16964 (libc_feupdateenv_sparc_ctx): Likewise.
16965 (libc_feholdsetround_sparc_ctx): Likewise.
16966 (libc_feholdexcept_setround_ctx): Define.
16967 (libc_feholdexcept_setroundf_ctx): Likewise.
16968 (libc_feholdexcept_setroundl_ctx): Likewise.
16969 (libc_fesetenv_ctx): Likewise.
16970 (libc_fesetenvf_ctx): Likewise.
16971 (libc_fesetenvl_ctx): Likewise.
16972 (libc_feupdateenv_ctx): Likewise.
16973 (libc_feupdateenvf_ctx): Likewise.
16974 (libc_feupdateenvl_ctx): Likewise.
16975 (libc_feresetround_ctx): Likewise.
16976 (libc_feresetroundf_ctx): Likewise.
16977 (libc_feresetroundl_ctx): Likewise.
16978 (libc_feholdsetround_ctx): Likewise.
16979 (libc_feholdsetroundf_ctx): Likewise.
16980 (libc_feholdsetroundl_ctx): Likewise.
16982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16983 with __USE_GNU instead of XOPEN cpp guards.
16985 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16988 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16989 with XOPEN cpp guards.
16991 2014-04-30 Julian Brown <julian@codesourcery.com>
16994 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16997 2014-04-30 Joseph Myers <joseph@codesourcery.com>
17000 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17002 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17003 * sysdeps/unix/sysv/linux/configure: Regenerated.
17004 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17005 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17006 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17007 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17008 * README: Update reference to required Linux kernel version.
17009 * manual/install.texi (Linux): Update reference to required Linux
17010 kernel headers version.
17011 * INSTALL: Regenerated.
17013 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17015 [POSIX] (limits.h): Likewise.
17016 [POSIX] (math.h): Likewise.
17017 [POSIX] (sys/wait.h): Likewise.
17018 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17020 [POSIX] (stddef.h): Do not allow header inclusion.
17022 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17024 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17026 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
17028 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17029 Return immediately after lll_futex_wake.
17031 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17034 * nscd/nscd-client.h (datahead_init_common): Initialize entire
17036 (datahead_init_pos): Call datahead_init_common early.
17037 (datahead_init_neg): Likewise.
17039 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17040 datahead_init_neg): New functions.
17041 * nscd/aicache.c (addhstaiX): Use them.
17042 * nscd/grpcache.c (cache_addgr): Likewise.
17043 * nscd/hstcache.c (cache_addhst): Likewise.
17044 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17045 * nscd/netgroupcache.c (do_notfound): Likewise.
17046 (addgetnetgrentX): Likewise.
17047 (addinnetgrX): Likewise.
17048 * nscd/pwdcache.c (cache_addpw): Likewise.
17049 * nscd/servicescache.c (cache_addserv): Likewise.
17051 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17052 Atsushi Onoe <atsushi@onoe.org>
17057 * resolv/res_query.c (__libc_res_nsearch): Return if at least
17058 one response is valid.
17059 * resolv/res_send.c (send_dg): Check for validity of other
17060 response if the current response is a referral.
17062 2014-04-29 Steve Ellcey <sellcey@mips.com>
17064 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17066 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17069 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17070 Always divide by positive zero when computing -Inf result.
17071 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17072 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17074 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17076 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17077 FPSCR if value do not change.
17078 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17079 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17080 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17081 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17082 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17083 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17086 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17088 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17089 * sysdeps/unix/sysv/linux/hppa: Move directory from
17090 ports/systeps/unix/sysv/linux/hppa.
17091 * README: Update listing for hppa-*-linux-gnu.
17093 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17096 * manual/stdio.texi (Hook functions): Fix types of stream hook
17099 * socket/sys/socket.h: Fix typo in comment.
17101 2014-04-28 Wilco <wdijkstr@arm.com>
17103 * sysdeps/arm/fenv_private.h: New file.
17104 * sysdeps/arm/math_private.h: New file.
17105 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17107 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17109 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17111 (La_x86_64_retval): Likewise.
17113 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17115 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17116 fpsr if value didn't change.
17117 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17118 to fpcr if value didn't change.
17119 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17120 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17121 fpsr or fpcr if value didn't change.
17122 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17123 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17124 fpcr if value didn't change.
17125 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17126 to fpsr if value didn't change.
17128 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17130 * nptl/tst-sem3.c: Use test-skeleton.c
17131 (main): Rename to do_test. Use return instead of
17133 * nptl/tst-sem4.c: Use test-skeleton.c
17134 (main): Rename to do_test.
17136 2014-04-22 David S. Miller <davem@davemloft.net>
17138 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17139 (struct sigaction): New struct member __glibc_reserved0, change
17140 type of sa_flags to int.
17142 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
17144 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17145 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17147 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17149 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17150 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17152 2014-04-22 Will Newton <will.newton@linaro.org>
17153 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17155 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17156 (__longjmp): Add longjmp and longjmp_target SystemTap
17158 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17159 (__sigsetjmp): Add setjmp SystemTap probe.
17161 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17163 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17164 match manual order.
17166 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17168 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17170 * sysdeps/powerpc/fpu/fenv_private.h
17171 (libc_feholdexcept_setroundl_ctx): Define to
17172 libc_feholdexcept_setround_ppc_ctx.
17173 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17174 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17175 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17176 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17178 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17180 * sysdeps/aarch64/math-tests.h: New file.
17182 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
17184 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17187 Check and set bit_AVX2_Usable.
17188 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17190 (bit_AVX2): Likewise.
17191 (index_AVX2_Usable): Likewise.
17192 (CPUID_AVX2): Likewise.
17193 (HAS_AVX2): Likewise.
17195 2014-04-17 Will Newton <will.newton@linaro.org>
17197 * manual/setjmp.texi (System V contexts): Add note that
17198 calling setcontext on a context created by a call to a
17199 signal handler is undefined. Update text to note that
17200 setcontext from a signal handler is possible but not
17204 * stdlib/tst-setcontext.c: Include signal.h.
17205 (main): Check that the signal stack before and
17206 after swapcontext is the same.
17208 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17209 Re-implement to restore registers in user code and avoid
17210 rt_sigreturn system call.
17212 2014-04-17 Wilco <wdijkstr@arm.com>
17214 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17215 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17216 * math/test-fenv.c: Skip exception trap tests on targets which only
17217 support non-stop mode.
17219 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17220 Wilco Dijkstra <wilco.dijkstra@arm.com>
17222 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17223 (libc_feholdsetround_aarch64_ctx)
17224 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17225 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17226 (libc_feresetround_ctx, libc_feresetroundf_ctx)
17227 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17228 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17229 (libc_feresetround_noexl_ctx): Define.
17231 2014-04-16 Richard Henderson <rth@redhat.com>
17233 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17235 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17238 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17239 const from the non-libc, non-ldso copy.
17241 * sysdeps/alpha/libm-test-ulps: Regenerate.
17243 2014-04-16 Ian Bolton <ian.bolton@arm.com>
17244 Wilco Dijkstra <wilco.dijkstra@arm.com>
17246 * sysdeps/aarch64/fpu/math_private.h: New file.
17248 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17250 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17252 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
17255 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17256 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17257 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17258 Intel MPX bound registers before _dl_profile_fixup.
17259 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17260 registers after _dl_profile_fixup. Save and restore bound
17261 registers bnd0/bnd1 when calling _dl_call_pltexit.
17262 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17263 (LR_BND_OFFSET): Likewise.
17264 (LRV_BND0_OFFSET): Likewise.
17265 (LRV_BND1_OFFSET): Likewise.
17267 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17269 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17271 * sysdeps/mach/hurd/i386/tls.h: ... here.
17272 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17273 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17276 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17278 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17280 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17282 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17284 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17287 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17288 * sysdeps/s390/configure: Regenerate.
17291 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17292 Set round-to-nearest internally to reduce error accumulation.
17294 2014-04-16 Alan Modra <amodra@gmail.com>
17298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17299 * math/libm-test.inc (frexp_test_data): Add tests.
17300 * NEWS: Update fixed bug list.
17302 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17304 * benchtests/Makefile: Depend on libraries in build directory.
17305 (bench-math): Separate out math tests.
17306 (bench-pthread): Separate out pthread tests.
17307 (bench): Include math and pthread tests.
17309 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17312 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17313 _dl_debug_initialize.
17315 * configure.ac: Remove SELinux header check.
17316 * configure: Regenerate.
17317 * nscd/selinux.c (perms): Array of const char* to permission names.
17318 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17319 default policy. Call string_to_security_class and string_to_av_perm to
17320 translate strings. Enforce default policy and call avs_has_perm with
17321 results of translated strings.
17323 2014-04-13 David S. Miller <davem@davemloft.net>
17325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17327 2014-04-12 Allan McRae <allan@archlinux.org>
17330 * manual/string.texi (Collation Functions): Fix qsort argument
17332 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17334 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17336 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17337 Make the test a no-op if there are no exceptions defined.
17339 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17341 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17342 enable-hardcoded-path-in-tests
17344 2014-04-11 Will Newton <will.newton@linaro.org>
17346 * benchtests/Makefile (extra-objs): Add json-lib.o.
17347 (bench-func): Tidy up JSON output.
17348 * benchtests/bench-skeleton.c: Include json-lib.h.
17349 (main): Use JSON library functions to do output of
17351 * benchtests/bench-timing-type.c (main): Output the
17352 timing type simply, leaving formatting to the user.
17353 * benchtests/json-lib.c: New file.
17354 * benchtests/json-lib.h: Likewise.
17356 2014-04-11 Torvald Riegel <triegel@redhat.com>
17359 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17360 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17361 memory barriers. Add comments.
17362 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17363 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17364 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17365 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17366 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17367 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17369 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17371 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17372 * sysdeps/s390/s390-64/configure.ac: ... this ...
17373 * sysdeps/s390/configure.ac: ... to here.
17374 * sysdeps/s390/s390-32/configure: Delete file.
17375 * sysdeps/s390/s390-64/configure: Delete file.
17376 * sysdeps/s390/configure: Regenerate.
17378 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17380 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17382 2014-04-11 Will Newton <will.newton@linaro.org>
17384 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17385 to zero if it is not defined elsewhere. (mtrim): Test
17386 the value of MALLOC_DEBUG with #if rather than #ifdef.
17388 2014-04-10 Torvald Riegel <triegel@redhat.com>
17390 * benchtests/pthread_once-inputs: New file.
17391 * benchtests/pthread_once-source.c: New file.
17392 * benchtests/README: Update documentation.
17394 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17395 H.J. Lu <hongjiu.lu@intel.com>
17398 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17399 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17400 * sysdeps/x86_64/configure: Regenerated.
17401 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17403 (REGISTER_SAVE_RAX): Likewise.
17404 (REGISTER_SAVE_RCX): Likewise.
17405 (REGISTER_SAVE_RDX): Likewise.
17406 (REGISTER_SAVE_RSI): Likewise.
17407 (REGISTER_SAVE_RDI): Likewise.
17408 (REGISTER_SAVE_R8): Likewise.
17409 (REGISTER_SAVE_R9): Likewise.
17410 (REGISTER_SAVE_BND0): Likewise.
17411 (REGISTER_SAVE_BND1): Likewise.
17412 (REGISTER_SAVE_BND2): Likewise.
17413 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17414 bound registers when calling _dl_fixup.
17416 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17418 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17419 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17421 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17422 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17423 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17424 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17425 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17426 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17427 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17429 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17432 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17433 pathconf(_PC_NAME_MAX).
17435 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17437 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17438 Remove macro usage.
17439 (__PTHREAD_SPINS): Move definition to ...
17440 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17441 (__PTHREAD_SPINS): ... here.
17442 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17443 (__PTHREAD_SPIN): Likewise.
17444 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17445 (__PTHREAD_SPIN): Likewise.
17446 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17447 (__PTHREAD_SPIN): Likewise.
17448 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17449 (__PTHREAD_SPIN): Likewise.
17450 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17451 (__PTHREAD_SPIN): Likewise.
17452 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17453 (__PTHREAD_SPIN): Likewise.
17454 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17455 (__PTHREAD_SPIN): Likewise.
17456 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17457 (__PTHREAD_SPIN): Likewise.
17458 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17459 (__PTHREAD_SPIN): Likewise.
17460 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17461 (__PTHREAD_SPIN): Likewise.
17462 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17463 (__PTHREAD_SPIN): Likewise.
17464 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17465 (__PTHREAD_SPIN): Likewise.
17467 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17468 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17469 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17470 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17472 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17473 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17474 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17475 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17476 correct imply path.
17477 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17478 strlen symbol for non multi-arch builds.
17479 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17480 missing hidden_def and weak_alias.
17482 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17484 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17486 2014-04-07 Will Newton <will.newton@linaro.org>
17488 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17489 and contents. [!_LIBC] Remove #ifndef and contents.
17490 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17491 * string/memccpy.c (__memccpy): Use ANSI prototype.
17492 * string/memfrob.c (memfrob): Likewise.
17493 * string/strcoll.c (STRCOLL): Likewise.
17494 * string/strlen.c (strlen): Likewise.
17495 * string/strtok.c (STRTOK): Likewise.
17496 * string/strcat.c: Remove unused #include of memcopy.h.
17497 (strcat): Use ANSI prototype.
17498 * string/strchr.c: Remove unused #include of memcopy.h.
17499 (strchr): Use ANSI prototype.
17500 * string/strcmp.c: Remove unused #include of memcopy.h.
17501 (strcmp): Use ANSI prototype.
17502 * string/strcpy.c: Remove unused #include of memcopy.h.
17503 (strcpy): Use ANSI prototype.
17505 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17507 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17508 * config.make.in (config-extra-cppflags): Set it from
17509 libc_extra_cppflags.
17510 * configure.ac (libc_extra_cflags): Make it accumulate over
17511 configure fragments.
17512 (libc_extra_cppflags): New flag.
17513 * configure. Regenerate.
17514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17515 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17516 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17521 result for FE_DOWNWARD rounding mode.
17522 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17526 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17528 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17529 in function argument name.
17531 2014-04-03 David Svoboda <svoboda@cert.org>
17534 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17537 2014-04-03 Roland McGrath <roland@hack.frob.com>
17539 * elf/dl-unmap-segments.h: New file.
17540 * sysdeps/generic/ldsodefs.h
17541 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17542 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17543 * elf/dl-fptr.c: Likewise.
17544 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17545 * sysdeps/aarch64/tlsdesc.c: Likewise.
17546 * sysdeps/arm/tlsdesc.c: Likewise.
17547 * sysdeps/i386/tlsdesc.c: Likewise.
17548 * sysdeps/tile/dl-runtime.c: Likewise.
17549 * sysdeps/x86_64/tlsdesc.c: Likewise.
17550 * elf/dl-load.h: New file.
17551 * elf/dl-load.c: Include it.
17552 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17553 Macros moved to dl-load.h.
17554 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17555 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17556 Use _dl_unmap_segments in place of __munmap.
17557 Break out segment-mapping loop into ...
17558 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17560 2014-04-03 Will Newton <will.newton@linaro.org>
17562 * elf/dl-lookup.c (do_lookup_x): Remove comment
17563 referring to nested function and move variable
17564 declarations down to before first use.
17566 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17570 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17572 * math/s_catanf.c (__catanf): Likewise.
17573 * math/s_catanh.c (__catanh): Likewise.
17574 * math/s_catanhf.c (__catanhf): Likewise.
17575 * math/s_catanhl.c (__catanhl): Likewise.
17576 * math/s_catanl.c (__catanl): Likewise.
17577 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17578 by positive zero when computing -Inf result.
17579 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17580 (catanh_test): Likewise.
17581 * sysdeps/i386/fpu/libm-test-ulps: Update.
17582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17585 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17586 instead of using underflowing value in computing result.
17587 * math/s_clog10.c (__clog10): Likewise.
17588 * math/s_clog10f.c (__clog10f): Likewise.
17589 * math/s_clog10l.c (__clog10l): Likewise.
17590 * math/s_clogf.c (__clogf): Likewise.
17591 * math/s_clogl.c (__clogl): Likewise.
17592 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17593 (clog10_test): Likewise.
17594 * sysdeps/i386/fpu/libm-test-ulps: Update.
17595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17597 2014-04-02 Alan Modra <amodra@gmail.com>
17600 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17601 output when value is near a power of two. Use int64_t for lx and
17602 remove casts. Use decimal rather than hex exponent constants.
17603 Don't use long double multiplication when double will suffice.
17604 * math/libm-test.inc (nextafter_test_data): Add tests.
17605 * NEWS: Add 16739 and 16786 to bug list.
17607 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17609 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17611 2014-04-01 Will Newton <will.newton@linaro.org>
17613 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17614 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17616 2014-04-01 Florian Weimer <fweimer@redhat.com>
17619 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17620 * nptl/tst-setuid2.c: New file.
17621 * nptl/Makefile (xtests): Add tst-setuid2.
17623 2014-04-01 Alan Modra <amodra@gmail.com>
17626 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17628 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17632 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17633 set errno as appropriate.
17634 * math/w_scalbf.c (__scalbf): Likewise.
17635 * math/w_scalbl.c (__scalbl): Likewise.
17636 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17637 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17638 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17639 Add more NaN tests.
17642 * math/w_atan2.c: Include <errno.h>.
17643 (__atan2): Set errno for result underflowing to zero.
17644 * math/w_atan2f.c: Include <errno.h>.
17645 (__atan2f): Set errno for result underflowing to zero.
17646 * math/w_atan2l.c: Include <errno.h>.
17647 (__atan2l): Set errno for result underflowing to zero.
17648 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17650 * math/auto-libm-test-out: Regenerated.
17652 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17654 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17655 Encode instruction correctly in little endian.
17656 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17658 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17660 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17662 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17665 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17668 * sysdeps/unix/sysv/linux/kernel-features.h
17669 [__sparc__ && !__arch64__ && !__sparc_v9__]
17670 (__ASSUME_SET_ROBUST_LIST): Do not define.
17671 [__sparc__ && !__arch64__ && !__sparc_v9__]
17672 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17673 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17675 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17676 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17677 (__ASSUME_REQUEUE_PI): Likewise.
17678 (__ASSUME_SET_ROBUST_LIST): Likewise.
17679 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17680 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17682 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17683 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17685 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17687 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17689 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17690 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17692 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17693 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17697 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17698 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17699 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17701 2014-03-31 Will Newton <will.newton@linaro.org>
17703 * benchtests/Makefile (bench): Add ffs and ffsll to list
17705 * benchtests/ffs-inputs: New file.
17706 * benchtests/ffsll-inputs: Likewise.
17708 2014-03-29 Joseph Myers <joseph@codesourcery.com>
17711 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17712 too large before casting to int.
17713 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17714 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17715 * math/libm-test.inc (scalb_test_data): Add more tests.
17717 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17719 * benchtests/Makefile (DETAILED_OPT): New make option.
17720 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17722 * benchtests/bench-skeleton.c: Include stdbool.h.
17723 (main): Store and print timings per input.
17724 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17725 member to each argument value.
17726 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17727 (_print_arg_data): Initialize per-input timing to 0.
17729 * benchtests/Makefile (timing-type): New binary.
17730 (bench-clean): Also remove bench-timing-type.
17731 (bench): New target for timing-type.
17732 (bench-func): Print output in JSON format.
17733 * benchtests/bench-skeleton.c (main): Print output in JSON
17735 * benchtests/bench-timing-type.c: New file.
17736 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17737 (TIMING_PRINT_STATS): Remove.
17738 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17741 * benchtests/bench-modf.c: Remove.
17742 * benchtests/modf-inputs: New inputs file.
17744 2014-03-28 Joseph Myers <joseph@codesourcery.com>
17747 * math/s_clog10.c (M_PI_LOG10E): New macro.
17748 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17749 imaginary parts are 0.
17750 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17751 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17752 imaginary parts are 0.
17753 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17754 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17755 imaginary parts are 0.
17756 * math/libm-test.inc (clog10_test_data): Update expected results
17757 for when real and imaginary parts are 0.
17759 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17761 * elf/dl-load.c: Finish conversion of __builtin_expect into
17762 __glibc_{un}likely.
17764 2014-03-27 Joseph Myers <joseph@codesourcery.com>
17767 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17768 1+x for argument with exponent below -67.
17769 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17771 * math/auto-libm-test-in: Add more tests of exp.
17772 * math/auto-libm-test-out: Regenerated.
17774 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17777 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17778 (nscd_getnetgrent): Use it.
17781 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17784 2014-03-27 Andi Kleen <ak@linux.intel.com>
17786 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17787 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17788 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17789 (lll_robust_unlock): Remove out of line section. Use cfi
17791 (LLL_STUB_UNWIND_INFO*): Remove.
17792 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17793 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17794 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17795 (lll_robust_unlock): Remove out of line section. Use cfi
17797 (LLL_STUB_UNWIND_INFO*): Remove.
17799 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17802 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17805 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17807 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17809 2014-03-26 Joseph Myers <joseph@codesourcery.com>
17812 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17814 * math/test-fenv-preserve.c: New file.
17815 * math/Makefile (tests): Add test-fenv-preserve.
17817 2014-03-26 Will Newton <will.newton@linaro.org>
17819 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17821 2014-03-25 Roland McGrath <roland@hack.frob.com>
17823 * scripts/versionlist.awk: Partition the version sets and emit all
17824 GLIBC_* (sorted) before all others (sorted).
17826 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17828 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17829 GLIBC_2.2.5 version.
17831 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17833 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17836 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17841 2014-03-25 Andreas Schwab <schwab@suse.de>
17843 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17844 label to be used after in6ailist is initialized.
17846 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17848 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17849 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17851 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17855 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17857 (fp_formats): Update initializers.
17858 (init_fp_formats): Initialize new field.
17859 (output_for_one_input_case): Allow underflow for results up to
17861 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17862 * math/auto-libm-test-in: Don't mark some underflows from asin and
17864 * math/auto-libm-test-out: Regenerated.
17865 * sysdeps/i386/fpu/libm-test-ulps: Update.
17866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17868 2014-03-25 Andreas Schwab <schwab@suse.de>
17870 * libio/Makefile (tst-ftell-partial-wide-ENV)
17871 (tst-ftell-active-handler-ENV): Define.
17873 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17875 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17877 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17879 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17881 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17883 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17884 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17885 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17887 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17890 * elf/dl-load.c (open_verify): Add mode parameter.
17891 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17892 (open_path): Change from boolean 'secure' to complete flag 'mode'
17893 (_dl_map_object): Adjust.
17894 * elf/Makefile (tests): Add tst-dlopen-aout.
17895 * elf/tst-dlopen-aout.c: New test.
17897 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17900 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17901 (struct stat): Rename member pad0 to __glibc_reserved0.
17904 * sysdeps/s390/s390-32/bits/wordsize.h
17905 (__WORDSIZE32_SIZE_ULONG): New define.
17906 * sysdeps/s390/s390-64/bits/wordsize.h
17907 (__WORDSIZE32_SIZE_ULONG): Likewise.
17908 * sysdeps/generic/stdint.h (SIZE_MAX):
17909 Define as UL if __WORDSIZE32_SIZE_ULONG.
17912 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17913 (__glibc_reserved0): New variable.
17914 (sa_flags): Change type to int.
17916 * posix/Makefile (before-compile): Use += before-compile instead
17919 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17920 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17922 2014-03-20 Andreas Schwab <schwab@suse.de>
17925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17926 non-matching result from nscd.
17928 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17930 * scripts/bench.py: Moved to ...
17931 * benchtests/scripts/bench.py: ... here.
17932 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17934 2014-03-24 Andreas Schwab <schwab@suse.de>
17937 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17938 alloca_account and account alloca use for struct in6ailist.
17940 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17943 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17944 rounding mode to recompute results that overflow to infinity or
17946 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17948 * math/auto-libm-test-out: Regenerated.
17949 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17950 (ccosh_test): Likewise.
17951 (csin_test_data): Use plus_oflow.
17952 (csin_test): Use ALL_RM_TEST.
17953 (csinh_test_data): Use plus_oflow.
17954 (csinh_test): Use ALL_RM_TEST.
17955 * sysdeps/i386/fpu/libm-test-ulps: Update.
17956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17958 2014-03-21 Joseph Myers <joseph@codesourcery.com>
17960 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17961 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17962 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17965 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17966 when x - 1 is zero.
17967 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17968 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17969 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17970 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17972 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17973 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17975 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17976 * sysdeps/i386/fpu/libm-test-ulps: Update.
17977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17979 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17981 * scripts/bench.pl: Remove file.
17982 * scripts/bench.py: New benchmark script.
17983 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17984 * benchtests/README: Mention python dependency.
17985 * scripts/pylintrc: New file.
17986 * scripts/pylint: New file.
17988 * bits/mathdef.h: Use #ifdef instead of #if.
17989 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17990 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17991 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17992 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17993 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17994 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17996 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17997 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17999 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18001 and strpbrk-ppc64 objects.
18002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18003 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18004 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18005 multiarch strpbrk for POWER7.
18006 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18007 multiarch strpbrk for PPC64.
18008 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18010 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18011 strpbrk for POWER7.
18013 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18015 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18016 (atan_test): Likewise.
18017 (atanh_test_data): Use NO_TEST_INLINE for two tests.
18018 (atanh_test): Use ALL_RM_TEST.
18019 (atan2_test_data): Likewise.
18020 (cabs_test): Likewise.
18021 (cacosh_test): Likewise.
18022 (carg_test): Likewise.
18023 (casin_test): Likewise.
18024 (casinh_test): Likewise.
18025 (cbrt_test): Likewise.
18026 (csqrt_test): Likewise.
18027 (erf_test): Likewise.
18028 (erfc_test): Likewise.
18029 (pow10_test): Likewise.
18030 (exp2_test): Likewise.
18031 (hypot_test): Likewise.
18032 (j0_test): Likewise.
18033 (j1_test): Likewise.
18034 (lgamma_test): Likewise.
18035 (gamma_test): Likewise.
18036 (sincos_test): Likewise.
18037 (tanh_test): Likewise.
18038 (y0_test): Likewise.
18039 (y1_test): Likewise.
18040 * sysdeps/i386/fpu/libm-test-ulps: Update.
18041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18043 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18045 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18047 and strcspn-ppc64 objects.
18048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18049 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18050 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18051 multiarch strcspn for POWER7.
18052 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18053 multiarch strcspn for PPC64.
18054 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18056 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18057 strcspn for POWER7.
18059 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18061 * math/gen-libm-test.pl (generate_testfile): Expect only function
18062 name as argument to AUTO_TESTS_* and pass results for all rounding
18063 modes to parse_args.
18064 (parse_auto_input): Separate inputs of automatic tests from
18065 outputs before storing in %auto_tests.
18066 * math/libm-test.inc (acos_test_data): Update call to
18068 (acos_test): Use ALL_RM_TEST.
18069 (acos_tonearest_test_data): Remove.
18070 (acos_test_tonearest): Likewise.
18071 (acos_towardzero_test_data): Likewise.
18072 (acos_test_towardzero): Likewise.
18073 (acos_downward_test_data): Likewise.
18074 (acos_test_downward): Likewise.
18075 (acos_upward_test_data): Likewise.
18076 (acos_test_upward): Likewise.
18077 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18078 (asin_test_data): Likewise.
18079 (asin_test): Use ALL_RM_TEST.
18080 (asin_tonearest_test_data): Remove.
18081 (asin_test_tonearest): Likewise.
18082 (asin_towardzero_test_data): Likewise.
18083 (asin_test_towardzero): Likewise.
18084 (asin_downward_test_data): Likewise.
18085 (asin_test_downward): Likewise.
18086 (asin_upward_test_data): Likewise.
18087 (asin_test_upward): Likewise.
18088 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18089 (atan_test_data): Likewise.
18090 (atanh_test_data): Likewise.
18091 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18092 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18093 (carg_test_data): Likewise.
18094 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18095 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18096 (ccosh_test_data): Likewise.
18097 (cexp_test_data): Likewise.
18098 (clog_test_data): Likewise.
18099 (clog10_test_data): Likewise.
18100 (cos_test_data): Update call to AUTO_TESTS_f_f.
18101 (cos_test): Use ALL_RM_TEST.
18102 (cos_tonearest_test_data): Remove.
18103 (cos_test_tonearest): Likewise.
18104 (cos_towardzero_test_data): Likewise.
18105 (cos_test_towardzero): Likewise.
18106 (cos_downward_test_data): Likewise.
18107 (cos_test_downward): Likewise.
18108 (cos_upward_test_data): Likewise.
18109 (cos_test_upward): Likewise.
18110 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18111 (cosh_test): Use ALL_RM_TEST.
18112 (cosh_tonearest_test_data): Remove.
18113 (cosh_test_tonearest): Likewise.
18114 (cosh_towardzero_test_data): Likewise.
18115 (cosh_test_towardzero): Likewise.
18116 (cosh_downward_test_data): Likewise.
18117 (cosh_test_downward): Likewise.
18118 (cosh_upward_test_data): Likewise.
18119 (cosh_test_upward): Likewise.
18120 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18121 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18122 (ctan_test_data): Likewise.
18123 (ctan_test): Use ALL_RM_TEST.
18124 (ctan_tonearest_test_data): Remove.
18125 (ctan_test_tonearest): Likewise.
18126 (ctan_towardzero_test_data): Likewise.
18127 (ctan_test_towardzero): Likewise.
18128 (ctan_downward_test_data): Likewise.
18129 (ctan_test_downward): Likewise.
18130 (ctan_upward_test_data): Likewise.
18131 (ctan_test_upward): Likewise.
18132 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18133 (ctanh_test): Use ALL_RM_TEST.
18134 (ctanh_tonearest_test_data): Remove.
18135 (ctanh_test_tonearest): Likewise.
18136 (ctanh_towardzero_test_data): Likewise.
18137 (ctanh_test_towardzero): Likewise.
18138 (ctanh_downward_test_data): Likewise.
18139 (ctanh_test_downward): Likewise.
18140 (ctanh_upward_test_data): Likewise.
18141 (ctanh_test_upward): Likewise.
18142 (erf_test_data): Update call to AUTO_TESTS_f_f.
18143 (erfc_test_data): Likewise.
18144 (exp_test_data): Likewise.
18145 (exp_test): Use ALL_RM_TEST.
18146 (exp_tonearest_test_data): Remove.
18147 (exp_test_tonearest): Likewise.
18148 (exp_towardzero_test_data): Likewise.
18149 (exp_test_towardzero): Likewise.
18150 (exp_downward_test_data): Likewise.
18151 (exp_test_downward): Likewise.
18152 (exp_upward_test_data): Likewise.
18153 (exp_test_upward): Likewise.
18154 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18155 (exp10_test): Use ALL_RM_TEST.
18156 (exp10_tonearest_test_data): Remove.
18157 (exp10_test_tonearest): Likewise.
18158 (exp10_towardzero_test_data): Likewise.
18159 (exp10_test_towardzero): Likewise.
18160 (exp10_downward_test_data): Likewise.
18161 (exp10_test_downward): Likewise.
18162 (exp10_upward_test_data): Likewise.
18163 (exp10_test_upward): Likewise.
18164 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18165 (expm1_test_data): Likewise.
18166 (expm1_test): Use ALL_RM_TEST.
18167 (expm1_tonearest_test_data): Remove.
18168 (expm1_test_tonearest): Likewise.
18169 (expm1_towardzero_test_data): Likewise.
18170 (expm1_test_towardzero): Likewise.
18171 (expm1_downward_test_data): Likewise.
18172 (expm1_test_downward): Likewise.
18173 (expm1_upward_test_data): Likewise.
18174 (expm1_test_upward): Likewise.
18175 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18176 (fma_test): Use ALL_RM_TEST.
18177 (fma_towardzero_test_data): Remove.
18178 (fma_test_towardzero): Likewise.
18179 (fma_downward_test_data): Likewise.
18180 (fma_test_downward): Likewise.
18181 (fma_upward_test_data): Likewise.
18182 (fma_test_upward): Likewise.
18183 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18184 (j0_test_data): Update call to AUTO_TESTS_f_f.
18185 (j1_test_data): Likewise.
18186 (jn_test_data): Update call to AUTO_TESTS_if_f.
18187 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18188 (log_test_data): Update call to AUTO_TESTS_f_f.
18189 (log10_test_data): Likewise.
18190 (log1p_test_data): Likewise.
18191 (log2_test_data): Likewise.
18192 (pow_test_data): Update call to AUTO_TESTS_ff_f.
18193 (pow_tonearest_test_data): Likewise.
18194 (sin_test_data): Update call to AUTO_TESTS_f_f.
18195 (sin_test): Use ALL_RM_TEST.
18196 (sin_tonearest_test_data): Remove.
18197 (sin_test_tonearest): Likewise.
18198 (sin_towardzero_test_data): Likewise.
18199 (sin_test_towardzero): Likewise.
18200 (sin_downward_test_data): Likewise.
18201 (sin_test_downward): Likewise.
18202 (sin_upward_test_data): Likewise.
18203 (sin_test_upward): Likewise.
18204 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18205 (sinh_test_data): Update call to AUTO_TESTS_f_f.
18206 (sinh_test): Use ALL_RM_TEST.
18207 (sinh_tonearest_test_data): Remove.
18208 (sinh_test_tonearest): Likewise.
18209 (sinh_towardzero_test_data): Likewise.
18210 (sinh_test_towardzero): Likewise.
18211 (sinh_downward_test_data): Likewise.
18212 (sinh_test_downward): Likewise.
18213 (sinh_upward_test_data): Likewise.
18214 (sinh_test_upward): Likewise.
18215 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18216 (sqrt_test): Use ALL_RM_TEST.
18217 (sqrt_tonearest_test_data): Remove.
18218 (sqrt_test_tonearest): Likewise.
18219 (sqrt_towardzero_test_data): Likewise.
18220 (sqrt_test_towardzero): Likewise.
18221 (sqrt_downward_test_data): Likewise.
18222 (sqrt_test_downward): Likewise.
18223 (sqrt_upward_test_data): Likewise.
18224 (sqrt_test_upward): Likewise.
18225 (tan_test_data): Update call to AUTO_TESTS_f_f.
18226 (tan_test): Use ALL_RM_TEST.
18227 (tan_tonearest_test_data): Remove.
18228 (tan_test_tonearest): Likewise.
18229 (tan_towardzero_test_data): Likewise.
18230 (tan_test_towardzero): Likewise.
18231 (tan_downward_test_data): Likewise.
18232 (tan_test_downward): Likewise.
18233 (tan_upward_test_data): Likewise.
18234 (tan_test_upward): Likewise.
18235 (tanh_test_data): Update call to AUTO_TESTS_f_f.
18236 (tgamma_test_data): Likewise.
18237 (y0_test_data): Likewise.
18238 (y1_test_data): Likewise.
18239 (yn_test_data): Update call to AUTO_TESTS_if_f.
18240 (main): Do not call removed functions.
18242 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18244 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18245 (ldexp_test_data): Remove.
18246 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
18248 (scalb_test): Use ALL_RM_TEST.
18250 2014-03-19 Andreas Schwab <schwab@suse.de>
18252 * nscd/nscd.service: Also invalidate netgroup cache on reload.
18254 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18257 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18258 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18259 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18260 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18261 (__ASSUME_PREADV): Undefine.
18262 (__ASSUME_PWRITEV): Likewise.
18264 2014-03-18 Roland McGrath <roland@hack.frob.com>
18266 * bits/mman-linux.h: Add comment about non-Linux use.
18267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18268 bits/mman-linux.h resting place.
18270 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18271 * bits/mman-linux.h: ... here.
18273 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18275 * conform/conformtest.pl: Add standard definition when calling C
18276 preprocessor on data files.
18277 (checknamespace): Remove unused variable.
18279 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18281 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18282 minus_oflow, plus_uflow and minus_uflow in expected results.
18283 * math/libm-test.inc (scalbn_test_data): Add more tests of
18284 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18286 (scalbn_test): Use ALL_RM_TEST.
18287 (scalbln_test_data): Add more tests of negative arguments. Use
18288 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18289 (scalbln_test): Use ALL_RM_TEST.
18291 2014-03-18 Roland McGrath <roland@hack.frob.com>
18293 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18295 2014-03-18 Will Newton <will.newton@linaro.org>
18297 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18298 inaccurate comment.
18300 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18302 * Makerules [!subdir] (check-abi): Exit with error status if a
18305 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18307 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18308 for rint. Include results for all rounding modes.
18309 (nearbyint_test): Use ALL_RM_TEST.
18310 (rint_test_data): Include all tests used for nearbyint.
18312 2014-03-17 Will Newton <will.newton@linaro.org>
18314 * nptl/sysdeps/pthread/pthread.h: Revert previous
18317 * sysdeps/generic/ldsodefs.h: Revert previous
18320 * libio/genops.c: Revert previous change.
18321 * libio/libioP.h: Likewise.
18322 * stdio-common/vfprintf.c: Likewise.
18324 * sysdeps/generic/math_private.h: Revert previous
18327 * sysdeps/generic/math_private.h: Check whether
18328 HAVE_RM_CTX is defined with #ifdef rather
18331 * argp/argp-fmtstream.h: Check whether
18332 __STRICT_ANSI__ is defined with #ifdef rather
18334 * argp/argp.h: Likewise.
18336 * libio/genops.c: Check whether
18337 _IO_JUMPS_OFFSET is defined with #ifdef rather
18339 * libio/libioP.h: Likewise.
18340 * stdio-common/vfprintf.c: Likewise.
18342 * sysdeps/generic/ldsodefs.h: Check whether
18343 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18346 * nptl/sysdeps/pthread/pthread.h: Check
18347 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18350 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18352 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18354 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18358 * libio/fileops.c (_IO_file_open): Seek to end of file but
18359 don't cache the offset.
18360 (get_file_offset): Remove function.
18361 (do_ftell): Use cached offset when available.
18362 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18363 don't cache the offset.
18364 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18366 (do_one_test): Call it.
18367 (do_ftell_test): Fix up expected old offset for a+ mode.
18368 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18371 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18372 up test status with function return status.
18373 (do_write_test): Likewise.
18374 (do_append_test): Likewise.
18376 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18377 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18380 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18382 * math/gen-libm-test.pl (parse_args): Handle results specified for
18383 each rounding mode separately.
18384 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18385 tests and results from lrint_tonearest_test_data,
18386 lrint_towardzero_test_data, lrint_downward_test_data and
18387 lrint_upward_test_data.
18388 (lrint_test): Use ALL_RM_TEST.
18389 (lrint_tonearest_test_data): Remove.
18390 (lrint_test_tonearest): Likewise.
18391 (lrint_towardzero_test_data): Likewise.
18392 (lrint_test_towardzero): Likewise.
18393 (lrint_downward_test_data): Likewise.
18394 (lrint_test_downward): Likewise.
18395 (lrint_upward_test_data): Likewise.
18396 (lrint_test_upward): Likewise.
18397 (llrint_test_data): Merge in per-rounding-mode tests and results
18398 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18399 llrint_downward_test_data and llrint_upward_test_data.
18400 (llrint_test): Use ALL_RM_TEST.
18401 (llrint_tonearest_test_data): Remove.
18402 (llrint_test_tonearest): Likewise.
18403 (llrint_towardzero_test_data): Likewise.
18404 (llrint_test_towardzero): Likewise.
18405 (llrint_downward_test_data): Likewise.
18406 (llrint_test_downward): Likewise.
18407 (llrint_upward_test_data): Likewise.
18408 (llrint_test_upward): Likewise.
18409 (rint_test_data): Merge in per-rounding-mode tests and results
18410 from rint_tonearest_test_data, rint_towardzero_test_data,
18411 rint_downward_test_data and rint_upward_test_data. Add
18412 per-rounding-mode results for tests not in those arrays.
18413 (rint_test): Use ALL_RM_TEST.
18414 (rint_tonearest_test_data): Remove.
18415 (rint_test_tonearest): Likewise.
18416 (rint_towardzero_test_data): Likewise.
18417 (rint_test_towardzero): Likewise.
18418 (rint_downward_test_data): Likewise.
18419 (rint_test_downward): Likewise.
18420 (rint_upward_test_data): Likewise.
18421 (rint_test_upward): Likewise.
18422 (main): Don't call removed functions.
18424 2014-03-14 Roland McGrath <roland@hack.frob.com>
18426 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18427 "Compiled on ..." crapola. It is anti-useful.
18429 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18431 * scripts/evaluate-test.sh: Handle fourth argument to determine
18432 whether test run should stop on failure.
18433 * Makeconfig (stop-on-test-failure): New variable.
18434 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18435 $(stop-on-test-failure).
18436 * Makefile (tests): Give a summary of results from testing and
18437 exit with failure status if they include an ERROR or FAIL.
18438 (xtests): Likewise.
18439 * manual/install.texi (Configuring and compiling): Mention
18440 stop-on-test-failure=y.
18441 * INSTALL: Regenerated.
18443 2014-03-14 Roland McGrath <roland@hack.frob.com>
18445 * scripts/versionlist.awk: New file.
18446 * Makerules [$(build-shared) = yes]
18447 (postclean-generated): Add Versions.def, not Versions.def.v and
18449 ($(common-objpfx)Versions.def.v.i): Target removed.
18450 ($(common-objpfx)Versions.def): New target.
18451 ($(common-objpfx)Versions.all): Depend on that rather that
18452 $(common-objpfx)Versions.def.v.
18453 * Versions.def: File removed.
18455 * Makeconfig (+gccwarn): Add -Wundef.
18456 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18457 a dl-sysdep.h breaking its contract.
18458 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18459 * include/stackinfo.h: New file.
18460 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18461 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18462 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18463 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18464 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18465 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18466 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18467 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18468 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18469 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18470 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18471 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18472 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18473 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18474 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18476 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18479 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18481 * math/libm-test.inc (round_test_data): Add more tests.
18484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18486 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18489 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18491 * math/libm-test.inc (ceil_test_data): Add more tests.
18493 * math/libm-test.inc (trunc_test_data): Add more tests related to
18496 2014-03-14 Roland McGrath <roland@hack.frob.com>
18498 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18499 with #if rather than #ifdef.
18500 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18502 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18504 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18505 first. Disable AVX-512 GCC support if assembler doesn't support
18507 * sysdeps/x86_64/configure: Regenerated.
18509 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18511 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18512 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18513 (__old_pthread_attr_setstack): Likewise.
18514 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18515 [!_STACK_GROWS_DOWN]: Likewise.
18517 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18519 * config.make.in (have-bash2): Delete.
18520 * configure.ac (libc_cv_have_bash2): Delete.
18521 * configure: Regenerate.
18522 * elf/Makefile (common-ldd-rewrite): Rename to ...
18523 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18524 (sh-ldd-rewrite): Delete.
18525 (bash-ldd-rewrite): Delete.
18526 (have-bash2): Delete checks.
18527 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18530 * config.make.in (have-ksh): Delete.
18532 * configure.ac (libc_cv_have_ksh): Delete.
18533 * configure: Regenerate.
18535 * elf/Makefile: Delete $(have-ksh) check.
18536 ($(objpfx)sotruss): Change KSH to BASH.
18537 * elf/sotruss.ksh: Rename to ...
18538 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18539 function style to match POSIX. Drop ksh vim mode setting.
18541 * manual/time.texi (Specifying the Time Zone with TZ): Change
18542 Tuesday to Thursday.
18544 * debug/tst-longjmp_chk2.c: Update header comment.
18545 (stackoverflow_handler): Add comment. Call assert on pass value.
18547 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18550 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18551 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18552 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18553 (La_x86_64_vector): Add zmm.
18554 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18555 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18556 ($(objpfx)tst-audit10): New target.
18557 ($(objpfx)tst-audit10.out): Likewise.
18558 (tst-audit10-ENV): New.
18559 (AVX512-CFLAGS): Likewise.
18560 (CFLAGS-tst-audit10.c): Likewise.
18561 (CFLAGS-tst-auditmod10a.c): Likewise.
18562 (CFLAGS-tst-auditmod10b.c): Likewise.
18563 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18564 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18565 * sysdeps/x86_64/configure: Regenerated.
18566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18567 AVX-512 zmm register support.
18568 (_dl_x86_64_save_sse): Likewise.
18569 (_dl_x86_64_restore_sse): Likewise.
18570 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18571 size vector registers.
18572 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18573 (ZMM_SIZE): Likewise.
18574 * sysdeps/x86_64/tst-audit10.c: New file.
18575 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18576 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18578 2014-03-13 Roland McGrath <roland@hack.frob.com>
18580 * configure.ac (HAVE_EHDR_START): New check.
18581 * configure: Regenerated.
18582 * config.h.in (HAVE_EHDR_START): New #undef.
18583 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18584 assuming the lowest-addressed segment maps the start of the file.
18586 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18588 * INSTALL: Regenerated.
18590 2014-03-13 Will Newton <will.newton@linaro.org>
18592 * manual/setjmp.texi (System V contexts): Improve
18593 clarity and grammar of documentation.
18595 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18598 * elf/Makefile (tests): Add tst-pie2.
18599 (tests-pie): Add tst-pie2.
18600 * elf/tst-pie2.c: New file.
18601 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18603 * elf/rtld.c (map_doit): Load executable as lt_executable.
18604 (dl_main): Likewise.
18606 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18609 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18610 (__ASSUME_PSELECT): Undefine.
18612 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18615 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18616 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18618 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18619 selector for static builds.
18621 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18624 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18627 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18629 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18630 IFUNC selector for static builds.
18632 2014-03-11 Joseph Myers <joseph@codesourcery.com>
18634 * sysdeps/mips/math_private.h [__mips_hard_float]
18635 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18636 libc_feresetround_mips_ctx.
18637 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18638 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18639 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18642 * math/s_nextafter.c (__nextafter): Do not return value from
18643 overflowing computation.
18644 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18645 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18646 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18648 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18650 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18651 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18653 2014-03-11 Roland McGrath <roland@hack.frob.com>
18655 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18656 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18657 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18658 the new mov targetting sp.
18660 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18663 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18664 Define it for static builds as well.
18665 (NO_BZERO_IMPL): Likewise.
18667 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18669 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18670 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18671 multiarch strspn for PPC64.
18672 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18673 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18675 (__libc_ifunc_impl_list): Likewise.
18676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18677 multiarch optimizations
18678 * string/strspn.c (strspn): Using macro to redefine symbol name.
18680 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18681 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18683 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18684 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18685 multiarch strncat for PPC64.
18686 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18687 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18689 (__libc_ifunc_impl_list): Likewise.
18690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18691 multiarch optimizations
18693 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18696 * nscd/nscd.service: Make service type forking.
18698 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18700 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18701 sign in non default rounding modes.
18702 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18704 2014-03-08 Joseph Myers <joseph@codesourcery.com>
18706 * math/libm-test.inc (ALL_RM_TEST): New macro.
18707 (ceil_test): Use ALL_RM_TEST.
18708 (cimag_test): Likewise.
18709 (conj_test): Likewise.
18710 (copysign_test): Likewise.
18711 (cproj_test): Likewise.
18712 (creal_test): Likewise.
18713 (fabs_test): Likewise.
18714 (floor_test): Likewise.
18715 (fmax_test): Likewise.
18716 (fmin_test): Likewise.
18717 (fmod_test): Likewise.
18718 (fpclassify_test): Likewise.
18719 (frexp_test): Likewise.
18720 (ilogb_test): Likewise.
18721 (isfinite_test): Likewise.
18722 (finite_test): Likewise.
18723 (isgreater_test): Likewise.
18724 (isgreaterequal_test): Likewise.
18725 (isinf_test): Likewise.
18726 (isless_test): Likewise.
18727 (islessequal_test): Likewise.
18728 (islessgreater_test): Likewise.
18729 (isnan_test): Likewise.
18730 (isnormal_test): Likewise.
18731 (issignaling_test): Likewise.
18732 (isunordered_test): Likewise.
18733 (logb_test): Likewise.
18734 (logb_downward_test_data): Remove.
18735 (logb_test_downward): Likewise.
18736 (lround_test): Use ALL_RM_TEST.
18737 (llround_test): Likewise.
18738 (modf_test): Likewise.
18739 (nexttoward_test): Likewise.
18740 (remainder_test): Likewise.
18741 (drem_test): Likewise.
18742 (remainder_tonearest_test_data): Likewise.
18743 (remainder_test_tonearest): Likewise.
18744 (drem_test_tonearest): Likewise.
18745 (remainder_towardzero_test_data): Likewise.
18746 (remainder_test_towardzero): Likewise.
18747 (drem_test_towardzero): Likewise.
18748 (remainder_downward_test_data): Likewise.
18749 (remainder_test_downward): Likewise.
18750 (drem_test_downward): Likewise.
18751 (remainder_upward_test_data): Likewise.
18752 (remainder_test_upward): Likewise.
18753 (drem_test_upward): Likewise.
18754 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18755 (round_test): Use ALL_RM_TEST.
18756 (signbit_test): Likewise.
18757 (trunc_test): Likewise.
18758 (significand_test): Likewise.
18759 (main): Don't call removed functions.
18761 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18764 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18765 || __USE_XOPEN2K8].
18766 (ILL_ILLOPN): Likewise.
18767 (ILL_ILLADR): Likewise.
18768 (ILL_ILLTRP): Likewise.
18769 (ILL_PRVOPC): Likewise.
18770 (ILL_PRVREG): Likewise.
18771 (ILL_COPROC): Likewise.
18772 (ILL_BADSTK): Likewise.
18773 (FPE_INTDIV): Likewise.
18774 (FPE_INTOVF): Likewise.
18775 (FPE_FLTDIV): Likewise.
18776 (FPE_FLTOVF): Likewise.
18777 (FPE_FLTUND): Likewise.
18778 (FPE_FLTRES): Likewise.
18779 (FPE_FLTINV): Likewise.
18780 (FPE_FLTSUB): Likewise.
18781 (SEGV_MAPERR): Likewise.
18782 (SEGV_ACCERR): Likewise.
18783 (BUS_ADRALN): Likewise.
18784 (BUS_ADRERR): Likewise.
18785 (BUS_OBJERR): Likewise.
18786 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18787 (TRAP_TRACE): Likewise.
18788 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18790 (CLD_KILLED): Likewise.
18791 (CLD_DUMPED): Likewise.
18792 (CLD_TRAPPED): Likewise.
18793 (CLD_STOPPED): Likewise.
18794 (CLD_CONTINUED): Likewise.
18795 (POLL_IN): Likewise.
18796 (POLL_OUT): Likewise.
18797 (POLL_MSG): Likewise.
18798 (POLL_ERR): Likewise.
18799 (POLL_PRI): Likewise.
18800 (POLL_HUP): Likewise.
18801 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18803 (ILL_ILLOPN): Likewise.
18804 (ILL_ILLADR): Likewise.
18805 (ILL_ILLTRP): Likewise.
18806 (ILL_PRVOPC): Likewise.
18807 (ILL_PRVREG): Likewise.
18808 (ILL_COPROC): Likewise.
18809 (ILL_BADSTK): Likewise.
18810 (FPE_INTDIV): Likewise.
18811 (FPE_INTOVF): Likewise.
18812 (FPE_FLTDIV): Likewise.
18813 (FPE_FLTOVF): Likewise.
18814 (FPE_FLTUND): Likewise.
18815 (FPE_FLTRES): Likewise.
18816 (FPE_FLTINV): Likewise.
18817 (FPE_FLTSUB): Likewise.
18818 (SEGV_MAPERR): Likewise.
18819 (SEGV_ACCERR): Likewise.
18820 (BUS_ADRALN): Likewise.
18821 (BUS_ADRERR): Likewise.
18822 (BUS_OBJERR): Likewise.
18823 (BUS_MCEERR_AR): Likewise.
18824 (BUS_MCEERR_AO): Likewise.
18825 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18826 (TRAP_TRACE): Likewise.
18827 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18829 (CLD_KILLED): Likewise.
18830 (CLD_DUMPED): Likewise.
18831 (CLD_TRAPPED): Likewise.
18832 (CLD_STOPPED): Likewise.
18833 (CLD_CONTINUED): Likewise.
18834 (POLL_IN): Likewise.
18835 (POLL_OUT): Likewise.
18836 (POLL_MSG): Likewise.
18837 (POLL_ERR): Likewise.
18838 (POLL_PRI): Likewise.
18839 (POLL_HUP): Likewise.
18840 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18841 (ILL_ILLOPN): Likewise.
18842 (ILL_ILLADR): Likewise.
18843 (ILL_ILLTRP): Likewise.
18844 (ILL_PRVOPC): Likewise.
18845 (ILL_PRVREG): Likewise.
18846 (ILL_COPROC): Likewise.
18847 (ILL_BADSTK): Likewise.
18848 (FPE_INTDIV): Likewise.
18849 (FPE_INTOVF): Likewise.
18850 (FPE_FLTDIV): Likewise.
18851 (FPE_FLTOVF): Likewise.
18852 (FPE_FLTUND): Likewise.
18853 (FPE_FLTRES): Likewise.
18854 (FPE_FLTINV): Likewise.
18855 (FPE_FLTSUB): Likewise.
18856 (SEGV_MAPERR): Likewise.
18857 (SEGV_ACCERR): Likewise.
18858 (BUS_ADRALN): Likewise.
18859 (BUS_ADRERR): Likewise.
18860 (BUS_OBJERR): Likewise.
18861 (BUS_MCEERR_AR): Likewise.
18862 (BUS_MCEERR_AO): Likewise.
18863 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18864 (TRAP_TRACE): Likewise.
18865 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18867 (CLD_KILLED): Likewise.
18868 (CLD_DUMPED): Likewise.
18869 (CLD_TRAPPED): Likewise.
18870 (CLD_STOPPED): Likewise.
18871 (CLD_CONTINUED): Likewise.
18872 (POLL_IN): Likewise.
18873 (POLL_OUT): Likewise.
18874 (POLL_MSG): Likewise.
18875 (POLL_ERR): Likewise.
18876 (POLL_PRI): Likewise.
18877 (POLL_HUP): Likewise.
18878 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18880 (ILL_ILLOPN): Likewise.
18881 (ILL_ILLADR): Likewise.
18882 (ILL_ILLTRP): Likewise.
18883 (ILL_PRVOPC): Likewise.
18884 (ILL_PRVREG): Likewise.
18885 (ILL_COPROC): Likewise.
18886 (ILL_BADSTK): Likewise.
18887 (ILL_BADIADDR): Likewise.
18888 (ILL_BREAK): Likewise.
18889 (FPE_INTDIV): Likewise.
18890 (FPE_INTOVF): Likewise.
18891 (FPE_FLTDIV): Likewise.
18892 (FPE_FLTOVF): Likewise.
18893 (FPE_FLTUND): Likewise.
18894 (FPE_FLTRES): Likewise.
18895 (FPE_FLTINV): Likewise.
18896 (FPE_FLTSUB): Likewise.
18897 (FPE_DECOVF): Likewise.
18898 (FPE_DECDIV): Likewise.
18899 (FPE_DECERR): Likewise.
18900 (FPE_INVASC): Likewise.
18901 (FPE_INVDEC): Likewise.
18902 (SEGV_MAPERR): Likewise.
18903 (SEGV_ACCERR): Likewise.
18904 (SEGV_PSTKOVF): Likewise.
18905 (BUS_ADRALN): Likewise.
18906 (BUS_ADRERR): Likewise.
18907 (BUS_OBJERR): Likewise.
18908 (BUS_MCEERR_AR): Likewise.
18909 (BUS_MCEERR_AO): Likewise.
18910 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18911 (TRAP_TRACE): Likewise.
18912 (TRAP_BRANCH): Likewise.
18913 (TRAP_HWBKPT): Likewise.
18914 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18916 (CLD_KILLED): Likewise.
18917 (CLD_DUMPED): Likewise.
18918 (CLD_TRAPPED): Likewise.
18919 (CLD_STOPPED): Likewise.
18920 (CLD_CONTINUED): Likewise.
18921 (POLL_IN): Likewise.
18922 (POLL_OUT): Likewise.
18923 (POLL_MSG): Likewise.
18924 (POLL_ERR): Likewise.
18925 (POLL_PRI): Likewise.
18926 (POLL_HUP): Likewise.
18927 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18928 (ILL_ILLOPN): Likewise.
18929 (ILL_ILLADR): Likewise.
18930 (ILL_ILLTRP): Likewise.
18931 (ILL_PRVOPC): Likewise.
18932 (ILL_PRVREG): Likewise.
18933 (ILL_COPROC): Likewise.
18934 (ILL_BADSTK): Likewise.
18935 (FPE_INTDIV): Likewise.
18936 (FPE_INTOVF): Likewise.
18937 (FPE_FLTDIV): Likewise.
18938 (FPE_FLTOVF): Likewise.
18939 (FPE_FLTUND): Likewise.
18940 (FPE_FLTRES): Likewise.
18941 (FPE_FLTINV): Likewise.
18942 (FPE_FLTSUB): Likewise.
18943 (SEGV_MAPERR): Likewise.
18944 (SEGV_ACCERR): Likewise.
18945 (BUS_ADRALN): Likewise.
18946 (BUS_ADRERR): Likewise.
18947 (BUS_OBJERR): Likewise.
18948 (BUS_MCEERR_AR): Likewise.
18949 (BUS_MCEERR_AO): Likewise.
18950 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18951 (TRAP_TRACE): Likewise.
18952 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18954 (CLD_KILLED): Likewise.
18955 (CLD_DUMPED): Likewise.
18956 (CLD_TRAPPED): Likewise.
18957 (CLD_STOPPED): Likewise.
18958 (CLD_CONTINUED): Likewise.
18959 (POLL_IN): Likewise.
18960 (POLL_OUT): Likewise.
18961 (POLL_MSG): Likewise.
18962 (POLL_ERR): Likewise.
18963 (POLL_PRI): Likewise.
18964 (POLL_HUP): Likewise.
18965 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18966 (ILL_ILLOPN): Likewise.
18967 (ILL_ILLADR): Likewise.
18968 (ILL_ILLTRP): Likewise.
18969 (ILL_PRVOPC): Likewise.
18970 (ILL_PRVREG): Likewise.
18971 (ILL_COPROC): Likewise.
18972 (ILL_BADSTK): Likewise.
18973 (FPE_INTDIV): Likewise.
18974 (FPE_INTOVF): Likewise.
18975 (FPE_FLTDIV): Likewise.
18976 (FPE_FLTOVF): Likewise.
18977 (FPE_FLTUND): Likewise.
18978 (FPE_FLTRES): Likewise.
18979 (FPE_FLTINV): Likewise.
18980 (FPE_FLTSUB): Likewise.
18981 (SEGV_MAPERR): Likewise.
18982 (SEGV_ACCERR): Likewise.
18983 (BUS_ADRALN): Likewise.
18984 (BUS_ADRERR): Likewise.
18985 (BUS_OBJERR): Likewise.
18986 (BUS_MCEERR_AR): Likewise.
18987 (BUS_MCEERR_AO): Likewise.
18988 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18989 (TRAP_TRACE): Likewise.
18990 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18992 (CLD_KILLED): Likewise.
18993 (CLD_DUMPED): Likewise.
18994 (CLD_TRAPPED): Likewise.
18995 (CLD_STOPPED): Likewise.
18996 (CLD_CONTINUED): Likewise.
18997 (POLL_IN): Likewise.
18998 (POLL_OUT): Likewise.
18999 (POLL_MSG): Likewise.
19000 (POLL_ERR): Likewise.
19001 (POLL_PRI): Likewise.
19002 (POLL_HUP): Likewise.
19003 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19004 (ILL_ILLOPN): Likewise.
19005 (ILL_ILLADR): Likewise.
19006 (ILL_ILLTRP): Likewise.
19007 (ILL_PRVOPC): Likewise.
19008 (ILL_PRVREG): Likewise.
19009 (ILL_COPROC): Likewise.
19010 (ILL_BADSTK): Likewise.
19011 (FPE_INTDIV): Likewise.
19012 (FPE_INTOVF): Likewise.
19013 (FPE_FLTDIV): Likewise.
19014 (FPE_FLTOVF): Likewise.
19015 (FPE_FLTUND): Likewise.
19016 (FPE_FLTRES): Likewise.
19017 (FPE_FLTINV): Likewise.
19018 (FPE_FLTSUB): Likewise.
19019 (SEGV_MAPERR): Likewise.
19020 (SEGV_ACCERR): Likewise.
19021 (BUS_ADRALN): Likewise.
19022 (BUS_ADRERR): Likewise.
19023 (BUS_OBJERR): Likewise.
19024 (BUS_MCEERR_AR): Likewise.
19025 (BUS_MCEERR_AO): Likewise.
19026 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19027 (TRAP_TRACE): Likewise.
19028 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19030 (CLD_KILLED): Likewise.
19031 (CLD_DUMPED): Likewise.
19032 (CLD_TRAPPED): Likewise.
19033 (CLD_STOPPED): Likewise.
19034 (CLD_CONTINUED): Likewise.
19035 (POLL_IN): Likewise.
19036 (POLL_OUT): Likewise.
19037 (POLL_MSG): Likewise.
19038 (POLL_ERR): Likewise.
19039 (POLL_PRI): Likewise.
19040 (POLL_HUP): Likewise.
19041 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19042 (ILL_ILLOPN): Likewise.
19043 (ILL_ILLADR): Likewise.
19044 (ILL_ILLTRP): Likewise.
19045 (ILL_PRVOPC): Likewise.
19046 (ILL_PRVREG): Likewise.
19047 (ILL_COPROC): Likewise.
19048 (ILL_BADSTK): Likewise.
19049 (ILL_DBLFLT): Likewise.
19050 (ILL_HARDWALL): Likewise.
19051 (FPE_INTDIV): Likewise.
19052 (FPE_INTOVF): Likewise.
19053 (FPE_FLTDIV): Likewise.
19054 (FPE_FLTOVF): Likewise.
19055 (FPE_FLTUND): Likewise.
19056 (FPE_FLTRES): Likewise.
19057 (FPE_FLTINV): Likewise.
19058 (FPE_FLTSUB): Likewise.
19059 (SEGV_MAPERR): Likewise.
19060 (SEGV_ACCERR): Likewise.
19061 (BUS_ADRALN): Likewise.
19062 (BUS_ADRERR): Likewise.
19063 (BUS_OBJERR): Likewise.
19064 (BUS_MCEERR_AR): Likewise.
19065 (BUS_MCEERR_AO): Likewise.
19066 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19067 (TRAP_TRACE): Likewise.
19068 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19070 (CLD_KILLED): Likewise.
19071 (CLD_DUMPED): Likewise.
19072 (CLD_TRAPPED): Likewise.
19073 (CLD_STOPPED): Likewise.
19074 (CLD_CONTINUED): Likewise.
19075 (POLL_IN): Likewise.
19076 (POLL_OUT): Likewise.
19077 (POLL_MSG): Likewise.
19078 (POLL_ERR): Likewise.
19079 (POLL_PRI): Likewise.
19080 (POLL_HUP): Likewise.
19081 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19082 (ILL_ILLOPN): Likewise.
19083 (ILL_ILLADR): Likewise.
19084 (ILL_ILLTRP): Likewise.
19085 (ILL_PRVOPC): Likewise.
19086 (ILL_PRVREG): Likewise.
19087 (ILL_COPROC): Likewise.
19088 (ILL_BADSTK): Likewise.
19089 (FPE_INTDIV): Likewise.
19090 (FPE_INTOVF): Likewise.
19091 (FPE_FLTDIV): Likewise.
19092 (FPE_FLTOVF): Likewise.
19093 (FPE_FLTUND): Likewise.
19094 (FPE_FLTRES): Likewise.
19095 (FPE_FLTINV): Likewise.
19096 (FPE_FLTSUB): Likewise.
19097 (SEGV_MAPERR): Likewise.
19098 (SEGV_ACCERR): Likewise.
19099 (BUS_ADRALN): Likewise.
19100 (BUS_ADRERR): Likewise.
19101 (BUS_OBJERR): Likewise.
19102 (BUS_MCEERR_AR): Likewise.
19103 (BUS_MCEERR_AO): Likewise.
19104 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19105 (TRAP_TRACE): Likewise.
19106 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19108 (CLD_KILLED): Likewise.
19109 (CLD_DUMPED): Likewise.
19110 (CLD_TRAPPED): Likewise.
19111 (CLD_STOPPED): Likewise.
19112 (CLD_CONTINUED): Likewise.
19113 (POLL_IN): Likewise.
19114 (POLL_OUT): Likewise.
19115 (POLL_MSG): Likewise.
19116 (POLL_ERR): Likewise.
19117 (POLL_PRI): Likewise.
19118 (POLL_HUP): Likewise.
19119 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19120 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19123 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19124 before #include of <time.h>.
19125 [!__USE_XOPEN2K] (__need_timespec): Likewise.
19126 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19127 (test-xfail-UNIX98/sched.h/conform): Likewise.
19129 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
19131 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19132 error absence of trapping exception support.
19133 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19135 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19137 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19138 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19139 * timezone/Makefile (testdata): Move definition above include of
19141 (test-zones): New variable.
19142 (tests-special): Add zone files.
19143 (build-testdata): Use $(evaluate-test).
19145 * elf/Makefile (tests-special): Rename tests to end with .out.
19146 ($(objpfx)noload-mem): Likewise.
19147 ($(objpfx)tst-leaks1-mem): Likewise.
19148 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19149 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19150 $(objpfx)test-iconvconfig.out.
19151 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19152 set -e inside subshell and redirect output to file.
19153 * iconvdata/Makefile (generated): Rename tests to end with .out.
19155 (tests-special): Rename tests to end with .out.
19156 ($(objpfx)mtrace-tst-loading): Likewise.
19157 * intl/Makefile (generated): Likewise.
19158 (tests-special): Likewise.
19159 ($(objpfx)mtrace-tst-gettext): Likewise.
19160 * misc/Makefile (generated): Likewise.
19161 (tests-special): Likewise.
19162 ($(objpfx)tst-error1-mem): Likewise.
19163 * nptl/Makefile (tests-special): Likewise.
19164 ($(objpfx)tst-stack3-mem): Likewise.
19165 (generated): Likewise.
19166 * posix/Makefile (generated): Likewise.
19167 (tests-special): Likewise.
19168 (xtests-special): Likewise.
19169 ($(objpfx)tst-fnmatch-mem): Likewise.
19170 ($(objpfx)bug-regex2-mem): Likewise.
19171 ($(objpfx)bug-regex14-mem): Likewise.
19172 ($(objpfx)bug-regex21-mem): Likewise.
19173 ($(objpfx)bug-regex31-mem): Likewise.
19174 ($(objpfx)tst-vfork3-mem): Likewise.
19175 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19176 ($(objpfx)tst-pcre-mem): Likewise.
19177 ($(objpfx)tst-boost-mem): Likewise.
19178 ($(objpfx)bug-ga2-mem): Likewise.
19179 ($(objpfx)bug-glob2-mem): Likewise.
19180 * resolv/Makefile (generate): Likewise.
19181 (tests-special): Likewise.
19182 (xtests-special): Likewise.
19183 (generated): Likewise.
19184 ($(objpfx)mtrace-tst-leaks): Likewise.
19185 ($(objpfx)mtrace-tst-leaks2): Likewise.
19187 * scripts/merge-test-results.sh: New file.
19188 * Makefile (tests-special-notdir): New variable.
19189 (tests): Run merge-test-results.sh.
19190 (xtests): Likewise.
19191 * Rules (tests-special-notdir): New variable.
19192 (xtests-special-notdir): Likewise.
19193 (tests): Run merge-test-results.sh
19194 (xtests): Likewise.
19196 * Makeconfig (test-xfail-name): New variable.
19197 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19198 compute variable name for expected failures.
19199 * conform/Makefile (conformtest-headers-data): New variable.
19200 (conformtest-standards): Likewise.
19201 (conformtest-headers-ISO): Likewise.
19202 (conformtest-headers-ISO99): Likewise.
19203 (conformtest-headers-ISO11): Likewise.
19204 (conformtest-headers-POSIX): Likewise.
19205 (conformtest-headers-XPG3): Likewise.
19206 (conformtest-headers-XPG4): Likewise.
19207 (conformtest-headers-UNIX98): Likewise.
19208 (conformtest-headers-XOPEN2K): Likewise.
19209 (conformtest-headers-POSIX2008): Likewise.
19210 (conformtest-headers-XOPEN2K8): Likewise.
19211 (conformtest-header-list-base): Likewise.
19212 (conformtest-header-list-tests): Likewise.
19213 (conformtest-header-base): Likewise.
19214 (conformtest-header-tests): Likewise.
19215 (tests-special): Add $(conformtest-header-list-tests). If
19216 [$(fast-check) && !$(cross-compiling)], add
19217 $(conformtest-header-tests) instead of
19218 $(objpfx)run-conformtest.out.
19219 (generated): Add $(conformtest-header-list-base). If
19220 [$(fast-check) && !$(cross-compiling)], add
19221 $(conformtest-header-base). Remove previous setting.
19222 ($(conformtest-header-list-tests)): New target.
19223 (test-xfail-run-conformtest): Remove variable.
19224 ($(objpfx)run-conformtest.out): Remove target.
19225 (test-xfail-ISO11/complex.h/conform): New variable.
19226 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19227 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19228 (test-xfail-XPG3/varargs.h/conform): Likewise.
19229 (test-xfail-XPG4/varargs.h/conform): Likewise.
19230 (test-xfail-UNIX98/varargs.h/conform): Likewise.
19231 (test-xfail-XPG4/ndbm.h/conform): Likewise.
19232 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19233 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19234 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19235 (test-xfail-XPG3/fcntl.h/conform): Likewise.
19236 (test-xfail-XPG3/ftw.h/conform): Likewise.
19237 (test-xfail-XPG3/grp.h/conform): Likewise.
19238 (test-xfail-XPG3/langinfo.h/conform): Likewise.
19239 (test-xfail-XPG3/limits.h/conform): Likewise.
19240 (test-xfail-XPG3/pwd.h/conform): Likewise.
19241 (test-xfail-XPG3/search.h/conform): Likewise.
19242 (test-xfail-XPG3/signal.h/conform): Likewise.
19243 (test-xfail-XPG3/stdio.h/conform): Likewise.
19244 (test-xfail-XPG3/stdlib.h/conform): Likewise.
19245 (test-xfail-XPG3/string.h/conform): Likewise.
19246 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19247 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19248 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19249 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19250 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19251 (test-xfail-XPG3/sys/types.h/conform): Likewise.
19252 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19253 (test-xfail-XPG3/termios.h/conform): Likewise.
19254 (test-xfail-XPG3/time.h/conform): Likewise.
19255 (test-xfail-XPG3/unistd.h/conform): Likewise.
19256 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19257 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19258 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19259 (test-xfail-XPG4/netdb.h/conform): Likewise.
19260 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19261 (test-xfail-XPG4/signal.h/conform): Likewise.
19262 (test-xfail-XPG4/stdio.h/conform): Likewise.
19263 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19264 (test-xfail-XPG4/stropts.h/conform): Likewise.
19265 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19266 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19267 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19268 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19269 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19270 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19271 (test-xfail-XPG4/sys/time.h/conform): Likewise.
19272 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19273 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19274 (test-xfail-XPG4/termios.h/conform): Likewise.
19275 (test-xfail-XPG4/ucontext.h/conform): Likewise.
19276 (test-xfail-XPG4/unistd.h/conform): Likewise.
19277 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19278 (test-xfail-POSIX/sched.h/conform): Likewise.
19279 (test-xfail-POSIX/signal.h/conform): Likewise.
19280 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19281 (test-xfail-POSIX/tar.h/conform): Likewise.
19282 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19283 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19284 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19285 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19286 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19287 (test-xfail-UNIX98/sched.h/conform): Likewise.
19288 (test-xfail-UNIX98/signal.h/conform): Likewise.
19289 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19290 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19291 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19292 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19293 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19294 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19295 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19296 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19297 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19298 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19299 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19300 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19301 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19302 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19303 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19304 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19305 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19306 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19307 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19308 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19309 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19310 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19311 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19312 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19313 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19314 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19315 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19316 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19317 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19318 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19319 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19320 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19321 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19322 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19323 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19324 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19325 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19326 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19327 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19328 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19329 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19330 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19331 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19332 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19333 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19334 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19335 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19336 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19337 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19338 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19339 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19340 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19341 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19342 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19343 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19344 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19345 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19346 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19347 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19348 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19349 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19350 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19351 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19352 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19353 (conformtest-cc-flags): Likewise.
19354 ($(conformtest-header-tests): New target.
19355 * conform/check-header-lists.sh: New file.
19356 * conform/run-conformtest.sh: Remove.
19358 * conform/conformtest.pl: Allow ' and \ in values given for
19360 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19362 [POSIX] (sys/types.h): Likewise.
19363 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19365 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19367 * conform/data/signal.h-data (SIGIO): Remove expectation.
19368 [XPG3] (SIGBUS): Do not expect.
19369 [POSIX || XPG3] (SIGPOLL): Likewise.
19370 [POSIX || XPG3] (SIGPROF): Likewise.
19371 [POSIX || XPG3] (SIGSYS): Likewise.
19372 [XPG3] (SIGTRAP): Likewise.
19373 [POSIX || XPG3] (SIGURG): Likewise.
19374 [POSIX || XPG3] (SIGVTALRM): Likewise.
19375 [POSIX || XPG3] (SIGXCPU): Likewise.
19376 [POSIX || XPG3] (SIGXFSZ): Likewise.
19377 [POSIX] (SA_SIGINFO): Expect.
19378 [XPG3] (siginfo_t): Do not expect type or contents.
19379 [POSIX] (si_pid): Do not expect element.
19380 [POSIX] (si_uid): Likewise.
19381 [POSIX] (si_addr): Likewise.
19382 [POSIX] (si_status): Likewise.
19383 [POSIX] (si_band): Likewise.
19384 [XPG4] (si_value): Likewise.
19385 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19386 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19387 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19388 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19389 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19390 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19391 [POSIX || XPG3] (ILL_COPROC): Likewise.
19392 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19393 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19394 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19395 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19396 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19397 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19398 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19399 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19400 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19401 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19402 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19403 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19404 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19405 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19406 [POSIX || XPG3] (CLD_EXITED): Likewise.
19407 [POSIX || XPG3] (CLD_KILLED): Likewise.
19408 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19409 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19410 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19411 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19412 [POSIX || XPG3] (POLL_IN): Likewise.
19413 [POSIX || XPG3] (POLL_OUT): Likewise.
19414 [POSIX || XPG3] (POLL_MSG): Likewise.
19415 [POSIX || XPG3] (POLL_ERR): Likewise.
19416 [POSIX || XPG3] (POLL_PRI): Likewise.
19417 [POSIX || XPG3] (POLL_HUP): Likewise.
19418 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19419 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19420 (SIG*): Do not allow.
19421 [XPG3] (si_*): Likewise.
19422 [XPG3] (SI_*): Likewise.
19423 [XPG3 || XPG4] (sigev_*): Likewise.
19424 [XPG3 || XPG4] (SIGEV_*): Likewise.
19425 [XPG3 || XPG4] (sival_*): Likewise.
19426 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19427 [POSIX || XPG3] (BUS_*): Likewise.
19428 [POSIX || XPG3] (CLD_*): Likewise.
19429 [POSIX || XPG3] (FPE_*): Likewise.
19430 [POSIX || XPG3] (ILL_*): Likewise.
19431 [POSIX || XPG3] (POLL_*): Likewise.
19432 [POSIX || XPG3] (SEGV_*): Likewise.
19433 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19434 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19435 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19436 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19437 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19438 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19439 Specify type and value.
19440 (TVERSLEN): Likewise.
19441 (REGTYPE): Likewise.
19442 (AREGTYPE): Likewise.
19443 (LNKTYPE): Likewise.
19444 (SYMTYPE): Likewise.
19445 (CHRTYPE): Likewise.
19446 (BLKTYPE): Likewise.
19447 (DIRTYPE): Likewise.
19448 (FIFOTYPE): Likewise.
19449 (CONTTYPE): Likewise.
19453 (TUREAD): Likewise.
19454 (TUWRITE): Likewise.
19455 (TUEXEC): Likewise.
19456 (TGREAD): Likewise.
19457 (TGWRITE): Likewise.
19458 (TGEXEC): Likewise.
19459 (TOREAD): Likewise.
19460 (TOWRITE): Likewise.
19461 (TOEXEC): Likewise.
19462 [POSIX] (TSVTX): Expect constant.
19464 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19466 * Makefile (tests): Change dependencies to ....
19467 (tests-special): ... additions to this variable.
19468 (tests): Depend on $(tests-special).
19469 * Makerules (check-abi-list): New variable.
19470 (check-abi): Depend on $(check-abi-list).
19471 [$(subdir) = elf] (tests-special): Add
19472 $(objpfx)check-abi-libc.out.
19473 [$(build-shared) = yes && subdir] (tests-special): Add
19475 [$(build-shared) = yes && subdir] (tests): Do not depend on
19477 * Rules (tests): Depend on $(tests-special).
19478 (xtests): Depend on $(xtests-special).
19479 * catgets/Makefile (tests): Change dependencies to ....
19480 (tests-special): ... additions to this variable.
19481 * conform/Makefile (tests): Change dependencies to ....
19482 (tests-special): ... additions to this variable.
19483 * elf/Makefile (tests): Change dependencies to ....
19484 (tests-special): ... additions to this variable.
19485 * grp/Makefile (tests): Change dependencies to ....
19486 (tests-special): ... additions to this variable.
19487 * iconv/Makefile (xtests): Change dependencies to ....
19488 (xtests-special): ... additions to this variable.
19489 * iconvdata/Makefile (tests): Change dependencies to ....
19490 (tests-special): ... additions to this variable.
19491 * intl/Makefile (tests): Change dependencies to ....
19492 (tests-special): ... additions to this variable. Also add
19493 $(objpfx)tst-gettext.out.
19494 * io/Makefile (tests): Change dependencies to ....
19495 (tests-special): ... additions to this variable.
19496 * libio/Makefile (tests): Change dependencies to ....
19497 (tests-special): ... additions to this variable.
19498 * malloc/Makefile (tests): Change dependencies to ....
19499 (tests-special): ... additions to this variable.
19500 * misc/Makefile (tests): Change dependencies to ....
19501 (tests-special): ... additions to this variable.
19502 * nptl/Makefile (tests): Change dependencies to ....
19503 (tests-special): ... additions to this variable.
19504 * nptl_db/Makefile (tests): Change dependencies to ....
19505 (tests-special): ... additions to this variable.
19506 * posix/Makefile (tests): Change dependencies to ....
19507 (tests-special): ... additions to this variable.
19508 (xtests): Change dependencies to ....
19509 (xtests-special): ... additions to this variable.
19510 * resolv/Makefile (tests): Change dependencies to ....
19511 (tests-special): ... additions to this variable.
19512 (xtests): Change dependencies to ....
19513 (xtests-special): ... additions to this variable.
19514 * stdio-common/Makefile (tests): Change dependencies to ....
19515 (tests-special): ... additions to this variable.
19516 (do-tst-unbputc): Remove target.
19517 (do-tst-printf): Likewise.
19518 * stdlib/Makefile (tests): Change dependencies to ....
19519 (tests-special): ... additions to this variable.
19520 * string/Makefile (tests): Change dependencies to ....
19521 (tests-special): ... additions to this variable.
19522 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19523 (tests-special): ... additions to this variable.
19525 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19527 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19529 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19530 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19532 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19533 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19534 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19535 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19536 * conform/data/libgen.h-data [XPG3]: Likewise.
19537 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19538 * conform/data/ndbm.h-data [XPG3]: Likewise.
19539 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19540 * conform/data/netdb.h-data [XPG3]: Likewise.
19541 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19542 * conform/data/poll.h-data [XPG3]: Likewise.
19543 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19544 * conform/data/strings.h-data [XPG3]: Likewise.
19545 * conform/data/stropts.h-data [XPG3]: Likewise.
19546 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19547 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19548 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19550 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19551 * conform/data/sys/time.h-data [XPG3]: Likewise.
19552 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19553 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19554 * conform/data/sys/un.h-data [XPG3]: Likewise.
19555 * conform/data/syslog.h-data [XPG3]: Likewise.
19556 * conform/data/ucontext.h-data [XPG3]: Likewise.
19557 * conform/data/utmpx.h-data [XPG3]: Likewise.
19558 * conform/data/varargs.h-data [UNIX98]: Enable file.
19560 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19562 * math/libm-test.inc (struct test_f_f_data): Move expected results
19563 into structure for each rounding mode.
19564 (struct test_ff_f_data): Likewise.
19565 (struct test_ff_f_data_nexttoward): Likewise.
19566 (struct test_fi_f_data): Likewise.
19567 (struct test_fl_f_data): Likewise.
19568 (struct test_if_f_data): Likewise.
19569 (struct test_fff_f_data): Likewise.
19570 (struct test_c_f_data): Likewise.
19571 (struct test_f_f1_data): Likewise.
19572 (struct test_fF_f1_data): Likewise.
19573 (struct test_ffI_f1_data): Likewise.
19574 (struct test_c_c_data): Likewise.
19575 (struct test_cc_c_data): Likewise.
19576 (struct test_f_i_data): Likewise.
19577 (struct test_ff_i_data): Likewise.
19578 (struct test_f_l_data): Likewise.
19579 (struct test_f_L_data): Likewise.
19580 (struct test_fFF_11_data): Likewise.
19582 (RM_FE_DOWNWARD): Likewise.
19583 (RM_FE_TONEAREST): Likewise.
19584 (RM_FE_TOWARDZERO): Likewise.
19585 (RM_FE_UPWARD): Likewise.
19586 (RUN_TEST_LOOP_f_f): Update references to expected results.
19587 (RUN_TEST_LOOP_2_f): Likewise.
19588 (RUN_TEST_LOOP_fff_f): Likewise.
19589 (RUN_TEST_LOOP_c_f): Likewise.
19590 (RUN_TEST_LOOP_f_f1): Likewise.
19591 (RUN_TEST_LOOP_fF_f1): Likewise.
19592 (RUN_TEST_LOOP_fI_f1): Likewise.
19593 (RUN_TEST_LOOP_ffI_f1): Likewise.
19594 (RUN_TEST_LOOP_c_c): Likewise.
19595 (RUN_TEST_LOOP_cc_c): Likewise.
19596 (RUN_TEST_LOOP_f_i): Likewise.
19597 (RUN_TEST_LOOP_f_i_tg): Likewise.
19598 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19599 (RUN_TEST_LOOP_f_b): Likewise.
19600 (RUN_TEST_LOOP_f_b_tg): Likewise.
19601 (RUN_TEST_LOOP_f_l): Likewise.
19602 (RUN_TEST_LOOP_f_L): Likewise.
19603 (RUN_TEST_LOOP_fFF_11): Likewise.
19604 * math/gen-libm-test.pl (parse_args): Output four copies of
19605 expected results for each test.
19607 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19608 (__ASSUME_UTIMES): Remove.
19609 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19610 (__ASSUME_UTIMES): Likewise.
19612 * math/gen-auto-libm-tests.c: Update comment on output format.
19613 (output_for_one_input_case): Generate before-rounding and
19614 after-rounding information as conditions on output flags not
19615 floating-point format.
19616 * math/auto-libm-test-out: Regenerated.
19617 * math/gen-libm-test.pl (cond_value): New function.
19618 (or_cond_value): Use cond_value.
19619 (generate_testfile): Handle conditional exceptions.
19621 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19623 * math/libm-test.inc (max_valid_error): New variable.
19624 (init_max_error): Take new argument specifying whether function
19625 results are exactly determined. Set max_valid_error and bound
19626 other variables for errors based on this argument.
19627 (set_max_error): Do not record results above max_valid_error.
19628 (check_float_internal): Only accept errors of up to 0.5ulps if
19629 also at most max_valid_error.
19630 (START): Take new argument EXACT and pass it to init_max_error.
19631 (acos_test): Update call to START.
19632 (acos_test_tonearest): Likewise.
19633 (acos_test_towardzero): Likewise.
19634 (acos_test_downward): Likewise.
19635 (acos_test_upward): Likewise.
19636 (acosh_test): Likewise.
19637 (asin_test): Likewise.
19638 (asin_test_tonearest): Likewise.
19639 (asin_test_towardzero): Likewise.
19640 (asin_test_downward): Likewise.
19641 (asin_test_upward): Likewise.
19642 (asinh_test): Likewise.
19643 (atan_test): Likewise.
19644 (atanh_test): Likewise.
19645 (atan2_test): Likewise.
19646 (cabs_test): Likewise.
19647 (cacos_test): Likewise.
19648 (cacosh_test): Likewise.
19649 (carg_test): Likewise.
19650 (casin_test): Likewise.
19651 (casinh_test): Likewise.
19652 (catan_test): Likewise.
19653 (catanh_test): Likewise.
19654 (cbrt_test): Likewise.
19655 (ccos_test): Likewise.
19656 (ccosh_test): Likewise.
19657 (ceil_test): Likewise.
19658 (cexp_test): Likewise.
19659 (cimag_test): Likewise.
19660 (clog_test): Likewise.
19661 (clog10_test): Likewise.
19662 (conj_test): Likewise.
19663 (copysign_test): Likewise.
19664 (cos_test): Likewise.
19665 (cos_test_tonearest): Likewise.
19666 (cos_test_towardzero): Likewise.
19667 (cos_test_downward): Likewise.
19668 (cos_test_upward): Likewise.
19669 (cosh_test): Likewise.
19670 (cosh_test_tonearest): Likewise.
19671 (cosh_test_towardzero): Likewise.
19672 (cosh_test_downward): Likewise.
19673 (cosh_test_upward): Likewise.
19674 (cpow_test): Likewise.
19675 (cproj_test): Likewise.
19676 (creal_test): Likewise.
19677 (csin_test): Likewise.
19678 (csinh_test): Likewise.
19679 (csqrt_test): Likewise.
19680 (ctan_test): Likewise.
19681 (ctan_test_tonearest): Likewise.
19682 (ctan_test_towardzero): Likewise.
19683 (ctan_test_downward): Likewise.
19684 (ctan_test_upward): Likewise.
19685 (ctanh_test): Likewise.
19686 (ctanh_test_tonearest): Likewise.
19687 (ctanh_test_towardzero): Likewise.
19688 (ctanh_test_downward): Likewise.
19689 (ctanh_test_upward): Likewise.
19690 (erf_test): Likewise.
19691 (erfc_test): Likewise.
19692 (exp_test): Likewise.
19693 (exp_test_tonearest): Likewise.
19694 (exp_test_towardzero): Likewise.
19695 (exp_test_downward): Likewise.
19696 (exp_test_upward): Likewise.
19697 (exp10_test): Likewise.
19698 (exp10_test_tonearest): Likewise.
19699 (exp10_test_towardzero): Likewise.
19700 (exp10_test_downward): Likewise.
19701 (exp10_test_upward): Likewise.
19702 (pow10_test): Likewise.
19703 (exp2_test): Likewise.
19704 (expm1_test): Likewise.
19705 (expm1_test_tonearest): Likewise.
19706 (expm1_test_towardzero): Likewise.
19707 (expm1_test_downward): Likewise.
19708 (expm1_test_upward): Likewise.
19709 (fabs_test): Likewise.
19710 (fdim_test): Likewise.
19711 (floor_test): Likewise.
19712 (fma_test): Likewise.
19713 (fma_test_towardzero): Likewise.
19714 (fma_test_downward): Likewise.
19715 (fma_test_upward): Likewise.
19716 (fmax_test): Likewise.
19717 (fmin_test): Likewise.
19718 (fmod_test): Likewise.
19719 (fpclassify_test): Likewise.
19720 (frexp_test): Likewise.
19721 (hypot_test): Likewise.
19722 (ilogb_test): Likewise.
19723 (isfinite_test): Likewise.
19724 (finite_test): Likewise.
19725 (isgreater_test): Likewise.
19726 (isgreaterequal_test): Likewise.
19727 (isinf_test): Likewise.
19728 (isless_test): Likewise.
19729 (islessequal_test): Likewise.
19730 (islessgreater_test): Likewise.
19731 (isnan_test): Likewise.
19732 (isnormal_test): Likewise.
19733 (issignaling_test): Likewise.
19734 (isunordered_test): Likewise.
19735 (j0_test): Likewise.
19736 (j1_test): Likewise.
19737 (jn_test): Likewise.
19738 (ldexp_test): Likewise.
19739 (lgamma_test): Likewise.
19740 (gamma_test): Likewise.
19741 (lrint_test): Likewise.
19742 (lrint_test_tonearest): Likewise.
19743 (lrint_test_towardzero): Likewise.
19744 (lrint_test_downward): Likewise.
19745 (lrint_test_upward): Likewise.
19746 (llrint_test): Likewise.
19747 (llrint_test_tonearest): Likewise.
19748 (llrint_test_towardzero): Likewise.
19749 (llrint_test_downward): Likewise.
19750 (llrint_test_upward): Likewise.
19751 (log_test): Likewise.
19752 (log10_test): Likewise.
19753 (log1p_test): Likewise.
19754 (log2_test): Likewise.
19755 (logb_test): Likewise.
19756 (logb_test_downward): Likewise.
19757 (lround_test): Likewise.
19758 (llround_test): Likewise.
19759 (modf_test): Likewise.
19760 (nearbyint_test): Likewise.
19761 (nextafter_test): Likewise.
19762 (nexttoward_test): Likewise.
19763 (pow_test): Likewise.
19764 (pow_test_tonearest): Likewise.
19765 (pow_test_towardzero): Likewise.
19766 (pow_test_downward): Likewise.
19767 (pow_test_upward): Likewise.
19768 (remainder_test): Likewise.
19769 (drem_test): Likewise.
19770 (remainder_test_tonearest): Likewise.
19771 (drem_test_tonearest): Likewise.
19772 (remainder_test_towardzero): Likewise.
19773 (drem_test_towardzero): Likewise.
19774 (remainder_test_downward): Likewise.
19775 (drem_test_downward): Likewise.
19776 (remainder_test_upward): Likewise.
19777 (drem_test_upward): Likewise.
19778 (remquo_test): Likewise.
19779 (rint_test): Likewise.
19780 (rint_test_tonearest): Likewise.
19781 (rint_test_towardzero): Likewise.
19782 (rint_test_downward): Likewise.
19783 (rint_test_upward): Likewise.
19784 (round_test): Likewise.
19785 (scalb_test): Likewise.
19786 (scalbn_test): Likewise.
19787 (scalbln_test): Likewise.
19788 (signbit_test): Likewise.
19789 (sin_test): Likewise.
19790 (sin_test_tonearest): Likewise.
19791 (sin_test_towardzero): Likewise.
19792 (sin_test_downward): Likewise.
19793 (sin_test_upward): Likewise.
19794 (sincos_test): Likewise.
19795 (sinh_test): Likewise.
19796 (sinh_test_tonearest): Likewise.
19797 (sinh_test_towardzero): Likewise.
19798 (sinh_test_downward): Likewise.
19799 (sinh_test_upward): Likewise.
19800 (sqrt_test): Likewise.
19801 (sqrt_test_tonearest): Likewise.
19802 (sqrt_test_towardzero): Likewise.
19803 (sqrt_test_downward): Likewise.
19804 (sqrt_test_upward): Likewise.
19805 (tan_test): Likewise.
19806 (tan_test_tonearest): Likewise.
19807 (tan_test_towardzero): Likewise.
19808 (tan_test_downward): Likewise.
19809 (tan_test_upward): Likewise.
19810 (tanh_test): Likewise.
19811 (tgamma_test): Likewise.
19812 (trunc_test): Likewise.
19813 (y0_test): Likewise.
19814 (y1_test): Likewise.
19815 (yn_test): Likewise.
19816 (significand_test): Likewise.
19818 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19819 individual tests in comment.
19820 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19821 (prev_max_error): New variable.
19822 (prev_real_max_error): Likewise.
19823 (prev_imag_max_error): Likewise.
19824 (compare_ulp_data): Don't refer to test names in comment.
19825 (find_test_ulps): Remove function.
19826 (find_function_ulps): Likewise.
19827 (find_complex_function_ulps): Likewise.
19828 (init_max_error): Take function name as argument. Look up ulps
19830 (print_ulps): Remove function.
19831 (print_max_error): Use prev_max_error instead of calling
19832 find_function_ulps.
19833 (print_complex_max_error): Use prev_real_max_error and
19834 prev_imag_max_error instead of calling find_complex_function_ulps.
19835 (check_float_internal): Take max_ulp parameter instead of calling
19836 find_test_ulps. Don't call print_ulps.
19837 (check_float): Update call to check_float_internal.
19838 (check_complex): Update calls to check_float_internal.
19839 (START): Pass argument to init_max_error.
19840 * math/gen-libm-test.pl (%results): Don't include "kind"
19842 (parse_ulps): Don't handle ulps of individual tests.
19843 (print_ulps_file): Likewise.
19844 (output_ulps): Likewise.
19845 * math/README.libm-test: Update.
19846 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19848 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19849 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19850 * sysdeps/arm/libm-test-ulps: Likewise.
19851 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19852 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19853 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19854 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19855 * sysdeps/microblaze/libm-test-ulps: Likewise.
19856 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19857 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19858 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19859 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19860 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19861 * sysdeps/sh/libm-test-ulps: Likewise.
19862 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19863 * sysdeps/tile/libm-test-ulps: Likewise.
19864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19866 2014-03-04 Joseph Myers <joseph@codesourcery.com>
19868 * math/libm-test.inc (print_complex_max_error): Check separately
19869 whether real and imaginary errors are within allowed range and
19870 pass 0 to print_complex_function_ulps instead of value within
19873 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19875 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19877 (get_handles_fopen): Likewise.
19878 (do_write_test): Likewise.
19880 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19882 * libio/fileops.c (do_ftell): Use cached offset when
19884 * libio/iofwide.c (do_ftell_wide): Likewise.
19885 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19887 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19890 * libio/libioP.h (get_file_offset): New function.
19891 * libio/fileops.c (get_file_offset): Likewise.
19892 (do_ftell): Likewise.
19893 (_IO_new_file_seekoff): Split out ftell logic.
19894 * libio/wfileops.c (do_ftell_wide): Likewise.
19895 (_IO_wfile_seekoff): Split out ftell logic.
19896 * libio/tst-ftell-active-handler.c: New test case.
19897 * libio/Makefile (tests): Add it.
19899 2014-03-03 Roland McGrath <roland@hack.frob.com>
19901 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19902 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19904 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19907 * nscd/connections.c (nscd_init): Call do_exit.
19908 (start_threads): Call do_exit and notify_parent.
19909 (begin_drop_privileges): Call do_exit.
19910 (finish_drop_privileges): Likewise.
19911 * nscd/selinux.c (preserve_capabilities): Likewise.
19912 (install_real_capabilities): Likewise.
19913 (nscd_selinux_enabled): Likewise.
19914 (avc_create_thread): Likewise.
19915 (avc_alloc_lock): Likewise.
19916 (nscd_avc_init): Likewise.
19917 * nscd/nscd.c (parent_fd): New static variable.
19918 (main): Create a pipe between parent and child processes.
19919 Skip closing parent_fd.
19920 (monitor_child): New function.
19921 (do_exit): Likewise.
19922 (notify_parent): Likewise.
19923 * nscd/nscd.h (notify_parent): Likewise.
19924 (do_exit): Likewise.
19926 2014-03-03 Carlos O'Donell <carlos@redhat.com>
19928 * malloc/malloc.c (__libc_calloc): Revert last change.
19930 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19934 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19936 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19940 (__libc_ifunc_impl_list): Likewise.
19941 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19942 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19943 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19944 * string/strrchr.c: Define STRRCHR.
19946 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
19948 * benchtest/bench-strtok.c (simple_strtok): Delete.
19949 (strtok_string): Use as benchmark.
19950 * string/strtok (STRTOK): New macro.
19952 2014-02-28 Carlos O'Donell <carlos@redhat.com>
19954 * manual/threads.texi: Add header and standard comments to all
19957 * elf/dl-lookup.c (check_match): New function.
19958 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19959 (do_lookup_x): Remove nested function check_match. Use non-nested
19960 function check_match.
19962 2014-02-28 Roland McGrath <roland@hack.frob.com>
19964 * csu/Makefile (generated, before-compile): Use += rather than =.
19965 * catgets/Makefile (generated, generated-dirs): Likewise.
19966 * debug/Makefile (generated): Likewise.
19967 * dlfcn/Makefile (generated): Likewise.
19968 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19969 * iconvdata/Makefile (before-compile, generated): Likewise.
19970 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19971 * libio/Makefile (generated): Likewise.
19972 * malloc/Makefile (generated): Likewise.
19973 * manual/Makefile (generated, generated-dirs): Likewise.
19974 * misc/Makefile (generated): Likewise.
19975 * posix/Makefile (generated): Likewise.
19976 * resolv/Makefile (generated): Likewise.
19977 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19978 * timezone/Makefile (generated, generated-dirs): Likewise.
19980 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19982 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19985 power8 implementation.
19986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19987 file: POWER8 llround ifunc implementation.
19988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19989 (__lllround): Add POWER8 implementation.
19990 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19991 POWER8 llround implementation.
19993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19994 power8 implementation.
19995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19996 file: POWER8 llrint ifunc implementation.
19997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19998 Add POWER8 implementation.
19999 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20000 POWER8 llrint implementation.
20002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20003 power8 implementation.
20004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20005 file: POWER8 finite ifunc implementation.
20006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20007 Add POWER8 implementation.
20008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20010 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20011 POWER8 finite implementation.
20012 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20015 power8 implementation.
20016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20017 file: POWER8 isinf ifunc implementation.
20018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20019 POWER8 implementation.
20020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20022 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20023 isinf implementation.
20024 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20026 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20027 (INIT_ARCH): Add hwcap2 initialization.
20028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20029 power8 implementation.
20030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20031 file: POWER8 isnan ifunc implementation.
20032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20033 POWER8 implementation.
20034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20036 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20037 isnan implementation.
20038 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20040 2014-02-27 Joey Ye <joey.ye@arm.com>
20042 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20043 (_FP_NANFRAC_Q): Set to zero.
20045 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20048 * math/auto-libm-test-in: New test inputs.
20049 * math/auto-libm-test-out: Regenerate.
20050 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20053 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20055 2014-02-27 Joseph Myers <joseph@codesourcery.com>
20057 * scripts/evaluate-test.sh: Take new argument indicating whether
20058 failure is expected.
20059 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20060 indicating whether failure is expected.
20061 * conform/Makefile (test-xfail-run-conformtest): New variable.
20062 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20064 * posix/Makefile (test-xfail-annexc): New variable.
20065 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20067 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20069 * argp/Makefile: Include Makeconfig immediately after defining
20071 * assert/Makefile: Likewise.
20072 * benchtests/Makefile: Likewise.
20073 * catgets/Makefile: Likewise.
20074 * conform/Makefile: Likewise.
20075 * crypt/Makefile: Likewise.
20076 * csu/Makefile: Likewise.
20077 (all): Remove target.
20078 * ctype/Makefile: Include Makeconfig immediately after defining
20080 * debug/Makefile: Likewise.
20081 * dirent/Makefile: Likewise.
20082 * dlfcn/Makefile: Likewise.
20083 * gmon/Makefile: Likewise.
20084 * gnulib/Makefile: Likewise.
20085 * grp/Makefile: Likewise.
20086 * gshadow/Makefile: Likewise.
20087 * hesiod/Makefile: Likewise.
20088 * hurd/Makefile: Likewise.
20089 (all): Remove target.
20090 * iconvdata/Makefile: Include Makeconfig immediately after
20092 * inet/Makefile: Likewise.
20093 * intl/Makefile: Likewise.
20094 * io/Makefile: Likewise.
20095 * libio/Makefile: Likewise.
20096 (all): Remove target.
20097 * locale/Makefile: Include Makeconfig immediately after defining
20099 * login/Makefile: Likewise.
20100 * mach/Makefile: Likewise.
20101 (all): Remove target.
20102 * malloc/Makefile: Include Makeconfig immediately after defining
20104 (all): Remove target.
20105 * manual/Makefile: Include Makeconfig immediately after defining
20107 * math/Makefile: Likewise.
20108 * misc/Makefile: Likewise.
20109 * nis/Makefile: Likewise.
20110 * nss/Makefile: Likewise.
20111 * po/Makefile: Likewise.
20112 (all): Remove target.
20113 * posix/Makefile: Include Makeconfig immediately after defining
20115 * pwd/Makefile: Likewise.
20116 * resolv/Makefile: Likewise.
20117 * resource/Makefile: Likewise.
20118 * rt/Makefile: Likewise.
20119 * setjmp/Makefile: Likewise.
20120 * shadow/Makefile: Likewise.
20121 * signal/Makefile: Likewise.
20122 * socket/Makefile: Likewise.
20123 * soft-fp/Makefile: Likewise.
20124 * stdio-common/Makefile: Likewise.
20125 * stdlib/Makefile: Likewise.
20126 * streams/Makefile: Likewise.
20127 * string/Makefile: Likewise.
20128 * sunrpc/Makefile: Likewise.
20129 (all): Remove target.
20130 * sysvipc/Makefile: Include Makeconfig immediately after defining
20132 * termios/Makefile: Likewise.
20133 * time/Makefile: Likewise.
20134 * timezone/Makefile: Likewise.
20135 (all): Remove target.
20136 * wcsmbs/Makefile: Include Makeconfig immediately after defining
20138 * wctype/Makefile: Likewise.
20140 2014-02-26 Steve Ellcey <sellcey@mips.com>
20142 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20143 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20144 (libc_feholdexcept_setround_mips): Ditto.
20145 (libc_feholdsetround): New.
20146 (libc_feholdsetroundf): New.
20147 (libc_feholdsetroundl): New.
20148 (libc_feupdateenv_test_mips): New.
20149 (libc_feupdateenv_test): New.
20150 (libc_feupdateenv_testf): New.
20151 (libc_feupdateenv_testl): New.
20152 (libc_feresetround): New.
20153 (libc_feresetroundf): New.
20154 (libc_feresetroundl): New.
20155 (libc_fetestexcept_mips): New.
20156 (libc_fetestexcept): New.
20157 (libc_fetestexceptf): New.
20158 (libc_fetestexceptl): New.
20159 (HAVE_RM_CTX): New.
20160 (libc_feholdexcept_setround_mips_ctx): New.
20161 (libc_feholdexcept_setround_ctx): New.
20162 (libc_feholdexcept_setroundf_ctx): New.
20163 (libc_feholdexcept_setroundl_ctx): New.
20164 (libc_fesetenv_mips_ctx): New.
20165 (libc_fesetenv_ctx): New.
20166 (libc_fesetenv_ctxf): New.
20167 (libc_fesetenv_ctxl): New.
20168 (libc_feupdateenv_mips_ctx): New.
20169 (libc_feupdateenv_ctx): New.
20170 (libc_feupdateenvf_ctx): New.
20171 (libc_feupdateenvl_ctx): New.
20172 (libc_feholdsetround_mips_ctx): New.
20173 (libc_feholdsetround_ctx): New.
20174 (libc_feholdsetroundf_ctx): New.
20175 (libc_feholdsetroundl_ctx): New.
20176 (libc_feresetround_mips_ctx): New.
20177 (libc_feresetround_ctx): New.
20178 (libc_feresetroundf_ctx): New.
20179 (libc_feresetroundl_ctx): New.
20181 2014-02-26 Carlos O'Donell <carlos@redhat.com>
20183 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20185 * manual/ipc.texi: New file.
20186 * manual/Makefile (chapters): Add ipc.
20187 * manual/job.texi: Add "Inter-Process Communication" to next.
20188 * manual/process.texi: Add "Inter-Process Communication" to prev.
20190 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20194 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
20196 * malloc/malloc.c (__libc_calloc): Simplify implementation.
20198 * manual/arith.texi: Fix spaces after sentences.
20199 * manual/charset.texi: Likewise.
20200 * manual/errno.texi: Likewise.
20201 * manual/install.texi: Likewise.
20202 * manual/llio.texi: Likewise.
20203 * manual/locale.texi: Likewise.
20204 * manual/maint.texi: Likewise.
20205 * manual/math.texi: Likewise.
20206 * manual/memory.texi: Likewise.
20207 * manual/message.texi: Likewise.
20208 * manual/probes.texi: Likewise.
20209 * manual/resource.texi: Likewise.
20210 * manual/signal.texi: Likewise.
20211 * manual/socket.texi: Likewise.
20212 * manual/stdio.texi: Likewise.
20213 * manual/string.texi: Likewise.
20214 * manual/time.texi: Likewise.
20215 * manual/users.texi: Likewise.
20217 2014-02-25 Carlos O'Donell <carlos@redhat.com>
20220 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20221 _DEFAULT_SOURCE is defined.
20223 2014-02-25 Ulrich Drepper <drepper@gmail.com>
20224 Carlos O'Donell <carlos@redhat.com>
20227 * elf/dl-tls.c (_dl_count_modids): New function.
20228 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20229 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20230 audit library and increment generation counter.
20231 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20232 * elf/tst-audit9.c: New file.
20233 * elf/tst-auditmod9a.c: New file.
20234 * elf/tst-auditmod9b.c: New file.
20235 * elf/Makefile: Add rules to build and run tst-audit9.
20237 2014-02-25 Florian Weimer <fweimer@redhat.com>
20240 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20242 2014-02-25 Will Newton <will.newton@linaro.org>
20244 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20245 (__longjmp): Restore sp and lr before restoring callee
20246 saved registers. Add longjmp and longjmp_target
20247 SystemTap probe point.
20248 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20249 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20250 Define to zero to match jmpbuf layout.
20251 * sysdeps/arm/setjmp.S: Include stap-probe.h.
20252 (__sigsetjmp): Save sp and lr before saving callee
20253 saved registers. Add setjmp SystemTap probe point.
20255 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20257 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20259 2014-02-24 Andreas Schwab <schwab@suse.de>
20262 * elf/pldd.c (wait_for_ptrace_stop): New function.
20263 (main): Call it after attaching.
20265 2014-02-22 Roland McGrath <roland@hack.frob.com>
20267 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20268 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20269 Versions files is now verboten.
20270 * hurd/Versions (libc: GLIBC_2.0):
20271 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20272 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20273 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20274 * mach/Versions: Likewise.
20276 * csu/Versions: Remove unused %include.
20277 * resolv/Versions: Likewise.
20279 2014-02-21 Joseph Myers <joseph@codesourcery.com>
20281 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20282 ($(objpfx)check-local-headers.out): Likewise.
20283 ($(objpfx)begin-end-check.out): Likewise.
20284 * Makerules (check-abi-%.out): Likewise.
20285 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20286 ($(objpfx)test2.cat): Likewise.
20287 ($(objpfx)de/libc.cat): Likewise.
20288 ($(objpfx)test-gencat.out): Likewise.
20289 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20290 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20291 ($(objpfx)noload-mem): Likewise.
20292 ($(objpfx)tst-pathopt.out): Likewise.
20293 ($(objpfx)tst-rtld-load-self.out): Likewise.
20294 ($(objpfx)tst-array1-cmp.out): Likewise.
20295 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20296 ($(objpfx)tst-array2-cmp.out): Likewise.
20297 ($(objpfx)tst-array3-cmp.out): Likewise.
20298 ($(objpfx)tst-array4-cmp.out): Likewise.
20299 ($(objpfx)tst-array5-cmp.out): Likewise.
20300 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20301 ($(objpfx)check-textrel.out): Likewise.
20302 ($(objpfx)check-execstack.out): Likewise.
20303 ($(objpfx)check-localplt.out): Likewise.
20304 ($(objpfx)order2-cmp.out): Likewise.
20305 ($(objpfx)tst-leaks1-mem): Likewise.
20306 ($(objpfx)tst-leaks1-static-mem): Likewise.
20307 ($(objpfx)tst-initorder-cmp.out): Likewise.
20308 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20309 ($(objpfx)tst-unused-dep.out): Likewise.
20310 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20311 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20312 * iconv/Makefile (test-iconvconfig): Likewise.
20313 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20314 ($(objpfx)iconv-test.out): Likewise.
20315 ($(objpfx)tst-tables.out): Likewise.
20316 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20317 ($(objpfx)tst-gettext.out): Likewise.
20318 ($(objpfx)tst-translit.out): Likewise.
20319 ($(objpfx)tst-gettext2.out): Likewise.
20320 ($(objpfx)tst-gettext4.out): Likewise.
20321 ($(objpfx)tst-gettext6.out): Likewise.
20322 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20323 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20324 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20325 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20326 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20327 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20328 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20329 ($(objpfx)wordexp-tst.out): Likewise.
20330 ($(objpfx)annexc.out): Likewise.
20331 ($(objpfx)tst-fnmatch-mem): Likewise.
20332 ($(objpfx)bug-regex2-mem): Likewise.
20333 ($(objpfx)bug-regex14-mem): Likewise.
20334 ($(objpfx)bug-regex21-mem): Likewise.
20335 ($(objpfx)bug-regex31-mem): Likewise.
20336 ($(objpfx)tst-vfork3-mem): Likewise.
20337 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20338 ($(objpfx)tst-pcre-mem): Likewise.
20339 ($(objpfx)tst-boost-mem): Likewise.
20340 ($(objpfx)tst-getconf.out): Likewise.
20341 ($(objpfx)bug-ga2-mem): Likewise.
20342 ($(objpfx)bug-glob2-mem): Likewise.
20343 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20344 ($(objpfx)mtrace-tst-leaks2): Likewise.
20345 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20346 ($(objpfx)tst-printf.out): Likewise.
20347 ($(objpfx)tst-setvbuf1.out): Likewise.
20348 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20349 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20350 ($(objpfx)tst-fmtmsg.out): Likewise.
20351 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20352 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20354 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20355 * bits/sigaction.h [__USE_MISC]: Likewise.
20356 * bits/waitstatus.h: Update #endif comments.
20357 * ctype/ctype.h: Likewise.
20358 * dirent/dirent.h: Likewise.
20359 [__USE_MISC]: Remove redundant conditionals.
20360 * grp/grp.h: Update #endif comments.
20361 [__USE_GNU]: Remove redundant conditionals.
20362 [__USE_MISC]: Likewise.
20363 * inet/netinet/in.h [__USE_GNU]: Likewise.
20364 * io/sys/stat.h [__USE_MISC]: Likewise.
20365 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20366 * libio/bits/stdio.h: Update #endif comments.
20367 [__USE_MISC]: Remove redundant conditionals.
20368 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20369 * libio/stdio.h: Update #endif comments.
20370 [__USE_MISC]: Remove redundant conditionals.
20371 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20372 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20373 * math/math.h: Update #else and #endif comments.
20374 [__USE_MISC]: Remove redundant conditionals.
20375 * misc/sys/uio.h: Update #endif comments.
20376 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20377 * posix/glob.h [__USE_MISC]: Likewise.
20378 * posix/sys/types.h: Update #endif comments.
20379 [__USE_MISC]: Remove redundant conditionals.
20380 * posix/sys/wait.h: Update #endif comments.
20381 [__USE_MISC]: Remove redundant conditionals.
20382 * posix/unistd.h: Update #endif comments.
20383 [__USE_MISC]: Remove redundant conditionals.
20384 * pwd/pwd.h [__USE_GNU]: Likewise.
20385 [__USE_MISC]: Likewise.
20386 * resolv/netdb.h [__USE_GNU]: Likewise.
20387 * signal/signal.h: Update #endif comments.
20388 [__USE_MISC]: Remove redundant conditionals.
20389 * stdlib/stdlib.h: Update #else and #endif comments.
20390 [__USE_MISC]: Remove redundant conditionals.
20391 [__USE_GNU]: Likewise.
20392 * string/bits/string2.h [__USE_MISC]: Likewise.
20393 * string/string.h: Update #endif comments.
20394 [__USE_MISC]: Remove redundant conditionals.
20395 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20397 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20398 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20399 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20401 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20405 [__USE_MISC]: Remove redundant conditionals.
20406 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20407 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20408 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20409 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20410 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20412 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20413 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20415 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20416 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20418 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20420 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20421 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20423 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20425 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20426 * sysdeps/x86/bits/string.h: Update #endif comments.
20427 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20429 * time/sys/time.h: Update #endif comments.
20430 * time/time.h: Likewise.
20431 [__USE_MISC]: Remove redundant conditionals.
20433 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20436 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20438 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20440 * Versions.def (librt): Add GLIBC_2.17.
20442 2014-02-21 Adam Conrad <adconrad@0c3.net>
20444 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20445 synonym for _SYS_AUXV_H to allow direct inclusion.
20446 * sysdeps/sparc/bits/hwcap.h: Likewise.
20447 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20448 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20449 * sysdeps/sparc/sysdep.h: Likewise.
20451 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20453 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20455 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20457 * benchtests/bench-strrchr.c: Print length instead of position.
20459 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20462 * sysdeps/unix/sysv/linux/kernel-features.h
20463 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20464 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20465 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20466 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20468 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20469 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20470 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20471 (__ASSUME_SENDMMSG): Define instead of using previous
20472 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20473 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20474 (__ASSUME_SENDMMSG_SYSCALL): Define.
20475 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20476 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20478 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20479 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20481 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20482 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20484 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20485 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20486 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20487 [__ASSUME_SENDMMSG]: Change conditionals to
20488 [__ASSUME_SENDMMSG_SOCKETCALL].
20489 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20490 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20492 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20493 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20495 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20496 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20497 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20498 [!__ASSUME_SENDMMSG]: Change conditional to
20499 [!__ASSUME_SENDMMSG_SOCKETCALL].
20500 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20501 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20505 * sysdeps/unix/sysv/linux/kernel-features.h
20506 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20507 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20508 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20509 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20510 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20511 [__i386__ || __sparc__]
20512 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20513 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20514 (__ASSUME_RECVMMSG): Define instead of using previous
20515 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20516 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20517 (__ASSUME_RECVMMSG_SYSCALL): Define.
20518 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20519 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20521 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20522 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20524 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20525 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20527 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20528 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20529 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20530 [__ASSUME_RECVMMSG]: Change condition to
20531 [__ASSUME_RECVMMSG_SOCKETCALL].
20532 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20533 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20535 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20536 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20537 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20539 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20540 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20541 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20542 [!__ASSUME_RECVMMSG]: Change condition to
20543 [!__ASSUME_RECVMMSG_SOCKETCALL].
20544 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20545 (__ASSUME_RECVMMSG_SYSCALL): Define.
20548 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20549 __powerpc__ || __s390__ || __sh__ || __sparc__]
20550 (__ASSUME_SOCKETCALL): Define.
20551 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20552 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20553 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20554 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20555 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20556 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20557 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20558 (__ASSUME_ACCEPT4): Define instead of using previous
20559 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20560 __powerpc__ || __sparc__ || __s390__)] condition.
20561 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20562 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20563 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20564 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20565 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20566 [!__ASSUME_ACCEPT4]: Change condition to
20567 [!__ASSUME_ACCEPT4_SOCKETCALL].
20568 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20569 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20570 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20571 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20572 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20573 __ASSUME_ACCEPT4_SYSCALL.
20574 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20575 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20576 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20577 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20578 __ASSUME_ACCEPT4_SYSCALL.
20579 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20580 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20581 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20582 [__ASSUME_ACCEPT4]: Change condition to
20583 [__ASSUME_ACCEPT4_SOCKETCALL].
20584 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20585 (__ASSUME_SOCKETCALL): Define.
20586 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20587 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20588 (__ASSUME_SOCKETCALL): Define.
20589 (__ASSUME_ACCEPT4): Remove.
20590 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20592 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20593 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20595 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20596 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20598 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20600 (HWCAP_ARM_LPAE): Likewise.
20601 (HWCAP_ARM_EVTSTRM): Likewise.
20602 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20603 Add vpfd32, lpae and evtstrm.
20604 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20607 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20609 * math/auto-libm-test-in: Add tests of clog10.
20610 * math/auto-libm-test-out: Regenerated.
20611 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20612 * sysdeps/i386/fpu/libm-test-ulps: Update.
20613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20615 2014-02-18 Andreas Schwab <schwab@suse.de>
20618 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20619 Store non-zero if the second buffer was newly allocated.
20620 (send_dg): Likewise.
20621 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20622 to send_vc and send_dg.
20623 (res_nsend): Pass NULL for ansp2_malloced.
20624 * resolv/res_query.c (__libc_res_nquery): Add parameter
20625 answerp2_malloced and pass it down to __libc_res_nsend.
20626 (res_nquery): Pass additional NULL to __libc_res_nquery.
20627 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20628 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20629 second answer buffer if answerp2_malloced was set.
20630 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20631 (__libc_res_nquerydomain): Add parameter
20632 answerp2_malloced and pass it down to __libc_res_nquery.
20633 (res_nquerydomain): Pass additional NULL to
20634 __libc_res_nquerydomain.
20635 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20636 additional NULL to __libc_res_nsend and __libc_res_nquery.
20637 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20638 additional NULL to __libc_res_nsearch.
20639 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20640 parameter of __libc_res_nsearch to check for separately allocated
20642 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20644 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20645 additional NULL to __libc_res_nquery.
20646 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20647 __libc_res_nsearch.
20648 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20649 * include/resolv.h: Update prototypes of __libc_res_nquery,
20650 __libc_res_nsearch, __libc_res_nsend.
20652 2014-02-18 Joseph Myers <joseph@codesourcery.com>
20654 * math/auto-libm-test-in: Add tests of fma.
20655 * math/auto-libm-test-out: Regenerated.
20656 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20657 (fma_towardzero_test_data): Likewise.
20658 (fma_downward_test_data): Likewise.
20659 (fma_upward_test_data): Likewise.
20660 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20662 (rounding_modes): Add values for new field.
20663 (func_calc_method): Add value mpfr_fff_f.
20664 (func_calc_desc): Add mpfr_fff_f union field.
20665 (test_function): Add field exact_args.
20666 (FUNC): Add macro argument EXACT_ARGS.
20667 (FUNC_mpfr_f_f): Update call to FUNC.
20668 (FUNC_mpfr_f_f): Likewise.
20669 (FUNC_mpfr_ff_f): Likewise.
20670 (FUNC_mpfr_if_f): Likewise.
20671 (FUNC_mpc_c_f): Likewise.
20672 (FUNC_mpc_c_c): Likewise.
20673 (test_functions): Add fma. Update calls to FUNC.
20674 (handle_input_arg): Add argument exact_args.
20675 (add_test): Update call to handle_input_arg.
20676 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20677 (output_for_one_input_case): Update call to calc_generic_results.
20678 Recalculate exact zero results in each rounding mode.
20680 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20681 non-negative before setting low bit.
20682 * math/auto-libm-test-in: Mark one asin test possibly having
20683 spurious underflow.
20684 * math/auto-libm-test-out: Regenerated.
20685 * sysdeps/i386/fpu/libm-test-ulps: Update.
20686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20688 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20690 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20691 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20692 ports/sysdeps/unix/sysv/linux/microblaze.
20693 * README: Add missing listing for microblaze*-*-linux-gnu.
20695 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
20697 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20700 2014-02-16 Mike Frysinger <vapier@gentoo.org>
20702 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20703 * sysdeps/unix/sysv/linux/ia64: Move directory from
20704 ports/sysdeps/unix/sysv/linux/ia64.
20705 * README: Update listing for ia64-*-linux-gnu.
20707 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20708 Joseph Myers <joseph@codesourcery.com>
20710 * Makeconfig (test-name): New variable.
20711 (evaluate-test): Likewise.
20712 * Makerules (do-test-clean): Remove .test-result files.
20713 (common-mostlyclean): Likewise.
20714 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20715 * scripts/evaluate-test.sh: New file.
20717 2014-02-14 Joseph Myers <joseph@codesourcery.com>
20719 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20720 separate $(objpfx)tst-fopenloc-cmp.out and
20721 $(objpfx)tst-fopenloc-mem.out targets.
20722 (tests): Update dependencies.
20723 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20724 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20725 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20726 (tst-rxspencer-no-utf8-ARGS): New variable.
20727 (tst-rxspencer-no-utf8-ENV): Likewise.
20728 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20729 instead of $(objpfx)tst-rxspencer-mem.
20730 ($(objpfx)tst-rxspencer-mem): Change target to
20731 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20732 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20733 * posix/tst-rxspencer-no-utf8.c: New file.
20735 * elf/Makefile ($(objpfx)order.out): Remove rule.
20736 [$(run-built-tests) = yes] (tests): Depend on
20737 $(objpfx)order-cmp.out.
20738 ($(objpfx)order-cmp.out): New rule.
20739 [$(run-built-tests) = yes] (tests): Depend on
20740 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20741 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20742 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20743 $(objpfx)tst-array5-static-cmp.out.
20744 ($(objpfx)tst-array1.out): Remove rule.
20745 ($(objpfx)tst-array1-cmp.out): New rule.
20746 ($(objpfx)tst-array1-static.out): Remove rule.
20747 ($(objpfx)tst-array1-static-cmp.out): New rule.
20748 ($(objpfx)tst-array2.out): Remove rule.
20749 ($(objpfx)tst-array2-cmp.out): New rule.
20750 ($(objpfx)tst-array3.out): Remove rule.
20751 ($(objpfx)tst-array3-cmp.out): New rule.
20752 ($(objpfx)tst-array4.out): Remove rule.
20753 ($(objpfx)tst-array4-cmp.out): New rule.
20754 ($(objpfx)tst-array5.out): Remove rule.
20755 ($(objpfx)tst-array5-cmp.out): New rule.
20756 ($(objpfx)tst-array5-static.out): Remove rule.
20757 ($(objpfx)tst-array5-static-cmp.out): New rule.
20758 [$(run-built-tests) = yes] (tests): Depend on
20759 $(objpfx)order2-cmp.out.
20760 ($(objpfx)order2.out): Remove rule.
20761 ($(objpfx)order2-cmp.out): New rule.
20762 ($(objpfx)tst-initorder.out): Remove rule.
20763 [$(run-built-tests) = yes] (tests): Depend on
20764 $(objpfx)tst-initorder-cmp.out.
20765 ($(objpfx)tst-initorder-cmp.out): New rule.
20766 ($(objpfx)tst-initorder2.out): Remove rule.
20767 [$(run-built-tests) = yes] (tests): Depend on
20768 $(objpfx)tst-initorder2-cmp.out.
20769 ($(objpfx)tst-initorder2-cmp.out): New rule.
20770 [$(run-built-tests) = yes] (tests): Depend on
20771 $(objpfx)tst-unused-dep-cmp.out.
20772 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20773 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20774 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20775 on $(objpfx)tst-setvbuf1-cmp.out.
20776 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20777 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20778 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20779 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20780 ($(objpfx)tst-svc.out): Remove rule.
20781 ($(objpfx)tst-svc-cmp.out): New rule.
20783 2014-02-13 Joseph Myers <joseph@codesourcery.com>
20785 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20786 * ctype/ctype.h [__USE_MISC]: Likewise.
20787 * dirent/dirent.h [__USE_MISC]: Likewise.
20788 * grp/grp.h [__USE_MISC]: Likewise.
20789 * io/fcntl.h [__USE_MISC]: Likewise.
20790 * io/sys/stat.h [__USE_MISC]: Likewise.
20791 * libio/stdio.h [__USE_MISC]: Likewise.
20792 * posix/unistd.h [__USE_MISC]: Likewise.
20793 * pwd/pwd.h [__USE_MISC]: Likewise.
20794 * stdlib.h [__USE_MISC]: Likewise.
20795 * string/bits/string2.h [__USE_MISC]: Likewise.
20796 * string/string.h [__USE_MISC]: Likewise.
20797 * time/time.h [__USE_MISC]: Likewise.
20799 2014-02-13 Andreas Schwab <schwab@suse.de>
20802 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20803 second answer buffer if it was separately allocated.
20805 2014-02-12 Joseph Myers <joseph@codesourcery.com>
20807 * sysdeps/mips/math-tests.h: Include <features.h>.
20808 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20809 (ROUNDING_TESTS_long_double): Do not define.
20810 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20811 (EXCEPTION_TESTS_long_double): Likewise.
20812 * sysdeps/mips/mips64/libm-test-ulps: Update.
20814 * include/features.h (__USE_BSD): Remove macro definitions.
20815 (__USE_SVID): Likewise.
20816 (_BSD_SOURCE): Likewise.
20817 (_SVID_SOURCE): Likewise.
20818 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20819 from definition of _DEFAULT_SOURCE.
20820 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20822 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20823 * bits/mman.h [__USE_BSD]: Likewise.
20824 * bits/termios.h [__USE_BSD]: Likewise.
20825 * bits/waitstatus.h [__USE_BSD]: Likewise.
20826 * ctype/ctype.h [__USE_SVID]: Likewise.
20827 * dirent/dirent.h [__USE_BSD]: Likewise.
20828 * grp/grp.h [__USE_SVID]: Likewise.
20829 [__USE_BSD]: Likewise.
20830 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20831 * io/fcntl.h [__USE_BSD]: Likewise.
20832 * io/ftw.h [__USE_BSD]: Likewise.
20833 * io/sys/stat.h [__USE_BSD]: Likewise.
20834 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20835 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20836 * libio/stdio.h [__USE_SVID]: Likewise.
20837 [__USE_BSD]: Likewise.
20838 * math/math.h [__USE_SVID]: Likewise.
20839 [__USE_BSD]: Likewise.
20840 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20841 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20842 * misc/search.h [__USE_SVID]: Likewise.
20843 * misc/sys/mman.h [__USE_BSD]: Likewise.
20844 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20845 * misc/sys/uio.h [__USE_BSD]: Likewise.
20846 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20847 * posix/glob.h [__USE_BSD]: Likewise.
20848 * posix/regex.h [__USE_BSD]: Likewise.
20849 * posix/sys/types.h [__USE_BSD]: Likewise.
20850 [__USE_SVID]: Likewise.
20851 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20852 * posix/sys/wait.h [__USE_BSD]: Likewise.
20853 [__USE_SVID]: Likewise.
20854 * posix/unistd.h [__USE_BSD]: Likewise.
20855 [__USE_SVID]: Likewise.
20856 * pwd/pwd.h [__USE_SVID]: Likewise.
20857 * resolv/netdb.h [__USE_BSD]: Likewise.
20858 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20859 * signal/signal.h [__USE_BSD]: Likewise.
20860 [__USE_SVID]: Likewise.
20861 * socket/sys/socket.h [__USE_BSD]: Likewise.
20862 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20863 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20864 [__USE_SVID]: Likewise.
20865 * string/bits/string2.h [__USE_BSD]: Likewise.
20866 [__USE_SVID]: Likewise.
20867 * string/bits/string3.h [__USE_BSD]: Likewise.
20868 * string/endian.h [__USE_BSD]: Likewise.
20869 * string/string.h [__USE_SVID]: Likewise.
20870 [__USE_BSD]: Likewise.
20871 * string/strings.h [__USE_BSD]: Likewise.
20872 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20873 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20874 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20875 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20876 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20877 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20879 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20881 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20882 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20884 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20885 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20887 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20889 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20890 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20891 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20893 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20895 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20896 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20897 * termios/termios.h [__USE_BSD]: Likewise.
20898 * time/sys/time.h [__USE_BSD]: Likewise.
20899 * time/time.h [__USE_BSD]: Likewise.
20900 [__USE_SVID]: Likewise.
20902 * Makefile (subdir_targets): Remove subdir_lint.out.
20904 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20905 (do-tst-printf): Likewise.
20906 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20907 $(objpfx)tst-printf.out.
20909 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20911 * Makerules (check-abi-%): Change target to
20912 $(objpfx)check-abi-%.out.
20913 (check-abi target): Update dependencies.
20914 (check-abi-pattern variable): Redirect output of diff to $@.
20915 (check-abi variable): Likewise.
20916 * elf/Makefile (check-abi): Update dependencies.
20918 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20920 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20921 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20923 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20924 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20925 value has largest subnormal exponent.
20926 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20927 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20928 * sysdeps/aarch64/soft-fp/sfp-machine.h
20929 (_FP_TININESS_AFTER_ROUNDING): New macro.
20930 * sysdeps/alpha/soft-fp/sfp-machine.h
20931 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20932 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20934 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20935 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20936 * sysdeps/mips/soft-fp/sfp-machine.h
20937 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20938 * sysdeps/powerpc/soft-fp/sfp-machine.h
20939 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20940 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20942 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20943 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20944 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20945 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20946 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20949 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
20952 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20955 2014-02-12 Richard Henderson <rth@redhat.com>
20957 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20958 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20959 * sysdeps/unix/sysv/linux/alpha: Move directory from
20960 ports/sysdeps/unix/sysv/linux/alpha.
20961 * README: Update listing for alpha-*-linux-gnu.
20963 2014-02-11 Joseph Myers <joseph@codesourcery.com>
20965 * include/features.h: Update comment documenting feature test
20967 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20969 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20970 (_SVID_SOURCE): Likewise.
20971 (_DEFAULT_SOURCE): Update description of default features.
20972 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20974 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20975 (S_ISVTX): Likewise.
20976 * manual/math.texi (Mathematical Constants): Likewise.
20977 * manual/signal.texi (Interrupted Primitives): Likewise.
20978 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20979 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20980 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20981 Don't refer to _SVID_SOURCE in warning text.
20983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20985 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20987 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20988 * sysdeps/mips/dl-lookup.c: Remove.
20989 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20991 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20994 * math/auto-libm-test-in: Add testcase for expl.
20995 * math/auto-libm-test-out: Regenerate.
20996 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20997 calculation of unsafe.
20998 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21000 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
21002 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21003 * sysdeps/unix/sysv/linux/aarch64: Move directory from
21004 ports/sysdeps/unix/sysv/linux/aarch64.
21005 * README: Update listing for aarch64*-*-linux-gnu.
21007 2014-02-11 Will Newton <will.newton@linaro.org>
21009 * manual/probes.texi (Mathematical Function Probes): Use
21010 "triggered" instead of "hit".
21012 * manual/probes.texi (Internal Probes): Add documentation
21013 of setjmp, longjmp and longjmp_target probes.
21015 * include/stap-probe.h: Add comment about probe argument
21018 * malloc/mtrace.c (attribute_hidden): Remove unused macro
21019 definition. (tr_where, tr_freehook, tr_mallochook,
21020 tr_reallochook, tr_memalignhook): Use ANSI protoype.
21022 2014-02-11 David S. Miller <davem@davemloft.net>
21024 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21025 processing int_tests.
21027 2014-02-10 Joseph Myers <joseph@codesourcery.com>
21029 * sysdeps/mips: Move directory from ports/sysdeps/mips.
21030 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21031 * sysdeps/unix/sysv/linux/mips: Move directory from
21032 ports/sysdeps/unix/sysv/linux/mips.
21033 * README: Update listing for mips-*-linux-gnu and
21034 mips64-*-linux-gnu.
21036 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
21038 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21039 * sysdeps/unix/sysv/linux/m68k: Move directory from
21040 ports/sysdeps/unix/sysv/linux/m68k.
21041 * README: Update listing for m68k-*-linux-gnu.
21043 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
21045 * sysdeps/tile: Move directory from ports/sysdeps/tile.
21046 * sysdeps/unix/sysv/linux/generic: Move directory from
21047 ports/sysdeps/unix/sysv/linux/generic.
21048 * sysdeps/unix/sysv/linux/tile: Move directory from
21049 ports/sysdeps/unix/sysv/linux/tile.
21050 * README: Update listing for tile*-*-linux-gnu.
21052 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
21054 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21056 * benchtests/bench-memmem.c (simple_memmem): Likewise.
21057 * catgets/open_catalog.c (__open_catalog): Likewise.
21058 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21059 * debug/confstr_chk.c: Likewise.
21060 * debug/fread_chk.c (__fread_chk): Likewise.
21061 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21062 * debug/getgroups_chk.c: Likewise.
21063 * debug/mbsnrtowcs_chk.c: Likewise.
21064 * debug/mbsrtowcs_chk.c: Likewise.
21065 * debug/mbstowcs_chk.c: Likewise.
21066 * debug/memcpy_chk.c: Likewise.
21067 * debug/memmove_chk.c: Likewise.
21068 * debug/mempcpy_chk.c: Likewise.
21069 * debug/memset_chk.c: Likewise.
21070 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21071 * debug/strcat_chk.c (__strcat_chk): Likewise.
21072 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21073 * debug/strncat_chk.c (__strncat_chk): Likewise.
21074 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21075 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21076 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21077 * debug/wcpncpy_chk.c: Likewise.
21078 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21079 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21080 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21081 * debug/wcsncpy_chk.c: Likewise.
21082 * debug/wcsnrtombs_chk.c: Likewise.
21083 * debug/wcsrtombs_chk.c: Likewise.
21084 * debug/wcstombs_chk.c: Likewise.
21085 * debug/wmemcpy_chk.c: Likewise.
21086 * debug/wmemmove_chk.c: Likewise.
21087 * debug/wmempcpy_chk.c: Likewise.
21088 * debug/wmemset_chk.c: Likewise.
21089 * dirent/scandirat.c (SCANDIRAT): Likewise.
21090 * dlfcn/dladdr1.c (dladdr1): Likewise.
21091 * dlfcn/dladdr.c (dladdr): Likewise.
21092 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21093 * dlfcn/dlerror.c (__dlerror): Likewise.
21094 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21095 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21096 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21097 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21098 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21099 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21100 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21101 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21103 * elf/dl-conflict.c: Likewise.
21104 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21105 * elf/dl-dst.h: Likewise.
21106 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21107 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21108 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21109 * elf/dl-init.c (call_init, _dl_init): Likewise.
21110 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21111 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21112 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21114 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21116 * elf/dl-minimal.c (__libc_memalign): Likewise.
21117 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21118 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21119 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21120 * elf/dl-sym.c (do_sym): Likewise.
21121 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21122 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21123 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21124 * elf/dl-writev.h (_dl_writev): Likewise.
21125 * elf/ldconfig.c (search_dir): Likewise.
21126 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21127 (dl_main): Likewise.
21128 * elf/setup-vdso.h (setup_vdso): Likewise.
21129 * grp/compat-initgroups.c (compat_call): Likewise.
21130 * grp/fgetgrent.c (fgetgrent): Likewise.
21131 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21132 * grp/putgrent.c (putgrent): Likewise.
21133 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21135 * hurd/hurdinit.c: Likewise.
21136 * iconvdata/8bit-gap.c (struct): Likewise.
21137 * iconvdata/ansi_x3.110.c : Likewise.
21138 * iconvdata/big5.c : Likewise.
21139 * iconvdata/big5hkscs.c : Likewise.
21140 * iconvdata/cp1255.c: Likewise.
21141 * iconvdata/cp1258.c : Likewise.
21142 * iconvdata/cp932.c : Likewise.
21143 * iconvdata/euc-cn.c: Likewise.
21144 * iconvdata/euc-jisx0213.c : Likewise.
21145 * iconvdata/euc-jp.c: Likewise.
21146 * iconvdata/euc-jp-ms.c : Likewise.
21147 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21148 * iconvdata/gb18030.c : Likewise.
21149 * iconvdata/gbbig5.c (const): Likewise.
21150 * iconvdata/gbgbk.c: Likewise.
21151 * iconvdata/gbk.c : Likewise.
21152 * iconvdata/ibm1364.c : Likewise.
21153 * iconvdata/ibm930.c : Likewise.
21154 * iconvdata/ibm932.c: Likewise.
21155 * iconvdata/ibm933.c : Likewise.
21156 * iconvdata/ibm935.c : Likewise.
21157 * iconvdata/ibm937.c : Likewise.
21158 * iconvdata/ibm939.c : Likewise.
21159 * iconvdata/ibm943.c: Likewise.
21160 * iconvdata/iso_11548-1.c: Likewise.
21161 * iconvdata/iso-2022-cn.c : Likewise.
21162 * iconvdata/iso-2022-cn-ext.c : Likewise.
21163 * iconvdata/iso-2022-jp-3.c: Likewise.
21164 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21165 * iconvdata/iso-2022-kr.c : Likewise.
21166 * iconvdata/iso646.c (gconv_end): Likewise.
21167 * iconvdata/iso_6937-2.c : Likewise.
21168 * iconvdata/iso_6937.c : Likewise.
21169 * iconvdata/iso8859-1.c: Likewise.
21170 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21171 * iconvdata/shift_jisx0213.c : Likewise.
21172 * iconvdata/sjis.c : Likewise.
21173 * iconvdata/t.61.c : Likewise.
21174 * iconvdata/tcvn5712-1.c : Likewise.
21175 * iconvdata/tscii.c: Likewise.
21176 * iconvdata/uhc.c : Likewise.
21177 * iconvdata/unicode.c (gconv_end): Likewise.
21178 * iconvdata/utf-16.c (gconv_end): Likewise.
21179 * iconvdata/utf-32.c (gconv_end): Likewise.
21180 * iconvdata/utf-7.c (base64): Likewise.
21181 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21182 * iconv/gconv_close.c (__gconv_close): Likewise.
21183 * iconv/gconv_open.c (__gconv_open): Likewise.
21184 * iconv/gconv_simple.c (internal_ucs4_loop_single)
21185 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21186 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21187 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21188 (ucs4le_internal_loop_single): Likewise.
21189 * iconv/iconv.c (iconv): Likewise.
21190 * iconv/iconv_close.c: Likewise.
21191 * iconv/loop.c (SINGLE): Likewise.
21192 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21193 * include/atomic.h: Likewise.
21194 * inet/inet6_option.c (option_alloc): Likewise.
21195 * intl/bindtextdom.c (set_binding_values): Likewise.
21196 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21197 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21198 * intl/localealias.c (read_alias_file): Likewise.
21199 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21200 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21201 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21202 * libio/fmemopen.c (fmemopen): Likewise.
21203 * libio/iofgets.c (_IO_fgets): Likewise.
21204 * libio/iofgets_u.c (fgets_unlocked): Likewise.
21205 * libio/iofgetws.c (fgetws): Likewise.
21206 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21207 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21208 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21209 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21210 * locale/findlocale.c (_nl_find_locale): Likewise.
21211 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21212 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21214 * locale/setlocale.c (setlocale): Likewise.
21215 * login/programs/pt_chown.c (main): Likewise.
21216 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21217 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21218 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21219 (mmap, mmap64, mremap, munmap): Likewise.
21220 * math/e_exp2l.c: Likewise.
21221 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21222 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21223 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21224 * math/s_catan.c (__catan): Likewise.
21225 * math/s_catanf.c (__catanf): Likewise.
21226 * math/s_catanh.c (__catanh): Likewise.
21227 * math/s_catanhf.c (__catanhf): Likewise.
21228 * math/s_catanhl.c (__catanhl): Likewise.
21229 * math/s_catanl.c (__catanl): Likewise.
21230 * math/s_ccosh.c (__ccosh): Likewise.
21231 * math/s_ccoshf.c (__ccoshf): Likewise.
21232 * math/s_ccoshl.c (__ccoshl): Likewise.
21233 * math/s_cexp.c (__cexp): Likewise.
21234 * math/s_cexpf.c (__cexpf): Likewise.
21235 * math/s_cexpl.c (__cexpl): Likewise.
21236 * math/s_clog10.c (__clog10): Likewise.
21237 * math/s_clog10f.c (__clog10f): Likewise.
21238 * math/s_clog10l.c (__clog10l): Likewise.
21239 * math/s_clog.c (__clog): Likewise.
21240 * math/s_clogf.c (__clogf): Likewise.
21241 * math/s_clogl.c (__clogl): Likewise.
21242 * math/s_csin.c (__csin): Likewise.
21243 * math/s_csinf.c (__csinf): Likewise.
21244 * math/s_csinh.c (__csinh): Likewise.
21245 * math/s_csinhf.c (__csinhf): Likewise.
21246 * math/s_csinhl.c (__csinhl): Likewise.
21247 * math/s_csinl.c (__csinl): Likewise.
21248 * math/s_csqrt.c (__csqrt): Likewise.
21249 * math/s_csqrtf.c (__csqrtf): Likewise.
21250 * math/s_csqrtl.c (__csqrtl): Likewise.
21251 * math/s_ctan.c (__ctan): Likewise.
21252 * math/s_ctanf.c (__ctanf): Likewise.
21253 * math/s_ctanh.c (__ctanh): Likewise.
21254 * math/s_ctanhf.c (__ctanhf): Likewise.
21255 * math/s_ctanhl.c (__ctanhl): Likewise.
21256 * math/s_ctanl.c (__ctanl): Likewise.
21257 * math/w_pow.c: Likewise.
21258 * math/w_powf.c: Likewise.
21259 * math/w_powl.c: Likewise.
21260 * math/w_scalb.c (sysv_scalb): Likewise.
21261 * math/w_scalbf.c (sysv_scalbf): Likewise.
21262 * math/w_scalbl.c (sysv_scalbl): Likewise.
21263 * misc/error.c (error_tail): Likewise.
21264 * misc/pselect.c (__pselect): Likewise.
21265 * nis/nis_callback.c (__nis_create_callback): Likewise.
21266 * nis/nis_call.c (__nisfind_server): Likewise.
21267 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21268 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21269 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21270 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21271 * nis/nis_lookup.c (nis_lookup): Likewise.
21272 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21273 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21274 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21275 * nis/nis_xdr.c (xdr_endpoint): Likewise.
21276 * nis/nss_compat/compat-grp.c (getgrent_next_file)
21277 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21278 * nis/nss_compat/compat-initgroups.c (add_group)
21279 (internal_getgrent_r): Likewise.
21280 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21281 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21282 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21283 (internal_getspnam_r): Likewise.
21284 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21285 (_nss_nis_getaliasbyname_r): Likewise.
21286 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21287 (_nss_nis_getntohost_r): Likewise.
21288 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21289 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21290 (_nss_nis_getgrgid_r): Likewise.
21291 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21292 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21293 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21294 (_nss_nis_gethostbyname4_r): Likewise.
21295 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21296 (initgroups_netid): Likewise.
21297 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21298 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21299 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21300 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21301 (_nss_nis_getprotobynumber_r): Likewise.
21302 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21303 (_nss_nis_getsecretkey): Likewise.
21304 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21305 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21306 (_nss_nis_getpwuid_r): Likewise.
21307 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21308 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21309 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21310 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21311 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21312 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21313 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21315 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21316 (_nss_nisplus_getntohost_r): Likewise.
21317 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21318 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21319 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21320 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21322 * nis/nss_nisplus/nisplus-initgroups.c
21323 (_nss_nisplus_initgroups_dyn): Likewise.
21324 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21325 (_nss_nisplus_getnetbyaddr_r): Likewise.
21326 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21327 (_nss_nisplus_getprotobynumber_r): Likewise.
21328 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21329 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21330 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21332 * nis/nss_nisplus/nisplus-service.c
21333 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21334 (_nss_nisplus_getservbyport_r): Likewise.
21335 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21336 (_nss_nisplus_getspnam_r): Likewise.
21337 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21339 * nscd/aicache.c (addhstaiX): Likewise.
21340 * nscd/cache.c (cache_search, prune_cache): Likewise.
21341 * nscd/connections.c (register_traced_file, send_ro_fd)
21342 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21343 (main_loop_epoll): Likewise.
21344 * nscd/grpcache.c (addgrbyX): Likewise.
21345 * nscd/hstcache.c (addhstbyX): Likewise.
21346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21347 * nscd/mem.c (gc, mempool_alloc): Likewise.
21348 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21349 (addinnetgrX): Likewise.
21350 * nscd/nscd-client.h (__nscd_acquire_maplock)
21351 (__nscd_drop_map_ref): Likewise.
21352 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21353 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21354 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21356 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21357 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21358 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21359 (__nscd_get_map_ref): Likewise.
21360 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21361 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21363 * nscd/pwdcache.c (addpwbyX): Likewise.
21364 * nscd/selinux.c (preserve_capabilities): Likewise.
21365 * nscd/servicescache.c (addservbyX): Likewise.
21366 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21367 * posix/fnmatch.c (fnmatch): Likewise.
21368 * posix/getopt.c (_getopt_internal_r): Likewise.
21369 * posix/glob.c (glob, glob_in_dir): Likewise.
21370 * posix/wordexp.c (exec_comm_child): Likewise.
21371 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21372 (getanswer_r, gaih_getanswer_slice): Likewise.
21373 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21374 * resolv/res_init.c: Likewise.
21375 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21376 * resolv/res_query.c (__libc_res_nquery): Likewise.
21377 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21379 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21380 * stdio-common/perror.c (perror): Likewise.
21381 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21382 * stdio-common/tmpnam.c (tmpnam): Likewise.
21383 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21384 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21385 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21387 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21388 * stdlib/putenv.c (putenv): Likewise.
21389 * stdlib/setenv.c (__add_to_environ): Likewise.
21390 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21391 * stdlib/strtol_l.c (INTERNAL): Likewise.
21392 * string/memmem.c (memmem): Likewise.
21393 * string/strerror.c (strerror): Likewise.
21394 * string/strnlen.c (__strnlen): Likewise.
21395 * string/test-memmem.c (simple_memmem): Likewise.
21396 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21397 * sunrpc/pm_getport.c (__get_socket): Likewise.
21398 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21399 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21400 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21401 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21403 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21404 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21405 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21406 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21407 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21408 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21410 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21412 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21413 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21414 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21415 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21416 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21418 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21419 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21420 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21421 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21422 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21423 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21425 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21427 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21429 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21430 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21431 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21432 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21433 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21434 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21435 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21436 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21437 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21438 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21439 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21440 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21441 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21442 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21444 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21446 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21448 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21450 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21452 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21453 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21454 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21456 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21457 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21458 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21459 * sysdeps/posix/sleep.c: Likewise.
21460 * sysdeps/posix/tempname.c: Likewise.
21461 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21462 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21464 * sysdeps/powerpc/powerpc32/dl-machine.h
21465 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21466 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21468 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21469 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21471 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21472 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21473 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21474 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21475 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21476 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21477 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21478 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21479 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21480 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21481 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21482 (elf_machine_lazy_rel): Likewise.
21483 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21484 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21485 (elf_machine_lazy_rel): Likewise.
21486 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21487 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21488 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21489 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21490 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21491 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21492 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21495 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21496 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21497 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21498 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21499 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21500 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21501 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21502 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21503 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21504 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21505 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21507 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21508 (__posix_fallocate64_l64): Likewise.
21509 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21510 (posix_fallocate): Likewise.
21511 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21513 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21514 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21515 (getifaddrs_internal): Likewise.
21516 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21517 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21518 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21519 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21520 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21521 (__posix_fallocate64_l64): Likewise.
21522 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21524 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21525 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21526 (__get_clockfreq): Likewise.
21527 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21528 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21529 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21530 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21531 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21532 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21533 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21534 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21536 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21537 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21538 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21539 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21540 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21541 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21542 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21544 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21545 (posix_fallocate): Likewise.
21546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21547 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21548 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21549 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21550 (elf_machine_rela, elf_machine_rela_relative)
21551 (elf_machine_lazy_rel): Likewise.
21552 * time/asctime.c (asctime_internal): Likewise.
21553 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21554 * time/tzset.c (__tzset_parse_tz): Likewise.
21555 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21556 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21557 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21558 * wcsmbs/wcsmbsload.h: Likewise.
21561 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21563 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21564 (arena_get2): Remove THREAD_STATS conditionals.
21565 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21566 (__malloc_stats, int): Likewise.
21568 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21570 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21571 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21573 * manual/setjmp.texi: Fix typos/grammar errors.
21575 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21576 Only return early when n is <= 0. Delete unused return statement.
21578 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21579 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21580 * debug/tst-longjmp_chk3.c: New file.
21582 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21583 (test_main): Replace code with set_fortify_handler call.
21584 * debug/test-strcpy_chk.c: Likewise.
21585 * debug/tst-chk1.c: Likewise.
21586 * debug/tst-longjmp_chk.c: Likewise.
21587 * test-skeleton.c: Include fcntl.h & paths.h
21588 (set_fortify_handler): Define.
21590 * debug/tst-longjmp_chk.c: Add header comment and include
21591 ../test-skeleton.c.
21592 (do_test): Mark static.
21593 (TEST_FUNCTION): Define.
21595 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21596 (IP_PMTUDISC_INTERFACE): Likewise.
21597 (IP_MULTICAST_IF): Likewise.
21598 (IP_MULTICAST_TTL): Likewise.
21599 (IP_MULTICAST_LOOP): Likewise.
21600 (IP_ADD_MEMBERSHIP): Likewise.
21601 (IP_DROP_MEMBERSHIP): Likewise.
21602 (IP_UNBLOCK_SOURCE): Likewise.
21603 (IP_BLOCK_SOURCE): Likewise.
21604 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21605 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21606 (IP_MSFILTER): Likewise.
21607 (MCAST_JOIN_GROUP): Likewise.
21608 (MCAST_BLOCK_SOURCE): Likewise.
21609 (MCAST_UNBLOCK_SOURCE): Likewise.
21610 (MCAST_LEAVE_GROUP): Likewise.
21611 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21612 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21613 (MCAST_MSFILTER): Likewise.
21614 (IP_MULTICAST_ALL): Likewise.
21615 (IP_UNICAST_IF): Likewise.
21617 * timezone/Makefile: Delete $(have-ksh) check.
21618 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21619 * timezone/tzselect.ksh: Add +x mode bits.
21621 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21622 (ANON_INODE_FS_MAGIC): Likewise.
21623 (BDEVFS_MAGIC): Likewise.
21624 (BINFMTFS_MAGIC): Likewise.
21625 (BTRFS_TEST_MAGIC): Likewise.
21626 (CRAMFS_MAGIC_WEND): Likewise.
21627 (DEBUGFS_MAGIC): Likewise.
21628 (ECRYPTFS_SUPER_MAGIC): Likewise.
21629 (EXT3_SUPER_MAGIC): Likewise.
21630 (EXT4_SUPER_MAGIC): Likewise.
21631 (FUTEXFS_SUPER_MAGIC): Likewise.
21632 (HOSTFS_SUPER_MAGIC): Likewise.
21633 (HUGETLBFS_MAGIC): Likewise.
21634 (MINIX3_SUPER_MAGIC): Likewise.
21635 (MTD_INODE_FS_MAGIC): Likewise.
21636 (NILFS_SUPER_MAGIC): Likewise.
21637 (OPENPROM_SUPER_MAGIC): Likewise.
21638 (PIPEFS_MAGIC): Likewise.
21639 (PSTOREFS_MAGIC): Likewise.
21640 (QNX6_SUPER_MAGIC): Likewise.
21641 (RAMFS_MAGIC): Likewise.
21642 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21643 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21644 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21645 (SECURITYFS_MAGIC): Likewise.
21646 (SELINUX_MAGIC): Likewise.
21647 (SMACK_MAGIC): Likewise.
21648 (SOCKFS_MAGIC): Likewise.
21649 (SQUASHFS_MAGIC): Likewise.
21650 (STACK_END_MAGIC): Likewise.
21651 (TMPFS_MAGIC): Likewise.
21652 (USBDEVICE_SUPER_MAGIC): Likewise.
21653 (V9FS_MAGIC): Likewise.
21654 (XENFS_SUPER_MAGIC): Likewise.
21655 (CRAMFS_MAGIC): Fix typo in comment.
21656 (EXT2_SUPER_MAGIC): Update comment.
21657 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21659 2014-02-08 Joseph Myers <joseph@codesourcery.com>
21661 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21662 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21663 * sysdeps/unix/sysv/linux/arm: Move directory from
21664 ports/sysdeps/unix/sysv/linux/arm.
21665 * README: Update listing for arm-*-linux-gnueabi.
21667 * README: Remove mention of am33.
21669 2014-02-07 Roland McGrath <roland@hack.frob.com>
21671 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21672 than the comma operator, to avoid "rhs of comma has no effect"
21674 (__sigfillset, __sigandset, __sigorset): Likewise.
21675 * include/signal.h (__sigemptyset): Likewise.
21676 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21678 2014-02-07 Allan McRae <allan@archlinux.org>
21680 * version.h (RELEASE): Set to "development".
21681 (VERSION): Set to "2.19.90"
21682 * NEWS: Add 2.20 section.
21684 2014-02-06 Carlos O'Donell <carlos@redhat.com>
21687 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21689 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21691 * manual/contrib.texi: Update entry for Carlos O'Donell,
21692 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21694 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
21696 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21698 * sysdeps/unix/sysv/linux/kernel-features.h
21699 [__LINUX_KERNEL_VERSION >= 0x020621]
21700 (__ASSUME_PROC_PID_TASK_COMM): Define.
21702 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21705 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21706 conversion when destination buffer does not have enough space.
21707 * libio/tst-ftell-partial-wide.c: New test case.
21708 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21710 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21711 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21712 Leonard and Allan McRae.
21714 2014-02-04 David S. Miller <davem@davemloft.net>
21716 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21719 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21748 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21750 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21751 * shlib-versions: Likewise.
21753 2014-02-04 Roland McGrath <roland@hack.frob.com>
21754 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21756 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21757 (abilist-pattern): New variable, set to %-le.abilist.
21759 * Makerules (abilist-pattern): New variable.
21760 (vpath): Use $(abilist-pattern) in place of %.abilist.
21761 (check-abi-% pattern rule): Likewise.
21762 (check-abi, update-abi): Likewise.
21764 2014-02-04 Eric Wong <normalperson@yhbt.net>
21766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21768 2014-02-03 Carlos O'Donell <carlos@redhat.com>
21770 * manual/startup.texi: Add next, previous, and top entries for
21771 the `Program Arguments' and `Environment Variables' nodes.
21773 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
21775 * manual/macros.texi: Add comments before MTASC-safety macros.
21777 * manual/users.texi: Document MTASC-safety properties.
21779 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21780 (pthread_getspecific, pthread_setspecific): Format with
21781 @deftypefun, and add @safety note.
21782 * manual/signal.texi: Move comments that analyze the above
21783 functions to their home place.
21785 2014-02-03 Allan McRae <allan@archlinux.org>
21787 * po/sl.po: Update Slovenian translation from translation project.
21789 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
21791 * manual/time.texi (timegm): Add missing blank after @c.
21792 Reported by Joseph Myers <joseph@codesourcery.com>.
21794 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
21796 * manual/check-safety.sh: New.
21797 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21799 * manual/terminal.texi: Document MTASC-safety properties.
21801 * manual/filesys.texi: Document MTASC-safety properties.
21803 * manual/errno.texi: Document MTASC-safety properties.
21805 * manual/intro.texi: Document safety identifiers and
21808 * manual/string.texi (wcstok): Fix prototype.
21809 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21811 * manual/time.texi: Document MTASC-safety properties.
21813 * manual/string.texi: Document MTASC-safety properties.
21815 * manual/threads.texi: Document MTASC-safety properties.
21817 * manual/stdio.texi: Document MTASC-safety properties.
21819 * manual/syslog.texi: Document MTASC-safety properties.
21821 * manual/sysinfo.texi: Document MTASC-safety properties.
21823 * manual/startup.texi: Document MTASC-safety properties.
21825 * manual/socket.texi: Document MTASC-safety properties.
21827 * manual/signal.texi: Document MTASC-safety properties.
21829 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
21831 * manual/setjmp.texi: Document MTASC-safety properties.
21833 * manual/search.texi: Document MTASC-safety properties.
21835 * manual/resource.texi: Document MTASC-safety properties.
21837 * manual/process.texi: Document MTASC-safety properties.
21839 * manual/platform.texi: Document MTASC-safety properties.
21841 * manual/pipe.texi: Document MTASC-safety properties.
21843 * manual/pattern.texi: Document MTASC-safety properties.
21845 * manual/message.texi: Document MTASC-safety properties.
21848 * manual/memory.texi: Document MTASC-safety properties.
21850 * manual/math.texi: Document MTASC-safety properties.
21852 * manual/locale.texi: Document MTASC-safety properties.
21854 * manual/llio.texi: Document MTASC-safety properties.
21856 * manual/libdl.texi: New.
21858 * manual/lang.texi: Document MTASC-safety properties.
21860 * manual/job.texi: Document MTASC-safety properties.
21862 * manual/getopt.texi: Document MTASC-safety properties.
21864 * manual/ctype.texi: Document MTASC-safety properties.
21866 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21869 * csu/libc-tls.c (static_map): Remove variable.
21870 (__libc_setup_tls): Use main executable's link map for TLS data.
21871 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21872 casing for LM_ID_BASE and GL(dl_nns).
21873 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21874 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21875 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21876 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21877 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21879 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21882 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
21884 * manual/debug.texi: Document MTASC-safety properties.
21886 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21889 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21890 of __x86_64__ when disabling x87 inline functions.
21892 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
21894 * manual/charset.texi: Document MTASC-safety properties.
21896 * manual/crypt.texi: Document MTASC-safety properties.
21898 * manual/conf.texi: Document MTASC-safety properties.
21900 * manual/arith.texi: Document MTASC-safety properties.
21902 * manual/argp.texi: Document MTASC-safety properties.
21904 * manual/macros.texi: Introduce macros to document multi
21905 thread, asynchronous signal and asynchronous cancellation
21907 * manual/intro.texi: Introduce the properties themselves.
21909 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21911 * sysdeps/sh/sh4/Makefile: New file.
21913 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21915 * math/gen-libm-test.pl ($srcdir): New variable.
21916 ($auto_input): Use it.
21918 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21921 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21922 access beyond array bounds when parsing netgroups file.
21924 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21925 the old buffer before realloc.
21927 2014-01-27 Allan McRae <allan@archlinux.org>
21929 * po/fr.po: Update French translation from translation project.
21931 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21933 * sysdeps/sh/libm-test-ulps: Regenerate.
21935 2014-01-24 David S. Miller <davem@davemloft.net>
21937 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21939 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21941 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21942 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21944 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21947 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21948 string pointers after reallocation.
21950 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21952 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21953 __SH4A__ instead of __SH_FPU_ANY__.
21955 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21957 * sysdeps/sh/fpu_control.h: New file.
21958 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21959 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21960 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21961 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21962 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21963 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21964 * sysdeps/sh/sys/ucontext.h: Remove.
21965 * sysdeps/sh/sys: Remove directory.
21967 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21969 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21970 s390/sys/ucontext.h.
21971 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21972 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21974 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21977 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21979 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21982 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21983 Adjust the vDSO correctly for internal calls.
21984 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21986 2014-01-20 Allan McRae <allan@archlinux.org>
21988 * po/ca.po: Update Catalan translation from translation project.
21990 2014-01-16 Mike Frysinger <vapier@gentoo.org>
21992 * sysdeps/s390/sotruss-lib.c: New file.
21994 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21997 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21998 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21999 local calls issues by not having a PLT stub required for IFUNC calls.
22000 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22002 2014-01-16 Joseph Myers <joseph@codesourcery.com>
22004 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22005 * math/test-fpucw-static.c: Likewise.
22007 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22010 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22012 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22014 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22015 implementation for powerpc.
22017 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
22020 * sysdeps/posix/system.c (__libc_system): Do not enable
22021 asynchronous cancellation.
22023 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22026 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22027 handling only for numbers special also in the IEEE case.
22029 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22031 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22033 2014-01-11 Allan McRae <allan@archlinux.org>
22035 * po/bg.po: Update Bulgarian translation from translation project.
22037 * po/de.po: Update German translation from translation project.
22039 2014-01-10 Roland McGrath <roland@hack.frob.com>
22041 * sysdeps/generic/gcc-compat.h: New file.
22043 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22045 * benchtests/asin-inputs: Correct slow inputs.
22046 * benchtests/acos-inputs: Likewise.
22048 2014-01-10 Allan McRae <allan@archlinux.org>
22050 * po:sv.po: Update Swedish translation from translation project.
22052 * po/vi.po: Update Vietnamese translation from translation project.
22054 * po/eo.po: Update Esperanto translation from translation project.
22056 * po/cs.po: Update Czech translation from translation project.
22058 * po/nl.po: Update Dutch translation from translation project.
22060 * po/pl.po: Update Polish translation from translation project.
22062 * po/ru.po: Update Russian translation from translation project.
22064 * po/uk.po: Update Ukrainian translation from translation project.
22066 2014-01-08 Brooks Moses <bmoses@google.com>
22068 * elf/dl-load.c: Fix comment typo.
22070 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22072 * po/header.pot: Rename to...
22073 * po/pot.header: ... this.
22074 * po/Makefile: Use pot.header.
22076 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22077 Maxim Kuvyrkov <maxim@kugelworks.com>
22080 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22081 SRC and DEST against LEN.
22083 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22086 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22088 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22090 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22094 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22097 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22098 for large positive arguments.
22100 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22102 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22104 * math/auto-libm-test-in: Mark various tests with
22105 xfail-rounding:ldbl-128ibm.
22106 * math/auto-libm-test-out: Regenerated.
22109 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22110 Increase overflow threshold.
22112 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22115 * stdio-common/vfprintf.c: Check for integer overflow.
22117 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22119 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22120 the first argument and return value of __tls_get_addr_internal.
22122 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22124 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22125 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22127 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22129 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22130 * sysdeps/s390/rtld-global-offsets.sym: New file.
22131 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22133 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22134 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22135 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22137 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22138 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22144 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22145 halfs of GPRs for high_gprs contexts.
22146 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22147 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22149 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22151 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22153 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22154 for high GPRs (uc_high_gprs) and for future extensions
22156 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22157 for future extensions (__reserved).
22158 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22160 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22161 SC_HIGHGPRS offset definition.
22162 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22163 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22165 * Versions.def: Add GLIBC_2.19 for libpthread.
22166 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22167 siglongjmp for libpthread with GLIBC_2.19 symver.
22168 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22169 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22170 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22171 * sysdeps/s390/__longjmp.c: New file.
22172 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22173 * sysdeps/s390/longjmp.c: New file.
22174 * sysdeps/s390/setjmp.S: New file.
22175 * sysdeps/s390/sigjmp.S: New file.
22176 * sysdeps/s390/v1-longjmp.c: New file.
22177 * sysdeps/s390/v1-setjmp.h: New file.
22178 * sysdeps/s390/v1-sigjmp.c: New file.
22179 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22180 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22181 GLIBC_2.19 version.
22182 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22183 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22184 versioned symbols for ____longjmp_chk.
22185 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22195 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22196 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22197 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22198 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22199 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22200 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22201 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22202 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22203 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22204 * sysdeps/s390/rtld-__longjmp.c: New file.
22205 * sysdeps/s390/rtld-setjmp.S: New file.
22207 2014-01-06 Joseph Myers <joseph@codesourcery.com>
22210 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22211 Return -__logl (x) for small positive arguments without evaluating
22214 2014-01-06 Mike Frysinger <vapier@gentoo.org>
22216 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22218 (__ptrace_peeksiginfo_args): ... this.
22219 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22220 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22221 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22223 2014-01-06 Allan McRae <allan@archlinux.org>
22225 * inet/netinet/in.h: Fix typo in comment.
22227 2014-01-05 Andreas Jaeger <aj@suse.de>
22229 * sysdeps/i386/fpu/libm-test-ulps: Update.
22231 2014-01-05 Allan McRae <allan@archlinux.org>
22233 * po/libc.pot: Regenerated.
22235 * malloc/memusagestat.c: Fix gettext call formatting.
22237 2014-01-04 Sami Kerola <kerolasa@iki.fi>
22239 * nscd/nscd.c: Improve usage() output.
22241 2014-01-04 Mike Frysinger <vapier@gentoo.org>
22243 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22244 * sysdeps/unix/sysv/linux/configure: Regenerated.
22245 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22246 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22248 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22251 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22252 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22254 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22256 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22257 extra tokens at end of #undef directive.
22258 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22259 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22260 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22262 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22264 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22266 * math/auto-libm-test-in: Mark various tests with
22267 xfail-rounding:ldbl-128ibm.
22268 * math/auto-libm-test-out: Regenerated.
22270 2014-01-02 Joseph Myers <joseph@codesourcery.com>
22273 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22274 numbers with subnormal high part when calculating exponent.
22277 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22281 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22283 (__ieee754_acoshl): Use __log1pl not __log1p.
22285 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22287 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22288 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22289 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22290 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22291 (reused_arena, arena_get2): Convert to GNU style.
22292 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22293 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22294 (memalign_check, __malloc_set_state): Likewise.
22295 * malloc/mallocbug.c (main): Likewise.
22296 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22297 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22298 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22299 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22300 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22301 (__posix_memalign, malloc_info): Likewise.
22302 * malloc/malloc.h: Likewise.
22303 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22304 (mallochook, memalignhook, reallochook, mabort): Likewise.
22305 * malloc/mcheck.h: Likewise.
22306 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22307 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22308 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22309 * malloc/morecore.c (__default_morecore): Likewise.
22310 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22311 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22312 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22313 (print_and_abort): Likewise.
22314 * malloc/obstack.h: Likewise.
22315 * malloc/set-freeres.c (__libc_freeres): Likewise.
22316 * malloc/tst-mallocstate.c (main): Likewise.
22317 * malloc/tst-mtrace.c (main): Likewise.
22318 * malloc/tst-realloc.c (do_test): Likewise.
22320 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22323 * nscd/netgroupcache.c (do_notfound): New function.
22324 (addgetnetgrentX): Use it.
22327 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22328 NSS_STATUS_NOTFOUND.
22330 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22332 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22335 2014-01-01 Allan McRae <allan@archlinux.org>
22337 * scripts/update-copyrights: Update configure input file suffix.
22339 * NEWS: Update copyright year.
22340 * catgets/gencat.c: Likewise.
22341 * csu/version.c: Likewise.
22342 * debug/catchsegv.sh: Likewise.
22343 * debug/pcprofiledump.c: Likewise.
22344 * debug/xtrace.sh: Likewise.
22345 * elf/ldconfig.c: Likewise.
22346 * elf/ldd.bash.in: Likewise.
22347 * elf/pldd.c: Likewise.
22348 * elf/sotruss.ksh: Likewise.
22349 * elf/sprof.c: Likewise.
22350 * iconv/iconv_prog.c: Likewise.
22351 * iconv/iconvconfig.c: Likewise.
22352 * locale/programs/locale.c: Likewise.
22353 * locale/programs/localedef.c: Likewise.
22354 * login/programs/pt_chown.c: Likewise.
22355 * malloc/memusage.sh: Likewise.
22356 * malloc/memusagestat.c: Likewise.
22357 * malloc/mtrace.pl: Likewise.
22358 * manual/libc.texinfo: Likewise.
22359 * nscd/nscd.c: Likewise.
22360 * nss/getent.c: Likewise.
22361 * nss/makedb.c: Likewise.
22362 * posix/getconf.c: Likewise.
22363 * scripts/test-installation.pl: Likewise.
22365 * All files with FSF copyright notices: Update copyright dates
22366 using scripts/update-copyrights.
22367 * intl/plural.c: Regenerated.
22368 * locale/programs/charmap-kw.h: Likewise.
22369 * locale/programs/locfile-kw.h: Likewise.
22371 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22373 * sysdeps/unix/sysv/linux/configure: Regenerated.
22374 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22375 the linux/fanotify.h header.
22376 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22377 HAVE_LINUX_FANOTIFY_H is defined.
22379 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22381 * benchtests/cos-inputs: New inputs.
22382 * benchtests/sin-inputs: Likewise.
22384 * benchtests/atan-inputs: New inputs. Fix name of multiple
22385 precision fallback inputs.
22387 * benchtests/atanh-inputs: New inputs.
22388 * benchtests/tanh-inputs: Likewise.
22390 * benchtests/acosh-inputs: New inputs.
22391 * benchtests/asinh-inputs: Likewise.
22393 * benchtests/cosh-inputs: New inputs.
22394 * benchtests/sinh-inputs: Likewise.
22396 * benchtests/acos-inputs: Add more inputs.
22397 * benchtests/asin-inputs: Likewise.
22399 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22402 * manual/arith.texi: Fix spelling.
22403 * manual/charset.texi: Likewise.
22404 * manual/errno.texi: Likewise.
22405 * manual/filesys.texi: Likewise.
22406 * manual/lang.texi: Likewise.
22407 * manual/llio.texi: Likewise.
22408 * manual/locale.texi: Likewise.
22409 * manual/message.texi: Likewise.
22410 * manual/resource.texi: Likewise.
22411 * manual/search.texi: Likewise.
22412 * manual/setjmp.texi: Likewise.
22413 * manual/stdio.texi: Likewise.
22414 * manual/string.texi: Likewise.
22415 * manual/sysinfo.texi: Likewise.
22416 * manual/time.texi: Likewise.
22418 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22420 * po/sl.po: New file.
22422 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22424 * .gitignore: Add core/.gdbinit/.gdb_history.
22426 2013-12-27 Allan McRae <allan@archlinux.org>
22429 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22430 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22432 2013-12-24 Brooks Moses <bmoses@google.com>
22434 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22435 all compilers that claim C++98 compliance, not just GCC.
22436 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22439 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22441 * NEWS: Restore accidentally deleted bug-fix entries.
22443 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22444 Ondřej Bílka <neleai@seznam.cz>
22447 * malloc/malloc.c (_int_free): Perform sanity check only if we
22450 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22453 * manual/stdio.texi (String Input Conversions): Clarify that character
22454 classes are not supported.
22456 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22460 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22463 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22464 Calculate results for small negative arguments directly rather
22465 than using reflection formula with special underflow handling.
22467 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22468 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22469 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22470 (fchflags): Likewise.
22471 (revoke): Likewise.
22472 (setlogin): Likewise.
22473 (sigaltstack): Likewise.
22475 (sigblock): Remove.
22476 (sigsetmask): Likewise.
22478 (waitpid): Likewise.
22479 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22480 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22482 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22483 * sysdeps/unix/bsd/Makefile: ... here.
22484 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22485 * sysdeps/unix/bsd/Versions: ... here.
22486 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22487 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22488 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22489 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22490 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22491 * sysdeps/unix/bsd/sigblock.c: ... here.
22492 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22493 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22494 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22495 * sysdeps/unix/bsd/sigvec.c: ... here.
22496 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22497 * sysdeps/unix/bsd/tcdrain.c: ... here.
22498 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22499 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22500 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22501 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22502 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22503 * sysdeps/unix/bsd/wait.c: ... here.
22504 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22505 * sysdeps/unix/bsd/wait3.c: ... here.
22506 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22507 * sysdeps/unix/bsd/waitpid.c: ... here.
22509 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22512 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22513 round-to-nearest for [!USE_AS_EXPM1L].
22514 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22515 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22516 more tests of exp and exp10. Expect some exp10 tests to miss
22517 exceptions or fail in directed rounding modes.
22518 * math/auto-libm-test-out: Regenerated.
22519 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22520 (exp10_test_tonearest): New function.
22521 (exp10_towardzero_test_data): New array.
22522 (exp10_test_towardzero): New function.
22523 (exp10_downward_test_data): New array.
22524 (exp10_test_downward): New function.
22525 (exp10_upward_test_data): New array.
22526 (exp10_test_upward): New function.
22527 (main): Call the new functions.
22528 * sysdeps/i386/fpu/libm-test-ulps: Update.
22529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22531 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22533 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22534 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22535 * math/auto-libm-test-out: Regenerated.
22536 * math/libm-test.inc (acosh_test_data): Add more tests.
22537 (atanh_test_data): Likewise.
22538 (ceil_test_data): Likewise.
22539 (copysign_test_data): Likewise.
22540 * sysdeps/i386/fpu/libm-test-ulps: Update.
22541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22543 * timezone/checktab.awk: Update from tzcode 2013i.
22544 * timezone/private.h: Likewise.
22545 * timezone/scheck.c: Likewise.
22546 * timezone/tzfile.h: Likewise.
22547 * timezone/tzselect.ksh: Likewise.
22548 * timezone/zdump.c: Likewise.
22549 * timezone/zic.c: Likewise.
22551 * math/auto-libm-test-in: Add tests of cpow.
22552 * math/auto-libm-test-out: Regenerated.
22553 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22554 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22556 (func_calc_desc): Add mpc_cc_c union field.
22557 (test_functions): Add cpow.
22558 (special_fill_2pi): New function.
22559 (special_real_inputs): Add 2pi.
22560 (calc_generic_results): Handle mpc_cc_c.
22561 * sysdeps/i386/fpu/libm-test-ulps: Update.
22562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22564 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22565 csqrt, ctan and ctanh.
22566 * math/auto-libm-test-out: Regenerated.
22567 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22568 (TEST_COND_x86): Likewise.
22569 (ccos_test_data): Use AUTO_TESTS_c_c.
22570 (ccosh_test_data): Likewise.
22571 (cexp_test_data): Likewise.
22572 (clog_test_data): Likewise.
22573 (csqrt_test_data): Likewise.
22574 (ctan_test_data): Likewise.
22575 (ctan_tonearest_test_data): Likewise.
22576 (ctan_towardzero_test_data): Likewise.
22577 (ctan_downward_test_data): Likewise.
22578 (ctan_upward_test_data): Likewise.
22579 (ctanh_test_data): Likewise.
22580 (ctanh_tonearest_test_data): Likewise.
22581 (ctanh_towardzero_test_data): Likewise.
22582 (ctanh_downward_test_data): Likewise.
22583 (ctanh_upward_test_data): Likewise.
22584 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22586 (func_calc_desc): Add mpc_c_c union field.
22587 (FUNC_mpc_c_c): New macro.
22588 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22589 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22591 (special_fill_min_subnorm_p120): New function.
22592 (special_real_inputs): Add min_subnorm_p120.
22593 (calc_generic_results): Handle mpc_c_c.
22594 * sysdeps/i386/fpu/libm-test-ulps: Update.
22595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22597 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22599 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22600 (do_sin_slow): New functions.
22601 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22602 (cslow2, csloww1, csloww2): Use the new functions.
22604 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22605 Use M to change sign of result instead of X. Assume X is
22607 (csloww1): Likewise.
22611 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22612 arguments A and DA.
22616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22618 (sloww1): Don't adjust sign of DX.
22619 (csloww1): Likewise.
22620 (sloww2): Use X directly and don't adjust sign of DX.
22621 (csloww2): Likewise.
22623 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22625 * math/auto-libm-test-in: Add tests of cabs and carg.
22626 * math/auto-libm-test-out: Regenerated.
22627 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22628 (carg_test_data): Likewise.
22629 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22631 (func_calc_desc): Add mpc_c_f union field.
22632 (test_functions): Add cabs and carg.
22633 (calc_generic_results): Handle mpc_c_f.
22635 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22636 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22637 as a macro and a compat symbol.
22638 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22639 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22640 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22641 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22642 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22643 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22645 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22647 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22649 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22651 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22653 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22655 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22656 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22659 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22663 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22665 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22666 trailing whitespace removed.
22667 * scripts/config.guess: Update to version 2013-11-29.
22668 * scripts/config.sub: Update to version 2013-10-01.
22670 * math/auto-libm-test-in: Add tests of sincos.
22671 * math/auto-libm-test-out: Regenerated.
22672 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22673 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22675 (func_calc_desc): Add mpfr_f_11 union field.
22676 (test_functions): Add sincos.
22677 (calc_generic_results): Handle mpfr_f_11.
22678 * sysdeps/i386/fpu/libm-test-ulps: Update.
22679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22681 2013-12-19 Andreas Schwab <schwab@suse.de>
22683 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22685 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22686 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22687 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22689 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22691 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22692 * sysdeps/i386/fpu/libm-test-ulps: Update.
22693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22696 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22697 round-to-nearest mode when using frndint.
22698 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22699 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22700 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22702 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22704 * math/auto-libm-test-out: Regenerated.
22705 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22706 (TEST_COND_x86): Likewise.
22707 (expm1_tonearest_test_data): New array.
22708 (expm1_test_tonearest): New function.
22709 (expm1_towardzero_test_data): New array.
22710 (expm1_test_towardzero): New function.
22711 (expm1_downward_test_data): New array.
22712 (expm1_test_downward): New function.
22713 (expm1_upward_test_data): New array.
22714 (expm1_test_upward): New function.
22715 (main): Run the new test functions.
22716 * sysdeps/i386/fpu/libm-test-ulps: Update.
22717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22719 * include/features.h: Update comment documenting feature test
22720 macros. Mention _DEFAULT_SOURCE in comment.
22721 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22722 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22723 _BSD_SOURCE and _SVID_SOURCE.
22724 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22725 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22726 !_SVID_SOURCE]: Likewise.
22727 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22728 (__USE_POSIX_IMPLICITLY): Define.
22729 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22730 (_POSIX_SOURCE): Undefine and redefine.
22731 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22732 (_POSIX_C_SOURCE): Likewise.
22733 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22734 (Feature Test Macros): Update documentation of default features.
22736 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22738 * benchtests/Makefile: Add bench-strtok.
22739 * benchtests/bench-strtok.c: New file: strtok benchtest.
22741 2013-12-19 Allan McRae <allan@archlinux.org>
22743 * manual/install.texi: Suppress menu for plain text output.
22744 * INSTALL: Regenerated.
22746 2013-12-18 Brooks Moses <bmoses@google.com>
22749 * misc/getauxval.c: Include errno.h.
22750 (__getauxval): Set errno to ENOENT if the requested type is not
22752 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22753 don't declare with __attribute_const__.
22754 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22755 * manual/startup.texi: Document that getauxval sets errno.
22757 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22759 * math/auto-libm-test-in: Add tests of jn and yn.
22760 * math/auto-libm-test-out: Regenerated.
22761 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22762 (yn_test_data): Likewise.
22763 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22765 (func_calc_desc): Add mpfr_if_f union field.
22766 (FUNC_mpfr_if_f): New macro.
22767 (test_functions): Add jn and yn.
22768 (calc_generic_results): Assert type of second input for
22769 mpfr_ff_f. Handle mpfr_if_f.
22770 (output_for_one_input_case): Disable all checking for arguments
22771 fitting floating-point types in case of an integer argument.
22772 * sysdeps/i386/fpu/libm-test-ulps: Update.
22773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22776 Don't expect fegetround reference in libm.so.
22778 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22780 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22781 $(config-cflags-nofma).
22783 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22785 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22786 * math/auto-libm-test-out: Regenerated.
22789 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22790 to determine exponent and adjust argument to have exponent of -1.
22791 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22793 * math/auto-libm-test-out: Regenerated.
22794 * sysdeps/i386/fpu/libm-test-ulps: Update.
22795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22797 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
22799 * manual/probes.texi: Remove cases when per-thread arenas are
22802 2013-12-18 Andreas Schwab <schwab@suse.de>
22804 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22805 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22806 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22807 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22808 * sysdeps/i386/i686/multiarch/Makefile: Update.
22809 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22811 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22813 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22814 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22816 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22819 Support TZ transition times < 00:00:00.
22820 This is needed for version-3 tz-format files; it supports time
22821 stamps past 2037 for America/Godthab (the only entry in the tz
22822 database for which this change is relevant).
22823 * manual/time.texi (TZ Variable): Document transition times
22824 from -167:59:59 through -00:00:01.
22825 * time/tzset.c (tz_rule): Time of day is now signed.
22826 (__tzset_parse_tz): Parse negative time of day.
22828 Document TZ transition times >= 25:00:00.
22829 * manual/time.texi (TZ Variable): Document transition times from
22830 25:00:00 through 167:59:59. These are already supported, and this
22831 support will help with version-3 tz-format files.
22833 * manual/time.texi (TZ Variable): Modernize North America example
22834 to reflect current (i.e., 2007-and-later) daylight saving rules.
22836 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22838 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22840 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22841 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22843 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22844 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22845 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22846 * sysdeps/unix/bsd/clock.c: Likewise.
22847 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22848 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22849 * sysdeps/unix/bsd/init-posix.c: Likewise.
22850 * sysdeps/unix/bsd/poll.c: Likewise.
22851 * sysdeps/unix/bsd/ptsname.c: Likewise.
22852 * sysdeps/unix/bsd/seekdir.c: Likewise.
22853 * sysdeps/unix/bsd/setegid.c: Likewise.
22854 * sysdeps/unix/bsd/seteuid.c: Likewise.
22855 * sysdeps/unix/bsd/setgid.c: Likewise.
22856 * sysdeps/unix/bsd/setrgid.c: Likewise.
22857 * sysdeps/unix/bsd/setruid.c: Likewise.
22858 * sysdeps/unix/bsd/setsid.c: Likewise.
22859 * sysdeps/unix/bsd/setuid.c: Likewise.
22860 * sysdeps/unix/bsd/sigaction.c: Likewise.
22861 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22862 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22863 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22864 * sysdeps/unix/bsd/telldir.c: Likewise.
22865 * sysdeps/unix/bsd/times.c: Likewise.
22866 * sysdeps/unix/bsd/usleep.c: Likewise.
22868 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22869 ($(objpfx)libbsd-compat.a): Remove rule.
22871 * include/features.h (__FAVOR_BSD): Do not define.
22872 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22873 features conflicting with POSIX.
22874 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22875 (_BSD_SOURCE): Remove description of not being a subset of other
22876 feature test macros.
22877 * manual/job.texi (getpgrp): Do not document BSD version.
22878 (getpgid): Do not document by reference to BSD getpgrp.
22879 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22880 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22881 * signal/signal.h [__FAVOR_BSD]: Likewise.
22882 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22883 instead of making contents conditional on [__FAVOR_BSD].
22884 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22886 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22890 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22893 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22894 values below 2**-450, not 2**-500.
22895 * math/auto-libm-test-in: Don't allow spurious underflow from
22897 * math/auto-libm-test-out: Regenerated.
22901 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22902 values of ha and hb and sort them after adjusting subnormal
22904 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22906 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22907 values of ea and eb and sort them after adjusting subnormal
22909 * math/auto-libm-test-in: Do not expect some hypot tests of
22910 subnormals to fail. Add more hypot tests.
22911 * math/auto-libm-test-out: Regenerated.
22913 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22916 * sysdeps/sh/s_fma.c: New file.
22917 * sysdeps/sh/s_fmaf.c: New file.
22918 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22920 * sysdeps/sh/Implies: Add sh/soft-fp.
22922 2013-12-16 Roland McGrath <roland@hack.frob.com>
22924 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22925 level of indirection to members `objname', `errstring', `malloced'.
22926 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22927 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22928 it as the __longjmp argument (just pass 1 instead).
22929 (_dl_catch_error): Initialize C with argument pointers and address of
22930 volatile local ERRCODE rather than copying values out of C at return.
22932 2013-12-16 Joseph Myers <joseph@codesourcery.com>
22934 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22935 * math/auto-libm-test-out: Regenerated.
22936 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22937 (hypot_test_data): Likewise.
22938 (pow_test_data): Likewise.
22939 (pow_tonearest_test_data): Likewise.
22940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22942 (func_calc_desc): Add mpfr_ff_f union field.
22943 (FUNC_mpfr_ff_f): New macro.
22944 (test_functions): Add atan2, hypot and pow.
22945 (special_fill_min): New function.
22946 (special_fill_minus_min): Likewise.
22947 (special_fill_min_subnorm): Likewise.
22948 (special_fill_minus_min_subnorm): Likewise.
22949 (special_real_inputs): Add min, -min, min_subnorm and
22951 (calc_generic_results): Handle mpfr_ff_f.
22952 * sysdeps/i386/fpu/libm-test-ulps: Update.
22953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22955 2013-12-16 Will Newton <will.newton@linaro.org>
22957 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22958 (Aligned Memory Blocks): Add documentation for aligned_alloc
22959 and suggest it as an alternative to posix_memalign.
22960 (Hooks for Malloc): Document __memalign_hook is also called
22961 for aligned_alloc. (Summary of Malloc): Add summary for
22962 aligned alloc. Document __memalign_hook is also called
22965 2013-12-16 Will Newton <will.newton@linaro.org>
22967 * manual/memory.texi (Malloc Examples): Clarify default
22968 alignment documentation. Suggest posix_memalign rather
22969 than memalign or valloc.
22970 (Aligned Memory Blocks): Remove suggestion to use memalign
22971 or valloc. Remove obsolete comment about BSD.
22972 Document memalign errno values and mark the function obsolete.
22973 Document posix_memalign returned error codes. Mark valloc
22974 as obsolete. (Hooks for Malloc): __memalign_hook is also
22975 called for posix_memalign and valloc.
22976 (Summary of Malloc): Add posix_memalign to function summary.
22977 __memalign_hook is also called for posix_memalign and valloc.
22979 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22981 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22985 (sloww): Use mynumber union. Expand ternary operator into
22986 if-else statements.
22987 (cslow): use mynumber union.
22989 2013-12-16 Allan McRae <allan@archlinux.org>
22991 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22992 * configure: Regenerated.
22994 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22997 * configure.ac: Added --enable-maintainer-mode. Check for
22998 autoconf when enabled.
22999 * configure: Regenerated.
23001 * nscd/nscd.service: New file.
23002 * nscd/nscd.tmpfiles: New file.
23004 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
23007 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23008 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23009 * sysdeps/x86_64/multiarch/strstr.c: ... here.
23010 (strstr): Add __strstr_sse2_unaligned ifunc.
23011 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23012 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23013 (strcasestr): Remove __strcasestr_sse42 ifunc.
23014 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23018 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23020 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23021 * sysdeps/sh/bits/fenv.h: ... here.
23022 * sysdeps/sh/sh4/fpu/bits: Remove directory.
23024 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23026 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23029 hypotf multiarch implementations.
23030 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23031 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23032 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23033 multiarch hypot for PPC64.
23034 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23035 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23036 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23037 multiarch hypotf for PPC64.
23039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23040 modff multiarch implementations.
23041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23044 multiarch modf for PPC64.
23045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23048 multiarch modff for PPC64.
23050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23051 and logl multiarch implementations.
23052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23055 multiarch logb for PPC64.
23056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23059 multiarch logb for PPC64.
23060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23063 multiarch logb for PPC64.
23065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23066 isinff multiarch implementation.
23067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23071 multiarch isinf for PPC64.
23072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23075 multiarch isinff for PPC64.
23077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23078 finitef multiarch implementation.
23079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23083 multiarch finite for PPC64.
23084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23087 multiarch finitef for PPC64.
23089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23090 lrint multiarch implementation.
23091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23095 multiarch llrint for PPC64.
23096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23097 multiarch lrint for PPC64.
23099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23100 copysignf multiarch implementation.
23101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23106 multiarch copysign for PPC64.
23107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23108 multiarch copysignf for PPC64.
23110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23111 multiarch implementation.
23112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23120 multiarch llround for PPC64.
23121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23122 multiarch trunc for PPC64.
23123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23124 multiarch truncf for PPC64.
23126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23127 multiarch implementation.
23128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23136 multiarch llround for PPC64.
23137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23138 multiarch round for PPC64.
23139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23140 multiarch roundf for PPC64.
23142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23143 multiarch implementation.
23144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23152 multiarch llround for PPC64.
23153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23154 multiarch floor for PPC64.
23155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23156 multiarch floorf for PPC64.
23158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23159 multiarch implementation.
23160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23168 multiarch llround for PPC64.
23169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23170 multiarch ceil for PPC64.
23171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23172 multiarch ceilf for PPC64.
23174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23175 multiarch implementation.
23176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23183 multiarch llround for PPC64.
23184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23185 multiarch lround for PPC64.
23187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23188 multiarch implementation.
23189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23196 multiarch isnan for PPC64.
23197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23198 multiarch isnanf for PPC64.
23200 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23201 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23202 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23203 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23204 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23207 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23208 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23213 multiarch implementations.
23214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23215 (__libc_ifunc_impl_list): Likewise.
23216 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23217 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23218 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23219 multiarch stpcpy for PPC64.
23221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23222 multiarch implementations.
23223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23224 (__libc_ifunc_impl_list): Likewise.
23225 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23226 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23227 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23228 multiarch strcpy for PPC64.
23230 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23231 redefine function name.
23232 (_wordcopy_fwd_dest_aligned): Likewise.
23233 (_wordcopy_bwd_aligned): Likewise.
23234 (_wordcopy_bwd_dest_aligned): Likewise.
23235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23236 multiarch implementations.
23237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23238 (__libc_ifunc_impl_list): Likewise.
23239 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23240 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23241 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23242 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23243 multiarch wcscpy for PPC64.
23245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23246 multiarch implementations.
23247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23248 (__libc_ifunc_impl_list): Likewise.
23249 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23250 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23251 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23252 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23253 multiarch wcscpy for PPC64.
23255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23256 multiarch implementations.
23257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23258 (__libc_ifunc_impl_list): Likewise.
23259 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23260 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23261 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23262 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23263 multiarch wcsrchr for PPC64.
23265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23266 multiarch implementations.
23267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23268 (__libc_ifunc_impl_list): Likewise.
23269 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23270 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23271 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23272 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23273 multiarch wcschr for PPC64.
23275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23276 multiarch implementations.
23277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23278 (__libc_ifunc_impl_list): Likewise.
23279 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23280 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23281 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23282 multiarch strchrnul for PPC64.
23284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23287 (__libc_ifunc_impl_list): Likewise.
23288 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23289 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23290 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23291 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23297 (__libc_ifunc_impl_list): Likewise.
23298 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23299 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23300 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23301 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23305 multiarch implementations.
23306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23307 (__libc_ifunc_impl_list): Likewise.
23308 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23309 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23310 strncasecmp for PPC64.
23311 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23312 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23313 multiarch strncasecmp_l for PPC64.
23315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23316 multiarch implementations.
23317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23318 (__libc_ifunc_impl_list): Likewise.
23319 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23320 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23321 multiarch strcasecmp for PPC64.
23322 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23324 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23325 multiarch strcasecmp_l for PPC64.
23327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23330 (__libc_ifunc_impl_list): Likewise.
23331 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23332 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23333 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23339 (__libc_ifunc_impl_list): Likewise.
23340 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23341 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23342 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23348 (__libc_ifunc_impl_list): Likewise.
23349 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23350 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23351 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23352 rawmemrchr for PPC64.
23354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23357 (__libc_ifunc_impl_list): Likewise.
23358 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23359 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23360 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23366 (__libc_ifunc_impl_list): Likewise.
23367 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23368 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23369 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23375 (__libc_ifunc_impl_list): Likewise.
23376 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23377 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23378 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23381 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23382 avoid cretion of __bzero symbol.
23383 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23385 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23387 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23390 multiarch implementations.
23391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23392 (__libc_ifunc_impl_list): Likewise.
23393 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23394 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23395 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23396 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23398 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23399 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23400 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23401 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23402 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23404 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23406 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23410 (__libc_ifunc_impl_list): Likewise.
23411 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23412 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23413 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23414 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23418 multiarch for POWER/PPC64.
23419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23420 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23421 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23422 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23423 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23424 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23425 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23426 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23427 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23430 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23431 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23432 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23433 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23434 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23435 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23436 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23437 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23438 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23439 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23440 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23441 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23442 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23443 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23444 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23453 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23455 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23457 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23459 * benchtests/Makefile (bench): Add exp2 and log2.
23460 (LDLIBS-bench-exp2): Add -lm.
23461 (LDLIBS-bench-log2): Likewise.
23462 * benchtests/exp2-inputs: New inputs file.
23463 * benchtests/log2-inputs: New inputs file.
23464 * benchtests/log-inputs: Add new inputs.
23465 * benchtests/tan-inputs: Likewise.
23467 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23469 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23471 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23472 (csloww2): ... from here.
23474 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23475 instead of structures.
23476 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23477 (POLYNOMIAL): Likewise.
23478 (TAYLOR_SLOW): Likewise.
23484 (sloww1); Likewise.
23485 (sloww2): Likewise.
23486 (bsloww1): Likewise.
23487 (bsloww2): Likewise.
23488 (cslow2): Likewise.
23489 (csloww): Likewise.
23490 (csloww1): Likewise.
23491 (csloww2): Likewise.
23493 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23495 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23496 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23497 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23498 * malloc/hooks.c (realloc_check): Likewise.
23500 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23501 * malloc/arena.c: Remove PER_THREAD conditional.
23502 [!PER_THREAD]: Remove code.
23503 (ptmalloc_unlock_all2): Likewise.
23504 (ptmalloc_init): Likewise.
23505 (_int_new_arena): Likewise.
23506 (arena_get2): Likewise.
23507 * malloc/hooks.c (__malloc_get_state): Likewise.
23508 (__malloc_set_state): Likewise.
23509 * malloc/malloc.c: Likewise.
23510 (struct malloc_state): Likewise.
23511 (struct malloc_par): Likewise.
23512 (__libc_realloc): Likewise.
23513 (__libc_mallopt): Likewise.
23515 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23517 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23519 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23521 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23522 macro to a function. Check for zero perturb_byte.
23523 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23525 * malloc/malloc.c: (force_reg): Remove.
23526 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23527 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23528 force_reg by atomic_forced_read.
23529 * malloc/arena.c (ptmalloc_init): Likewise.
23530 * malloc/hooks.c (top_check): Likewise.
23532 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23536 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23540 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23542 * math/auto-libm-test-in: Add tests of lgamma.
23543 * math/auto-libm-test-out: Regenerated.
23544 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23545 (M_LOG_2_SQRT_PIl): Likewise.
23546 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23547 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23549 (func_calc_desc): Add mpfr_f_f1 union field.
23550 (ARGS1): New macro.
23558 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23559 (test_functions): Add lgamma.
23560 (calc_generic_results): Handle mpfr_f_f1.
23561 * sysdeps/i386/fpu/libm-test-ulps: Update.
23562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23564 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23566 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23567 __mpn_add_n for PowerPC64/POWER7.
23568 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23569 __mpn_sub_n for PowerPC64/POWER7.
23571 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23572 __mpn_addmul_1 for PowerPC64.
23573 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23574 __mpn_submul_1 for PowerPC64.
23575 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23577 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23580 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23583 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23585 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23587 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23589 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23590 add multiarch folders.
23591 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23592 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23593 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23594 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23595 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23596 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23597 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23598 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23599 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23600 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23601 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23610 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23616 multiarch __ieee754_hypot for PowerPC32.
23617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23622 multiarch __ieee754_hypotf for PowerPC32.
23624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23625 long_double_symbol only if __logbl is defined.
23626 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23627 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23628 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23629 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23630 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23631 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23632 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23633 path for implementation.
23634 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23635 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23637 logb, and logbl multiarch implementations for PowerPC32.
23638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23643 multiarch logb for PowerPC32.
23644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23649 multiarch logbf for PowerPC32.
23650 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23654 multiarch logbl implementation for PowerPC32.
23656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23657 and modff multiarch implementations.
23658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23663 multiarch modf for PowerPC32.
23664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23669 multiarch modff for PowerPC32.
23671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23672 and lrintf multiarch implementations.
23673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23678 multiarch lrint for PowerPC32.
23679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23680 file: multiarch lrintf for PowerPC32.
23682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23683 and lroundf multiarch implementations.
23684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23691 multiarch lround for PowerPC32.
23692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23693 file: multiarch lroundf for PowerPC32.
23695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23696 copysign and copysignf multiarch implementations.
23697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23702 file: multiarch copysign for PowerPC32.
23703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23704 file: multiarch copysignf for PowerPC32.
23706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23707 and truncf multiarch implementations.
23708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23713 multiarch trunc for PowerPC32.
23714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23719 multiarch truncf for PowerPC32.
23721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23722 and roundf multiarch implementations.
23723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23728 multiarch round for PowerPC32.
23729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23734 multiarch roundf for PowerPC32.
23736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23737 and floorf multiarch implementations.
23738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23743 multiarch floor for PowerPC32.
23744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23749 multiarch floorf for PowerPC32.
23751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23752 and ceilf multiarch implementations.
23753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23758 multiarch ceil for PowerPC32.
23759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23764 multiarch ceilf for PowerPC32.
23766 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23768 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23769 FINITEF is defined.
23770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23771 and finitef multiarch implementations.
23772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23777 multiarch finite for PowerPC32.
23778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23781 file: multiarch finitef for PowerPC32.
23783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23784 and isinff multiarch implementations.
23785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23790 multiarch isinf for PowerPC32.
23791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23794 multiarch isinff for PowerPC32.
23796 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23797 alias when __isnan is defined.
23798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23799 and isnanf multiarch implementations.
23800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23809 multiarch isnan for PowerPC32.
23810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23815 multiarch isnanf for PowerPC32.
23817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23818 and sqrtf multiarch implementations.
23819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23824 multiarch sqrt for PowerPC32.
23825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23830 multiarch sqrtf for PowerPC32.
23832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23833 and llroundf multiarch implementations.
23834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23841 file: multiarch llround for PowerPC32.
23842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23843 file: multiarch llroundf for PowerPC32.
23845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23846 multiarch PowerPC32 fpu implementations.
23847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23852 multiarch llrint for PowerPC32.
23853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23862 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23864 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23866 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23868 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23869 multiarch wordcopy for PPC32.
23870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23873 (__libc_ifunc_impl_list): Likewise.
23874 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23875 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23876 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23877 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23878 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23879 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23881 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23882 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23884 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23888 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23889 multiarch wcscpy for PPC32.
23890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23893 (__libc_ifunc_impl_list): Likewise.
23894 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23895 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23896 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23897 sysdeps/powerpc/power6/wcscpy.c.
23899 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23900 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23902 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23906 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23907 multiarch wcsrchr for PPC32.
23908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23911 (__libc_ifunc_impl_list): Likewise.
23912 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23913 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23914 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23915 sysdeps/powerpc/power6/wcsrchr.c.
23917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23923 multiarch wcschr for PPc32.
23924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23927 (__libc_ifunc_impl_list): Likewise.
23928 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23929 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23930 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23931 sysdeps/powerpc/power6/wcschr.c.
23933 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23934 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23936 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23937 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23938 file: multiarch strchr for PPC32.
23939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23942 (__libc_ifunc_impl_list): Likewise.
23944 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23946 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23948 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23950 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23951 multiarch strchrnul for PPC32.
23952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23955 (__libc_ifunc_impl_list): Likewise.
23957 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23959 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23960 multiarch strncasecmp for PPC32.
23961 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23963 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23964 multiarch strncasecmp_l for PPC32.
23965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23966 strncasecmp multiarch objects.
23967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23968 (__libc_ifunc_impl_list): Likewise.
23970 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23972 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23973 multiarch strncasecmp for PPC32.
23974 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23976 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23977 multiarch strcasecmp_l for PPC32.
23978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23981 (__libc_ifunc_impl_list): Likewise.
23983 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23985 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23987 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23988 multiarch strncmp for PPC32.
23989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23992 (__libc_ifunc_impl_list): Likewise.
23994 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23995 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23997 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23998 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24002 (__libc_ifunc_impl_list): Likewise.
24004 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24006 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24008 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24012 (__libc_ifunc_impl_list): Likewise.
24014 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24016 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24018 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24019 multiarch rawmemchr for PPC32.
24020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24023 (__libc_ifunc_impl_list): Likewise.
24025 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24027 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24029 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24030 file: memrchr multiarch for PPC32.
24031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24034 (__libc_ifunc_impl_list): Likewise.
24036 * string/memchr.c (__memchr): Using macro to redefine symbol name.
24037 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24039 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24040 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24041 multiarch memchr for PPC32.
24042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24045 (__libc_ifunc_impl_list): Likewise.
24047 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24048 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24050 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24052 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24053 file: multiarch mempcpy for PPC32.
24054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24057 (__libc_ifunc_impl_list): Likewise.
24059 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24060 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24061 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24062 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24063 multiarch bzero for PPC32.
24064 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24066 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24068 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24069 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24070 file: multiarch memset for PPC32.
24071 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24073 memset multiarch objects.
24074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24075 (__libc_ifunc_impl_list): Likewise.
24077 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24079 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24080 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24082 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24086 (__libc_ifunc_impl_list): Likewise.
24088 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24092 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24094 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24096 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24097 multiarch memcpy for PPC32.
24098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24101 (__libc_ifunc_impl_list): Likewise.
24103 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24104 support multiarch for POWER/PPC32.
24105 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24107 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24109 Implies file to make multiarch folder appers before the fpu and
24110 default folder for power4 configuration.
24112 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24114 * scripts/bench.pl: Append volatile keyword to type.
24116 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24118 * sysdeps/sh/sotruss-lib.c: New file.
24119 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24121 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24125 2013-12-05 Joseph Myers <joseph@codesourcery.com>
24128 * math/w_tgamma.c: Include <errno.h>.
24129 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
24130 * math/w_tgammaf.c: Include <errno.h>.
24131 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
24132 * math/w_tgammal.c: Include <errno.h>.
24133 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
24134 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24135 underflow. Add more tgamma tests.
24136 * math/auto-libm-test-out: Regenerated.
24137 * sysdeps/i386/fpu/libm-test-ulps: Update.
24138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24140 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24141 sin, sinh, tan, tanh, tgamma, y0 and y1.
24142 * math/auto-libm-test-out: Regenerated.
24143 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24144 (TEST_COND_x86): Likewise.
24145 (M_E2l): Remove macro.
24147 (M_2_SQRT_PIl): Likewise.
24148 (M_SQRT_PIl): Likewise.
24149 (M_1_DIV_El): Likewise.
24150 (log_test_data): Use AUTO_TESTS_f_f.
24151 (log10_test_data): Likewise.
24152 (log1p_test_data): Likewise.
24153 (log2_test_data): Likewise.
24154 (sin_test_data): Likewise.
24155 (sin_tonearest_test_data): Likewise.
24156 (sin_towardzero_test_data): Likewise.
24157 (sin_downward_test_data): Likewise.
24158 (sin_upward_test_data): Likewise.
24159 (sinh_test_data): Likewise.
24160 (sinh_tonearest_test_data): Likewise.
24161 (sinh_towardzero_test_data): Likewise.
24162 (sinh_downward_test_data): Likewise.
24163 (sinh_upward_test_data): Likewise.
24164 (tan_test_data): Likewise.
24165 (tan_tonearest_test_data): Likewise.
24166 (tan_towardzero_test_data): Likewise.
24167 (tan_downward_test_data): Likewise.
24168 (tan_upward_test_data): Likewise.
24169 (tanh_test_data): Likewise.
24170 (tgamma_test_data): Likewise.
24171 (y0_test_data): Likewise.
24172 (y1_test_data): Likewise.
24173 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24174 (special_real_inputs): Add pi/4.
24175 * sysdeps/i386/fpu/libm-test-ulps: Update.
24176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24178 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24180 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24181 "longjmp_target" static probes.
24182 (__longjmp): Rename to __longjmp_symbol.
24183 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24184 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24185 on which longjmp to generate.
24186 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24187 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24189 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24190 (__sigjmp_save): Rename to __sigjmp_save_symbol.
24191 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24192 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24193 and __sigjmp_save_symbol based on which sigsetjmp to generated.
24194 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24196 __longjmp_symbol based on which __longjmp to generate.
24197 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24199 (setjmp): Rename to setjmp_symbol.
24200 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24201 (_setjmp): Rename to _setjmp_symbol.
24202 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24203 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24204 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24205 which setjmp to generate.
24206 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24207 "longjmp_target" static probes.
24209 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24211 * benchtests/README: Add note about output arguments.
24212 * benchtests/bench-sincos.c: Remove file.
24213 * benchtests/sincos-inputs: New file.
24214 * scripts/bench.pl: Identify output arguments and define
24215 static variables for them.
24217 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24220 * Makefile (INSTALL): Add install-plain.texi as the primary
24222 * manual/install-plain.texi: New file.
24223 * manual/install.texi: Include node directive only for
24224 non-plaintext output.
24226 2013-12-04 Joseph Myers <joseph@codesourcery.com>
24228 * stdlib/longlong.h: Update from GCC.
24232 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24233 * math/w_j0f.c (y0f): Likewise.
24234 * math/w_j0l.c (__y0l): Likewise.
24235 * math/w_j1.c (y1): Likewise.
24236 * math/w_j1f.c (y1f): Likewise.
24237 * math/w_j1l.c (__y1l): Likewise
24238 * math/w_jn.c (yn): Likewise.
24239 * math/w_jnf.c (ynf): Likewise.
24240 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24241 Bessel function pole errors in _POSIX_ mode. Use NAN as return
24242 value for Bessel function domain errors outside _SVID_ mode.
24243 Adjust sign of return value for yn (negative integer, 0).
24244 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24245 by zero in return for negative x and set sign appropriately for
24247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24248 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24249 * math/libm-test.inc (y0_test_data): Add more tests and adjust
24250 expectations in error cases.
24251 (y1_test_data): Likewise.
24252 (yn_test_data): Likewise.
24253 * sysdeps/i386/fpu/libm-test-ulps: Update.
24254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24256 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24258 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24259 "64" to "64-v1". Add "64-v2".
24260 (abi-64-options): Rename to ...
24261 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24262 (abi-64-condition): Rename to ...
24263 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24264 (abi-64-ld-soname): Rename to ...
24265 (abi-64-v1-ld-soname): ... this.
24266 (abi-64-v2-options): Define.
24267 (abi-64-v2-condition): Likewise.
24268 (abi-64-v2-ld-soname): Likewise.
24269 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24270 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24275 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24276 Alan Modra <amodra@gmail.com>
24278 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24279 New versions for use with the ELFv2 ABI.
24280 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24281 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24283 (struct La_ppc64v2_retval): Likewise.
24284 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24285 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24286 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24287 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24288 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24289 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24290 Do not save or restore CR.
24291 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24292 (_dl_profile_resolve): Do no save or restore CR. Support extended
24293 return values for ELFv2 ABI. Fix location of FPR return registers.
24294 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24295 updated values for _CALL_ELF == 2.
24296 (La_regs, La_retval, int_retval): Likewise.
24298 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24300 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24301 (FRAME_MIN_SIZE_PARM): Likewise.
24302 (FRAME_BACKCHAIN): Likewise.
24303 (FRAME_CR_SAVE): Likewise.
24304 (FRAME_LR_SAVE): Likewise.
24305 (FRAME_TOC_SAVE): Likewise.
24306 (FRAME_PARM_SAVE): Likewise.
24307 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24308 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24309 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24310 (call_mcount_parm_offset): New macro.
24311 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24312 (PROF): Use symbolic stack frame offsets.
24313 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24314 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24315 Redefine in terms of FRAME_MIN_SIZE.
24316 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24317 (_dl_profile_resolve): Likewise. Update comment.
24318 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24319 symbols stack frame offsets.
24320 (__sigsetjmp): Likewise.
24321 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24322 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24323 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24324 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24327 (FRAME_BACKCHAIN): Remove.
24328 (FRAME_CR_SAVE): Likewise.
24329 (FRAME_LR_SAVE): Likewise.
24330 (FRAME_COMPILER_DW): Likewise.
24331 (FRAME_LINKER_DW): Likewise.
24332 (FRAME_TOC_SAVE): Likewise.
24333 (FRAME_PARM_SAVE): Likewise.
24334 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24335 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24336 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24338 (CHECK_SP): Use symbolic stack frame offsets.
24339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24340 zone" instead of caller's parameter save area for temp storage.
24341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24342 Likewise. Also, use symbolic stack frame offsets.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24344 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24345 our own stack frame instead of the caller's.
24346 (__socket): Use symbolic stack frame offsets.
24348 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24349 Alan Modra <amodra@gmail.com>
24351 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24353 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24354 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24355 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24357 (elf_machine_fixup_plt): Call it.
24358 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24360 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24361 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24362 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24363 r2 before calling target.
24365 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24366 Alan Modra <amodra@gmail.com>
24368 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24369 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24370 versions of macros to support ELFv2 ABI.
24371 (LOCALENTRY): New macro.
24372 (ENTRY, EALIGN): Use it.
24373 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24374 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24375 fall through into ENTRY entry point.
24376 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24377 Only define if _CALL_ELF != 2.
24379 (elf_machine_matches_host): Verify ABI version matches.
24380 (RTLD_START): Use LOCALENTRY.
24381 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24382 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24383 (PLT_ENTRY_WORDS): New macro.
24384 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24385 (elf_machine_runtime_setup): Support ELFv2 ABI.
24386 (elf_machine_fixup_plt): Likewise.
24387 (elf_machine_plt_conflict): Likewise.
24388 (resolve_ifunc): Likewise.
24389 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24390 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24393 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24395 (makecontext): Support ELFv2 ABI.
24396 * elf/elf.h (EF_PPC64_ABI): Define.
24398 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24400 * sysdeps/powerpc/powerpc64/sysdep.h
24401 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24402 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24403 (ENTRY) [ASSEMBLER]: ... but instead here ...
24404 (EALIGN) [ASSEMBLER]: ... and here.
24405 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24406 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24407 (ENTRY_2) [!ASSEMBLER]: Use it.
24408 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24409 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24410 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24411 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24412 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24414 Use PPC64_LOAD_FUNCPTR.
24416 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24418 2013-12-04 Alan Modra <amodra@gmail.com>
24420 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24421 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24422 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24423 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24426 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24427 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24428 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24429 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24430 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24432 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24435 (__makecontext): Fix incorrect CFI when backtracing out of
24436 context created via makecontext.
24437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24438 (__setcontext): Fix incorrect CFI during switch to new context.
24439 (__novec_setcontext): Likewise.
24441 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24444 * time/strptime_l.c (__strptime_internal): Allow modifiers
24446 * time/tst-strptime.c (day_tests): Add testcase.
24448 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24450 * scripts/bench.pl: Skip over blank lines.
24452 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24455 * manual/time.texi (Calendar Time): Clarify what timezone functions
24458 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24462 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24464 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24466 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24467 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24468 * debug/memset_chk.c (__memset_chk): Likewise.
24469 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24470 * debug/strncpy_chk.c: Likewise.
24472 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24476 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24477 (__ieee754_exp): For possibly underflowing results, check size of
24478 result and force underflow exception if required.
24479 * math/auto-libm-test-in: Add more tests of exp.
24480 * math/auto-libm-test-out: Regenerated.
24481 * sysdeps/i386/fpu/libm-test-ulps: Update.
24482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24485 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24486 * math/w_exp2f.c (__exp2f): Likewise.
24487 * math/w_exp2l.c (__exp2l): Likewise.
24488 * math/auto-libm-test-in: Do not allow missing errno on exp2
24490 * math/auto-libm-test-out: Regenerated.
24492 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24495 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24496 handle filename validation.
24497 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24500 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24503 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24504 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24505 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24507 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24508 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24509 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24510 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24511 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24513 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24514 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24515 Add more erfc tests.
24516 * math/auto-libm-test-out: Regenerated.
24517 * sysdeps/i386/fpu/libm-test-ulps: Update.
24518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24520 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24521 exp2, expm1, j0 and j1.
24522 * math/auto-libm-test-out: Regenerated.
24523 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24524 (erfc_test_data): Likewise.
24525 (exp_test_data): Likewise.
24526 (exp_tonearest_test_data): Likewise.
24527 (exp_towardzero_test_data): Likewise.
24528 (exp_downward_test_data): Likewise.
24529 (exp_upward_test_data): Likewise.
24530 (exp10_test_data): Likewise.
24531 (exp2_test_data): Likewise.
24532 (expm1_test_data): Likewise.
24533 (j0_test_data): Likewise.
24534 (j1_test_data): Likewise.
24535 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24536 (input_flag_type): Add flag_xfail_rounding.
24537 (input_flags): Add xfail-rounding.
24538 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24539 (output_for_one_input_case): Handle flag_xfail_rounding.
24540 * sysdeps/i386/fpu/libm-test-ulps: Update.
24541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24543 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24546 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24549 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24552 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24553 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24554 (STAP_PROBE0): New macro.
24555 (STAP_PROBE1): Likewise.
24556 (STAP_PROBE2): Likewise.
24557 (STAP_PROBE3): Likewise.
24558 (STAP_PROBE4): Likewise.
24560 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24562 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24564 2013-12-02 Steve Ellcey <sellcey@mips.com>
24566 * benchtests/Makefile (bench): Add sqrt.
24567 (LDLIBS-bench-sqrt): New.
24568 * benchtests/sqrt-input: New.
24570 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24572 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24573 (GAIH_EAI): Likewise.
24574 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24575 (gaih_inet): Likewise.
24576 (getaddrinfo): Don't use GAIH_EAI.
24578 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24579 (struct gaih): Remove definition.
24581 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24583 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24584 Use HERRNOP directly.
24586 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24590 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24592 * math/gen-auto-libm-tests.c (test_functions): Add more
24593 single-argument functions.
24594 (special_fill_pi_2): New function.
24595 (special_fill_minus_pi_2): Likewise.
24596 (special_fill_pi_6): Likewise.
24597 (special_fill_minus_pi_6): Likewise.
24598 (special_fill_pi_3): Likewise.
24599 (special_fill_2pi_3): Likewise.
24600 (special_fill_e): Likewise.
24601 (special_fill_1_e): Likewise.
24602 (special_fill_e_minus_1): Likewise.
24603 (special_real_inputs): Add more special inputs.
24604 (output_for_one_input_case): Do not require ERANGE on underflow to
24605 zero if round-to-nearest result does not underflow to zero, unless
24606 exact results required.
24607 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24608 atan, atanh, cbrt, cos and cosh.
24609 * math/auto-libm-test-out: Regenerated.
24610 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24611 (acos_tonearest_test_data): Likewise.
24612 (acos_towardzero_test_data): Likewise.
24613 (acos_downward_test_data): Likewise.
24614 (acos_upward_test_data): Likewise.
24615 (acosh_test_data): Likewise.
24616 (asin_test_data): Likewise.
24617 (asin_tonearest_test_data): Likewise.
24618 (asin_towardzero_test_data): Likewise.
24619 (asin_upward_test_data): Likewise.
24620 (asinh_test_data): Likewise.
24621 (atan_test_data): Likewise.
24622 (atanh_test_data): Likewise.
24623 (cbrt_test_data): Likewise.
24624 (cos_test_data): Likewise.
24625 (cos_tonearest_test_data): Likewise.
24626 (cos_towardzero_test_data): Likewise.
24627 (cos_downward_test_data): Likewise.
24628 (cos_upward_test_data): Likewise.
24629 (cosh_test_data): Likewise.
24630 (cosh_tonearest_test_data): Likewise.
24631 (cosh_towardzero_test_data): Likewise.
24632 (cosh_downward_test_data): Likewise.
24633 (cosh_upward_test_data): Likewise.
24634 * sysdeps/i386/fpu/libm-test-ulps: Update.
24635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24637 2013-11-29 Joseph Myers <joseph@codesourcery.com>
24640 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24641 * math/w_exp10f.c (__exp10f): Likewise.
24642 * math/w_exp10l.c (__exp10l): Likewise.
24643 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24644 errno settings in existing tests.
24647 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24648 precision control set to double precision.
24649 * sysdeps/i386/fpu/w_sqrt.c: New file.
24650 * math/auto-libm-test-in: Add more tests.
24651 * math/auto-libm-test-out: Update.
24653 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24654 (sqrt_test_tonearest): New function.
24655 (sqrt_towardzero_test_data): New variable.
24656 (sqrt_test_towardzero): New function.
24657 (sqrt_downward_test_data): New variable.
24658 (sqrt_test_downward): New function.
24659 (sqrt_upward_test_data): New variable.
24660 (sqrt_test_upward): New function.
24661 (main): Call the new functions.
24663 * math/gen-auto-libm-tests.c: New file.
24664 * math/auto-libm-test-in: Likewise.
24665 * math/auto-libm-test-out: New generated file.
24666 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24668 (%beautify): Add generated representations of zero.
24669 (top level): Set $auto_input and call parse_auto_input.
24670 (beautify): Remove trailing "f" from hex float constants.
24671 (parse_args): Handle XFAIL_TEST.
24672 (convert_condition): New function.
24673 (or_value): Likewise.
24674 (or_cond_value): Likewise.
24675 (generate_testfile): Handle AUTO_TESTS_* lines.
24676 (parse_auto_input): New function.
24677 * math/libm-test.inc (XFAIL_TEST): New macro.
24678 (ERRNO_UNCHANGED): Update value.
24679 (ERRNO_EDOM): Likewise.
24680 (ERRNO_ERANGE): Likewise.
24681 (IGNORE_RESULT): Likewise.
24682 (TEST_COND_flt_32): New macro.
24683 (TEST_COND_dbl_64): Likewise.
24684 (TEST_COND_ldbl_96_intel): Likewise.
24685 (TEST_COND_ldbl_96_m68k): Likewise.
24686 (TEST_COND_ldbl_128): Likewise.
24687 (TEST_COND_ldbl_128ibm): Likewise.
24688 (TEST_COND_long32): Likewise.
24689 (TEST_COND_long64): Likewise.
24690 (TEST_COND_before_rounding): Likewise.
24691 (TEST_COND_after_rounding): Likewise.
24692 (enable_test): Handle XFAIL_TEST flag.
24693 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24694 with finite results.
24695 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24696 auto-libm-test-out.
24698 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24699 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24702 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24703 __tls_get_addr_internal instead of __tls_get_offset in order to
24704 avoid GOT pointer dependency. Make rtld export
24705 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24706 __tls_get_addr since we are a __tls_get_offset platform.
24707 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24708 GOT pointer being set up before.
24709 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24711 2013-11-28 Joseph Myers <joseph@codesourcery.com>
24713 * manual/math.texi (Errors in Math Functions): Document accuracy
24717 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24718 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24719 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24720 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24721 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24723 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24727 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24729 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24731 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24732 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24734 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24735 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24736 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24737 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24738 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24740 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24742 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24744 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24745 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24746 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24747 atomic-feupdateenv and flt-rounds.
24748 * sysdeps/powerpc/nofpu/Versions (libc): Add
24749 __atomic_feholdexcept, __atomic_feclearexcept,
24750 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24751 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24752 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24753 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24754 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24759 * manual/arith.texi (FP Exceptions): Document that exceptions may
24760 not be raised when matherr is used.
24761 (Math Error Reporting): Document overflow in directed rounding
24762 modes. Document that errno may not be set when finite values are
24763 returned on overflow. Document intent to set errno on underflow
24764 only for underflow to zero.
24767 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24768 round-to-nearest then adjust result for other rounding modes.
24769 * include/fenv.h (fegetround): Use libm_hidden_proto.
24770 * math/fegetround.c (fegetround): Use libm_hidden_def.
24771 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24772 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24773 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24774 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24776 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24777 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24778 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24779 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24781 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24784 * nss/Versions (libnss_files): Add
24785 _nss_files_gethostbyname3_r.
24786 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24788 (HOST_DB_LOOKUP): Remove macro.
24789 (_nss_files_gethostbyname_r): Implement function without the
24790 HOST_DB_LOOKUP macro.
24791 (_nss_files_gethostbyname2_r): Likewise.
24793 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
24795 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24797 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
24799 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24800 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24803 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24805 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24806 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24807 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24808 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24809 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24810 __fe_nomask_env_priv and attribute_hidden.
24811 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24812 (libc_feupdateenv_test_ppc): Likewise.
24813 (libc_feresetround_ppc): Likewise.
24814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24815 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24816 compat_symbol macro.
24817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24818 (__fe_nomask_env): Likewise.
24819 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24821 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24823 * string/Makefile: Remove ifunc tests.
24824 * string/test-string.h: Define TEST_IFUNC.
24825 * string/test-bcopy-ifunc.c: Remove.
24826 * string/test-bzero-ifunc.c: Likewise.
24827 * string/test-memccpy-ifunc.c: Likewise.
24828 * string/test-memchr-ifunc.c: Likewise.
24829 * string/test-memcmp-ifunc.c: Likewise.
24830 * string/test-memcpy-ifunc.c: Likewise.
24831 * string/test-memmem-ifunc.c: Likewise.
24832 * string/test-memmove-ifunc.c: Likewise.
24833 * string/test-mempcpy-ifunc.c: Likewise.
24834 * string/test-memrchr-ifunc.c: Likewise.
24835 * string/test-memset-ifunc.c: Likewise.
24836 * string/test-rawmemchr-ifunc.c: Likewise.
24837 * string/test-stpcpy-ifunc.c: Likewise.
24838 * string/test-stpncpy-ifunc.c: Likewise.
24839 * string/test-strcasecmp-ifunc.c: Likewise.
24840 * string/test-strcasestr-ifunc.c: Likewise.
24841 * string/test-strcat-ifunc.c: Likewise.
24842 * string/test-strchr-ifunc.c: Likewise.
24843 * string/test-strchrnul-ifunc.c: Likewise.
24844 * string/test-strcmp-ifunc.c: Likewise.
24845 * string/test-strcpy-ifunc.c: Likewise.
24846 * string/test-strcspn-ifunc.c: Likewise.
24847 * string/test-strlen-ifunc.c: Likewise.
24848 * string/test-strncasecmp-ifunc.c: Likewise.
24849 * string/test-strncat-ifunc.c: Likewise.
24850 * string/test-strncmp-ifunc.c: Likewise.
24851 * string/test-strncpy-ifunc.c: Likewise.
24852 * string/test-strnlen-ifunc.c: Likewise.
24853 * string/test-strpbrk-ifunc.c: Likewise.
24854 * string/test-strrchr-ifunc.c: Likewise.
24855 * string/test-strspn-ifunc.c: Likewise.
24856 * string/test-strstr-ifunc.c: Likewise.
24858 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24860 * benchtests/Makefile: Remove ifunc tests.
24861 * benchtests/bench-string.h: Define TEST_IFUNC.
24862 * benchtests/bench-bcopy-ifunc.c: Remove.
24863 * benchtests/bench-bzero-ifunc.c: Likewise.
24864 * benchtests/bench-memccpy-ifunc.c: Likewise.
24865 * benchtests/bench-memchr-ifunc.c: Likewise.
24866 * benchtests/bench-memcmp-ifunc.c: Likewise.
24867 * benchtests/bench-memcpy-ifunc.c: Likewise.
24868 * benchtests/bench-memmem-ifunc.c: Likewise.
24869 * benchtests/bench-memmove-ifunc.c: Likewise.
24870 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24871 * benchtests/bench-memrchr-ifunc.c: Likewise.
24872 * benchtests/bench-memset-ifunc.c: Likewise.
24873 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24874 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24875 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24876 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24877 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24878 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24879 * benchtests/bench-strcat-ifunc.c: Likewise.
24880 * benchtests/bench-strchr-ifunc.c: Likewise.
24881 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24882 * benchtests/bench-strcmp-ifunc.c: Likewise.
24883 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24884 * benchtests/bench-strcpy-ifunc.c: Likewise.
24885 * benchtests/bench-strcspn-ifunc.c: Likewise.
24886 * benchtests/bench-strlen-ifunc.c: Likewise.
24887 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24888 * benchtests/bench-strncat-ifunc.c: Likewise.
24889 * benchtests/bench-strncmp-ifunc.c: Likewise.
24890 * benchtests/bench-strncpy-ifunc.c: Likewise.
24891 * benchtests/bench-strnlen-ifunc.c: Likewise.
24892 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24893 * benchtests/bench-strrchr-ifunc.c: Likewise.
24894 * benchtests/bench-strsep-ifunc.c: Likewise.
24895 * benchtests/bench-strspn-ifunc.c: Likewise.
24896 * benchtests/bench-strstr-ifunc.c: Likewise.
24898 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24900 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24902 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24904 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24905 * rt/aio.h: Likewise.
24906 * sysdeps/gnu/bits/utmp.h: Likewise.
24907 * sysdeps/gnu/bits/utmpx.h: Likewise.
24908 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24909 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24910 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24911 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24912 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24913 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24914 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24915 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24916 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24917 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24918 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24919 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24920 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24922 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24923 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24924 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24925 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24926 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24927 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24928 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24929 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24930 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24931 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24932 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24934 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24935 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24936 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24937 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24938 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24939 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24940 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24941 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24942 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24943 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24944 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24945 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24946 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24947 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24948 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24949 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24951 2013-11-25 Carlos O'Donell <carlos@redhat.com>
24954 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24955 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24957 2013-11-25 Joseph Myers <joseph@codesourcery.com>
24959 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24960 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24963 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24965 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24966 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24967 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24968 (__fesetround): Remove define.
24969 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24970 rounding and exceptions handling.
24971 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24972 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24973 (__fe_nomask_env): Likewise.
24974 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24975 __fegetround instead of fegetround.
24976 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24977 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24979 2013-11-21 Roland McGrath <roland@hack.frob.com>
24981 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24984 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24986 2013-11-21 Meador Inge <meadori@codesourcery.com>
24989 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24990 (encrypt_r): Likewise.
24991 * malloc/obstack.h (obstack_free): Likewise.
24992 * posix/unistd.h (encrypt): Likewise.
24994 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24996 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24997 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24998 DL_CALL_DT_FINI() that call the functions directly.
24999 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25000 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25001 * elf/dl-fini.c: Likewise.
25003 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
25005 * malloc/hooks.c (memalign_check): Add alignment rounding.
25006 * malloc/malloc.c (_mid_memalign): New function.
25007 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25008 Implement by calling _mid_memalign.
25009 * manual/probes.texi (Memory Allocation Probes): Remove
25010 memory_valloc_retry and memory_pvalloc_retry.
25012 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25014 * locale/programs/locarchive.c (open_archive): Add const
25015 qualifier to ARCHIVEFNAME and copy default fname to
25019 * libio/tst-widetext.input: Rename Oriya to Odia.
25020 * locale/iso-639.def: Likewise.
25022 * manual/probes.texi (Mathematical Function Probes): Add
25023 documentation for sin, cos, asin and acos probes.
25024 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25025 (__sin32): Add slowasin probe.
25026 (__cos32): Add slowacos probe.
25027 (__mpsin): Add slowsin probe.
25028 (__mpcos): Add slowcos probe.
25030 2013-11-19 Joseph Myers <joseph@codesourcery.com>
25033 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25034 thread-local __sim_exceptions_thread and global
25035 __sim_exceptions_global.
25036 (__sim_disabled_exceptions): Change to thread-local
25037 __sim_disabled_exceptions_thread and global
25038 __sim_disabled_exceptions_global.
25039 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25040 and global __sim_round_mode_global.
25041 (__simulate_exceptions): Use thread-local floating-point state and
25042 set global state from it as needed.
25043 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25044 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25045 __sim_round_mode_thread.
25046 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25047 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25048 and global __sim_exceptions_global.
25049 (__sim_disabled_exceptions): Change to thread-local
25050 __sim_disabled_exceptions_thread and global
25051 __sim_disabled_exceptions_global.
25052 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25053 and global __sim_round_mode_global.
25054 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25055 (SIM_SET_GLOBAL): Likewise.
25056 * sysdeps/powerpc/soft-fp/sfp-machine.h
25057 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25058 __sim_round_mode_thread.
25059 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25060 __sim_disabled_exceptions_thread.
25061 (__sim_exceptions): Change to __sim_exceptions_thread.
25062 (__sim_disabled_exceptions): Change to
25063 __sim_disabled_exceptions_thread.
25064 (__sim_round_mode): Change to __sim_round_mode_thread.
25065 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25066 thread-local floating-point state and set global state from it as
25068 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25069 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25070 (__sim_disabled_exceptions): Remove extern declaration.
25071 (feenableexcept): Use thread-local floating-point state and set
25072 global state from it as needed.
25073 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25074 extern declaration.
25075 (__sim_disabled_exceptions): Likewise.
25076 (__sim_round_mode): Likewise.
25077 (__fegetenv): Use thread-local floating-point state.
25078 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25079 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25080 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25081 floating-point state and set global state from it as needed.
25082 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25083 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25084 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25086 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25087 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25089 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25090 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25091 Use __sim_round_mode_thread.
25092 * math/test-fenv-tls.c: New file.
25093 * math/Makefile (tests): Add test-fenv-tls.
25094 ($(objpfx)test-fenv-tls): Depend on
25095 $(common-objpfx)nptl/libpthread.so.
25097 2013-11-19 Andreas Schwab <schwab@suse.de>
25099 * locale/programs/locale.c (show_info): Decode wordarray elements.
25100 * locale/categories.def (LC_MONETARY): Add element for
25101 _NL_MONETARY_CRNCYSTR.
25102 * locale/C-monetary.c (conversion_rate): New variable.
25103 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25106 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25108 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25109 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25111 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25113 * elf/Makefile (tst-auxv): New test.
25114 * elf/tst-auxv.c: New
25115 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25117 2013-11-18 Joseph Myers <joseph@codesourcery.com>
25119 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25120 (hidden_proto): Caller changed.
25121 (hidden_tls_proto): New macro.
25122 (libc_hidden_tls_proto): Likewise.
25123 (rtld_hidden_tls_proto): Likewise.
25124 (libm_hidden_tls_proto): Likewise.
25125 (libresolv_hidden_tls_proto): Likewise.
25126 (librt_hidden_tls_proto): Likewise.
25127 (libdl_hidden_tls_proto): Likewise.
25128 (libnss_files_hidden_tls_proto): Likewise.
25129 (libnsl_hidden_tls_proto): Likewise.
25130 (libnss_nisplus_hidden_tls_proto): Likewise.
25131 (libutil_hidden_tls_proto): Likewise.
25133 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
25136 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25137 (decompose_rpath): Defer expansion to fillin_rpath.
25138 (_dl_init_paths): Pass linkmap to fillin_rpath.
25140 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25142 * benchtests/Makefile: Add strsep.
25143 * benchtests/bench-strsep.c: New file: strsep benchtest.
25144 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25146 2013-11-18 Andreas Schwab <schwab@suse.de>
25148 * locale/programs/locale.c (show_info) [case byte]: Check for
25149 '\377' instead of '\177'.
25150 * locale/C-monetary.c (not_available): Always use "\377".
25151 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25152 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25153 detect unavailable sign_posn locale elements.
25154 * locale/localeconv.c (__localeconv): For grouping and
25155 mon_grouping handle "\177" and "\377" like no grouping.
25156 (INT_ELEM): New macro. Use it to set all numeric members.
25157 * locale/programs/ld-monetary.c (monetary_read)
25158 <tok_mon_grouping>: Normalize single -1 to the empty string.
25159 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25162 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25165 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25166 when we match (nil).
25167 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25169 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25171 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25172 (NO_TEST_INLINE): Update value.
25173 (ERRNO_UNCHANGED): Likewise.
25174 (ERRNO_EDOM): Likewise.
25175 (ERRNO_ERANGE): Likewise.
25176 (IGNORE_RESULT): Likewise.
25177 (check_float_internal): Check signs of NaN results if
25178 TEST_NAN_SIGN used.
25179 (check_complex): Pass TEST_NAN_SIGN flag through to second
25180 check_float_internal call.
25181 (copysign_test_data): Add tests with quiet NaNs as second
25182 argument. Use TEST_NAN_SIGN.
25183 (fabs_test_data): Add test of negative quiet NaN argument. Use
25185 (signbit_test_data): Add tests of quiet NaN argument.
25186 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25188 * math/gen-libm-test.pl (show_exceptions): Take extra argument
25190 (parse_args): Handle function results specified as IGNORE.
25191 * math/libm-test.inc (IGNORE_RESULT): New macro.
25192 (check_float_internal): Do not check numerical result if flag
25194 (check_complex): Pass through IGNORE_RESULT to second
25195 check_float_internal call.
25196 (check_int): Do not check numerical result if flag IGNORE_RESULT
25198 (check_long): Likewise.
25199 (check_bool): Likewise.
25200 (check_longlong): Likewise.
25201 (lrint_test_data): Add tests of infinite and NaN arguments.
25202 (lrint_tonearest_test_data): Likewise.
25203 (lrint_towardzero_test_data): Likewise.
25204 (lrint_downward_test_data): Likewise.
25205 (lrint_upward_test_data): Likewise.
25206 (llrint_test_data): Likewise.
25207 (llrint_tonearest_test_data): Likewise.
25208 (llrint_towardzero_test_data): Likewise.
25209 (llrint_downward_test_data): Likewise.
25210 (llrint_upward_test_data): Likewise.
25211 (lround_test_data): Likewise.
25212 (llround_test_data): Likewise.
25214 * math/libm-test.inc (NO_TEST_INLINE): New macro.
25215 (ERRNO_UNCHANGED): Update value.
25216 (ERRNO_EDOM): Likewise.
25217 (ERRNO_ERANGE): Likewise.
25218 (NO_TEST_INLINE_FLOAT): New macro.
25219 (NO_TEST_INLINE_DOUBLE): Likewise.
25220 (enable_test): New function.
25221 (RUN_TEST_f_f): Check enable_test before running test.
25222 (RUN_TEST_2_f): Likewise.
25223 (RUN_TEST_fff_f): Likewise.
25224 (RUN_TEST_c_f): Likewise.
25225 (RUN_TEST_f_f1): Likewise.
25226 (RUN_TEST_fF_f1): Likewise.
25227 (RUN_TEST_fI_f1): Likewise.
25228 (RUN_TEST_ffI_f1): Likewise.
25229 (RUN_TEST_c_c): Likewise.
25230 (RUN_TEST_cc_c): Likewise.
25231 (RUN_TEST_f_i): Likewise.
25232 (RUN_TEST_f_i_tg): Likewise.
25233 (RUN_TEST_ff_i_tg): Likewise.
25234 (RUN_TEST_f_b): Likewise.
25235 (RUN_TEST_f_b_tg): Likewise.
25236 (RUN_TEST_f_l): Likewise.
25237 (RUN_TEST_f_L): Likewise.
25238 (RUN_TEST_fFF_11): Likewise.
25239 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25241 (cosh_test_data): Likewise.
25242 (exp_test_data): Likewise.
25243 (expm1_test_data): Likewise.
25244 (hypot_test_data): Likewise.
25245 (pow_test_data): Likewise.
25246 (sinh_test_data): Likewise.
25247 (tanh_test_data): Likewise.
25248 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25251 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25252 tests with quiet NaN input and output.
25253 (acosh_test_data): Likewise.
25254 (asin_test_data): Likewise.
25255 (asinh_test_data): Likewise.
25256 (atan_test_data): Likewise.
25257 (atanh_test_data): Likewise.
25258 (atan2_test_data): Likewise.
25259 (cbrt_test_data): Likewise.
25260 (cos_test_data): Likewise.
25261 (cosh_test_data): Likewise.
25262 (erf_test_data): Likewise.
25263 (erfc_test_data): Likewise.
25264 (exp_test_data): Likewise.
25265 (exp10_test_data): Likewise.
25266 (exp2_test_data): Likewise.
25267 (expm1_test_data): Likewise.
25268 (hypot_test_data): Likewise.
25269 (j0_test_data): Likewise.
25270 (j1_test_data): Likewise.
25271 (jn_test_data): Likewise.
25272 (lgamma_test_data): Likewise.
25273 (log_test_data): Likewise.
25274 (log10_test_data): Likewise.
25275 (log1p_test_data): Likewise.
25276 (log2_test_data): Likewise.
25277 (pow_test_data): Likewise.
25278 (scalb_test_data): Likewise.
25279 (sin_test_data): Likewise.
25280 (sincos_test_data): Likewise.
25281 (sinh_test_data): Likewise.
25282 (tan_test_data): Likewise.
25283 (tanh_test_data): Likewise.
25284 (tgamma_test_data): Likewise.
25285 (y0_test_data): Likewise.
25286 (y1_test_data): Likewise.
25287 (yn_test_data): Likewise.
25290 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25291 argument being NaN and avoid computations with second argument in
25293 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25294 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25295 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25297 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25299 * locale/iso-639.def: Add Chitwani Tharu (the).
25301 2013-11-14 Andreas Schwab <schwab@suse.de>
25303 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25304 word instead of empty string.
25306 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25309 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25311 (__fe_nomask_env): Likewise.
25313 2013-11-13 Steve Ellcey <sellcey@mips.com>
25315 * benchtests/bench-timing.h: Include time.h.
25317 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25320 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25322 * sysdeps/unix/sysv/linux/configure: Regenerated.
25324 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25327 * stdlib/strtod_l.c (round_and_return): Do not consider
25328 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25329 exponent one less than half the least subnormal exponent.
25330 * stdlib/test-strtod-round-data: Add more tests.
25331 * stdlib/tst-strtod-round.c (tests): Regenerated.
25333 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25336 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25337 (__fe_mask_env): Likewise.
25338 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25339 libm_hidden_proto and add function prototype.
25340 (__fe_mask_env): Add function prototype.
25341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25342 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25344 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25346 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25348 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25350 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25351 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25353 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25355 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25356 of htab_find_slot().
25358 2013-11-11 David S. Miller <davem@davemloft.net>
25361 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25362 symbol in the non-vis3 case in static builds.
25363 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25364 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25365 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25366 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25368 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25371 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25374 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25376 * benchtests/Makefile: Add bench-strtod.
25377 * benchtests/bench-strtod.c: New file: strtod benchtest
25379 2013-11-11 Andreas Schwab <schwab@suse.de>
25382 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25383 terminating NUL in key length.
25385 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25387 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25388 Add artificial ODP entry for vDSO symbol for PPC64.
25389 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25390 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25392 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25395 * nss/getent.c (services_keys): Recognize services starting with digit.
25397 2013-11-06 David S. Miller <davem@davemloft.net>
25400 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25401 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25403 2013-11-06 Will Newton <will.newton@linaro.org>
25405 * manual/memory.texi (Malloc Examples): Remove register
25406 keyword from examples.
25408 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25410 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25412 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25415 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25416 depending on [__GCC_IEC_559 > 0].
25417 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25418 depending on [__GCC_IEC_559_COMPLEX > 0].
25420 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25422 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25425 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25427 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25429 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25432 * malloc/malloc (malloc_info): Do not handle first bin as
25435 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25437 * locale/iso-639.def: Add Central Nahuatl (nhn).
25439 2013-11-01 Bruno Haible <bruno@clisp.org>
25442 * manual/math.texi (BSD Random): Specify range upper bound as
25445 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25447 * locale/iso-639.def: Add Meadow Mari (mhr).
25449 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25451 [BZ #14752], [BZ #15763]
25452 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25454 * rt/tst_shm.c: Add test for escaping directory.
25456 2013-10-31 Andreas Schwab <schwab@suse.de>
25459 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25460 followed by 'x' as part of digit sequence.
25461 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25463 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25466 * configure.ac: allow GNU Make 4.0 and greater.
25467 * configure: Regenerated.
25469 2013-10-30 Will Newton <will.newton@linaro.org>
25472 * malloc/hooks.c (memalign_check): Limit alignment to the
25473 maximum representable power of two.
25474 * malloc/malloc.c (__libc_memalign): Likewise.
25475 * malloc/tst-memalign.c (do_test): Add test for very
25476 large alignment values.
25477 * malloc/tst-posix_memalign.c (do_test): Likewise.
25479 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25482 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25483 (munmap_chunk): Likewise.
25484 (mremap_chunk): Likewise.
25486 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25489 * stdlib/div.c (div): Remove obsolete code.
25490 * stdlib/ldiv.c (ldiv): Likewise.
25491 * stdlib/lldiv.c (lldiv): Likewise.
25493 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25496 * nss/nss_files/files-XXX.c (get_contents_ret): New
25498 (get_contents): New function.
25499 (internal_getent): Use it. Expand size of LINEBUFLEN.
25501 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25503 * configure.in: Moved to ...
25504 * configure.ac: ... here. Change reference to configure.in
25506 * sysdeps/arm/preconfigure.ac: ... here.
25507 configure.in to configure.ac.
25508 * sysdeps/gnu/configure.in: Moved to ...
25509 * sysdeps/gnu/configure.ac: ... here.
25510 * sysdeps/i386/configure.in: Moved to ...
25511 * sysdeps/i386/configure.ac: ... here.
25512 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25513 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25514 * sysdeps/mach/configure.in: Moved to ...
25515 * sysdeps/mach/configure.ac: ... here.
25516 * sysdeps/mach/hurd/configure.in: Moved to ...
25517 * sysdeps/mach/hurd/configure.ac: ... here.
25518 * sysdeps/powerpc/configure.in: Moved to ...
25519 * sysdeps/powerpc/configure.ac: ... here.
25520 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25521 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25522 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25523 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25524 * sysdeps/s390/s390-32/configure.in: Moved to ...
25525 * sysdeps/s390/s390-32/configure.ac: ... here.
25526 * sysdeps/s390/s390-64/configure.in: Moved to ...
25527 * sysdeps/s390/s390-64/configure.ac: ... here.
25528 * sysdeps/sh/configure.in: Moved to ...
25529 * sysdeps/sh/configure.ac: ... here.
25530 * sysdeps/sparc/configure.in: Moved to ...
25531 * sysdeps/sparc/configure.ac: ... here.
25532 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25533 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25534 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25535 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25536 * sysdeps/x86_64/configure.in: Moved to ...
25537 * sysdeps/x86_64/configure.ac: ... here.
25538 * sysdeps/x86_64/preconfigure.in: Moved to ...
25539 * sysdeps/x86_64/preconfigure.ac: ... here.
25540 * aclocal.m4: Change reference to configure.in to configure.ac.
25541 * config.h.in: Likewise.
25542 * manual/install.texi: Likewise.
25543 * manual/maint.texi: Likewise.
25544 * Makefile: Likewise.
25545 * malloc/Makefile: Likewise.
25546 * nscd/Makefile: Likewise.
25547 * Makeconfig: Change reference to configure.in and
25548 preconfigure.in to configure.ac and preconfigure.ac
25550 * INSTALL: Regenerated.
25551 * configure: Likewise.
25552 * sysdeps/gnu/configure: Likewise.
25553 * sysdeps/i386/configure: Likewise.
25554 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25555 * sysdeps/mach/configure: Likewise.
25556 * sysdeps/mach/hurd/configure: Likewise.
25557 * sysdeps/powerpc/configure: Likewise.
25558 * sysdeps/powerpc/powerpc32/configure: Likewise.
25559 * sysdeps/powerpc/powerpc64/configure: Likewise.
25560 * sysdeps/s390/s390-32/configure: Likewise.
25561 * sysdeps/s390/s390-64/configure: Likewise.
25562 * sysdeps/sh/configure: Likewise.
25563 * sysdeps/sparc/configure: Likewise.
25564 * sysdeps/unix/sysv/linux/configure: Likewise.
25565 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25566 * sysdeps/x86_64/configure: Likewise.
25567 * sysdeps/x86_64/preconfigure: Likewise.
25569 2013-10-29 Andreas Schwab <schwab@suse.de>
25571 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25573 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25575 * benchtests/pow-inputs: Add new inputs.
25577 * benchtests/exp-inputs: Add new inputs.
25579 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25580 conditional check for return value.
25581 (__cos32): Likewise.
25583 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25585 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25586 to provide a boost for large inputs with word alignment.
25587 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25588 implementation based on optimized PPC64 strcpy.
25589 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25590 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25591 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25592 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25594 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25597 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25599 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25602 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25603 * time/tst-strptime.c (day_tests): Add testcase.
25605 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25608 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25610 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25613 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25614 MAP_FAILED on error.
25616 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25619 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25620 heap for large requests.
25622 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25625 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25626 result if the result has no associated interface.
25627 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25628 interface for all 127.X.Y.Z addresses.
25630 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
25632 * locale/iso-639.def: Add Ligurian (lij)
25634 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
25637 * sunrpc/rpc_main.c: Document rpcgen -5.
25639 2013-10-19 Michael Stahl <mstahl@redhat.com>
25641 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25643 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25646 * posix/glob.c: Match only directories when trailing slash is present.
25647 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25648 (main): Add testcase.
25650 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25653 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25655 2013-10-18 Carlos O'Donell <carlos@redhat.com>
25657 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25658 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25659 AUTH_DES and cindex for FIPS 140-2.
25660 (DES Encryption): Add cindex FIPS 46-3.
25662 * locale/locarchive.h (struct locarhandle): Add fname.
25663 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25664 if an optional argument was specified to --list-archive,
25666 * locale/programs/locarchive.c (show_archive_content): Take new
25667 argument fname and pass it via ah.fname to open_archive.
25668 * locale/programs/localedef.h: Update decl.
25669 (open_archive): If AH->fname is non-null, open that file
25670 rather than the default file name, and don't ignore ENOENT.
25671 (create_archive): Set AH.fname to NULL.
25672 (delete_locales_from_archive): Likewise.
25673 (add_locales_to_archive): Likewise.
25674 * locale/programs/locfile.c (write_all_categories): Likewise.
25676 2013-10-18 Joseph Myers <joseph@codesourcery.com>
25677 Aldy Hernandez <aldyh@redhat.com>
25679 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25680 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25681 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25682 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25683 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25684 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25685 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25686 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25687 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25688 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25689 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25690 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25691 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25692 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25693 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25695 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25697 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25699 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25701 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25702 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25704 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25705 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25706 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25707 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25709 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25710 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25711 * sysdeps/powerpc/preconfigure: Likewise.
25712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25714 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25715 Replace contents of file by #include of <fenv_libc.h>.
25716 * sysdeps/powerpc/soft-fp/sfp-machine.h
25717 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25719 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25720 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25721 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25722 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25723 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25724 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25726 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25727 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25728 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25729 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25730 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25732 Allow copysignl PLT reference to be missing.
25734 2013-10-18 Richard Sandiford <richard@codesourcery.com>
25735 Joseph Myers <joseph@codesourcery.com
25738 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25740 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25742 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25744 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25745 * elf/tst-tls1.c: Likewise.
25746 * elf/tst-tls10.h: Likewise.
25747 * elf/tst-tls14.c: Likewise.
25748 * elf/tst-tls2.c: Likewise.
25749 * elf/tst-tls3.c: Likewise.
25750 * elf/tst-tls4.c: Likewise.
25751 * elf/tst-tls5.c: Likewise.
25752 * elf/tst-tls6.c: Likewise.
25753 * elf/tst-tls7.c: Likewise.
25754 * elf/tst-tls8.c: Likewise.
25755 * elf/tst-tls9.c: Likewise.
25756 * elf/tst-tlsmod1.c: Likewise.
25757 * elf/tst-tlsmod13.c: Likewise.
25758 * elf/tst-tlsmod13a.c: Likewise.
25759 * elf/tst-tlsmod14a.c: Likewise.
25760 * elf/tst-tlsmod16a.c: Likewise.
25761 * elf/tst-tlsmod16b.c: Likewise.
25762 * elf/tst-tlsmod2.c: Likewise.
25763 * elf/tst-tlsmod3.c: Likewise.
25764 * elf/tst-tlsmod4.c: Likewise.
25765 * elf/tst-tlsmod5.c: Likewise.
25766 * elf/tst-tlsmod6.c: Likewise.
25768 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
25771 * malloc/malloc.c: remove checks for statistics.
25773 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25776 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25777 * inet/tst-network.c: Add testcase.
25779 2013-10-17 Andreas Schwab <schwab@suse.de>
25782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25783 to determine canonical name.
25785 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25787 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25788 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25789 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25790 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25792 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25793 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25794 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25795 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25796 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25797 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25798 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25799 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25800 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25801 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25802 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25803 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25804 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25805 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25806 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25807 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25811 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25812 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25813 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25814 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25815 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25816 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25817 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25818 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25819 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25820 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25821 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25822 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25823 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25824 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25825 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25826 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25827 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25828 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25829 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25830 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25831 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25833 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25834 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25836 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25838 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25839 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25841 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25842 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25846 2013-10-17 Joseph Myers <joseph@codesourcery.com>
25849 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25850 make result into a quiet NaN.
25852 2013-10-16 Joseph Myers <joseph@codesourcery.com>
25854 * soft-fp/adddf3.c: Fix horizontal whitespace.
25855 * soft-fp/addsf3.c: Likewise.
25856 * soft-fp/addtf3.c: Likewise.
25857 * soft-fp/divdf3.c: Likewise.
25858 * soft-fp/divsf3.c: Likewise.
25859 * soft-fp/divtf3.c: Likewise.
25860 * soft-fp/double.h: Likewise.
25861 * soft-fp/eqdf2.c: Likewise.
25862 * soft-fp/eqsf2.c: Likewise.
25863 * soft-fp/eqtf2.c: Likewise.
25864 * soft-fp/extenddftf2.c: Likewise.
25865 * soft-fp/extended.h: Likewise.
25866 * soft-fp/extendsfdf2.c: Likewise.
25867 * soft-fp/extendsftf2.c: Likewise.
25868 * soft-fp/extendxftf2.c: Likewise.
25869 * soft-fp/fixdfdi.c: Likewise.
25870 * soft-fp/fixdfsi.c: Likewise.
25871 * soft-fp/fixdfti.c: Likewise.
25872 * soft-fp/fixsfdi.c: Likewise.
25873 * soft-fp/fixsfsi.c: Likewise.
25874 * soft-fp/fixsfti.c: Likewise.
25875 * soft-fp/fixtfdi.c: Likewise.
25876 * soft-fp/fixtfsi.c: Likewise.
25877 * soft-fp/fixtfti.c: Likewise.
25878 * soft-fp/fixunsdfdi.c: Likewise.
25879 * soft-fp/fixunsdfsi.c: Likewise.
25880 * soft-fp/fixunsdfti.c: Likewise.
25881 * soft-fp/fixunssfdi.c: Likewise.
25882 * soft-fp/fixunssfsi.c: Likewise.
25883 * soft-fp/fixunssfti.c: Likewise.
25884 * soft-fp/fixunstfdi.c: Likewise.
25885 * soft-fp/fixunstfsi.c: Likewise.
25886 * soft-fp/fixunstfti.c: Likewise.
25887 * soft-fp/floatdidf.c: Likewise.
25888 * soft-fp/floatdisf.c: Likewise.
25889 * soft-fp/floatditf.c: Likewise.
25890 * soft-fp/floatsidf.c: Likewise.
25891 * soft-fp/floatsisf.c: Likewise.
25892 * soft-fp/floatsitf.c: Likewise.
25893 * soft-fp/floattidf.c: Likewise.
25894 * soft-fp/floattisf.c: Likewise.
25895 * soft-fp/floattitf.c: Likewise.
25896 * soft-fp/floatundidf.c: Likewise.
25897 * soft-fp/floatundisf.c: Likewise.
25898 * soft-fp/floatunditf.c: Likewise.
25899 * soft-fp/floatunsidf.c: Likewise.
25900 * soft-fp/floatunsisf.c: Likewise.
25901 * soft-fp/floatunsitf.c: Likewise.
25902 * soft-fp/floatuntidf.c: Likewise.
25903 * soft-fp/floatuntisf.c: Likewise.
25904 * soft-fp/floatuntitf.c: Likewise.
25905 * soft-fp/fmadf4.c: Likewise.
25906 * soft-fp/fmasf4.c: Likewise.
25907 * soft-fp/fmatf4.c: Likewise.
25908 * soft-fp/gedf2.c: Likewise.
25909 * soft-fp/gesf2.c: Likewise.
25910 * soft-fp/getf2.c: Likewise.
25911 * soft-fp/ledf2.c: Likewise.
25912 * soft-fp/lesf2.c: Likewise.
25913 * soft-fp/letf2.c: Likewise.
25914 * soft-fp/muldf3.c: Likewise.
25915 * soft-fp/mulsf3.c: Likewise.
25916 * soft-fp/multf3.c: Likewise.
25917 * soft-fp/negdf2.c: Likewise.
25918 * soft-fp/negsf2.c: Likewise.
25919 * soft-fp/negtf2.c: Likewise.
25920 * soft-fp/op-1.h: Likewise.
25921 * soft-fp/op-2.h: Likewise.
25922 * soft-fp/op-4.h: Likewise.
25923 * soft-fp/op-8.h: Likewise.
25924 * soft-fp/op-common.h: Likewise.
25925 * soft-fp/quad.h: Likewise.
25926 * soft-fp/single.h: Likewise.
25927 * soft-fp/soft-fp.h: Likewise.
25928 * soft-fp/sqrtdf2.c: Likewise.
25929 * soft-fp/sqrtsf2.c: Likewise.
25930 * soft-fp/sqrttf2.c: Likewise.
25931 * soft-fp/subdf3.c: Likewise.
25932 * soft-fp/subsf3.c: Likewise.
25933 * soft-fp/subtf3.c: Likewise.
25934 * soft-fp/truncdfsf2.c: Likewise.
25935 * soft-fp/trunctfdf2.c: Likewise.
25936 * soft-fp/trunctfsf2.c: Likewise.
25937 * soft-fp/trunctfxf2.c: Likewise.
25938 * soft-fp/unorddf2.c: Likewise.
25939 * soft-fp/unordsf2.c: Likewise.
25940 * soft-fp/unordtf2.c: Likewise.
25942 2013-10-15 Joseph Myers <joseph@codesourcery.com>
25944 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25945 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25947 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
25949 * elf/dl-libc.c: Clear initfini list after freeing.
25951 2013-10-14 Joseph Myers <joseph@codesourcery.com>
25953 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25954 * soft-fp/addsf3.c: Likewise.
25955 * soft-fp/addtf3.c: Likewise.
25956 * soft-fp/divdf3.c: Likewise.
25957 * soft-fp/divsf3.c: Likewise.
25958 * soft-fp/divtf3.c: Likewise.
25959 * soft-fp/double.h: Likewise.
25960 * soft-fp/eqdf2.c: Likewise.
25961 * soft-fp/eqsf2.c: Likewise.
25962 * soft-fp/eqtf2.c: Likewise.
25963 * soft-fp/extenddftf2.c: Likewise.
25964 * soft-fp/extended.h: Likewise.
25965 * soft-fp/extendsfdf2.c: Likewise.
25966 * soft-fp/extendsftf2.c: Likewise.
25967 * soft-fp/extendxftf2.c: Likewise.
25968 * soft-fp/fixdfdi.c: Likewise.
25969 * soft-fp/fixdfsi.c: Likewise.
25970 * soft-fp/fixdfti.c: Likewise.
25971 * soft-fp/fixsfdi.c: Likewise.
25972 * soft-fp/fixsfsi.c: Likewise.
25973 * soft-fp/fixsfti.c: Likewise.
25974 * soft-fp/fixtfdi.c: Likewise.
25975 * soft-fp/fixtfsi.c: Likewise.
25976 * soft-fp/fixtfti.c: Likewise.
25977 * soft-fp/fixunsdfdi.c: Likewise.
25978 * soft-fp/fixunsdfsi.c: Likewise.
25979 * soft-fp/fixunsdfti.c: Likewise.
25980 * soft-fp/fixunssfdi.c: Likewise.
25981 * soft-fp/fixunssfsi.c: Likewise.
25982 * soft-fp/fixunssfti.c: Likewise.
25983 * soft-fp/fixunstfdi.c: Likewise.
25984 * soft-fp/fixunstfsi.c: Likewise.
25985 * soft-fp/fixunstfti.c: Likewise.
25986 * soft-fp/floatdidf.c: Likewise.
25987 * soft-fp/floatdisf.c: Likewise.
25988 * soft-fp/floatditf.c: Likewise.
25989 * soft-fp/floatsidf.c: Likewise.
25990 * soft-fp/floatsisf.c: Likewise.
25991 * soft-fp/floatsitf.c: Likewise.
25992 * soft-fp/floattidf.c: Likewise.
25993 * soft-fp/floattisf.c: Likewise.
25994 * soft-fp/floattitf.c: Likewise.
25995 * soft-fp/floatundidf.c: Likewise.
25996 * soft-fp/floatundisf.c: Likewise.
25997 * soft-fp/floatunsidf.c: Likewise.
25998 * soft-fp/floatunsisf.c: Likewise.
25999 * soft-fp/floatuntidf.c: Likewise.
26000 * soft-fp/floatuntisf.c: Likewise.
26001 * soft-fp/floatuntitf.c: Likewise.
26002 * soft-fp/fmadf4.c: Likewise.
26003 * soft-fp/fmasf4.c: Likewise.
26004 * soft-fp/fmatf4.c: Likewise.
26005 * soft-fp/gedf2.c: Likewise.
26006 * soft-fp/gesf2.c: Likewise.
26007 * soft-fp/getf2.c: Likewise.
26008 * soft-fp/ledf2.c: Likewise.
26009 * soft-fp/lesf2.c: Likewise.
26010 * soft-fp/letf2.c: Likewise.
26011 * soft-fp/muldf3.c: Likewise.
26012 * soft-fp/mulsf3.c: Likewise.
26013 * soft-fp/multf3.c: Likewise.
26014 * soft-fp/negdf2.c: Likewise.
26015 * soft-fp/negsf2.c: Likewise.
26016 * soft-fp/negtf2.c: Likewise.
26017 * soft-fp/op-1.h: Likewise.
26018 * soft-fp/op-2.h: Likewise.
26019 * soft-fp/op-4.h: Likewise.
26020 * soft-fp/op-8.h: Likewise.
26021 * soft-fp/op-common.h: Likewise.
26022 * soft-fp/quad.h: Likewise.
26023 * soft-fp/single.h: Likewise.
26024 * soft-fp/soft-fp.h: Likewise.
26025 * soft-fp/sqrtdf2.c: Likewise.
26026 * soft-fp/sqrtsf2.c: Likewise.
26027 * soft-fp/sqrttf2.c: Likewise.
26028 * soft-fp/subdf3.c: Likewise.
26029 * soft-fp/subsf3.c: Likewise.
26030 * soft-fp/subtf3.c: Likewise.
26031 * soft-fp/truncdfsf2.c: Likewise.
26032 * soft-fp/trunctfdf2.c: Likewise.
26033 * soft-fp/trunctfsf2.c: Likewise.
26034 * soft-fp/trunctfxf2.c: Likewise.
26035 * soft-fp/unorddf2.c: Likewise.
26036 * soft-fp/unordsf2.c: Likewise.
26037 * soft-fp/unordtf2.c: Likewise.
26039 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
26042 * misc/error.c (error_tail): Fix possible buffer overflow.
26044 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
26047 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26050 2013-10-14 P. J. McDermott <pj@pehjota.net>
26053 * elf/ldd.bash.in (try_trace): New function. Delete previous code
26054 testing pipefail option.
26056 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26058 * soft-fp/double.h: Indent preprocessor directives inside #if.
26059 * soft-fp/extended.h: Likewise.
26060 * soft-fp/op-2.h: Likewise.
26061 * soft-fp/op-4.h: Likewise.
26062 * soft-fp/op-common.h: Likewise.
26063 * soft-fp/quad.h: Likewise.
26064 * soft-fp/single.h: Likewise.
26065 * soft-fp/soft-fp.h: Likewise.
26067 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26069 * iconv/iconv_prog.c: Fix typos.
26070 * stdio-common/psiginfo-data.h: Likewise.
26072 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26075 * locale/setlocale.c: Fix typo.
26077 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26080 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26081 signaling NaN arguments.
26082 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26083 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26086 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26087 unordered operands.
26088 * soft-fp/gesf2.c (__gesf2): Likewise.
26089 * soft-fp/getf2.c (__getf2): Likewise.
26090 * soft-fp/ledf2.c (__ledf2): Likewise.
26091 * soft-fp/lesf2.c (__lesf2): Likewise.
26092 * soft-fp/letf2.c (__letf2): Likewise.
26094 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26095 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26096 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26097 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26098 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26099 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26100 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26101 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26102 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26103 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26104 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26105 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26106 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26107 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26108 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26109 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26110 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26111 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26112 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26113 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26114 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26115 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26116 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26117 * soft-fp/floatsisf.c (__floatsisf): Likewise.
26118 * soft-fp/floattidf.c (__floattidf): Likewise.
26119 * soft-fp/floattisf.c (__floattisf): Likewise.
26120 * soft-fp/floattitf.c (__floattitf): Likewise.
26121 * soft-fp/floatundidf.c (__floatundidf): Likewise.
26122 * soft-fp/floatundisf.c (__floatundisf): Likewise.
26123 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26124 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26125 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26126 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26127 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26128 * soft-fp/gesf2.c (__gesf2): Likewise.
26129 * soft-fp/getf2.c (__getf2): Likewise.
26130 * soft-fp/ledf2.c (__ledf2): Likewise.
26131 * soft-fp/lesf2.c (__lesf2): Likewise.
26132 * soft-fp/letf2.c (__letf2): Likewise.
26134 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26135 Undefine and redefine.
26136 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26137 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26138 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26139 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26140 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26141 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26142 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26143 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26144 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26145 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26146 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26147 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26148 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26149 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26150 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26153 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26154 without decrementing exponent if mantissa >= that for the
26155 denominator, not >.
26156 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26157 denominator, not >. Decrement exponent in < case instead of
26158 incrementing in >= case.
26159 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26160 without decrementing exponent if mantissa >= that for the
26161 denominator, not >.
26163 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26164 computing saturated result for unsigned overflow.
26166 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26167 Jeff Law <law@redhat.com>
26169 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26170 (atan2Mp): Add systemtap probe marker.
26171 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26172 (__ieee754_log): Add systemtap probe marker.
26173 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26174 (atanMp): Add systemtap probe marker.
26175 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26176 (tanMp): Add systemtap probe marker.
26177 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26178 (__slowexp): Add systemtap probe marker.
26179 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26180 (__slowpow): Add systemtap probe marker.
26181 * manual/probes.texi: Document probes.
26183 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
26186 * libio/fileops.c (_IO_new_file_write): Return count of bytes
26188 (_IO_new_file_xsputn): Don't return EOF if nothing has been
26190 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26191 written to buffer but not flushed.
26192 * libio/iofwrite_u.c: Likewise.
26193 * libio/iopadn.c: Return bytes returned even if EOF was
26195 * libio/iowpadn.c: Likewise.
26196 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26197 if _IO_padn does not write the whole buffer.
26198 [!COMPILE_WPRINTF] (PAD): Likewise.
26200 2013-10-10 David S. Miller <davem@davemloft.net>
26202 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26205 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26207 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26208 instead of FSF address.
26209 * soft-fp/fixdfti.c: Likewise.
26210 * soft-fp/fixsfti.c: Likewise.
26211 * soft-fp/fixtfti.c: Likewise.
26212 * soft-fp/fixunsdfti.c: Likewise.
26213 * soft-fp/fixunssfti.c: Likewise.
26214 * soft-fp/fixunstfti.c: Likewise.
26215 * soft-fp/floattidf.c: Likewise.
26216 * soft-fp/floattisf.c: Likewise.
26217 * soft-fp/floattitf.c: Likewise.
26218 * soft-fp/floatuntidf.c: Likewise.
26219 * soft-fp/floatuntisf.c: Likewise.
26220 * soft-fp/floatuntitf.c: Likewise.
26221 * soft-fp/trunctfxf2.c: Likewise.
26223 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
26224 * soft-fp/fixdfti.c: Likewise.
26225 * soft-fp/fixsfti.c: Likewise.
26226 * soft-fp/fixtfti.c: Likewise.
26227 * soft-fp/fixunsdfti.c: Likewise.
26228 * soft-fp/fixunssfti.c: Likewise.
26229 * soft-fp/fixunstfti.c: Likewise.
26230 * soft-fp/floattidf.c: Likewise.
26231 * soft-fp/floattisf.c: Likewise.
26232 * soft-fp/floattitf.c: Likewise.
26233 * soft-fp/floatuntidf.c: Likewise.
26234 * soft-fp/floatuntisf.c: Likewise.
26235 * soft-fp/floatuntitf.c: Likewise.
26236 * soft-fp/trunctfxf2.c: Likewise.
26238 2013-10-10 David S. Miller <davem@davemloft.net>
26240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26242 2013-10-10 Joseph Myers <joseph@codsourcery.com>
26244 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26245 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26246 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26247 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26248 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26249 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26250 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26253 for NaNs before doing comparisons on argument.
26254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26257 2013-10-10 Will Newton <will.newton@linaro.org>
26259 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26260 passed to _int_memalign does not overflow.
26262 2013-10-10 Torvald Riegel <triegel@redhat.com>
26264 * scripts/bench.pl: Add include-sources directive.
26265 * benchtests/README: Update documentation.
26267 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26269 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26270 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26271 instead of FP_INIT_ROUNDMODE.
26272 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26273 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26276 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
26277 copy class of input value.
26278 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
26279 not handle exceptions.
26280 * soft-fp/negsf2.c (__negsf2): Likewise.
26281 * soft-fp/negtf2.c (__negtf2): Likewise.
26282 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26284 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26286 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26287 semicolon. From Linux kernel.
26289 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26291 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26293 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26296 * manual/socket.texi: Added statement about buffer
26297 for gethostbyname2_r.
26299 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26301 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26302 Use .p2align directive instead, throughout.
26303 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26304 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26305 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26306 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26307 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26308 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26309 * sysdeps/x86_64/strchr.S: Likewise.
26310 * sysdeps/x86_64/strrchr.S: Likewise.
26312 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26314 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26316 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26318 * sysdeps/generic/math_private.h (__mpsin1): Remove
26320 (__mpcos1): Likewise.
26321 (__mpsin): New argument __range_reduce.
26322 (__mpcos): Likewise.
26323 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26324 (slow): Use __mpsin and __mpcos.
26328 (sloww1): Likewise.
26329 (sloww2): Likewise.
26330 (bsloww): Likewise.
26331 (bsloww1): Likewise.
26332 (bsloww2): Likewise.
26333 (cslow2): Likewise.
26334 (csloww): Likewise.
26335 (csloww1): Likewise.
26336 (csloww2): Likewise.
26337 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26338 range_reduce. Merge in __mpsin1.
26339 (__mpcos): Likewise.
26340 (__mpsin1): Remove.
26341 (__mpcos1): Likewise.
26343 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26345 * locale/loadlocale.c (_nl_intern_locale_data): Use
26347 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26348 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26349 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26350 obstack data is appropriately aligned.
26351 (obstack_int32_grow_fast): Likewise.
26352 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26353 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26354 (add_locale_uint32_array): Likewise.
26356 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26358 * benchtests/Makefile: Remove ARGLIST and RET variables.
26359 ($(objpfx)bench-%.c): Pass only function name to the script.
26360 * benchtests/README: Update documentation.
26361 * benchtests/acos-inputs: Add new directives.
26362 * benchtests/acosh-inputs: Likewise.
26363 * benchtests/asin-inputs: Likewise.
26364 * benchtests/asinh-inputs: Likewise.
26365 * benchtests/atan-inputs: Likewise.
26366 * benchtests/atanh-inputs: Likewise.
26367 * benchtests/cos-inputs: Likewise.
26368 * benchtests/cosh-inputs: Likewise.
26369 * benchtests/exp-inputs: Likewise.
26370 * benchtests/log-inputs: Likewise.
26371 * benchtests/pow-inputs: Likewise.
26372 * benchtests/rint-inputs: Likewise.
26373 * benchtests/sin-inputs: Likewise.
26374 * benchtests/sinh-inputs: Likewise.
26375 * benchtests/tan-inputs: Likewise.
26376 * benchtests/tanh-inputs: Likewise.
26377 * scripts/bench.pl: Add support for new directives.
26379 2013-10-07 Alan Modra <amodra@gmail.com>
26381 * README: Fix careless merge.
26383 2013-10-05 Alan Modra <amodra@gmail.com>
26385 * NEWS: Mention powerpc64le support and bugs fixed.
26386 * README: Both big-endian and little-endian powerpc64 supported.
26388 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26390 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26391 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26392 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26393 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26395 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26397 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26400 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26402 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26403 Move -mhard-float appending from
26404 ports/sysdeps/powerpc/powerpc32/Makefile.
26405 [$(with-fp) = yes] (ASFLAGS): Likewise.
26406 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26407 * sysdeps/powerpc/nofpu: Move directory from
26408 ports/sysdeps/powerpc/nofpu.
26409 * sysdeps/powerpc/soft-fp: Move directory from
26410 ports/sysdeps/powerpc/soft-fp.
26411 * sysdeps/powerpc/powerpc32/405: Move directory from
26412 ports/sysdeps/powerpc/powerpc32/405.
26413 * sysdeps/powerpc/powerpc32/440: Move directory from
26414 ports/sysdeps/powerpc/powerpc32/440.
26415 * sysdeps/powerpc/powerpc32/464: Move directory from
26416 ports/sysdeps/powerpc/powerpc32/464.
26417 * sysdeps/powerpc/powerpc32/476: Move directory from
26418 ports/sysdeps/powerpc/powerpc32/476.
26419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26420 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26422 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26424 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26426 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26428 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26429 * README: Update for powerpc-*-linux-gnu software floating point
26432 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26433 case to powerpc/powerpc32*.
26434 * sysdeps/unix/sysv/linux/configure: Regenerated.
26436 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26437 (_FPU_MASK_OM): Define as 0x04.
26438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26446 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26449 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26452 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26453 and setcontext_e500.
26455 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26457 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26459 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26461 * manual/threads.texi (Default Thread Attributes): Fix typo.
26463 2013-10-04 Will Newton <will.newton@linaro.org>
26465 * malloc/Makefile: Add tst-memalign.
26466 * malloc/tst-memalign.c: New file.
26468 * malloc/tst-posix_memalign.c: Add comments.
26469 (do_test): Add comments and call free on all potentially
26470 allocated pointers. Add space after cast.
26472 * malloc/tst-pvalloc.c: Add comments.
26473 (do_test): Add comments and call free on all potentially
26474 allocated pointers. Remove duplicate check for NULL pointer.
26475 Add space after cast.
26477 * malloc/tst-valloc.c: Add comments.
26478 (do_test): Add comments and call free on all potentially
26479 allocated pointers. Remove duplicate check for NULL pointer.
26480 Add space after cast.
26482 2013-10-04 Alan Modra <amodra@gmail.com>
26484 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26485 Use stdint types in rather than __attribute__((mode())).
26486 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26488 2013-10-04 Alan Modra <amodra@gmail.com>
26490 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26491 Correct handling of unaligned relocs for little-endian.
26492 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26494 2013-10-04 Alan Modra <amodra@gmail.com>
26496 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26497 * configure: Regenerate.
26498 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26499 * shlib-versions: Likewise.
26501 2013-10-04 Alan Modra <amodra@gmail.com>
26503 * string/tester.c (test_memrchr): Increment reported test cycle.
26505 2013-10-04 Alan Modra <amodra@gmail.com>
26507 * string/test-memcpy.c (do_one_test): When reporting errors, print
26508 string address and don't overrun end of string.
26510 2013-10-04 Alan Modra <amodra@gmail.com>
26512 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26513 insrdi. Make better use of reg selection to speed exit slightly.
26514 Schedule entry path a little better. Remove useless "are we done"
26515 checks on entry to main loop. Handle wrapping around zero address.
26516 Correct main loop count. Handle single left-over word from main
26517 loop inline rather than by using loop_small. Remove extra word
26518 case in loop_small caused by wrong loop count. Add little-endian
26520 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26521 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26523 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26524 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26525 support. Avoid rlwimi.
26526 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26528 2013-10-04 Alan Modra <amodra@gmail.com>
26530 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26531 insrdi. Formatting.
26532 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26533 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26534 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26535 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26536 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26537 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26539 2013-10-04 Alan Modra <amodra@gmail.com>
26541 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26542 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26543 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26544 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26545 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26546 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26547 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26548 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26549 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26550 use of regs. Use power7 mtocrf. Tidy function tails.
26552 2013-10-04 Alan Modra <amodra@gmail.com>
26554 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26555 Formatting. Consistently use rXXX register defines or rN defines.
26556 Use early exit labels that avoid restoring unused non-volatile regs.
26557 Make cr field use more consistent with rWORDn compares. Rename
26558 regs used as shift registers for unaligned loop, using rN defines
26559 for short lifetime/multiple use regs.
26560 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26561 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26562 addi 1,1,64 to pop stack frame. Simplify return value code.
26563 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26565 2013-10-04 Alan Modra <amodra@gmail.com>
26567 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26568 support. Correct typos, formatting. Optimize tail. Use insrdi
26569 rather than rlwimi.
26570 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26571 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26572 little-endian support. Correct typos.
26573 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26574 rather than rlwimi.
26575 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26576 in loop and entry code to keep "and." results.
26577 (strchr): Add little-endian support. Comment. Move cntlzd
26579 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26581 2013-10-04 Alan Modra <amodra@gmail.com>
26583 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26584 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26585 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26586 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26588 2013-10-04 Alan Modra <amodra@gmail.com>
26590 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26591 (rTMP): Define as r11.
26592 (strcmp): Add little-endian support. Optimise tail.
26593 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26594 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26595 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26596 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26597 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26598 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26599 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26601 2013-10-04 Alan Modra <amodra@gmail.com>
26603 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26604 little-endian support. Remove unnecessary "are we done" tests.
26605 Handle "s" wrapping around zero and extremely large "size".
26606 Correct main loop count. Handle single left-over word from main
26607 loop inline rather than by using small_loop. Correct comments.
26608 Delete "zero" tail, use "end_max" instead.
26609 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26611 2013-10-04 Alan Modra <amodra@gmail.com>
26613 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26614 support. Don't branch over align.
26615 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26616 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26617 support. Rearrange tmp reg use to suit. Comment.
26618 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26620 2013-10-04 Alan Modra <amodra@gmail.com>
26622 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26624 2013-10-04 Alan Modra <amodra@gmail.com>
26626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26627 conditional form of branch and link when obtaining pc.
26628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26630 2013-10-04 Alan Modra <amodra@gmail.com>
26632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26637 2013-10-04 Alan Modra <amodra@gmail.com>
26639 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26640 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26641 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26642 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26643 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26644 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26645 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26646 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26647 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26648 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26650 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26651 Alistair Popple <alistair@ozlabs.au.ibm.com>
26652 Alan Modra <amodra@gmail.com>
26655 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26656 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26657 _dl_hwcap access for little-endian.
26658 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26659 destroy vmx regs when saving unaligned.
26660 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26661 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26662 destroy vmx regs when saving unaligned.
26664 2013-10-04 Alan Modra <amodra@gmail.com>
26666 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26667 Don't use a union to pack hi/low value.
26669 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26671 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26673 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26675 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26676 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26677 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26679 2013-10-04 Alan Modra <amodra@gmail.com>
26681 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26682 constants to usual value for .cst8 section, and remove redundant
26684 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26685 constant for 0x1p52. Load little-endian words of double from
26686 correct stack offsets.
26688 2013-10-04 Alan Modra <amodra@gmail.com>
26690 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26691 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26692 words of double from correct stack offsets.
26693 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26694 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26695 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26696 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26697 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26698 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26699 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26700 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26701 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26702 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26703 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26704 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26705 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26706 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26707 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26708 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26709 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26711 2013-10-04 Alan Modra <amodra@gmail.com>
26713 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26714 64-bit int/double union.
26715 (_FPU_SETCW): Likewise.
26716 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26717 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26719 2013-10-04 Alan Modra <amodra@gmail.com>
26721 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26722 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26724 2013-10-04 Alan Modra <amodra@gmail.com>
26726 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26727 use vector int constants.
26728 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26730 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26732 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26733 array with long long.
26734 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26735 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26736 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26737 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26738 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26739 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26740 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26741 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26742 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26743 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26744 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26745 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26746 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26748 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26750 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26751 (__signbit): Likewise. Correct for little-endian.
26752 (__signbitl): Call __signbit.
26753 (lrint): Correct for little-endian.
26754 (lrintf): Call lrint.
26756 2013-10-04 Alan Modra <amodra@gmail.com>
26758 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26759 union 32-bit int array member with 64-bit int array.
26760 (t515, tm256): Double rather than long double.
26761 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26763 2013-10-04 Alan Modra <amodra@gmail.com>
26765 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26767 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26768 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26769 version of math_ldbl.h.
26771 2013-10-04 Alan Modra <amodra@gmail.com>
26773 [BZ #15734], [BZ #15735]
26774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26775 all uses of ieee875 long double macros and unions. Simplify test
26776 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26777 ldbl_extract_mantissa value for ix,iy exponents. Properly
26778 normalize after ldbl_extract_mantissa, and don't add hidden bit
26779 already handled. Don't treat low word of ieee854 mantissa like
26780 low word of IBM long double and mask off bit when testing for
26782 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26783 all uses of ieee875 long double macros and unions. Simplify tests
26784 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26785 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26786 two1022, instead use their values. Recognise that tests for large
26787 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26788 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26789 Rewrite all uses of ieee875 long double macros and unions. Simplify
26790 test for 0.0L and nan. Correct negation.
26791 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26792 ieee875 long double macros and unions. Correct output for large
26793 magnitude x. Correct absolute value calculation.
26794 (__erfcl): Likewise.
26795 * math/libm-test.inc: Add tests for errors discovered in IBM long
26796 double versions of fmodl, remainderl, erfl and erfcl.
26798 2013-10-04 Alan Modra <amodra@gmail.com>
26800 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26801 all uses of ieee854 long double macros and unions. Simplify tests
26802 for long doubles that are fully specified by the high double.
26803 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26805 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26806 Remove dead code too.
26807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26808 (__ieee754_ynl): Likewise.
26809 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26810 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26811 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26812 Remove dead code too.
26813 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26814 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26815 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26816 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26818 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26820 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26821 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26822 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26823 Comment on variable precision.
26824 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26825 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26827 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26828 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26829 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26830 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26831 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26833 2013-10-04 Alan Modra <amodra@gmail.com>
26835 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26836 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26837 all uses of ieee854 long double macros and unions.
26838 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26839 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26840 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26841 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26842 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26843 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26846 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26847 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26848 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26849 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26850 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26851 Simplify sign and nan test too.
26852 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26853 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26854 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26855 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26857 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26858 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26860 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26861 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26862 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26863 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26864 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26867 2013-10-04 Alan Modra <amodra@gmail.com>
26869 * stdio-common/printf_size.c (__printf_size): Don't use
26870 union ieee854_long_double in fpnum union.
26871 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26872 signbit macro to retrieve sign from long double.
26873 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26874 retrieve sign from long double.
26875 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26876 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26877 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26878 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26879 * math/test-misc.c (main): Don't use union ieee854_long_double.
26881 2013-10-04 Alan Modra <amodra@gmail.com>
26884 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26885 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26886 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26887 calculation. Remove unnecessary test for denormal exponent.
26888 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26889 Correct handling of denormals. Avoid undefined shift behaviour.
26890 Correct normalisation of low mantissa when low double is denormal.
26891 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26892 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26893 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26894 Correct normalisation of low mantissa. Test for overflow of high
26895 mantissa and normalise.
26896 (ldbl_nearbyint): Use more readable constant for two52.
26897 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26898 (__mpn_construct_long_double): Fix test for overflow of high
26899 mantissa and correct normalisation. Avoid undefined shift.
26901 2013-10-04 Alan Modra <amodra@gmail.com>
26903 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26904 (union ibm_extended_long_double): Define as an array of ieee754_double.
26905 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26906 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26907 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26908 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26909 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26910 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26911 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26912 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26913 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26914 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26915 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26917 2013-10-03 Joseph Myers <joseph@codesourcery.com>
26919 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26920 page size instead of calling getpagesize.
26922 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26923 (LOCFILE_ALIGN_MASK): Likewise.
26924 (LOCFILE_ALIGN_UP): Likewise.
26925 (LOCFILE_ALIGNED_P): Likewise.
26926 * locale/programs/ld-collate.c (collate_output): Use the new
26927 macros instead of __alignof__ (int32_t).
26928 * locale/weight.h (findidx): Likewise.
26930 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
26933 * manual/string.texi: Fix strncat and wcsncat.
26935 2013-10-03 Brooks Moses <bmoses@google.com>
26938 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26939 * Makerules: ...here, and adjust associated comments.
26941 2013-10-02 Will Newton <will.newton@linaro.org>
26943 * malloc/Makefile: Add tst-pvalloc.
26944 * malloc/tst-pvalloc.c: New file.
26946 2013-10-02 Will Newton <will.newton@linaro.org>
26948 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26949 improve test coverage.
26951 2013-10-02 Will Newton <will.newton@linaro.org>
26953 * malloc/Makefile: Add tst-posix_memalign.
26954 * malloc/tst-posix_memalign.c: New file.
26956 2013-10-01 Eric Blake <eblake@redhat.com>
26958 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26959 Use __THROWNL rather than __THROW on static functions.
26961 2013-09-30 Petr Machata <pmachata@redhat.com>
26963 * elf/elf.h (R_AARCH64_ABS16): New macro.
26964 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26965 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26966 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26967 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26968 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26969 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26970 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26971 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26972 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26973 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26974 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26975 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26976 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26977 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26978 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26979 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26980 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26981 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26982 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26983 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26984 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26985 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26986 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26987 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26988 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26989 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26990 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26991 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26992 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26993 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26994 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26995 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26996 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26997 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26998 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26999 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27000 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27001 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27002 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27003 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27004 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27005 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27006 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27007 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27008 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27009 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27010 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27011 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27012 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27013 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27014 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27015 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27016 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27017 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27018 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27019 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27020 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27021 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27022 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27023 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27024 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27025 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27026 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27027 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27028 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27029 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27030 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27031 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27032 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27033 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27034 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27035 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27036 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27037 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27038 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27039 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27040 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27041 (R_AARCH64_TLSDESC_LDR): Likewise.
27042 (R_AARCH64_TLSDESC_ADD): Likewise.
27043 (R_AARCH64_TLSDESC_CALL): Likewise.
27045 2013-09-30 Andreas Schwab <schwab@suse.de>
27048 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27049 the nss database lookup.
27050 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27053 2013-09-28 Mike Frysinger <vapier@gentoo.org>
27055 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27057 2013-09-28 P. J. McDermott <pj@pehjota.net>
27059 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27060 ${Bash-specific parameter/pattern/string} parameter expansion.
27061 * sysdeps/unix/make-syscalls.sh: Likewise.
27063 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27065 * sysdeps/sh/stackguard-macros.h: New file.
27067 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27070 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27071 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27072 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27073 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27074 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27076 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27078 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27079 Fix thread ID register.
27081 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27083 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27084 [POSIX || UNIX98]: Require rather than permitting all symbols from
27086 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27087 element of struct sched_param.
27088 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27089 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27090 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27091 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27094 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27096 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27097 argument calculation.
27099 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27101 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27103 [POSIX] (pthread_attr_t): Do not require type.
27104 [POSIX] (pthread_cond_t): Likewise.
27105 [POSIX] (pthread_condattr_t): Likewise.
27106 [POSIX] (pthread_key_t): Likewise.
27107 [POSIX] (pthread_mutex_t): Likewise.
27108 [POSIX] (pthread_mutexattr_t): Likewise.
27109 [POSIX] (pthread_once_t): Likewise.
27110 [POSIX] (pthread_t): Likewise.
27111 [POSIX-based standards] (pthread_atfork): Expect function.
27113 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27114 Richard Sandiford <richard@codesourcery.com>
27116 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27117 (swap_endianness_p): New extern variable.
27118 (set_big_endian): New inline function.
27119 (maybe_swap_uint32): Likewise.
27120 (maybe_swap_uint32_array): Likewise.
27121 (maybe_swap_uint32_obstack): Likewise.
27122 * locale/programs/locfile.c: Include <stdbool.h>.
27123 (swap_endianness_p): New variable.
27124 (add_locale_uint32): Call maybe_swap_uint32.
27125 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27126 (write_locale_data): Call maybe_swap_uint32_array.
27127 * locale/programs/ld-collate.c (obstack_int32_grow): Call
27129 (obstack_int32_grow_fast): Likewise.
27130 (output_weightwc): Call maybe_swap_uint32_obstack.
27131 (collate_output): Likewise.
27132 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27133 (OPT_LITTLE_ENDIAN): Likewise.
27134 (options): Add --little-endian and --big-endian options.
27135 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27136 * locale/programs/locarchive.c: Include "locfile.h".
27140 (create_archive): Use the new macros to access fields of
27141 structures directly mapped from or written to locale archives.
27142 (oldlocrecentcmp): Likewise.
27143 (enlarge_archive): Likewise.
27144 (insert_name): Likewise.
27145 (add_alias): Likewise.
27146 (add_locale): Likewise.
27147 (delete_locales_from_archive): Likewise.
27148 (show_archive_content): Likewise.
27149 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27152 2013-09-24 Roland McGrath <roland@hack.frob.com>
27154 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27155 http://www.gnu.org/doc/freemanuals.texi.
27156 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27158 2013-09-24 Will Newton <will.newton@linaro.org>
27160 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27163 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27165 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27168 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27170 * manual/threads.texi (POSIX Threads): Fix a typo.
27172 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27175 * string/tst-strcoll-overflow.c: New test case.
27176 * string/Makefile (xtests): Add tst-strcoll-overflow.
27177 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27178 cache if string sizes may cause integer overflow.
27181 * string/strcoll_l.c (coll_seq): New members rule, idx,
27182 save_idx and back_us.
27183 (get_next_seq_nocache): New function.
27184 (do_compare_nocache): New function.
27185 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27188 2013-09-23 Carlos O'Donell <carlos@redhat.com>
27191 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27192 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27193 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27196 * elf/Makefile (tests): Add tst-ptrguard1.
27197 (tests-static): Add tst-ptrguard1-static.
27198 (tst-ptrguard1-ARGS): Define.
27199 (tst-ptrguard1-static-ARGS): Define.
27200 * elf/tst-ptrguard1.c: New file.
27201 * elf/tst-ptrguard1-static.c: New file.
27202 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27203 * sysdeps/i386/stackguard-macros.h: Likewise.
27204 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27205 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27206 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27207 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27208 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27209 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27211 2013-09-23 Hector Marco <hecmargi@upv.es>
27212 Ismael Ripoll <iripoll@disca.upv.es>
27213 Carlos O'Donell <carlos@redhat.com>
27216 * sysdeps/generic/stackguard-macros.h: Define
27217 __pointer_chk_guard_local and POINTER_CHK_GUARD.
27218 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27219 Define __pointer_chk_guard_local.
27220 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27221 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27223 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
27226 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27228 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
27230 * include/string.h (__ffs): Declare as hidden.
27231 * string/ffs.c (__ffs): Define as hidden.
27232 * sysdeps/i386/ffs.c (__ffs): Likewise.
27233 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27234 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27235 * sysdeps/s390/ffs.c (__ffs): Likewise.
27236 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27238 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
27240 * NEWS: Mention malloc probes.
27242 * malloc/arena.c (new_heap): New memory_heap_new probe.
27243 (grow_heap): New memory_heap_more probe.
27244 (shrink_heap): New memory_heap_less probe.
27245 (heap_trim): New memory_heap_free probe.
27246 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27247 (systrim): New memory_sbrk_less probe.
27248 * manual/probes.texi: Document them.
27250 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27251 * manual/probes.texi: Document it.
27253 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27254 (__libc_realloc): Add memory_realloc_retry probe.
27255 (__libc_memalign): Add memory_memalign_retry probe.
27256 (__libc_valloc): Add memory_valloc_retry probe.
27257 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27258 (__libc_calloc): Add memory_calloc_retry probe.
27259 * manual/probes.texi: Document them.
27261 * malloc/arena.c (get_free_list): Add probe
27262 memory_arena_reuse_free_list.
27263 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27264 and memory_arena_reuse.
27265 (arena_get2) [!PER_THREAD]: Likewise.
27266 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27267 memory_arena_reuse_realloc.
27268 * manual/probes.texi: Document them.
27270 * malloc/malloc.c (__libc_free): Add
27271 memory_mallopt_free_dyn_thresholds probe.
27272 (__libc_mallopt): Add multiple memory_mallopt probes.
27273 * manual/probes.texi: Document them.
27275 * malloc/malloc.c: Include stap-probe.h.
27276 (__libc_mallopt): Add memory_mallopt probe.
27277 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27278 * manual/probes.texi: New.
27279 * manual/Makefile (chapters): Add probes.
27280 * manual/threads.texi: Set next node.
27282 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27284 [BZ #15963, #13985]
27285 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27286 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27287 Add `Chinese' to `nan' entry name.
27289 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27291 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27292 (POLYNOMIAL): Likewise.
27293 (TAYLOR_SINCOS): Likewise.
27294 (TAYLOR_SLOW): Likewise.
27295 (__sin): Use TAYLOR_SINCOS.
27297 (slow): Use TAYLOR_SLOW.
27299 (bsloww): Likewise.
27300 (csloww): Likewise.
27302 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27304 * stdlib/strtod_l.c: Fix buffer overrun.
27306 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27308 * benchtests/Makefile (bench): Add sincos.
27309 * benchtests/bench-sincos.c: New file.
27311 * math/libm-test.inc (cos_test_data): New test inputs.
27312 (sin_test_data): Likewise.
27314 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27320 (sloww1): Likewise.
27321 (sloww2): Likewise.
27322 (bsloww1): Likewise.
27323 (bsloww2): Likewise.
27324 (cslow2): Likewise.
27325 (csloww1): Likewise.
27326 (csloww2): Likewise.
27328 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27333 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27337 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27339 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27340 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27341 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27342 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27343 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27344 * elf/cache.c (print_entry): Handle the new cache flags.
27346 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27347 Aldy Hernandez <aldyh@redhat.com>
27349 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27350 Change condition to [_SOFT_FLOAT].
27351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27356 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27363 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27366 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27369 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27371 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27372 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27373 (__longjmp): Use LOAD_GP to load saved GPRs.
27374 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27375 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27376 (__sigsetjmp): Use SAVE_GP to save GPRs.
27378 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27379 Do not append -msoft-float.
27380 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27382 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27384 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27386 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27389 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27390 (_FPU_GETCW): Use initial "__" on variable and field names but not
27391 on macro parameter name.
27392 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27393 parentheses around reference to macro parameter.
27395 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27397 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27399 (ctype_startup): Use uint32_t in cast and sizeof for
27402 2013-09-11 Jia Liu <proljc@gmail.com>
27404 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27406 [__FreeBSD__]: Likewise.
27408 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27410 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27411 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27412 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27413 (strchr): Remove __strchr_sse42 ifunc selection.
27414 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27415 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27417 2013-09-11 Will Newton <will.newton@linaro.org>
27419 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27420 parameter to RES. Remove hardcoded 1000 value.
27421 * benchtests/bench-skeleton.c (main): Pass RES parameter
27422 to TIMING_INIT and multiply result by 1000.
27424 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27428 2013-09-11 Andreas Schwab <schwab@suse.de>
27430 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27432 (O_TMPFILE) [__USE_GNU]: Define.
27433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27436 2013-09-11 Will Newton <will.newton@linaro.org>
27439 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27442 2013-09-11 Will Newton <will.newton@linaro.org>
27445 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27448 2013-09-11 Will Newton <will.newton@linaro.org>
27451 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27454 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27456 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27457 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27458 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27459 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27460 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27462 2013-09-10 Allan McRae <allan@archlinux.org>
27465 * manual/arith.texi (Parsing of Floats): Clarify
27469 * manual/install.texi (Running make install): Mention
27471 * INSTALL: Regenerated.
27473 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27475 * csu/init-first.c (_init): Remove the !SHARED condition around
27476 FPU control word initialization.
27477 * elf/dl-support.c (_dl_fpu_control): New variable.
27478 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27479 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27480 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27481 * math/test-fpucw-static.c: New file.
27482 * math/test-fpucw-ieee.c: New file.
27483 * math/test-fpucw-ieee-static.c: New file.
27484 * math/Makefile (tests): Add `test-fpucw-ieee' and
27486 (tests-static): New variable.
27487 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27489 [($(build-shared),yes)]
27490 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27492 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27495 2013-09-09 Allan McRae <allan@archlinux.org>
27498 * manual/string.texi (Collation Functions): Fix typo in
27500 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27503 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27506 * libio/memstream.c (open_memstream): Fix memory leak.
27507 * libio/wmemstream.c (open_wmemstream): Likewise.
27510 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27512 2013-09-09 Will Newton <will.newton@linaro.org>
27514 * malloc/Makefile: Add tst-realloc to tests.
27515 * malloc/tst-realloc.c: New file.
27517 2013-09-09 Allan McRae <allan@archlinux.org>
27520 * COPYING: Update from GNU website to fix FSF address.
27521 * COPYING.LIB: Likewise.
27523 2013-09-06 David S. Miller <davem@davemloft.net>
27525 * po/zh_TW.po: Update Chinese (traditional) translation from
27526 translation project.
27528 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27529 Joseph Myers <joseph@codesourcery.com>
27531 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27533 (obstack_chunk_alloc): New macro.
27534 (obstack_chunk_free): Likewise.
27535 (record_offset): New function.
27536 (init_locale_data): Likewise.
27537 (align_locale_data): Likewise.
27538 (add_locale_empty): Likewise.
27539 (add_locale_raw_data): Likewise.
27540 (add_locale_raw_obstack): Likewise.
27541 (add_locale_string): Likewise.
27542 (add_locale_wstring): Likewise.
27543 (add_locale_uint32): Likewise.
27544 (add_locale_uint32_array): Likewise.
27545 (add_locale_char): Likewise.
27546 (start_locale_structure): Likewise.
27547 (end_locale_structure): Likewise.
27548 (start_locale_prelude): Likewise.
27549 (end_locale_prelude): Likewise.
27550 (write_locale_data): Take locale_file structure rather than an
27552 * locale/programs/locfile.h: Include "obstack.h".
27553 (struct locale_file): Change to store locale file contents instead
27555 (init_locale_data): New prototype.
27556 (align_locale_data): Likewise.
27557 (add_locale_empty): Likewise.
27558 (add_locale_raw_data): Likewise.
27559 (add_locale_raw_obstack): Likewise.
27560 (add_locale_string): Likewise.
27561 (add_locale_wstring): Likewise.
27562 (add_locale_uint32): Likewise.
27563 (add_locale_uint32_array): Likewise.
27564 (add_locale_char): Likewise.
27565 (start_locale_structure): Likewise.
27566 (end_locale_structure): Likewise.
27567 (start_locale_prelude): Likewise.
27568 (end_locale_prelude): Likewise.
27569 (write_locale_data): Update prototype.
27570 * locale/programs/3level.h (struct TABLE): Remove result field.
27571 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27572 Use new locale_file interface.
27573 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27574 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27575 * locale/programs/ld-address.c (address_output): Use new
27576 locale_file interface.
27577 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27579 (collate_finish): Don't call collseq_table_finalize.
27580 (collate_output): Use new locale_file interface.
27581 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27583 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27584 (TABLE): Move defines earlier in file.
27585 (ELEMENT): Likewise.
27586 (DEFAULT): Likewise.
27587 (wctrans_table_add): Move macro and inline function earlier in
27589 (struct wctype_table): Move type earlier in file.
27590 (add_locale_wctype_table): New static prototype.
27591 (struct locale_ctype_t): Use logical types instead of struct iovec
27592 pointers for members.
27593 (ctype_output): Use new locale_file interface.
27594 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27595 new locale_file interface.
27596 (allocate_arrays): Update for use of new locale_file interface.
27597 * locale/programs/ld-identification.c (identification_output): Use
27598 new locale_file interface.
27599 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27600 * locale/programs/ld-messages.c (messages_output): Likewise.
27601 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27602 * locale/programs/ld-name.c (name_output): Likewise.
27603 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27604 * locale/programs/ld-paper.c (paper_output): Likewise.
27605 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27606 * locale/programs/ld-time.c (time_output): Likewise.
27608 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27610 * benchtests/Makefile: Add memrchr benchmark.
27611 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27612 benchmark as memrchr.
27613 * benchtests/bench-memrchr-ifunc.c: New file.
27614 * benchtests/bench-memrchr.c: New file.
27616 2013-09-06 Will Newton <will.newton@linaro.org>
27618 * benchtests/Makefile (string-bench): Add memcpy.
27620 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27621 Cong Wang <amwang@redhat.com>
27624 * sysdeps/unix/sysv/linux/bits/in.h
27625 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27626 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27627 before __USE_KERNEL_IPV6_DEFS uses.
27628 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27630 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27631 sockaddr_in6, or ipv6_mreq.
27633 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27635 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27636 memory access for final bytes in some large inputs.
27637 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27639 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27641 * string/test-memrchr.c: New file.
27642 * string/test-memrchr-ifunc.c: New file.
27643 * string/Makefile: Add new memrchr testcase.
27645 2013-09-05 Mike Frysinger <vapier@gentoo.org>
27647 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27648 fanotify_init returns EPERM.
27650 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27652 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27654 (top level): Treat second token from macro or constant entries for
27655 allowed headers as allowed.
27656 * include/complex.h: Condition internal declarations on
27658 * include/fenv.h: Condition include of <stdbool.h> and internal
27659 declarations on [!_ISOMAC].
27661 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27664 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27666 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27668 * configure.in (--enable-versioning): Remove configure option.
27669 (libc_cv_asm_symver_directive): Remove configure test.
27670 (libc_cv_ld_version_script_option): Likewise.
27671 (VERSIONING): Remove variable and AC_SUBST.
27672 (DO_VERSIONING): Remove AC_DEFINE.
27673 * configure: Regenerated.
27674 * config.h.in (DO_VERSIONING): Remove macro.
27675 * Makerules [$(versioning) = yes]: Change conditionals to
27676 [$(build-shared) = yes].
27677 * config.make.in (versioning): Remove variable.
27678 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27679 [$(build-shared) = yes].
27680 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27681 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27682 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27683 [$(build-shared) = yes].
27684 * extra-lib.mk [$(versioning) = yes]: Likewise.
27685 * hurd/Makefile [$(versioning) = yes]: Likewise.
27686 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27688 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27690 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27691 [SHARED && !NO_HIDDEN].
27692 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27694 [SHARED && DO_VERSIONING]: Likewise..
27695 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27696 [$(build-shared) = yes].
27697 * manual/install.texi (--disable-versioning): Remove
27699 * INSTALL: Regenerated.
27700 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27702 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27703 [$(build-shared) = yes].
27704 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27705 * sysdeps/i386/i686/multiarch/strstr-c.c
27706 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27707 [SHARED && !NO_HIDDEN].
27708 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27709 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27710 * sysdeps/powerpc/powerpc32/dl-machine.c
27711 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27712 * sysdeps/powerpc/powerpc32/sysdep.h
27713 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27714 to [SHARED && PIC && !NO_HIDDEN].
27715 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27716 conditional to [SHARED].
27718 2013-09-04 Will Newton <will.newton@linaro.org>
27720 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27721 * benchtests/bench-string.h: Include bench-timing.h instead
27722 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27723 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27724 call to HP_TIMING_DIFF_INIT.
27725 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27726 instead of hp-timing.h macros.
27727 * benchtests/bench-memchr.c: Likewise.
27728 * benchtests/bench-memcmp.c: Likewise.
27729 * benchtests/bench-memcpy.c: Likewise.
27730 * benchtests/bench-memmem.c: Likewise.
27731 * benchtests/bench-memmove.c: Likewise.
27732 * benchtests/bench-memset.c: Likewise.
27733 * benchtests/bench-rawmemchr.c: Likewise.
27734 * benchtests/bench-strcasecmp.c: Likewise.
27735 * benchtests/bench-strcasestr.c: Likewise.
27736 * benchtests/bench-strcat.c: Likewise.
27737 * benchtests/bench-strchr.c: Likewise.
27738 * benchtests/bench-strcmp.c: Likewise.
27739 * benchtests/bench-strcpy.c: Likewise.
27740 * benchtests/bench-strcpy_chk.c: Likewise.
27741 * benchtests/bench-strlen.c: Likewise.
27742 * benchtests/bench-strncasecmp.c: Likewise.
27743 * benchtests/bench-strncat.c: Likewise.
27744 * benchtests/bench-strncmp.c: Likewise.
27745 * benchtests/bench-strncpy.c: Likewise.
27746 * benchtests/bench-strnlen.c: Likewise.
27747 * benchtests/bench-strpbrk.c: Likewise.
27748 * benchtests/bench-strrchr.c: Likewise.
27749 * benchtests/bench-strspn.c: Likewise.
27750 * benchtests/bench-strstr.c: Likewise.
27752 2013-09-04 Will Newton <will.newton@linaro.org>
27754 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27756 2013-09-03 Joseph Myers <joseph@codesourcery.com>
27759 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27760 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27761 * math/libm-test.inc (lgamma_test_data): Add more tests.
27762 * sysdeps/i386/fpu/libm-test-ulps: Update.
27763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27765 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
27767 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27768 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27771 Add strcmp-sse2-unaligned
27772 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27774 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27776 * Versions.def (libc): Add GLIBC_2.19.
27778 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27780 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27781 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27783 2013-09-02 Joseph Myers <joseph@codesourcery.com>
27786 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27787 intermediate calculations in recurrence.
27788 (__ieee754_ynf): Likewise.
27789 * math/libm-test.inc (jn_test_data): Do not allow spurious
27790 underflow exception. Add more tests.
27791 (yn_test_data): Add more tests.
27792 * sysdeps/i386/fpu/libm-test-ulps: Update.
27793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27795 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
27797 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27799 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27801 * csu/init-first.c: Fix then/than typos.
27802 * locale/programs/ld-collate.c: Likewise.
27803 * locale/programs/linereader.h: Likewise.
27804 * manual/charset.texi: Likewise.
27805 * manual/filesys.texi: Likewise.
27806 * manual/stdio.texi: Likewise.
27807 * manual/string.texi: Likewise.
27808 * stdlib/fmtmsg.c: Likewise.
27809 * sysdeps/i386/stpncpy.S: Likewise.
27810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27811 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27813 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27815 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27817 * elf/dl-open.c: Fix typos.
27818 * iconvdata/gbbig5.c: Likewise.
27819 * iconvdata/iso-2022-jp.c: Likewise.
27820 * iconv/gconv_int.h: Likewise.
27821 * iconv/loop.c: Likewise.
27822 * nis/rpcsvc/nis.h: Likewise.
27823 * resolv/ns_name.c: Likewise.
27824 * stdio-common/vfscanf.c: Likewise.
27825 * streams/stropts.h: Likewise.
27826 * sunrpc/rpc_thread.c: Likewise.
27827 * sysdeps/i386/strpbrk.S: Likewise.
27828 * sysdeps/ieee754/k_standard.c: Likewise.
27829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27831 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27832 * sysdeps/mach/hurd/profil.c: Likewise.
27833 * sysdeps/s390/dl-procinfo.h: Likewise.
27834 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27835 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27836 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27837 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27838 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27840 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27842 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27843 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27845 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27847 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27848 aix specific files.
27849 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27850 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27851 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27852 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27853 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27854 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27855 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27856 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27858 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27859 Roland McGrath <roland@hack.frob.com>
27861 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27862 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27864 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27866 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27867 __executable_start symbol instead of _start.
27869 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27871 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27872 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27874 * sysdeps/gnu/ldsodefs.h: ... this new file.
27876 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27877 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27878 instead of ELFOSABI_LINUX.
27880 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27881 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27882 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27883 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27885 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27886 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27887 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27889 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27890 (ibm_extended_long_double): Add ieee_nan member.
27891 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27892 (do_test): New function.
27894 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27896 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27897 functions, renamed from truncdfsf_test, trunctfsf_test,
27899 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27901 (do_test): Run all these.
27903 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27905 * argp/argp-help.c: Fix typos.
27906 * argp/argp-parse.c: Likewise.
27907 * debug/backtracesyms.c: Likewise.
27908 * elf/elf.h: Likewise.
27909 * malloc/malloc.c: Likewise.
27910 * nis/nis_print.c: Likewise.
27911 * resolv/res_comp.c: Likewise.
27912 * stdlib/stdlib.h: Likewise.
27913 * sunrpc/clnt_tcp.c: Likewise.
27914 * sunrpc/clnt_udp.c: Likewise.
27915 * sunrpc/clnt_unix.c: Likewise.
27916 * sysdeps/unix/bsd/ptsname.c: Likewise.
27917 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27918 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27925 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27927 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27929 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27932 2013-08-27 Mike Frysinger <vapier@gentoo.org>
27935 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27936 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27937 ($(objpfx)bug-dl-leaf): New rule.
27938 ($(objpfx)bug-dl-leaf.so): Likewise.
27939 ($(objpfx)bug-dl-leaf.out): Likewise.
27940 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27941 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27942 * dlfcn/bug-dl-leaf.c: New test.
27943 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27944 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27945 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27946 (dlclose): Likewise.
27947 (dlmopen): Likewise.
27949 2013-08-27 Roland McGrath <roland@hack.frob.com>
27951 * include/netdb.h [!_ISOMAC]:
27952 Don't include <tls.h>.
27953 (h_errno, __libc_h_errno): Move declaration and macros out of
27956 * include/resolv.h [_RESOLV_H_]:
27957 Don't include <tls.h>.
27958 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27959 * resolv/res_libc.c: Don't include <tls.h>.
27960 (_res): Use __attribute__ ((nocommon)) in place of
27961 __attribute__ ((section (".bss"))).
27963 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27964 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27966 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27968 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27969 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27971 * resolv/res_mkquery.c: Include <sys/time.h>.
27973 * inet/ifreq.c: Moved to ...
27974 * sysdeps/unix/ifreq.c: ... here.
27975 * inet/ifreq.c: New file, true stub version.
27977 * socket/sa_len.c: New file.
27978 * socket/Makefile (aux): Add it.
27979 * sysdeps/unix/sysv/linux/Makefile
27980 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27981 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27982 and #include <socket/sa_len.c>.
27983 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27984 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27986 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27987 * bits/socket.h: ... here.
27989 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27990 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27991 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27993 2013-08-27 Andreas Schwab <schwab@suse.de>
27996 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27997 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27998 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27999 * string/test-strcasecmp.c (test_main): Run tests in several
28001 * string/test-strncasecmp.c (test_main): Likewise.
28003 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28004 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28005 to __strcasecmp_nonascii and __strncasecmp_nonascii.
28006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28007 (__strncasecmp_ssse3) [PIC]: Likewise.
28009 2013-08-26 Roland McGrath <roland@hack.frob.com>
28011 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28013 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28014 instead of explicitly declaring xdecrypt.
28015 * nis/nss_nis/nis-publickey.c: Likewise.
28017 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28020 * nscd/aicache.c: Include res_hconf.h.
28021 (addhstaiX): Initialize res_hconf.
28023 2013-08-26 Andreas Schwab <schwab@suse.de>
28025 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28026 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28028 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28030 * nscd/aicache.c (addhstaiX): Fix indentation.
28032 2013-08-25 Mike Frysinger <vapier@gentoo.org>
28034 * configure.ac: Quote $build_pt_chown test.
28035 * configure: Regenerated.
28037 2013-08-23 Joseph Myers <joseph@codesourcery.com>
28040 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28041 * math/s_cexpf.c (__cexpf): Likewise.
28042 * math/s_cexpl.c (__cexpl): Likewise.
28043 * math/libm-test.inc (cexp_test_data): Correct expected return
28044 value for NaN + i0. Add another test.
28046 2013-08-22 David S. Miller <davem@davemloft.net>
28048 * po/ca.po: Update Catalan translation from translation project.
28049 * po/uk.po: Add Ukrainian translations from translation project.
28051 2013-08-21 Joseph Myers <joseph@codesourcery.com>
28054 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28055 is infinite, not alongside NaN test.
28056 * math/s_fdimf.c (__fdimf): Likewise.
28057 * math/s_fdiml.c (__fdiml): Likewise.
28058 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
28059 errno is unchanged.
28061 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28063 * argp/argp-help.c: Fix typos.
28064 * crypt/speeds.c: Likewise.
28065 * csu/check_fds.c: Likewise.
28066 * elf/dl-load.c: Likewise.
28067 * elf/dl-open.c: Likewise.
28068 * elf/reldep3.c: Likewise.
28069 * elf/reldep.c: Likewise.
28070 * elf/sprof.c: Likewise.
28071 * iconv/iconv_charmap.c: Likewise.
28072 * iconv/skeleton.c: Likewise.
28073 * iconv/strtab.c: Likewise.
28074 * io/lockf64.c: Likewise.
28075 * libio/libioP.h: Likewise.
28076 * resolv/gai_notify.c: Likewise.
28077 * resolv/ns_name.c: Likewise.
28078 * resolv/ns_samedomain.c: Likewise.
28079 * resolv/res_send.c: Likewise.
28080 * stdlib/random.c: Likewise.
28081 * sunrpc/rpc/xdr.h: Likewise.
28082 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28083 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28084 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28085 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28086 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28087 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28089 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28090 * sysdeps/mach/hurd/check_fds.c: Likewise.
28091 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28092 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28093 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28094 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28095 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28096 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28097 * sysdeps/pthread/aio_notify.c: Likewise.
28098 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28099 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28100 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28102 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28104 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28106 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28107 version if bit_Slow_SSE4_2 is set.
28108 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28109 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28111 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28114 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28115 trampoline stack frame information.
28116 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28117 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28118 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28119 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28120 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28121 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28122 (_libc_vdso_platform_setup): Initialize the signal trampolines.
28123 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28125 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28126 interrupting a syscall and set with option SA_SIGINFO.
28128 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28131 * math/s_cproj.c (__cproj): Only return an infinity if one part of
28132 argument is infinite.
28133 * math/s_cprojf.c (__cprojf): Likewise.
28134 * math/s_cprojl.c (__cprojl): Likewise.
28135 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28136 * math/libm-test.inc (cproj_test_data): Add more tests.
28138 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28140 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28141 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28142 size. Use __ffs to determine corresponding shift.
28144 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28145 Roland McGrath <roland@hack.frob.com>
28147 * Makefile (INSTALL): Remove trailing blank lines from output of
28150 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28152 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28153 Align 32 bit compat elf_greg to 8 bytes.
28155 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28157 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28159 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28161 * string/strcoll_l.c (coll_seq): New structure.
28162 (get_next_seq_cached): New function.
28163 (get_next_seq): New function.
28164 (do_compare): New function.
28165 (STRCOLL): Use GNU style definition. Simplify implementation
28166 by using get_next_seq, get_next_seq_cached and do_compare.
28168 2013-08-16 Florian Weimer <fweimer@redhat.com>
28172 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28174 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28176 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28177 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28178 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
28180 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28181 GETDENTS_64BIT_ALIGNED.
28182 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28183 * manual/filesys.texi (Reading/Closing Directory): Document
28184 ENAMETOOLONG return value of readdir_r. Recommend readdir more
28186 * manual/conf.texi (Limits for Files): Add portability note to
28187 NAME_MAX, PATH_MAX.
28188 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28190 2013-08-13 Andreas Schwab <schwab@suse.de>
28193 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28195 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28196 LDBL_MAX_EXP >= 16384]: Add tests for it.
28198 2013-08-12 David S. Miller <davem@davemloft.net>
28200 * version.h (RELEASE): Set to "development".
28201 (VERSION): Set to "2.18.90".
28202 * NEWS: Add 2.19 section.
28204 2013-08-03 David S. Miller <davem@davemloft.net>
28206 * po/ko.po: Update Korean translation from translation project.
28208 2013-08-01 David S. Miller <davem@davemloft.net>
28210 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
28211 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28214 2013-07-30 David S. Miller <davem@davemloft.net>
28216 * po/fr.po: Update French translation from translation project.
28218 2013-07-28 David S. Miller <davem@davemloft.net>
28220 * po/cs.po: Update Czech translation from translation project.
28222 * po/sv.po: Update Swedish translation from translation project.
28224 2013-07-27 David S. Miller <davem@davemloft.net>
28226 * po/eo.po: Update Esperanto translation from translation project.
28228 * po/vi.po: Update Vietnamese translation from translation project.
28230 * po/de.po: Update German translation from translation project.
28232 2013-07-26 David S. Miller <davem@davemloft.net>
28234 * po/bg.po: Update Bulgarian translation from translation project.
28236 * po/nl.po: Update Dutch translation from translation project.
28237 * po/pl.po: Update Polish translation from translation project.
28238 * po/ru.po: Update Russian translation from translation project.
28240 2013-07-24 David S. Miller <davem@davemloft.net>
28242 * po/libc.pot: Update.
28244 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28246 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28247 variable page size.
28248 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28249 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28250 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28252 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28254 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28256 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28257 Andreas Schwab <schwab@suse.de>
28258 Roland McGrath <roland@hack.frob.com>
28259 Joseph Myers <joseph@codesourcery.com>
28260 Carlos O'Donell <carlos@redhat.com>
28263 * config.h.in: Define HAVE_PT_CHOWN.
28264 * config.make.in (build-pt-chown): New variable.
28265 * configure.in (--enable-pt_chown): New configure option.
28266 * configure: Regenerate.
28267 * login/Makefile: Include Makeconfig. Build pt_chown only if
28268 build-pt-chown is enabled.
28269 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28270 pt_chown to fix pty ownership.
28271 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28273 * manual/install.texi (Configuring and compiling): Mention
28274 --enable-pt_chown. Add @findex for grantpt.
28275 * INSTALL: Regenerate.
28277 2013-07-20 David S. Miller <davem@davemloft.net>
28279 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28280 difference between 32-bit and 64-bit.
28282 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28285 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28286 Avoid system header dependency with -ffreestanding.
28287 ($(objpfx)bits/syscall%d): Likewise.
28289 2013-07-13 David S. Miller <davem@davemloft.net>
28291 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28292 underflows from atanl/atan2l due to bug 15319.
28293 (casinh_test_data): Likewise.
28295 2013-07-07 David S. Miller <davem@davemloft.net>
28297 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28299 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28301 * sysdeps/i386/fpu/libm-test-ulps: Update.
28302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28304 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28306 * configure.in (--enable-lock-elision): Fix message text.
28307 * INSTALL: Regenerate.
28308 * configure: Regenerate.
28310 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28314 2013-07-03 Andreas Jaeger <aj@suse.de>
28316 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28318 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28319 (ptrace_peeksiginfo_args): Add.
28320 (__ptrace_peeksiginfo_flags): Add.
28321 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28322 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28323 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28325 2013-07-03 Allan McRae <allan@archlinux.org>
28327 * sysdeps/i386/fpu/libm-test-ulps: Update.
28329 2013-07-02 David S. Miller <davem@davemloft.net>
28331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28333 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28337 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28339 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28342 2013-07-02 Andi Kleen <ak@linux.intel.com>
28344 * config.h.in (ENABLE_LOCK_ELISION): Add.
28345 * configure.in (--enable-lock-elision): Add option.
28346 * manual/install.texi: Document --enable lock elision.
28347 * configure: Regenerate
28348 * INSTALL: Regenerate.
28350 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28352 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28353 SSE4.2 strcasecmp for libc.a.
28354 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28356 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28359 * soft-fp/op-common.h (_FP_FMA): New macro.
28360 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28361 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28362 (_FP_MUL_MEAT_1_imm): ... here.
28363 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28364 (_FP_MUL_MEAT_1_wide): ... here.
28365 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28366 (_FP_MUL_MEAT_1_hard): ... here.
28367 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28368 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28369 (_FP_MUL_MEAT_2_wide): ... here.
28370 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28371 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28372 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28373 (_FP_MUL_MEAT_2_gmp): ... here.
28374 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28375 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28376 (_FP_MUL_MEAT_4_wide): ... here.
28377 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28378 (_FP_MUL_MEAT_4_gmp): ... here.
28379 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28380 (_FP_WFRACBITS_DW_S): Likewise.
28381 (_FP_WFRACXBITS_DW_S): Likewise.
28382 (_FP_HIGHBIT_DW_S): Likewise.
28383 (FP_FMA_S): Likewise.
28384 (_FP_FRAC_HIGH_DW_S): Likewise.
28385 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28386 (_FP_WFRACBITS_DW_D): Likewise.
28387 (_FP_WFRACXBITS_DW_D): Likewise.
28388 (_FP_HIGHBIT_DW_D): Likewise.
28389 (FP_FMA_D): Likewise.
28390 (_FP_FRAC_HIGH_DW_D): Likewise.
28391 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28392 (_FP_WFRACBITS_DW_E): Likewise.
28393 (_FP_WFRACXBITS_DW_E): Likewise.
28394 (_FP_HIGHBIT_DW_E): Likewise.
28395 (FP_FMA_E): Likewise.
28396 (_FP_FRAC_HIGH_DW_E): Likewise.
28397 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28398 (_FP_WFRACBITS_DW_Q): Likewise.
28399 (_FP_WFRACXBITS_DW_Q): Likewise.
28400 (_FP_HIGHBIT_DW_Q): Likewise.
28401 (FP_FMA_Q): Likewise.
28402 (_FP_FRAC_HIGH_DW_Q): Likewise.
28403 * soft-fp/fmasf4.c: New file.
28404 * soft-fp/fmadf4.c: Likewise.
28405 * soft-fp/fmatf4.c: Likewise.
28407 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28410 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28412 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28414 (index_Slow_SSE4_2): Likewise.
28415 (index_Prefer_PMINUB_for_stringop): Likewise.
28416 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28417 bit_Slow_SSE4_2 is set.
28418 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28419 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28421 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28423 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28424 rtld_global._dl_hwcap2.
28425 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28427 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28428 POWER8 feature descriptions defined in _dl_hwcap2.
28429 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28430 string handling for POWER8 feature bits.
28431 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28432 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28433 _dl_powerpc_cap_flags.
28434 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28435 * sysdeps/powerpc/rtld-global-offsets.sym
28436 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28437 _dl_hwcap2 in the rtld_global_ro structure.
28439 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28441 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28442 hardware capabilities in support of AT_HWCAP2.
28443 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28444 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28446 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28447 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28448 explicitly the unknown a_type display mechanism is used.
28449 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28450 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28452 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28453 to macro prototype for AT_HWCAP2 support.
28454 * sysdeps/i386/dl-procinfo.h: Likewise.
28455 * sysdeps/s390/dl-procinfo.h: Likewise.
28456 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28457 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28458 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28459 return -1 for unknown a_type display fallback.
28460 * sysdeps/sparc/dl-procinfo.h: Likewise.
28461 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28462 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28464 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28466 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28467 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28469 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28472 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28473 mprotect making __stack_prot writable.
28475 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28476 Joseph Myers <joseph@codesourcery.com>
28478 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28479 as being properly aligned.
28481 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28483 * dlfcn/modstatic5.c: New file.
28484 * dlfcn/tststatic5.c: New file.
28485 * dlfcn/Makefile (tests): Add tststatic5.
28486 (tests-static): Likewise.
28487 (modules-names): Add modstatic5.
28488 (tststatic5-ENV): New variable.
28489 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28492 * elf/dl-support.c (_dl_main_map): New variable.
28493 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28494 (_dl_nns, _dl_load_adds): Set to 1.
28495 (_dl_initial_searchlist): Refer to _dl_main_map.
28496 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28497 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28498 call to _dl_get_origin.
28499 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28501 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28502 * dlfcn/modstatic3.c: New file.
28503 * dlfcn/tststatic3.c: New file.
28504 * dlfcn/tststatic4.c: New file.
28505 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28506 (tests-static): Likewise.
28507 (modules-names): Add modstatic3.
28508 (tststatic3-ENV, tststatic4-ENV): New variables.
28509 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28510 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28512 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28514 * configure.in (CC): Require GCC version 4.4 or later.
28515 * configure: Regenerated.
28516 * manual/install.texi (Tools for Compilation): Update GCC version
28518 * INSTALL: Regenerated.
28520 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28523 * string/test-memcmp.c (check2): New.
28524 (main): Call check2.
28526 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28528 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28531 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28533 (dl_open_worker) [!SHARED]: ... here.
28535 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28537 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28539 2013-06-25 Richard Henderson <rth@redhat.com>
28541 * locale/programs/locarchive.c: Include <libc-internal.h>
28543 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28545 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28546 trailing whitespace removed.
28548 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28551 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28552 * locale/programs/locarchive.c: Include libc-mmap.h.
28553 (prepare_address_space): Take two new outputs (the mmap base and len).
28554 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28556 (create_archive): Declare new mmap base and len values for
28557 prepare_address_space, and store the result in ah.
28558 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28559 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28560 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28561 Declare new mmap base and len values for
28562 prepare_address_space, and store the result in new_ah.
28563 (open_archive): Declare new mmap base and len values for
28564 prepare_address_space, and store the result in ah.
28565 (close_archive): If ah->mmap_base is not NULL, use that and
28566 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28567 * sysdeps/generic/libc-mmap.h: New file.
28569 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28571 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28572 (ALIGN_UP): Likewise.
28573 (PTR_ALIGN_DOWN): Likewise.
28574 (PTR_ALIGN_UP): Likewise.
28576 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28578 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28579 entry mapped to PPC_PLATFORM_POWER8.
28580 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28582 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28583 (_dl_string_platform): Add case for exporting platform position for
28585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28586 search path to sysdeps/powerpc/powerpc32/power8 directory.
28587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28588 search path to sysdeps/powerpc/powerpc64/power8 directory.
28589 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28590 power7 directories.
28591 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28592 power7 directories.
28594 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28596 * INSTALL: Regenerate.
28598 * nscd/connections.c (nscd_init): Fix comment.
28600 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28602 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28605 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28606 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28608 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28610 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28612 (DL_DST_REQ_STATIC): Remove macro.
28614 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28617 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28618 with a shift of 0 bits.
28620 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28622 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28625 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28628 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28630 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28632 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28633 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28634 accepts -fno-tree-loop-distribute-patterns.
28635 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28636 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28638 * string/memset.c (memset): Likewise.
28639 * string/test-memmove.c (simple_memmove): Disable loop transformation
28641 * string/test-memset.c (simple_memset): Likewise.
28642 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28643 * benchtests/bench-memset.c (simple_memset): Likewise.
28644 * configure: Regenerated.
28646 2013-06-20 Joseph Myers <joseph@codesourcery.com>
28648 * math/test-misc.c (main): Ignore fesetround failure when failures
28649 of subsequent rounding tests would be ignored.
28652 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28653 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28654 * math/fegetenv.c (__fegetenv): Return 0.
28655 * math/fegetexcept.c (fegetexcept): Return 0.
28656 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28658 * math/feholdexcpt.c (feholdexcept): Return 0.
28659 * math/fesetenv.c (__fesetenv): Return 0.
28660 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28661 argument FE_TONEAREST.
28662 * math/feupdateenv.c (__feupdateenv): Return 0.
28663 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28665 2013-06-18 Roland McGrath <roland@hack.frob.com>
28667 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28668 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28669 ($(objpfx)rtld-%.os rules): Use them.
28671 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28673 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28676 2013-06-17 Roland McGrath <roland@hack.frob.com>
28678 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28679 length of target pattern, then descending length of dependency pattern.
28680 * configure.in (AWK): Require gawk 3.1.2 or newer.
28681 * manual/install.texi (Tools for Compilation): Say that we do.
28682 * configure: Regenerated.
28684 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28685 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28686 * scripts/sysd-rules.awk: ... this new script.
28687 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28688 than a glob-style pattern.
28690 2013-06-17 Joseph Myers <joseph@codesourcery.com>
28692 * math/test-misc.c (main): Do not treat incorrectly rounded
28693 conversions as failure unless ROUNDING_TESTS passes.
28695 2013-06-15 Joseph Myers <joseph@codesourcery.com>
28698 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28699 restore exception state around main square root computation, then
28700 check for inexactness explicitly.
28702 * math/libm-test.inc (fma_test_data): Add another test.
28704 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28706 * manual/threads.texi (Non-POSIX Extensions): New document
28707 node. Document pthread_getattr_default_np and
28708 pthread_setattr_default_np.
28710 * Versions.def (libpthread): Add GLIBC_2.18.
28711 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28720 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28731 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28734 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28736 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28737 H.J. Lu <hjl.tools@gmail.com>
28740 * sysdeps/x86_64/rtld-memset.c: Remove file.
28741 * sysdeps/x86_64/rtld-memset.S: New file.
28743 2013-06-14 Joseph Myers <joseph@codesourcery.com>
28745 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28746 (test_in_one_mode): Take arguments for whether the rounding mode
28747 is supported for each floating-point type.
28748 (do_test): Pass new arguments to test_in_one_mode using
28751 2013-06-13 Roland McGrath <roland@hack.frob.com>
28753 * posix/tst-waitid.c (do_test): Distinguish different instances of
28754 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28755 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28756 before entering the kernel for waitpid.
28758 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28760 * NEWS: Fix note on clock function precision. Text by Roland
28763 2013-06-13 Roland McGrath <roland@hack.frob.com>
28765 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28766 it into place only when and if the sanity check passes.
28768 2013-06-13 Joseph Myers <joseph@codesourcery.com>
28770 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28771 output for whether conversion result is exact. Take argument
28772 indicating whether type is IBM long double.
28773 (round_for_all): Change need_exact field to ibm_ld.
28774 * stdlib/tst-strtod-round.c (struct exactness): New type.
28775 (struct test): Change bool ld_ok field to struct exactness exact.
28776 (TEST): Update all definitions for change to field.
28777 (tests): Regenerate array contents.
28778 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28779 field value. Check for IBM long double here.
28780 (do_test): Update calls to test_in_one_mode.
28782 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28785 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28786 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28788 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28791 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28792 generated by the compiler on loop optimizations.
28793 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28794 general definitions.
28796 2013-06-12 Joseph Myers <joseph@codesourcery.com>
28798 * math/bug-nextafter.c: Include <math-tests.h>.
28799 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28801 * math/bug-nexttoward.c: Include <math-tests.h>.
28802 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28804 * math/test-misc.c: Include <math-tests.h>.
28805 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28808 2013-06-12 Andreas Jaeger <aj@suse.de>
28810 * po/ia.po: Update Interlingua translation from translation
28813 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28815 * include/fenv.h: Include stdbool.h.
28816 (struct rm_ctx): New structure.
28817 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28819 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28820 (SET_RESTORE_ROUNDF): Likewise.
28821 (SET_RESTORE_ROUNDL): Likewise.
28822 (SET_RESTORE_ROUND_NOEX): Likewise.
28823 (SET_RESTORE_ROUND_NOEXF): Likewise.
28824 (SET_RESTORE_ROUND_NOEXL): Likewise.
28825 (SET_RESTORE_ROUND_53BIT): Likewise.
28826 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28827 (libc_feresetround_noexf_ctx): Likewise.
28828 (libc_feresetround_noexl_ctx): Likewise.
28829 (libc_feholdsetround_53bit_ctx): Likewise.
28830 (libc_feresetround_53bit_ctx): Likewise.
28831 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28832 (libc_feholdexcept_setround_sse_ctx): New function.
28833 (libc_fesetenv_sse_ctx): Likewise.
28834 (libc_feupdateenv_sse_ctx): Likewise.
28835 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28836 (libc_feholdexcept_setround_387_ctx): Likewise.
28837 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28838 (libc_feholdsetround_387_prec_ctx): Likewise.
28839 (libc_feholdsetround_387_ctx): Likewise.
28840 (libc_feholdsetround_387_53bit_ctx): Likewise.
28841 (libc_feholdsetround_sse_ctx): Likewise.
28842 (libc_feresetround_sse_ctx): Likewise.
28843 (libc_feresetround_387_ctx): Likewise.
28844 (libc_feupdateenv_387_ctx): Likewise.
28845 (libc_feholdexcept_setroundf_ctx): Define macro.
28846 (libc_fesetenvf_ctx): Likewise.
28847 (libc_feupdateenvf_ctx): Likewise.
28848 (libc_feholdsetroundf_ctx): Likewise.
28849 (libc_feresetroundf_ctx): Likewise.
28850 (libc_feholdexcept_setround_ctx): Likewise.
28851 (libc_fesetenv_ctx): Likewise.
28852 (libc_feupdateenv_ctx): Likewise.
28853 (libc_feholdsetround_ctx): Likewise.
28854 (libc_feresetround_ctx): Likewise.
28855 (libc_feholdexcept_setroundl_ctx): Likewise.
28856 (libc_feupdateenvl_ctx): Likewise.
28857 (libc_feholdsetroundl_ctx): Likewise.
28858 (libc_feresetroundl_ctx): Likewise.
28859 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28860 (libc_feresetround_53bit_ctx): Likewise.
28862 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28864 * locale/iso-639.def: Convert to UTF-8.
28866 2013-06-11 Joseph Myers <joseph@codesourcery.com>
28868 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28869 (EXCEPTION_TESTS_double): Likewise.
28870 (EXCEPTION_TESTS_long_double): Likewise.
28871 (EXCEPTION_TESTS): Likewise.
28872 * math/libm-test.inc (test_exceptions): Only test exceptions if
28873 EXCEPTION_TESTS (FLOAT).
28875 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28877 * benchtests/Makefile (string-bench): Add strcpy_chk and
28879 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28880 * benchtests/bench-stpcpy_chk.c: New file.
28881 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28882 * benchtests/bench-strcpy_chk.c: New file.
28883 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28885 (do_test): Likewise.
28887 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28889 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28890 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28891 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28892 with tabs where appropriate.
28893 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28895 [PPC_PLATFORM_PPC440]: Likewise.
28896 [PPC_PLATFORM_PPC464]: Likewise.
28897 [PPC_PLATFORM_PPC476]: Likewise.
28898 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28899 ppc464, and ppc476 platform strings merging from ports/
28902 2013-06-11 Andreas Schwab <schwab@suse.de>
28905 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28906 (from_ucs4_idx): Regenerate.
28907 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28908 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28909 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28910 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28911 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28912 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28913 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28914 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28915 from FROM_LOOP and TO_LOOP specific macros.
28916 (BODY): Handle combining characters.
28917 * iconvdata/BIG5HKSCS.irreversible: Update.
28918 * iconvdata/BIG5HKSCS.precomposed: New file.
28919 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28921 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28923 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28925 * include/sys/time.h: Fix indentation and add copyright header.
28927 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28928 (do_test): Likewise.
28929 * string/test-memchr.c (do_one_test): Likewise.
28930 (do_test): Likewise.
28931 * string/test-memcmp.c (do_one_test): Likewise.
28932 (do_test): Likewise.
28933 * string/test-memcpy.c (do_one_test): Likewise.
28934 (do_test): Likewise.
28935 * string/test-memmem.c (do_one_test): Likewise.
28936 (do_test): Likewise.
28937 (do_random_tests): Likewise.
28938 * string/test-memmove.c (do_one_test): Likewise.
28939 (do_test): Likewise.
28940 * string/test-memset.c (do_one_test): Likewise.
28941 (do_test): Likewise.
28942 * string/test-rawmemchr.c (do_one_test): Likewise.
28943 (do_test): Likewise.
28944 * string/test-strcasecmp.c (do_one_test): Likewise.
28945 (do_test): Likewise.
28946 * string/test-strcasestr.c (do_one_test): Likewise.
28947 (do_test): Likewise.
28948 * string/test-strcat.c (do_one_test): Likewise.
28949 (do_test): Likewise.
28950 * string/test-strchr.c (do_one_test): Likewise.
28951 (do_test): Likewise.
28952 * string/test-strcmp.c (do_one_test): Likewise.
28953 (do_test): Likewise.
28954 * string/test-strcpy.c (do_one_test): Likewise.
28955 (do_test): Likewise.
28956 * string/test-string.h: Likewise.
28957 (test_init): Likewise.
28958 * string/test-strlen.c (do_one_test): Likewise.
28959 (do_test): Likewise.
28960 * string/test-strncasecmp.c (do_one_test): Likewise.
28961 (do_test): Likewise.
28962 * string/test-strncat.c (do_one_test): Likewise.
28963 (do_test): Likewise.
28964 * string/test-strncmp.c (do_one_test): Likewise.
28965 (do_test_limit): Likewise.
28966 (do_test): Likewise.
28967 * string/test-strncpy.c (do_one_test): Likewise.
28968 (do_test): Likewise.
28969 * string/test-strnlen.c (do_one_test): Likewise.
28970 (do_test): Likewise.
28971 * string/test-strpbrk.c (do_one_test): Likewise.
28972 (do_test): Likewise.
28973 * string/test-strrchr.c (do_one_test): Likewise.
28974 (do_test): Likewise.
28975 * string/test-strspn.c (do_one_test): Likewise.
28976 (do_test): Likewise.
28977 * string/test-strstr.c (do_one_test): Likewise.
28978 (do_test): Likewise.
28980 * benchtests/Makefile (string-bench): Add string benchmarks.
28981 * benchtests/bench-bcopy-ifunc.c: New file.
28982 * benchtests/bench-bcopy.c: New file.
28983 * benchtests/bench-bzero-ifunc.c: New file.
28984 * benchtests/bench-bzero.c: New file.
28985 * benchtests/bench-memccpy-ifunc.c: New file.
28986 * benchtests/bench-memccpy.c: New file.
28987 * benchtests/bench-memchr-ifunc.c: New file.
28988 * benchtests/bench-memchr.c: New file.
28989 * benchtests/bench-memcmp-ifunc.c: New file.
28990 * benchtests/bench-memcmp.c: New file.
28991 * benchtests/bench-memmem-ifunc.c: New file.
28992 * benchtests/bench-memmem.c: New file.
28993 * benchtests/bench-memmove-ifunc.c: New file.
28994 * benchtests/bench-memmove.c: New file.
28995 * benchtests/bench-mempcpy-ifunc.c: New file.
28996 * benchtests/bench-mempcpy.c: New file.
28997 * benchtests/bench-memset-ifunc.c: New file.
28998 * benchtests/bench-memset.c: New file.
28999 * benchtests/bench-rawmemchr-ifunc.c: New file.
29000 * benchtests/bench-rawmemchr.c: New file.
29001 * benchtests/bench-stpcpy-ifunc.c: New file.
29002 * benchtests/bench-stpcpy.c: New file.
29003 * benchtests/bench-stpncpy-ifunc.c: New file.
29004 * benchtests/bench-stpncpy.c: New file.
29005 * benchtests/bench-strcasecmp-ifunc.c: New file.
29006 * benchtests/bench-strcasecmp.c: New file.
29007 * benchtests/bench-strcasestr-ifunc.c: New file.
29008 * benchtests/bench-strcasestr.c: New file.
29009 * benchtests/bench-strcat-ifunc.c: New file.
29010 * benchtests/bench-strcat.c: New file.
29011 * benchtests/bench-strchr-ifunc.c: New file.
29012 * benchtests/bench-strchr.c: New file.
29013 * benchtests/bench-strchrnul-ifunc.c: New file.
29014 * benchtests/bench-strchrnul.c: New file.
29015 * benchtests/bench-strcmp-ifunc.c: New file.
29016 * benchtests/bench-strcmp.c: New file.
29017 * benchtests/bench-strcpy-ifunc.c: New file.
29018 * benchtests/bench-strcpy.c: New file.
29019 * benchtests/bench-strcspn-ifunc.c: New file.
29020 * benchtests/bench-strcspn.c: New file.
29021 * benchtests/bench-strlen-ifunc.c: New file.
29022 * benchtests/bench-strlen.c: New file.
29023 * benchtests/bench-strncasecmp-ifunc.c: New file.
29024 * benchtests/bench-strncasecmp.c: New file.
29025 * benchtests/bench-strncat-ifunc.c: New file.
29026 * benchtests/bench-strncat.c: New file.
29027 * benchtests/bench-strncmp-ifunc.c: New file.
29028 * benchtests/bench-strncmp.c: New file.
29029 * benchtests/bench-strncpy-ifunc.c: New file.
29030 * benchtests/bench-strncpy.c: New file.
29031 * benchtests/bench-strnlen-ifunc.c: New file.
29032 * benchtests/bench-strnlen.c: New file.
29033 * benchtests/bench-strpbrk-ifunc.c: New file.
29034 * benchtests/bench-strpbrk.c: New file.
29035 * benchtests/bench-strrchr-ifunc.c: New file.
29036 * benchtests/bench-strrchr.c: New file.
29037 * benchtests/bench-strspn-ifunc.c: New file.
29038 * benchtests/bench-strspn.c: New file.
29039 * benchtests/bench-strstr-ifunc.c: New file.
29040 * benchtests/bench-strstr.c: New file.
29042 * benchtests/Makefile: Disable parallel execution of targets.
29043 (string-bench): Add memcpy.
29044 (benchset): New variable to store a list of benchmark sets.
29045 (bench-func): Renamed from bench.
29046 (bench-set): New target.
29047 (bench): Depend on bench-func and bench-set.
29048 * benchtests/README: Add section on benchmark sets.
29049 * benchtests/bench-memcpy-ifunc.c: New file.
29050 * benchtests/bench-memcpy.c: New file.
29051 * benchtests/bench-string.h: New file.
29053 2013-06-11 Andreas Schwab <schwab@suse.de>
29056 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29057 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29058 values in the triple.
29059 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29060 terminator in the group key.
29062 2013-06-11 Andreas Jaeger <aj@suse.de>
29064 * po/zh_TW.po: Update Chinese (traditional) translation from
29065 translation project.
29067 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29069 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29070 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29071 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29072 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29073 (clock_getcpuclockid): Likewise.
29074 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29075 Add weak_alias and libc_hidden_def.
29076 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29077 * rt/clock_gettime.c (clock_gettime): Rename to
29078 __clock_gettime. Add weak_alias and libc_hidden_def.
29079 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29080 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29081 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29082 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29083 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29085 * rt/clock_settime.c (clock_settime): Rename to
29086 __clock_settime. Add weak_alias and libc_hidden_def.
29087 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29089 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29091 * mach/err_boot.sub: Remove trailing whitespace.
29092 * mach/err_ipc.sub: Likewise.
29093 * mach/err_mach.sub: Likewise.
29095 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29096 (ROUNDING_TESTS_double): Likewise.
29097 (ROUNDING_TESTS_long_double): Likewise.
29098 (ROUNDING_TESTS): Likewise.
29099 * math/libm-test.inc: Include <math-tests.h>.
29100 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29101 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29102 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29103 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29105 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29107 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29110 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29112 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29113 otherwise empty TRANS lines.
29114 * sysdeps/gnu/errlist.c: Regenerated.
29116 * catgets/gencat.c (error_print): Use (void) in function
29118 * crypt/crypt_util.c (__init_des): Likewise.
29119 * crypt/speeds.c (Stop): Likewise.
29121 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29122 * inet/ruserpass.c (token): Likewise.
29123 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29124 * intl/localealias.c (extend_alias_table): Likewise.
29125 * intl/plural-exp.c (init_germanic_plural): Likewise.
29126 * libio/fcloseall.c (__fcloseall): Likewise.
29127 * libio/genops.c (_IO_flush_all): Likewise.
29128 (_IO_flush_all_linebuffered): Likewise.
29129 (_IO_cleanup): Likewise.
29130 (_IO_iter_begin): Likewise.
29131 (_IO_iter_end): Likewise.
29132 (_IO_list_lock): Likewise.
29133 (_IO_list_unlock): Likewise.
29134 (_IO_list_resetlock): Likewise.
29135 * libio/getchar.c (getchar): Likewise.
29136 * libio/getchar_u.c (getchar_unlocked): Likewise.
29137 * libio/getwchar.c (getwchar): Likewise.
29138 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29139 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29140 * login/getpt.c (__getpt): Likewise.
29141 * login/tst-utmp.c (main): Likewise.
29142 * malloc/hooks.c (__malloc_check_init): Likewise.
29143 * malloc/malloc.c (__malloc_stats): Likewise.
29144 * malloc/mtrace.c (tr_break): Likewise.
29145 (mtrace): Likewise.
29146 (muntrace): Likewise.
29147 * misc/fstab.c (endfsent): Likewise.
29148 * misc/getclktck.c (__getclktck): Likewise.
29149 * misc/getdtsz.c (__getdtablesize): Likewise.
29150 * misc/gethostid.c (gethostid): Likewise.
29151 * misc/getpagesize.c (__getpagesize): Likewise.
29152 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29153 (__get_nprocs): Likewise.
29154 (__get_phys_pages): Likewise.
29155 (__get_avphys_pages): Likewise.
29156 * misc/getttyent.c (getttyent): Likewise.
29157 (setttyent): Likewise.
29158 (endttyent): Likewise.
29159 * misc/getusershell.c (getusershell): Likewise.
29160 (endusershell): Likewise.
29161 (setusershell): Likewise.
29162 (initshells): Likewise.
29163 * misc/hsearch.c (__hdestroy): Likewise.
29164 * misc/sync.c (sync): Likewise.
29165 * misc/syslog.c (closelog_internal): Likewise.
29166 (closelog): Likewise.
29167 * misc/ttyslot.c (ttyslot): Likewise.
29168 * misc/vhangup.c (vhangup): Likewise.
29169 * posix/fork.c (__fork): Likewise.
29170 * posix/getegid.c (__getegid): Likewise.
29171 * posix/geteuid.c (__geteuid): Likewise.
29172 * posix/getgid.c (__getgid): Likewise.
29173 * posix/getpid.c (__getpid): Likewise.
29174 * posix/getppid.c (__getppid): Likewise.
29175 * posix/getuid.c (__getuid): Likewise.
29176 * posix/pause.c (pause): Likewise.
29177 * posix/setpgrp.c (setpgrp): Likewise.
29178 * posix/setsid.c (__setsid): Likewise.
29179 * posix/test-vfork.c (noop): Likewise.
29180 * resolv/gethnamaddr.c (_endhtent): Likewise.
29181 (_gethtent): Likewise.
29182 (ht_endhostent): Likewise.
29183 (gethostent): Likewise.
29184 (dns_service): Likewise.
29185 * stdlib/drand48.c (drand48): Likewise.
29186 * stdlib/lrand48.c (lrand48): Likewise.
29187 * stdlib/mrand48.c (mrand48): Likewise.
29188 * stdlib/rand.c (rand): Likewise.
29189 * stdlib/random.c (__random): Likewise.
29190 * stdlib/setenv.c (clearenv): Likewise.
29191 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29192 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29193 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29194 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29195 (__get_nprocs): Likewise.
29196 (__get_phys_pages): Likewise.
29197 (__get_avphys_pages): Likewise.
29198 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29199 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29200 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29201 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29202 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29203 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29204 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29205 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29206 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29207 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29208 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29209 * sysdeps/mach/hurd/sync.c (sync): Likewise.
29210 * sysdeps/posix/clock.c (clock): Likewise.
29211 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29212 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29213 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29214 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29215 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29216 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29217 (__get_nprocs_conf): Likewise.
29218 (__get_phys_pages): Likewise.
29219 (__get_avphys_pages): Likewise.
29220 * time/clock.c (clock): Likewise.
29221 * time/tzset.c (__tzname_max): Likewise.
29223 2013-06-07 Joseph Myers <joseph@codesourcery.com>
29225 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29226 (__bswap_32): Do not use "register".
29227 * crypt/crypt.c (_ufc_doit_r): Likewise.
29228 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29229 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29230 * gmon/gmon.c (__monstartup): Likewise.
29231 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29232 * hurd/hurdmalloc.c (more_memory): Likewise.
29233 (malloc): Likewise.
29235 (realloc): Likewise.
29236 (malloc_fork_prepare): Likewise.
29237 (malloc_fork_parent): Likewise.
29238 (malloc_fork_child): Likewise.
29239 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29240 (_svcauth_des): Likewise.
29241 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29242 * inet/inet_net.c (inet_network): Likewise.
29243 * inet/inet_netof.c (inet_netof): Likewise.
29244 * inet/rcmd.c (__validuser2_sa): Likewise.
29245 * io/fts.c (fts_open): Likewise.
29246 (fts_load): Likewise.
29247 (fts_close): Likewise.
29248 (fts_read): Likewise.
29249 (fts_children): Likewise.
29250 (fts_build): Likewise.
29251 (fts_stat): Likewise.
29252 (fts_sort): Likewise.
29253 (fts_alloc): Likewise.
29254 (fts_lfree): Likewise.
29255 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29256 (_IO_file_xsgetn): Likewise.
29257 (_IO_file_xsgetn_mmap): Likewise.
29258 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29259 (_IO_cookie_write): Likewise.
29260 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29261 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29262 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29263 * malloc/obstack.c (_obstack_begin): Likewise.
29264 (_obstack_begin_1): Likewise.
29265 (_obstack_newchunk): Likewise.
29266 (_obstack_allocated_p): Likewise.
29267 (obstack_free): Likewise.
29268 (_obstack_memory_used): Likewise.
29269 * misc/getttyent.c (getttynam): Likewise.
29270 (getttyent): Likewise.
29273 * misc/getusershell.c (initshells): Likewise.
29274 * misc/syslog.c (__vsyslog_chk): Likewise.
29275 * misc/ttyslot.c (ttyslot): Likewise.
29276 * nis/nis_hash.c (__nis_hash): Likewise.
29277 * posix/fnmatch_loop.c (FCT): Likewise.
29278 * posix/getconf.c (print_all): Likewise.
29280 * posix/getopt.c (exchange): Likewise.
29281 * posix/glob.c (globfree): Likewise.
29282 (prefix_array): Likewise.
29283 (__glob_pattern_type): Likewise.
29284 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29285 (NS_GET32): Likewise.
29286 (NS_PUT16): Likewise.
29287 (NS_PUT32): Likewise.
29288 * resolv/gethnamaddr.c (getanswer): Likewise.
29289 (gethostbyname2): Likewise.
29290 (gethostbyaddr): Likewise.
29291 (_gethtent): Likewise.
29292 (_gethtbyname2): Likewise.
29293 (_gethtbyaddr): Likewise.
29294 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29295 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29296 * resolv/res_init.c (__res_vinit): Likewise.
29297 (net_mask): Likewise.
29298 * resolv/res_mkquery.c (outchar): Likewise.
29300 * stdio-common/printf_fp.c (outchar): Likewise.
29302 * stdio-common/printf_fphex.c (outchar): Likewise.
29304 * stdio-common/printf_size.c (outchar): Likewise.
29306 * stdio-common/test_rdwr.c (main): Likewise.
29307 * stdio-common/tfformat.c (matches): Likewise.
29308 * stdio-common/vfprintf.c (outchar): Likewise.
29309 (printf_unknown): Likewise.
29310 (buffered_vfprintf): Likewise.
29311 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29312 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29313 (ReadFile): Likewise.
29314 * stdlib/qsort.c (SWAP): Likewise.
29315 (_quicksort): Likewise.
29316 * stdlib/setenv.c (__add_to_environ): Likewise.
29317 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29318 * stdlib/strtol_l.c (__strtol_l): Likewise.
29319 * stdlib/tst-strtod.c (main): Likewise.
29320 * stdlib/tst-strtol.c (main): Likewise.
29321 * stdlib/tst-strtoll.c (main): Likewise.
29322 * string/bits/string2.h (__strcmp_cc): Likewise.
29323 (__strcmp_cg): Likewise.
29324 (__strcspn_c1): Likewise.
29325 (__strcspn_c2): Likewise.
29326 (__strcspn_c3): Likewise.
29327 (__strspn_c1): Likewise.
29328 (__strspn_c2): Likewise.
29329 (__strspn_c3): Likewise.
29330 (__strsep_1c): Likewise.
29331 (__strsep_2c): Likewise.
29332 (__strsep_3c): Likewise.
29333 * string/memccpy.c (__memccpy): Likewise.
29334 * string/stpcpy.c (__stpcpy): Likewise.
29335 * string/strcmp.c (strcmp): Likewise.
29336 * string/strrchr.c (strrchr): Likewise.
29337 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29339 * sysdeps/mach/hurd/getcwd.c
29340 (_hurd_canonicalize_directory_name_internal): Likewise.
29341 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29342 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29343 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29344 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29345 Likewise, in both definitions.
29346 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29348 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29349 64] (__bswap_64): Likewise.
29350 * time/test_time.c (main): Likewise.
29351 * time/tzfile.c (__tzfile_read): Likewise.
29352 (__tzfile_compute): Likewise.
29353 * time/tzset.c (__tzset_parse_tz): Likewise.
29354 (tzset_internal): Likewise.
29355 (compute_change): Likewise.
29356 * wcsmbs/wcscat.c (__wcscat): Likewise.
29357 * wcsmbs/wcschr.c (wcschr): Likewise.
29358 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29359 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29360 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29361 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29362 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29363 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29364 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29365 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29366 * wcsmbs/wmemset.c (wmemset): Likewise.
29368 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29370 * scripts/config.guess: Update to version 2013-05-16.
29371 * scripts/config.sub: Update to version 2013-04-24.
29372 * scripts/install-sh: Update to version 2011-11-20.07.
29373 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29374 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29376 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29378 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29379 * elf/sln.c: Likewise.
29380 * hurd/hurd/ioctl.h: Likewise.
29381 * hurd/hurdmalloc.c: Likewise.
29382 * hurd/xattr.c: Likewise.
29383 * include/shlib-compat.h: Likewise.
29384 * inet/ruserpass.c: Likewise.
29385 * libio/iofgets_u.c: Likewise.
29386 * libio/iofgetws_u.c: Likewise.
29387 * locale/programs/ld-identification.c: Likewise.
29388 * locale/programs/ld-time.c: Likewise.
29389 * mach/msg-destroy.c: Likewise.
29390 * nss/nss_files/files-netgrp.c: Likewise.
29391 * resolv/res_data.c: Likewise.
29392 * soft-fp/op-1.h: Likewise.
29393 * soft-fp/op-2.h: Likewise.
29394 * soft-fp/op-4.h: Likewise.
29395 * soft-fp/op-common.h: Likewise.
29396 * stdio-common/printf_fphex.c: Likewise.
29397 * stdlib/strtod_l.c: Likewise.
29398 * sunrpc/rpc/clnt.h: Likewise.
29399 * sysdeps/generic/framestate.c: Likewise.
29400 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29401 * sysdeps/i386/bsd-setjmp.S: Likewise.
29402 * sysdeps/i386/__longjmp.S: Likewise.
29403 * sysdeps/i386/setjmp.S: Likewise.
29404 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29405 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29406 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29407 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29413 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29414 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29415 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29416 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29417 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29418 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29420 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29421 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29422 * sysdeps/ieee754/support.c: Likewise.
29423 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29424 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29425 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29426 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29427 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29428 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29429 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29430 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29431 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29432 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29433 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29434 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29435 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29436 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29437 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29438 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29439 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29442 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29444 * posix/transbug.c: Remove executable mode.
29446 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29448 * crypt/speeds.c: Remove trailing whitespace.
29449 * dlfcn/default.c: Likewise.
29450 * elf/ifuncdep2.c: Likewise.
29451 * elf/ifuncmain1.c: Likewise.
29452 * elf/ifuncmain1vis.c: Likewise.
29453 * elf/testobj.h: Likewise.
29454 * elf/tst-stackguard1.c: Likewise.
29455 * gmon/sys/gmon.h: Likewise.
29456 * hurd/hurdmsg.c: Likewise.
29457 * hurd/new-fd.c: Likewise.
29458 * hurd/ports-get.c: Likewise.
29459 * iconvdata/ibm1008_420.c: Likewise.
29460 * inet/tst-getni1.c: Likewise.
29461 * inet/tst-getni2.c: Likewise.
29462 * libio/ioungetc.c: Likewise.
29463 * libio/wfiledoalloc.c: Likewise.
29464 * manual/libm-err-tab.pl: Likewise.
29465 * math/w_dremf.c: Likewise.
29466 * misc/ftruncate.c: Likewise.
29467 * posix/bug-glob2.c: Likewise.
29468 * posix/tst-pcre.c: Likewise.
29469 * posix/wait4.c: Likewise.
29470 * resolv/README: Likewise.
29471 * resolv/res_debug.h: Likewise.
29472 * resolv/tst-inet_ntop.c: Likewise.
29473 * setjmp/bug269-setjmp.c: Likewise.
29474 * soft-fp/extended.h: Likewise.
29475 * soft-fp/op-1.h: Likewise.
29476 * soft-fp/op-2.h: Likewise.
29477 * soft-fp/op-4.h: Likewise.
29478 * soft-fp/op-8.h: Likewise.
29479 * soft-fp/testit.c: Likewise.
29480 * stdio-common/bug16.c: Likewise.
29481 * stdlib/random.c: Likewise.
29482 * sunrpc/rpcsvc/rquota.x: Likewise.
29483 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29484 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29485 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29486 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29487 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29488 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29489 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29490 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29491 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29492 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29493 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29494 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29495 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29497 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29498 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29499 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29501 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29502 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29503 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29505 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29506 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29507 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29508 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29509 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29511 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29512 * sysdeps/ieee754/s_lib_version.c: Likewise.
29513 * sysdeps/mach/hurd/check_fds.c: Likewise.
29514 * sysdeps/mach/hurd/getsockname.c: Likewise.
29515 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29516 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29517 * sysdeps/powerpc/bits/link.h: Likewise.
29518 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29519 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29520 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29521 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29522 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29523 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29524 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29525 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29526 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29527 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29528 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29529 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29530 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29531 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29532 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29533 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29534 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29535 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29536 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29537 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29538 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29539 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29540 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29541 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29542 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29543 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29544 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29545 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29546 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29547 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29548 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29549 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29550 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29551 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29552 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29553 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29554 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29555 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29556 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29557 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29558 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29559 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29560 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29561 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29562 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29563 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29564 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29565 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29566 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29567 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29568 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29569 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29570 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29571 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29572 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29573 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29574 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29575 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29576 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29577 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29578 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29579 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29580 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29581 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29582 * sysdeps/powerpc/sysdep.h: Likewise.
29583 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29584 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29585 * sysdeps/sh/dl-trampoline.S: Likewise.
29586 * sysdeps/sh/memset.S: Likewise.
29587 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29588 * sysdeps/sh/strlen.S: Likewise.
29589 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29590 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29591 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29592 * sysdeps/sparc/sparc32/rem.S: Likewise.
29593 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29594 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29595 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29596 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29597 * sysdeps/sparc/sparc32/urem.S: Likewise.
29598 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29599 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29600 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29601 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29602 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29603 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29604 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29605 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29606 * sysdeps/unix/bsd/times.c: Likewise.
29607 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29608 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29612 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29613 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29614 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29615 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29616 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29617 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29618 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29619 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29620 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29621 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29622 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29623 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29624 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29625 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29626 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29627 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29628 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29629 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29630 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29631 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29632 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29633 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29634 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29635 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29636 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29637 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29638 * sysdeps/x86_64/strcspn.S: Likewise.
29640 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29642 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29643 generated file. Regenerate properly from gen-translit.pl.
29644 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29645 locale/C-translit.h.
29647 2013-06-05 Andreas Schwab <schwab@suse.de>
29650 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29651 week as 6 instead of -1.
29652 * time/tst-strptime.c (day_tests): Add test case.
29654 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29656 * sysdeps/generic/math_private.h
29657 (libc_feholdexcept_setround_53bit): Replace with
29658 libc_feholdsetround_53bit.
29659 (libc_feupdateenv_53bit): Replace with
29660 libc_feresetround_53bit.
29661 (SET_RESTORE_ROUND_53BIT): Adjust.
29663 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29665 * string/test-strchrnul.c: Add copyright header.
29667 * posix/tst-getaddrinfo4.c: Increase test timeout.
29669 2013-06-03 Carlos O'Donell <carlos@redhat.com>
29672 * math/libm-test.inc (MAX_EXP): Remove
29674 (ulp): Use MIN_EXP - MANT_DIG.
29675 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29677 2013-05-31 Carlos O'Donell <carlos@redhat.com>
29679 * po/be.po: Revert last change.
29680 * po/zh_CN.po: Likewise.
29681 * po/header.pot: Likewise.
29683 2013-05-31 Joseph Myers <joseph@codesourcery.com>
29685 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29686 link-libc-deps to empty as target-specific variable.
29687 * Makerules (link-libc-args): New variable.
29688 (libc-for-link): Likewise.
29689 (link-libc-deps): Likewise.
29690 (lib%.so): Depend on $(link-libc-deps). Link with
29692 (build-module): Link with $(link-libc-args).
29693 (build-module-asneeded): Likewise.
29694 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29696 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29697 target-specific variable.
29698 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29699 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29700 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29702 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29704 ($(objpfx)libpcprofile.so): Likewise.
29705 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29707 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29708 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29709 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29711 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29712 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29713 * login/Makefile ($(objpfx)libutil.so): Likewise.
29714 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29715 * math/Makefile ($(objpfx)libm.so): Likewise.
29716 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29717 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29718 variable instead of depending directly on libc.
29719 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29720 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29722 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29724 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29725 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29726 ($(objpfx)libanl.so): Likewise.
29727 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29729 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29731 * sysdeps/i386/fpu/Makefile: Remove file.
29732 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29733 ($(objpfx)libm.so): Remove dependency on ld.so.
29735 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
29738 * nis/yp_xdr.c (XDRMAXNAME): Define.
29739 (XDRMAXRECORD): Define.
29740 (xdr_domainname): Use XDRMAXNAME.
29741 (xdr_mapname): Likewise.
29742 (xdr_peername): Likewise.
29743 (xdr_keydat): Use XDRMAXRECORD.
29744 (xdr_valdat): Likewise.
29746 2013-05-30 Jeff Law <law@redhat.com>
29749 * manual/errno.texi (ESTALE): Update to account for more than
29750 just NFS file systems.
29751 * sysdeps/gnu/errlist.c: Regenerated.
29753 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29756 * elf/Makefile (tests): Add tst-null-argv.
29757 (modules-names): Add tst-null-argv-lib.
29758 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29759 (tst-null-argv-ENV): Set environment for tst-null-argv.
29760 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29761 (RTLD_PROGNAME): New macro.
29762 * elf/tst-null-argv.c: New test case.
29763 * elf/tst-null-argv-lib.c: Library for test case.
29764 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29765 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29766 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29767 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29768 * elf/dl-init.c (call_init): Likewise.
29769 (_dl_init): Likewise.
29770 * elf/dl-load.c (print_search_path): Likewise.
29771 (_dl_map_object): Likewise.
29772 * elf/dl-lookup.c (do_lookup_x): Likewise.
29773 (add_dependency): Likewise.
29774 (_dl_lookup_symbol_x): Likewise.
29775 (_dl_debug_bindings): Likewise.
29776 * elf/dl-open.c (_dl_show_scope): Likewise.
29777 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29778 * elf/dl-version.c (match_symbol): Likewise.
29779 (_dl_check_map_versions): Likewise.
29780 * elf/rtld.c (dl_main): Likewise.
29781 (print_unresolved): Use RTLD_PROGNAME.
29782 (print_missing_version): Likewise.
29783 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29784 (elf_machine_rela): Likewise.
29785 * sysdeps/powerpc/powerpc32/dl-machine.c
29786 (__process_machine_rela): Likewise.
29787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29789 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29791 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29793 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29794 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29796 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29800 2013-05-28 Carlos O'Donell <carlos@redhat.com>
29802 * po/be.po: Add descriptive title.
29803 * po/zh_CN.po: Likewise.
29804 * po/header.pot: Likewise.
29806 2013-05-28 Mike Frysinger <vapier@gentoo.org>
29808 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29810 (enlarge_archive): Likewise.
29812 2013-05-28 Ben North <ben@redfrontdoor.org>
29814 * manual/arith.texi (frexp): It is the magnitude of the return
29815 value which lies in [0.5, 1), not the return value itself.
29817 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29821 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29823 * stdio-common/bug26.c (main): Correct fscanf template.
29825 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29826 declare _dl_skip_args.
29828 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29831 * manual/platform.texi: Add missing @end deftypefun.
29833 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29836 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29837 bit of mantissa of 2^16382.
29838 * math/libm-test.inc (hypot_test_data): Add more tests.
29840 * math/libm-test.inc: Add drem and pow10 to list of tested
29842 (pow10_test): New function.
29843 (drem_test): Likewise.
29844 (drem_test_tonearest): Likewise.
29845 (drem_test_towardzero): Likewise.
29846 (drem_test_downward): Likewise.
29847 (drem_test_upward): Likewise.
29848 (main): Call the new functions.
29850 * math/libm-test.inc (finite_test_data): Remove.
29851 (finite_test): Run tests from isfinite_test_data.
29852 (gamma_test_data): Remove.
29853 (gamma_test): Run tests from lgamma_test_data.
29854 * sysdeps/i386/fpu/libm-test-ulps: Update.
29855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29857 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29859 * manual/platform.texi: Add PowerPC PPR function set documentation.
29860 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29863 2013-05-24 Carlos O'Donell <carlos@redhat.com>
29865 * math/libm-test.inc (MAX_EXP): Define.
29867 (ulp): New function.
29868 (check_float_internal): Use ULPDIFF.
29869 (cpow_test): Disable failing test.
29870 (check_ulp): Test ulp() implemetnation.
29871 (main): Call check_ulp before starting tests.
29873 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29875 * math/gen-libm-test.pl (generate_testfile): Do not handle
29876 START_DATA and END_DATA.
29877 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29879 (acos_tonearest_test_data): Likewise.
29880 (acos_towardzero_test_data): Likewise.
29881 (acos_downward_test_data): Likewise.
29882 (acos_upward_test_data): Likewise.
29883 (acosh_test_data): Likewise.
29884 (asin_test_data): Likewise.
29885 (asin_tonearest_test_data): Likewise.
29886 (asin_towardzero_test_data): Likewise.
29887 (asin_downward_test_data): Likewise.
29888 (asin_upward_test_data): Likewise.
29889 (asinh_test_data): Likewise.
29890 (atan_test_data): Likewise.
29891 (atanh_test_data): Likewise.
29892 (atan2_test_data): Likewise.
29893 (cabs_test_data): Likewise.
29894 (cacos_test_data): Likewise.
29895 (cacosh_test_data): Likewise.
29896 (carg_test_data): Likewise.
29897 (casin_test_data): Likewise.
29898 (casinh_test_data): Likewise.
29899 (catan_test_data): Likewise.
29900 (catanh_test_data): Likewise.
29901 (cbrt_test_data): Likewise.
29902 (ccos_test_data): Likewise.
29903 (ccosh_test_data): Likewise.
29904 (ceil_test_data): Likewise.
29905 (cexp_test_data): Likewise.
29906 (cimag_test_data): Likewise.
29907 (clog_test_data): Likewise.
29908 (clog10_test_data): Likewise.
29909 (conj_test_data): Likewise.
29910 (copysign_test_data): Likewise.
29911 (cos_test_data): Likewise.
29912 (cos_tonearest_test_data): Likewise.
29913 (cos_towardzero_test_data): Likewise.
29914 (cos_downward_test_data): Likewise.
29915 (cos_upward_test_data): Likewise.
29916 (cosh_test_data): Likewise.
29917 (cosh_tonearest_test_data): Likewise.
29918 (cosh_towardzero_test_data): Likewise.
29919 (cosh_downward_test_data): Likewise.
29920 (cosh_upward_test_data): Likewise.
29921 (cpow_test_data): Likewise.
29922 (cproj_test_data): Likewise.
29923 (creal_test_data): Likewise.
29924 (csin_test_data): Likewise.
29925 (csinh_test_data): Likewise.
29926 (csqrt_test_data): Likewise.
29927 (ctan_test_data): Likewise.
29928 (ctan_tonearest_test_data): Likewise.
29929 (ctan_towardzero_test_data): Likewise.
29930 (ctan_downward_test_data): Likewise.
29931 (ctan_upward_test_data): Likewise.
29932 (ctanh_test_data): Likewise.
29933 (ctanh_tonearest_test_data): Likewise.
29934 (ctanh_towardzero_test_data): Likewise.
29935 (ctanh_downward_test_data): Likewise.
29936 (ctanh_upward_test_data): Likewise.
29937 (erf_test_data): Likewise.
29938 (erfc_test_data): Likewise.
29939 (exp_test_data): Likewise.
29940 (exp_tonearest_test_data): Likewise.
29941 (exp_towardzero_test_data): Likewise.
29942 (exp_downward_test_data): Likewise.
29943 (exp_upward_test_data): Likewise.
29944 (exp10_test_data): Likewise.
29945 (exp2_test_data): Likewise.
29946 (expm1_test_data): Likewise.
29947 (fabs_test_data): Likewise.
29948 (fdim_test_data): Likewise.
29949 (finite_test_data): Likewise.
29950 (floor_test_data): Likewise.
29951 (fma_test_data): Likewise.
29952 (fma_towardzero_test_data): Likewise.
29953 (fma_downward_test_data): Likewise.
29954 (fma_upward_test_data): Likewise.
29955 (fmax_test_data): Likewise.
29956 (fmin_test_data): Likewise.
29957 (fmod_test_data): Likewise.
29958 (fpclassify_test_data): Likewise.
29959 (frexp_test_data): Likewise.
29960 (gamma_test_data): Likewise.
29961 (hypot_test_data): Likewise.
29962 (ilogb_test_data): Likewise.
29963 (isfinite_test_data): Likewise.
29964 (isgreater_test_data): Likewise.
29965 (isgreaterequal_test_data): Likewise.
29966 (isinf_test_data): Likewise.
29967 (isless_test_data): Likewise.
29968 (islessequal_test_data): Likewise.
29969 (islessgreater_test_data): Likewise.
29970 (isnan_test_data): Likewise.
29971 (isnormal_test_data): Likewise.
29972 (issignaling_test_data): Likewise.
29973 (isunordered_test_data): Likewise.
29974 (j0_test_data): Likewise.
29975 (j1_test_data): Likewise.
29976 (jn_test_data): Likewise.
29977 (ldexp_test_data): Likewise.
29978 (lgamma_test_data): Likewise.
29979 (lrint_test_data): Likewise.
29980 (lrint_tonearest_test_data): Likewise.
29981 (lrint_towardzero_test_data): Likewise.
29982 (lrint_downward_test_data): Likewise.
29983 (lrint_upward_test_data): Likewise.
29984 (llrint_test_data): Likewise.
29985 (llrint_tonearest_test_data): Likewise.
29986 (llrint_towardzero_test_data): Likewise.
29987 (llrint_downward_test_data): Likewise.
29988 (llrint_upward_test_data): Likewise.
29989 (log_test_data): Likewise.
29990 (log10_test_data): Likewise.
29991 (log1p_test_data): Likewise.
29992 (log2_test_data): Likewise.
29993 (logb_test_data): Likewise.
29994 (logb_downward_test_data): Likewise.
29995 (lround_test_data): Likewise.
29996 (llround_test_data): Likewise.
29997 (modf_test_data): Likewise.
29998 (nearbyint_test_data): Likewise.
29999 (nextafter_test_data): Likewise.
30000 (nexttoward_test_data): Likewise.
30001 (pow_test_data): Likewise.
30002 (pow_tonearest_test_data): Likewise.
30003 (pow_towardzero_test_data): Likewise.
30004 (pow_downward_test_data): Likewise.
30005 (pow_upward_test_data): Likewise.
30006 (remainder_test_data): Likewise.
30007 (remainder_tonearest_test_data): Likewise.
30008 (remainder_towardzero_test_data): Likewise.
30009 (remainder_downward_test_data): Likewise.
30010 (remainder_upward_test_data): Likewise.
30011 (remquo_test_data): Likewise.
30012 (rint_test_data): Likewise.
30013 (rint_tonearest_test_data): Likewise.
30014 (rint_towardzero_test_data): Likewise.
30015 (rint_downward_test_data): Likewise.
30016 (rint_upward_test_data): Likewise.
30017 (round_test_data): Likewise.
30018 (scalb_test_data): Likewise.
30019 (scalbn_test_data): Likewise.
30020 (scalbln_test_data): Likewise.
30021 (signbit_test_data): Likewise.
30022 (sin_test_data): Likewise.
30023 (sin_tonearest_test_data): Likewise.
30024 (sin_towardzero_test_data): Likewise.
30025 (sin_downward_test_data): Likewise.
30026 (sin_upward_test_data): Likewise.
30027 (sincos_test_data): Likewise.
30028 (sinh_test_data): Likewise.
30029 (sinh_tonearest_test_data): Likewise.
30030 (sinh_towardzero_test_data): Likewise.
30031 (sinh_downward_test_data): Likewise.
30032 (sinh_upward_test_data): Likewise.
30033 (sqrt_test_data): Likewise.
30034 (tan_test_data): Likewise.
30035 (tan_tonearest_test_data): Likewise.
30036 (tan_towardzero_test_data): Likewise.
30037 (tan_downward_test_data): Likewise.
30038 (tan_upward_test_data): Likewise.
30039 (tanh_test_data): Likewise.
30040 (tgamma_test_data): Likewise.
30041 (trunc_test_data): Likewise.
30042 (y0_test_data): Likewise.
30043 (y1_test_data): Likewise.
30044 (yn_test_data): Likewise.
30045 (significand_test_data): Likewise.
30047 * math/gen-libm-test.pl (@functions): Remove variable.
30048 (generate_testfile): Don't handle START and END lines.
30049 * math/libm-test.inc (START): New macro.
30051 (END_COMPLEX): Likewise.
30052 (acos_test): Use END macro without arguments.
30053 (acos_test_tonearest): Likewise.
30054 (acos_test_towardzero): Likewise.
30055 (acos_test_downward): Likewise.
30056 (acos_test_upward): Likewise.
30057 (acosh_test): Likewise.
30058 (asin_test): Likewise.
30059 (asin_test_tonearest): Likewise.
30060 (asin_test_towardzero): Likewise.
30061 (asin_test_downward): Likewise.
30062 (asin_test_upward): Likewise.
30063 (asinh_test): Likewise.
30064 (atan_test): Likewise.
30065 (atanh_test): Likewise.
30066 (atan2_test): Likewise.
30067 (cabs_test): Likewise.
30068 (cacos_test): Use END_COMPLEX macro without arguments.
30069 (cacosh_test): Likewise.
30070 (carg_test): Use END macro without arguments.
30071 (casin_test): Use END_COMPLEX macro without arguments.
30072 (casinh_test): Likewise.
30073 (catan_test): Likewise.
30074 (catanh_test): Likewise.
30075 (cbrt_test): Use END macro without arguments.
30076 (ccos_test): Use END_COMPLEX macro without arguments.
30077 (ccosh_test): Likewise.
30078 (ceil_test): Use END macro without arguments.
30079 (cexp_test): Use END_COMPLEX macro without arguments.
30080 (cimag_test): Use END macro without arguments.
30081 (clog_test): Use END_COMPLEX macro without arguments.
30082 (clog10_test): Likewise.
30083 (conj_test): Likewise.
30084 (copysign_test): Use END macro without arguments.
30085 (cos_test): Likewise.
30086 (cos_test_tonearest): Likewise.
30087 (cos_test_towardzero): Likewise.
30088 (cos_test_downward): Likewise.
30089 (cos_test_upward): Likewise.
30090 (cosh_test): Likewise.
30091 (cosh_test_tonearest): Likewise.
30092 (cosh_test_towardzero): Likewise.
30093 (cosh_test_downward): Likewise.
30094 (cosh_test_upward): Likewise.
30095 (cpow_test): Use END_COMPLEX macro without arguments.
30096 (cproj_test): Likewise.
30097 (creal_test): Use END macro without arguments.
30098 (csin_test): Use END_COMPLEX macro without arguments.
30099 (csinh_test): Likewise.
30100 (csqrt_test): Likewise.
30101 (ctan_test): Likewise.
30102 (ctan_test_tonearest): Likewise.
30103 (ctan_test_towardzero): Likewise.
30104 (ctan_test_downward): Likewise.
30105 (ctan_test_upward): Likewise.
30106 (ctanh_test): Likewise.
30107 (ctanh_test_tonearest): Likewise.
30108 (ctanh_test_towardzero): Likewise.
30109 (ctanh_test_downward): Likewise.
30110 (ctanh_test_upward): Likewise.
30111 (erf_test): Use END macro without arguments.
30112 (erfc_test): Likewise.
30113 (exp_test): Likewise.
30114 (exp_test_tonearest): Likewise.
30115 (exp_test_towardzero): Likewise.
30116 (exp_test_downward): Likewise.
30117 (exp_test_upward): Likewise.
30118 (exp10_test): Likewise.
30119 (exp2_test): Likewise.
30120 (expm1_test): Likewise.
30121 (fabs_test): Likewise.
30122 (fdim_test): Likewise.
30123 (finite_test): Likewise.
30124 (floor_test): Likewise.
30125 (fma_test): Likewise.
30126 (fma_test_towardzero): Likewise.
30127 (fma_test_downward): Likewise.
30128 (fma_test_upward): Likewise.
30129 (fmax_test): Likewise.
30130 (fmin_test): Likewise.
30131 (fmod_test): Likewise.
30132 (fpclassify_test): Likewise.
30133 (frexp_test): Likewise.
30134 (gamma_test): Likewise.
30135 (hypot_test): Likewise.
30136 (ilogb_test): Likewise.
30137 (isfinite_test): Likewise.
30138 (isgreater_test): Likewise.
30139 (isgreaterequal_test): Likewise.
30140 (isinf_test): Likewise.
30141 (isless_test): Likewise.
30142 (islessequal_test): Likewise.
30143 (islessgreater_test): Likewise.
30144 (isnan_test): Likewise.
30145 (isnormal_test): Likewise.
30146 (issignaling_test): Likewise.
30147 (isunordered_test): Likewise.
30148 (j0_test): Likewise.
30149 (j1_test): Likewise.
30150 (jn_test): Likewise.
30151 (ldexp_test): Likewise.
30152 (lgamma_test): Likewise.
30153 (lrint_test): Likewise.
30154 (lrint_test_tonearest): Likewise.
30155 (lrint_test_towardzero): Likewise.
30156 (lrint_test_downward): Likewise.
30157 (lrint_test_upward): Likewise.
30158 (llrint_test): Likewise.
30159 (llrint_test_tonearest): Likewise.
30160 (llrint_test_towardzero): Likewise.
30161 (llrint_test_downward): Likewise.
30162 (llrint_test_upward): Likewise.
30163 (log_test): Likewise.
30164 (log10_test): Likewise.
30165 (log1p_test): Likewise.
30166 (log2_test): Likewise.
30167 (logb_test): Likewise.
30168 (logb_test_downward): Likewise.
30169 (lround_test): Likewise.
30170 (llround_test): Likewise.
30171 (modf_test): Likewise.
30172 (nearbyint_test): Likewise.
30173 (nextafter_test): Likewise.
30174 (nexttoward_test): Likewise.
30175 (pow_test): Likewise.
30176 (pow_test_tonearest): Likewise.
30177 (pow_test_towardzero): Likewise.
30178 (pow_test_downward): Likewise.
30179 (pow_test_upward): Likewise.
30180 (remainder_test): Likewise.
30181 (remainder_test_tonearest): Likewise.
30182 (remainder_test_towardzero): Likewise.
30183 (remainder_test_downward): Likewise.
30184 (remainder_test_upward): Likewise.
30185 (remquo_test): Likewise.
30186 (rint_test): Likewise.
30187 (rint_test_tonearest): Likewise.
30188 (rint_test_towardzero): Likewise.
30189 (rint_test_downward): Likewise.
30190 (rint_test_upward): Likewise.
30191 (round_test): Likewise.
30192 (scalb_test): Likewise.
30193 (scalbn_test): Likewise.
30194 (scalbln_test): Likewise.
30195 (signbit_test): Likewise.
30196 (sin_test): Likewise.
30197 (sin_test_tonearest): Likewise.
30198 (sin_test_towardzero): Likewise.
30199 (sin_test_downward): Likewise.
30200 (sin_test_upward): Likewise.
30201 (sincos_test): Likewise.
30202 (sinh_test): Likewise.
30203 (sinh_test_tonearest): Likewise.
30204 (sinh_test_towardzero): Likewise.
30205 (sinh_test_downward): Likewise.
30206 (sinh_test_upward): Likewise.
30207 (sqrt_test): Likewise.
30208 (tan_test): Likewise.
30209 (tan_test_tonearest): Likewise.
30210 (tan_test_towardzero): Likewise.
30211 (tan_test_downward): Likewise.
30212 (tan_test_upward): Likewise.
30213 (tanh_test): Likewise.
30214 (tgamma_test): Likewise.
30215 (trunc_test): Likewise.
30216 (y0_test): Likewise.
30217 (y1_test): Likewise.
30218 (yn_test): Likewise.
30219 (significand_test): Likewise.
30221 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
30224 * libio/genops.c (_IO_no_init): Initialize wide struct info.
30226 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
30229 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30230 __ppc_mdoio and __ppc_mdoom.
30231 * manual/platform.texi: Document new functions __ppc_yield,
30232 __ppc_mdoio and __ppc_mdoom.
30234 2013-05-22 Carlos O'Donell <carlos@redhat.com>
30236 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30237 (main): Mention "tls" pseudo-hwcap is legacy.
30238 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30240 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30242 * math/gen-libm-test.pl (parse_args): Output only string of
30243 arguments as text for test name, not full call or descriptions of
30244 tests for extra outputs.
30245 (generate_testfile): Do not pass function name to parse_args.
30246 Generate this_func variable from START.
30247 * math/libm-test.inc (struct test_f_f_data): Rename test_name
30249 (struct test_ff_f_data): Likewise.
30250 (test_ff_f_data_nexttoward): Likewise.
30251 (struct test_fi_f_data): Likewise.
30252 (struct test_fl_f_data): Likewise.
30253 (struct test_if_f_data): Likewise.
30254 (struct test_fff_f_data): Likewise.
30255 (struct test_c_f_data): Likewise.
30256 (struct test_f_f1_data): Likewise. Remove field extra_name.
30257 (struct test_fF_f1_data): Likewise.
30258 (struct test_ffI_f1_data): Likewise.
30259 (struct test_c_c_data): Rename test_name field to arg_str.
30260 (struct test_cc_c_data): Likewise.
30261 (struct test_f_i_data): Likewise.
30262 (struct test_ff_i_data): Likewise.
30263 (struct test_f_l_data): Likewise.
30264 (struct test_f_L_data): Likewise.
30265 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30267 (COMMON_TEST_SETUP): New macro.
30268 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30269 (COMMON_TEST_CLEANUP): Likewise.
30270 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30271 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
30273 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30274 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
30276 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30277 (RUN_TEST_fff_f): Take argument string. Call new setup and
30279 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30280 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
30282 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30283 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30285 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30286 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30288 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30289 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30291 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30292 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30294 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30295 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30297 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30298 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30300 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30301 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30303 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30304 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30306 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30307 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30309 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30310 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30312 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30313 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30315 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30316 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30318 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30319 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30321 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30322 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30324 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30326 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30328 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30329 to _sifields.sigfault.
30330 (si_addr_lsb): Define new macro.
30331 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30332 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30333 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30335 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30338 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30340 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30342 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30343 loading the domain.
30345 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30347 * math/gen-libm-test.pl (parse_args): Do not include expected
30348 result in test name.
30349 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30350 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30351 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30352 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30353 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30356 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30358 * benchtests/Makefile: Sort function entries.
30360 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30361 tanh, asinh, acosh, atanh.
30362 * benchtests/acos-inputs: New file.
30363 * benchtests/acosh-inputs: New file.
30364 * benchtests/asin-inputs: New file.
30365 * benchtests/asinh-inputs: New file.
30366 * benchtests/atanh-inputs: New file.
30367 * benchtests/cosh-inputs: New file.
30368 * benchtests/log-inputs: New file.
30369 * benchtests/sinh-inputs: New file.
30370 * benchtests/tanh-inputs: New file.
30372 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30375 * posix/tst-getaddrinfo4.c: New test.
30376 * posix/Makefile (tests): Add it.
30378 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30381 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30382 when no services were used.
30383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30384 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30386 2013-05-21 Andreas Schwab <schwab@suse.de>
30389 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30390 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30392 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30393 redundant variable declarations and reallocation of buffer when
30394 parsing as IPv6 address. Always set NSS status when called from
30395 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30396 buffer too small. Correct computation of needed size.
30397 * nss/Makefile (tests): Add test-digits-dots.
30398 * nss/test-digits-dots.c: New test.
30400 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30402 * benchtests/Makefile: Remove instructions for adding
30404 * benchtests/README: New file to explain how to execute and
30405 enhance the benchmark tests.
30407 2013-05-21 Andreas Schwab <schwab@suse.de>
30410 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30411 * setjmp/tst-sigsetjmp.c: New test.
30413 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30415 * sysdeps/x86_64/memset.S (memset): New implementation.
30416 (__bzero): Likewise.
30417 (__memset_tail): New function.
30419 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30421 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30422 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30423 __memcpy_sse2_unaligned ifunc selection.
30424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30425 Add memcpy-sse2-unaligned.S.
30426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30427 Add: __memcpy_sse2_unaligned.
30429 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30432 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30433 math_force_eval before restoring floating-point envrionment.
30434 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30435 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30437 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30439 (__nearbyintl): Use math_force_eval before restoring
30440 floating-point environment.
30441 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30443 * math/gen-libm-test.pl (special_functions): Remove.
30444 (parse_args): Don't handle TEST_extra. Handle functions with no
30446 * math/libm-test.inc (struct test_sincos_data): Replace with
30447 struct test_fFF_11_data.
30448 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30449 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30450 (sincos_test_data): Change element type to struct
30451 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30452 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30453 RUN_TEST_LOOP_sincos.
30454 * math/README.libm-test: Don't mention special handling of
30455 individual functions.
30456 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30457 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30458 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30459 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30460 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30463 * math/gen-libm-test.pl (get_variable): Remove function.
30464 (parse_args): Don't show pointer parameters to call in test
30465 names. Use "extra output N" in test names for extra outputs
30466 rather than naming variables.
30468 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30471 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30472 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30473 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30475 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30477 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30480 * math/gen-libm-test.pl (@tests): Remove variable.
30481 ($count): Likewise.
30482 (new_test): Remove function.
30483 (show_exceptions): New function.
30484 (special_functions): Use show_exceptions instead of new_test.
30485 (parse_args): Likewise.
30486 (generate_testfile): Pass only function name in generated call to
30487 print_max_error or print_complex_max_error.
30488 (get_ulps): Do not handle complex tests specially.
30489 (output_test): Rename to ...
30490 (get_all_ulps_for_test): ... this. Return a string rather than
30491 printing to a file. Require ulps to be present.
30492 (output_ulps): Generate arrays rather than #defines.
30493 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30494 (struct ulp_data): New type.
30495 (BUILD_COMPLEX_ULP): Remove macro.
30496 (compare_ulp_data): New function.
30497 (find_ulps): Likewise.
30498 (find_test_ulps): Likewise.
30499 (find_function_ulps): Likewise.
30500 (find_complex_function_ulps): Likewise.
30501 (print_max_error): Determine allowed ulps using
30502 find_function_ulps.
30503 (print_complex_max_error): Determine allowed ulps using
30504 find_complex_function_ulps.
30505 (check_float_internal): Determine max ulps using find_test_ulps.
30506 (check_float): Do not take max_ulp parameter. Update call to
30507 check_float_internal.
30508 (check_complex): Likewise.
30509 (check_int): Do not take max_ulp parameter.
30510 (check_long): Likewise.
30511 (check_bool): Likewise.
30512 (check_longlong): Likewise.
30513 (struct test_f_f_data): Remove max_ulp field.
30514 (struct test_ff_f_data): Likewise.
30515 (struct test_ff_f_data_nexttoward): Likewise.
30516 (struct test_fi_f_data): Likewise.
30517 (struct test_fl_f_data): Likewise.
30518 (struct test_if_f_data): Likewise.
30519 (struct test_fff_f_data): Likewise.
30520 (struct test_c_f_data): Likewise.
30521 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30522 (struct test_fF_f1_data): Likewise.
30523 (struct test_ffI_f1_data): Likewise.
30524 (struct test_c_c_data): Remove max_ulp field.
30525 (struct test_cc_c_data): Likewise.
30526 (struct test_f_i_data): Likewise.
30527 (struct test_ff_i_data): Likewise.
30528 (struct test_f_l_data): Likewise.
30529 (struct test_f_L_data): Likewise.
30530 (struct test_sincos_data): Likewise.
30531 (RUN_TEST_f_f): Do not handle ulps.
30532 (RUN_TEST_LOOP_f_f): Likewise.
30533 (RUN_TEST_2_f): Likewise.
30534 (RUN_TEST_LOOP_2_f): Likewise.
30535 (RUN_TEST_fff_f): Likewise.
30536 (RUN_TEST_LOOP_fff_f): Likewise.
30537 (RUN_TEST_c_f): Likewise.
30538 (RUN_TEST_LOOP_c_f): Likewise.
30539 (RUN_TEST_f_f1): Likewise.
30540 (RUN_TEST_LOOP_f_f1): Likewise.
30541 (RUN_TEST_fF_f1): Likewise.
30542 (RUN_TEST_LOOP_fF_f1): Likewise.
30543 (RUN_TEST_fI_f1): Likewise.
30544 (RUN_TEST_LOOP_fI_f1): Likewise.
30545 (RUN_TEST_ffI_f1): Likewise.
30546 (RUN_TEST_LOOP_ffI_f1): Likewise.
30547 (RUN_TEST_c_c): Likewise.
30548 (RUN_TEST_LOOP_c_c): Likewise.
30549 (RUN_TEST_cc_c): Likewise.
30550 (RUN_TEST_LOOP_cc_c): Likewise.
30551 (RUN_TEST_f_i): Likewise.
30552 (RUN_TEST_LOOP_f_i): Likewise.
30553 (RUN_TEST_f_i_tg): Likewise.
30554 (RUN_TEST_LOOP_f_i_tg): Likewise.
30555 (RUN_TEST_ff_i_tg): Likewise.
30556 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30557 (RUN_TEST_f_b): Likewise.
30558 (RUN_TEST_LOOP_f_b): Likewise.
30559 (RUN_TEST_f_b_tg): Likewise.
30560 (RUN_TEST_LOOP_f_b_tg): Likewise.
30561 (RUN_TEST_f_l): Likewise.
30562 (RUN_TEST_LOOP_f_l): Likewise.
30563 (RUN_TEST_f_L): Likewise.
30564 (RUN_TEST_LOOP_f_L): Likewise.
30565 (RUN_TEST_sincos): Likewise.
30566 (RUN_TEST_LOOP_sincos): Likewise.
30568 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30572 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30573 main case of finite arguments, set rounding mode to FE_TONEAREST
30574 and discard exceptions.
30575 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30577 (remainder_tonearest_test_data): New variable.
30578 (remainder_test_tonearest): New function.
30579 (remainder_towardzero_test_data): New variable.
30580 (remainder_test_towardzero): New function.
30581 (remainder_downward_test_data): New variable.
30582 (remainder_test_downward): New function.
30583 (remainder_upward_test_data): New variable.
30584 (remainder_test_upward): New function.
30585 (main): Call the new test functions.
30587 * math/libm-test.inc (struct test_f_f1_data): Remove field
30589 (struct test_fF_f1_data): Likewise.
30590 (struct test_ffI_f1_data): Likewise.
30591 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30592 based on value of EXTRA_EXPECTED.
30593 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30594 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30595 EXTRA_VAR based on value of EXTRA_EXPECTED.
30596 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30597 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30598 EXTRA_VAR based on value of EXTRA_EXPECTED.
30599 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30600 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30601 EXTRA_VAR based on value of EXTRA_EXPECTED.
30602 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30603 * math/gen-libm-test.pl (parse_args): Don't output initializers
30604 for extra output values.
30606 * math/libm-test.inc (check_int): Expect result to be exactly
30607 equal to expected value and do not handle ulps.
30608 (check_long): Likewise.
30609 (check_longlong): Likewise.
30611 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30613 (cimag_test_data): Likewise.
30614 (conj_test_data): Likewise.
30615 (copysign_test_data): Likewise.
30616 (cproj_test_data): Likewise.
30617 (creal_test_data): Likewise.
30618 (fabs_test_data): Likewise.
30619 (fdim_test_data): Likewise.
30620 (finite_test_data): Likewise.
30621 (floor_test_data): Likewise.
30622 (fmax_test_data): Likewise.
30623 (fmin_test_data): Likewise.
30624 (fmod_test_data): Likewise.
30625 (fpclassify_test_data): Likewise.
30626 (frexp_test_data): Likewise.
30627 (ilogb_test_data): Likewise.
30628 (isfinite_test_data): Likewise.
30629 (isgreater_test_data): Likewise.
30630 (isgreaterequal_test_data): Likewise.
30631 (isinf_test_data): Likewise.
30632 (isless_test_data): Likewise.
30633 (islessequal_test_data): Likewise.
30634 (islessgreater_test_data): Likewise.
30635 (isnan_test_data): Likewise.
30636 (isnormal_test_data): Likewise.
30637 (issignaling_test_data): Likewise.
30638 (isunordered_test_data): Likewise.
30639 (ldexp_test_data): Likewise.
30640 (lrint_test_data): Likewise.
30641 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30642 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30643 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30644 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30645 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30646 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30648 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30649 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30650 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30651 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30653 (lrint_downward_test_data): Test for "inexact" exceptions.
30654 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30655 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30656 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30658 (lrint_upward_test_data): Test for "inexact" exceptions.
30659 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30661 (llrint_test_data): Test for "inexact" exceptions.
30662 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30663 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30664 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30665 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30666 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30667 (llrint_downward_test_data): Test for "inexact" exceptions.
30668 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30669 (llrint_upward_test_data): Test for "inexact" exceptions.
30670 (logb_test_data): Likewise.
30671 (logb_downward_test_data): Likewise.
30672 (nextafter_test_data): Likewise.
30673 (nexttoward_test_data): Likewise.
30674 (remainder_test_data): Likewise.
30675 (remquo_test_data): Likewise.
30676 (scalbn_test_data): Likewise.
30677 (scalbln_test_data): Likewise.
30678 (signbit_test_data): Likewise.
30679 (sqrt_test_data): Likewise.
30680 (significand_test_data): Likewise.
30682 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30685 * benchtests/bench-modf.c (struct args): Mark arg0 as
30687 * scripts/bench.pl: Mark members of struct args as volatile.
30689 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30692 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30693 negative infinity on POWER6 or lower.
30694 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30696 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30699 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30700 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30701 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30702 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30703 (_FP_SETQNAN): New macro.
30704 (_FP_SETQNAN_SEMIRAW): Likewise.
30705 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30706 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30707 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30708 (FP_EXTEND): Use _FP_FRAC_SNANP.
30709 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30710 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30712 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30714 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30717 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30719 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30720 with DIVIDE_BY_ZERO_EXCEPTION.
30721 (gamma_test_data): Likewise.
30722 (lgamma_test_data): Likewise.
30723 (log_test_data): Likewise.
30724 (log10_test_data): Likewise.
30725 (log2_test_data): Likewise.
30726 (tgamma_test_data): Likewise.
30728 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30729 (acos_test_tonearest): Likewise.
30730 (acos_test_towardzero): Likewise.
30731 (acos_test_downward): Likewise.
30732 (acos_test_upward): Likewise.
30733 (acosh_test): Likewise.
30734 (asin_test): Likewise.
30735 (asin_test_tonearest): Likewise.
30736 (asin_test_towardzero): Likewise.
30737 (asin_test_downward): Likewise.
30738 (asin_test_upward): Likewise.
30739 (asinh_test): Likewise.
30740 (atan_test): Likewise.
30741 (atanh_test): Likewise.
30742 (atan2_test): Likewise.
30743 (cabs_test): Likewise.
30744 (cacos_test): Likewise.
30745 (cacosh_test): Likewise.
30746 (casin_test): Likewise.
30747 (casinh_test): Likewise.
30748 (catan_test): Likewise.
30749 (catanh_test): Likewise.
30750 (cbrt_test): Likewise.
30751 (ccos_test): Likewise.
30752 (ccosh_test): Likewise.
30753 (cexp_test): Likewise.
30754 (clog_test): Likewise.
30755 (clog10_test): Likewise.
30756 (cos_test): Likewise.
30757 (cos_test_tonearest): Likewise.
30758 (cos_test_towardzero): Likewise.
30759 (cos_test_downward): Likewise.
30760 (cos_test_upward): Likewise.
30761 (cosh_test): Likewise.
30762 (cosh_test_tonearest): Likewise.
30763 (cosh_test_towardzero): Likewise.
30764 (cosh_test_downward): Likewise.
30765 (cosh_test_upward): Likewise.
30766 (cpow_test): Likewise.
30767 (csin_test): Likewise.
30768 (csinh_test): Likewise.
30769 (csqrt_test): Likewise.
30770 (ctan_test): Likewise.
30771 (ctan_test_tonearest): Likewise.
30772 (ctan_test_towardzero): Likewise.
30773 (ctan_test_downward): Likewise.
30774 (ctan_test_upward): Likewise.
30775 (ctanh_test): Likewise.
30776 (ctanh_test_tonearest): Likewise.
30777 (ctanh_test_towardzero): Likewise.
30778 (ctanh_test_downward): Likewise.
30779 (ctanh_test_upward): Likewise.
30780 (erf_test): Likewise.
30781 (erfc_test): Likewise.
30782 (exp_test): Likewise.
30783 (exp_test_tonearest): Likewise.
30784 (exp_test_towardzero): Likewise.
30785 (exp_test_downward): Likewise.
30786 (exp_test_upward): Likewise.
30787 (exp10_test): Likewise.
30788 (exp2_test): Likewise.
30789 (expm1_test): Likewise.
30790 (fmod_test): Likewise.
30791 (gamma_test): Likewise.
30792 (hypot_test): Likewise.
30793 (j0_test): Likewise.
30794 (j1_test): Likewise.
30795 (jn_test): Likewise.
30796 (lgamma_test): Likewise.
30797 (log_test): Likewise.
30798 (log10_test): Likewise.
30799 (log1p_test): Likewise.
30800 (log2_test): Likewise.
30801 (logb_test_downward): Likewise.
30802 (pow_test): Likewise.
30803 (pow_test_tonearest): Likewise.
30804 (pow_test_towardzero): Likewise.
30805 (pow_test_downward): Likewise.
30806 (pow_test_upward): Likewise.
30807 (remainder_test): Likewise.
30808 (remquo_test): Likewise.
30809 (sin_test): Likewise.
30810 (sin_test_tonearest): Likewise.
30811 (sin_test_towardzero): Likewise.
30812 (sin_test_downward): Likewise.
30813 (sin_test_upward): Likewise.
30814 (sincos_test): Likewise.
30815 (sinh_test): Likewise.
30816 (sinh_test_tonearest): Likewise.
30817 (sinh_test_towardzero): Likewise.
30818 (sinh_test_downward): Likewise.
30819 (sinh_test_upward): Likewise.
30820 (sqrt_test): Likewise.
30821 (tan_test): Likewise.
30822 (tan_test_tonearest): Likewise.
30823 (tan_test_towardzero): Likewise.
30824 (tan_test_downward): Likewise.
30825 (tan_test_upward): Likewise.
30826 (tanh_test): Likewise.
30827 (tgamma_test): Likewise.
30828 (y0_test): Likewise.
30829 (y1_test): Likewise.
30830 (yn_test): Likewise.
30832 * math/gen-libm-test.pl (adjust_arg): Remove function.
30833 (special_function): Remove argument $in_func. Only handle
30834 generating output for tables of tests, not inside functions.
30835 (parse_args): Likewise.
30836 (generate_testfile): Remove variable $in_func. Update call to
30838 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30839 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30840 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30841 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30842 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30843 (MAX_VALUE_INIT): Rename macro to max_value.
30844 (MIN_VALUE_INIT): Rename macro to min_value.
30845 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30846 (plus_zero): Remove variable.
30847 (minus_zero): Likewise.
30848 (plus_infty): Likewise.
30849 (minus_infty): Likewise.
30850 (qnan_value): Likewise.
30851 (max_value): Likewise.
30852 (min_value): Likewise.
30853 (min_subnorm_value): Likewise.
30855 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30857 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30858 uint64_t or uint32_t usage.
30859 * crypt/sha256-block.c: Likewise.
30860 * crypt/sha256-crypt.c: Likewise.
30861 * crypt/sha256.c: Likewise.
30862 * crypt/sha512-block.c: Likewise.
30863 * crypt/sha512-crypt.c: Likewise.
30864 * crypt/sha512.c: Likewise.
30865 * debug/backtrace-tst.c: Likewise.
30866 * debug/pcprofiledump.c: Likewise.
30867 * elf/cache.c: Likewise.
30868 * elf/dl-cache.c: Likewise.
30869 * elf/dl-misc.c: Likewise.
30870 * elf/dl-profile.c: Likewise.
30871 * elf/dl-support.c: Likewise.
30872 * elf/ldconfig.c: Likewise.
30873 * elf/sprof.c: Likewise.
30874 * iconv/dummy-repertoire.c: Likewise.
30875 * iconv/iconv_charmap.c: Likewise.
30876 * iconv/skeleton.c: Likewise.
30877 * iconvdata/8bit-generic.c: Likewise.
30878 * iconvdata/cp737.h: Likewise.
30879 * iconvdata/cp775.h: Likewise.
30880 * iconvdata/ibm1008.h: Likewise.
30881 * iconvdata/ibm1025.h: Likewise.
30882 * iconvdata/ibm1046.h: Likewise.
30883 * iconvdata/ibm1097.h: Likewise.
30884 * iconvdata/ibm1112.h: Likewise.
30885 * iconvdata/ibm1122.h: Likewise.
30886 * iconvdata/ibm1123.h: Likewise.
30887 * iconvdata/ibm1124.h: Likewise.
30888 * iconvdata/ibm1129.h: Likewise.
30889 * iconvdata/ibm1130.h: Likewise.
30890 * iconvdata/ibm1132.h: Likewise.
30891 * iconvdata/ibm1133.h: Likewise.
30892 * iconvdata/ibm1137.h: Likewise.
30893 * iconvdata/ibm1140.h: Likewise.
30894 * iconvdata/ibm1141.h: Likewise.
30895 * iconvdata/ibm1142.h: Likewise.
30896 * iconvdata/ibm1143.h: Likewise.
30897 * iconvdata/ibm1144.h: Likewise.
30898 * iconvdata/ibm1145.h: Likewise.
30899 * iconvdata/ibm1146.h: Likewise.
30900 * iconvdata/ibm1147.h: Likewise.
30901 * iconvdata/ibm1148.h: Likewise.
30902 * iconvdata/ibm1149.h: Likewise.
30903 * iconvdata/ibm1153.h: Likewise.
30904 * iconvdata/ibm1154.h: Likewise.
30905 * iconvdata/ibm1155.h: Likewise.
30906 * iconvdata/ibm1156.h: Likewise.
30907 * iconvdata/ibm1157.h: Likewise.
30908 * iconvdata/ibm1158.h: Likewise.
30909 * iconvdata/ibm1160.h: Likewise.
30910 * iconvdata/ibm1161.h: Likewise.
30911 * iconvdata/ibm1162.h: Likewise.
30912 * iconvdata/ibm1163.h: Likewise.
30913 * iconvdata/ibm1164.h: Likewise.
30914 * iconvdata/ibm1166.h: Likewise.
30915 * iconvdata/ibm1167.h: Likewise.
30916 * iconvdata/ibm12712.h: Likewise.
30917 * iconvdata/ibm1390.h: Likewise.
30918 * iconvdata/ibm1399.h: Likewise.
30919 * iconvdata/ibm16804.h: Likewise.
30920 * iconvdata/ibm4517.h: Likewise.
30921 * iconvdata/ibm4899.h: Likewise.
30922 * iconvdata/ibm4909.h: Likewise.
30923 * iconvdata/ibm4971.h: Likewise.
30924 * iconvdata/ibm5347.h: Likewise.
30925 * iconvdata/ibm803.h: Likewise.
30926 * iconvdata/ibm856.h: Likewise.
30927 * iconvdata/ibm901.h: Likewise.
30928 * iconvdata/ibm902.h: Likewise.
30929 * iconvdata/ibm9030.h: Likewise.
30930 * iconvdata/ibm9066.h: Likewise.
30931 * iconvdata/ibm921.h: Likewise.
30932 * iconvdata/ibm922.h: Likewise.
30933 * iconvdata/ibm9448.h: Likewise.
30934 * iconvdata/isiri-3342.h: Likewise.
30935 * iconvdata/jis0201.h: Likewise.
30936 * include/link.h: Likewise.
30937 * include/netdb.h: Likewise.
30938 * inet/check_native.c: Likewise.
30939 * inet/check_pf.c: Likewise.
30940 * inet/getipv4sourcefilter.c: Likewise.
30941 * inet/getnameinfo.c: Likewise.
30942 * inet/getsourcefilter.c: Likewise.
30943 * inet/htonl.c: Likewise.
30944 * inet/setipv4sourcefilter.c: Likewise.
30945 * inet/setsourcefilter.c: Likewise.
30946 * inet/test-inet6_opt.c: Likewise.
30947 * inet/tst-network.c: Likewise.
30948 * locale/C-collate.c: Likewise.
30949 * locale/C-ctype.c: Likewise.
30950 * locale/C-time.c: Likewise.
30951 * locale/C-translit.h: Likewise.
30952 * locale/loadarchive.c: Likewise.
30953 * locale/programs/3level.h: Likewise.
30954 * locale/programs/charmap.c: Likewise.
30955 * locale/programs/charmap.h: Likewise.
30956 * locale/programs/ld-address.c: Likewise.
30957 * locale/programs/ld-collate.c: Likewise.
30958 * locale/programs/ld-ctype.c: Likewise.
30959 * locale/programs/ld-identification.c: Likewise.
30960 * locale/programs/ld-measurement.c: Likewise.
30961 * locale/programs/ld-messages.c: Likewise.
30962 * locale/programs/ld-monetary.c: Likewise.
30963 * locale/programs/ld-name.c: Likewise.
30964 * locale/programs/ld-numeric.c: Likewise.
30965 * locale/programs/ld-paper.c: Likewise.
30966 * locale/programs/ld-telephone.c: Likewise.
30967 * locale/programs/ld-time.c: Likewise.
30968 * locale/programs/linereader.c: Likewise.
30969 * locale/programs/locale.c: Likewise.
30970 * locale/programs/locarchive.c: Likewise.
30971 * locale/programs/locfile.h: Likewise.
30972 * locale/programs/repertoire.c: Likewise.
30973 * locale/programs/simple-hash.c: Likewise.
30974 * locale/programs/simple-hash.h: Likewise.
30975 * malloc/memusage.c: Likewise.
30976 * malloc/memusagestat.c: Likewise.
30977 * nis/nis_defaults.c: Likewise.
30978 * nis/nis_hash.c: Likewise.
30979 * nis/nis_print.c: Likewise.
30980 * nis/nis_xdr.c: Likewise.
30981 * nscd/connections.c: Likewise.
30982 * nscd/hstcache.c: Likewise.
30983 * nscd/nscd_gethst_r.c: Likewise.
30984 * nscd/nscd_getserv_r.c: Likewise.
30985 * nscd/nscd_helper.c: Likewise.
30986 * nscd/servicescache.c: Likewise.
30987 * nss/makedb.c: Likewise.
30988 * nss/nss_db/db-XXX.c: Likewise.
30989 * nss/nss_db/db-initgroups.c: Likewise.
30990 * nss/nss_db/db-netgrp.c: Likewise.
30991 * nss/nss_files/files-network.c: Likewise.
30992 * nss/nss_files/files-parse.c: Likewise.
30993 * posix/bug-regex5.c: Likewise.
30994 * posix/fnmatch_loop.c: Likewise.
30995 * posix/regcomp.c: Likewise.
30996 * posix/regexec.c: Likewise.
30997 * posix/tst-rfc3484-2.c: Likewise.
30998 * posix/tst-rfc3484-3.c: Likewise.
30999 * posix/tst-rfc3484.c: Likewise.
31000 * resolv/nss_dns/dns-canon.c: Likewise.
31001 * resolv/nss_dns/dns-network.c: Likewise.
31002 * resolv/res_init.c: Likewise.
31003 * resolv/res_mkquery.c: Likewise.
31004 * resolv/tst-aton.c: Likewise.
31005 * stdlib/cxa_atexit.c: Likewise.
31006 * stdlib/cxa_finalize.c: Likewise.
31007 * stdlib/gen-fpioconst.c: Likewise.
31008 * stdlib/strtol_l.c: Likewise.
31009 * string/tst-endian.c: Likewise.
31010 * sunrpc/auth_des.c: Likewise.
31011 * sunrpc/clnt_udp.c: Likewise.
31012 * sunrpc/rtime.c: Likewise.
31013 * sunrpc/svcauth_des.c: Likewise.
31014 * sunrpc/xdr.c: Likewise.
31015 * sunrpc/xdr_intXX_t.c: Likewise.
31016 * sunrpc/xdr_rec.c: Likewise.
31017 * sysdeps/generic/ldconfig.h: Likewise.
31018 * sysdeps/generic/ldsodefs.h: Likewise.
31019 * sysdeps/generic/memusage.h: Likewise.
31020 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31021 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31022 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31023 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31024 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31026 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31027 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31028 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31030 * sysdeps/posix/getaddrinfo.c: Likewise.
31031 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31032 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31033 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31034 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31035 * sysdeps/powerpc/test-gettimebase.c: Likewise.
31036 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31037 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31038 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31039 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31040 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31041 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31042 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31043 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31044 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31045 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31046 * sysdeps/x86_64/dl-tls.h: Likewise.
31047 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31048 * time/alt_digit.c: Likewise.
31049 * time/era.c: Likewise.
31050 * wcsmbs/tst-c16c32-1.c: Likewise.
31052 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31054 * math/libm-test.inc (struct test_sincos_data): New type.
31055 (RUN_TEST_LOOP_sincos): New macro.
31056 (sincos_test_data): New variable.
31057 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31059 2013-05-16 Richard Henderson <rth@redhat.com>
31061 * math/atest-exp2.c (LIMB64): New macro.
31062 (CONSTSZ): New macro.
31063 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31065 (print_mpn_fp): ... to function scope.
31066 (read_mpn_hex): Remove.
31067 (get_log2): Remove.
31068 (exp2_mpn): Use mp_log2.
31069 (main): Use mp_exp1.
31071 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31073 * math/libm-test.inc: Remove comment about not testing "inexact"
31075 (INEXACT_EXCEPTION): New macro.
31076 (NO_INEXACT_EXCEPTION): Likewise.
31077 (INVALID_EXCEPTION_OK): Update value.
31078 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31079 (OVERFLOW_EXCEPTION_OK): Likewise.
31080 (UNDERFLOW_EXCEPTION_OK): Likewise.
31081 (IGNORE_ZERO_INF_SIGN): Likewise.
31082 (ERRNO_UNCHANGED): Likewise.
31083 (ERRNO_EDOM): Likewise.
31084 (ERRNO_ERANGE): Likewise.
31085 (test_exceptions): Handle testing "inexact" exceptions.
31086 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31087 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31088 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31089 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31091 (rint_towardzero_test_data): Likewise.
31092 (rint_downward_test_data): Likewise.
31093 (rint_upward_test_data): Likewise.
31095 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31096 with OVERFLOW_EXCEPTION.
31097 (exp10_test_data): Likewise.
31098 (exp2_test_data): Likewise.
31099 (expm1_test_data): Likewise.
31100 (lgamma_test_data): Likewise.
31101 (pow_test_data): Likewise.
31102 (tgamma_test_data): Likewise.
31103 (yn_test_data): Remove duplicate test of overflow.
31105 * math/libm-test.inc (struct test_cc_c_data): New type.
31106 (RUN_TEST_LOOP_cc_c): New macro.
31107 (cpow_test_data): New variable.
31108 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31110 * math/libm-test.inc (struct test_f_L_data): New type.
31111 (RUN_TEST_LOOP_f_L): New macro.
31112 (llrint_test_data): New variable.
31113 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31114 (llrint_tonearest_test_data): New variable.
31115 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31116 (llrint_towardzero_test_data): New variable.
31117 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31118 (llrint_downward_test_data): New variable.
31119 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31120 (llrint_upward_test_data): New variable.
31121 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31122 (llround_test_data): New variable.
31123 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31125 2013-05-13 Peter Collingbourne <pcc@google.com>
31127 * math/atest-exp2.c (get_log2): Remove const attribute.
31129 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31131 * math/libm-test.inc (struct test_f_l_data): New type.
31132 (RUN_TEST_LOOP_f_l): New macro.
31133 (lrint_test_data): New variable.
31134 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31135 (lrint_tonearest_test_data): New variable.
31136 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31137 (lrint_towardzero_test_data): New variable.
31138 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31139 (lrint_downward_test_data): New variable.
31140 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31141 (lrint_upward_test_data): New variable.
31142 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31143 (lround_test_data): New variable.
31144 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31146 2013-05-15 Peter Collingbourne <pcc@google.com>
31148 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31149 (EXTRACT_WORDS64) Use where appropriate.
31150 (INSERT_WORDS64) Likewise.
31152 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31153 constraints with x constraints.
31154 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31156 * malloc/obstack.c (_obstack_compat): Add initializer.
31158 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31160 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31161 si_trapno and add si_addr_lsb to _sifields.sigfault.
31162 (si_trapno): Remove macro.
31163 (si_addr_lsb): Define new macro.
31164 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31166 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31168 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31169 instead of TEST_f_l.
31170 (llrint_test_tonearest): Likewise.
31171 (llrint_test_towardzero): Likewise.
31172 (llrint_test_downward): Likewise.
31173 (llrint_test_upward): Likewise.
31174 (llround_test): Likewise.
31176 * math/libm-test.inc (struct test_f_i_data): Add comment.
31177 (RUN_TEST_LOOP_f_b): New macro.
31178 (RUN_TEST_LOOP_f_b_tg): Likewise.
31179 (finite_test_data): New variable.
31180 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31181 (isfinite_test_data): New variable.
31182 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31183 (isinf_test_data): New variable.
31184 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31185 (isnan_test_data): New variable.
31186 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31187 (isnormal_test_data): New variable.
31188 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31189 (issignaling_test_data): New variable.
31190 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31191 (signbit_test_data): New variable.
31192 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31194 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31195 with INVALID_EXCEPTION.
31196 (acosh_test_data): Likewise.
31197 (asin_test_data): Likewise.
31198 (atanh_test_data): Likewise.
31199 (fmod_test_data): Likewise.
31200 (log_test_data): Likewise.
31201 (log10_test_data): Likewise.
31202 (log2_test_data): Likewise.
31203 (pow_test_data): Likewise.
31204 (sqrt_test_data): Likewise.
31205 (y0_test_data): Likewise.
31206 (y1_test_data): Likewise.
31207 (yn_test_data): Likewise.
31209 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31212 * math/libm-test.inc (struct test_ff_i_data): New type.
31213 (RUN_TEST_LOOP_ff_i_tg): New macro.
31214 (isgreater_test_data): New variable.
31215 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31216 (isgreaterequal_test_data): New variable.
31217 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31218 (isless_test_data): New variable.
31219 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31220 (islessequal_test_data): New variable.
31221 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31222 (islessgreater_test_data): New variable.
31223 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31224 (isunordered_test_data): New variable.
31225 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31227 2013-05-14 David S. Miller <davem@davemloft.net>
31229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31231 2013-05-14 Joseph Myers <joseph@codesourcery.com>
31233 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31235 * math/libm-test.inc (struct test_fF_f1_data): Change type of
31237 (struct test_f_i_data): Change type of max_ulp to int.
31239 * math/libm-test.inc (test_ffI_f1_data): New type.
31240 (RUN_TEST_LOOP_ffI_f1): New macro.
31241 (remquo_test_data): New variable.
31242 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31244 * setjmp/tst-setjmp-fp.c: New file.
31245 * setjmp/Makefile (tests): Add tst-setjmp-fp.
31246 (link-libm): New variable.
31247 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31249 * math/libm-test.inc (struct test_f_i_data): New type.
31250 (RUN_TEST_LOOP_f_i): New macro.
31251 (RUN_TEST_LOOP_f_i_tg): Likewise.
31252 (fpclassify_test_data): New variable.
31253 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31254 (ilogb_test_data): New variable.
31255 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31257 * math/libm-test.inc (scalbln_test): Correct function name in END
31260 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31261 (RUN_TEST_LOOP_fI_f1): New macro.
31262 (frexp_test_data): New variable.
31263 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31265 * math/libm-test.inc (struct test_fF_f1_data): New type.
31266 (RUN_TEST_LOOP_fF_f1): New macro.
31267 (modf_test_data): New variable.
31268 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31270 * math/libm-test.inc (struct test_f_f1_data): New type.
31271 (RUN_TEST_LOOP_f_f1): New macro.
31272 (gamma_test_data): New variable.
31273 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31274 (lgamma_test_data): New variable.
31275 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31277 2013-05-13 Carlos O'Donell <carlos@redhat.com>
31279 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31280 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31281 (main): Comment "tls" pseudo-hwcap.
31283 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31285 * math/libm-test.inc (struct test_fl_f_data): New type.
31286 (RUN_TEST_LOOP_fl_f): New variable.
31287 (scalbln_test_data): New variable.
31288 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31290 * math/libm-test.inc (struct test_fi_f_data): New type.
31291 (RUN_TEST_LOOP_fi_f): New macro.
31292 (ldexp_test_data): New variable.
31293 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31294 (scalbn_test_data): New variable.
31295 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31297 * math/libm-test.inc (struct test_c_f_data): New type.
31298 (RUN_TEST_LOOP_c_f): New macro.
31299 (cabs_test_data): New variable.
31300 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31301 (carg_test_data): New variable.
31302 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31303 (cimag_test_data): New variable.
31304 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31305 (creal_test_data): New variable.
31306 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31308 * math/libm-test.inc (struct test_if_f_data): New type.
31309 (RUN_TEST_LOOP_if_f): New macro.
31310 (jn_test_data): New variable.
31311 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31312 (yn_test_data): New variable.
31313 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31315 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31317 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31319 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31320 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31322 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31324 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31325 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31326 (bench-deps): Add bench-timing.h.
31327 * benchtests-bench-skeleton.c: Include bench-timing.h.
31328 (main): Use TIMING_* macros instead of clock_gettime.
31329 * benchtests/bench-timing.h: New file.
31332 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31333 Renamed from _LIB_VERSION.
31334 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31336 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31338 * math/libm-test.inc (struct test_fff_f_data): New type.
31339 (RUN_TEST_LOOP_fff_f): New macro.
31340 (fma_test_data): New variable.
31341 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31342 (fma_towardzero_test_data): New variable.
31343 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31344 (fma_downward_test_data): New variable.
31345 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31346 (fma_upward_test_data): New variable.
31347 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31349 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31350 (struct test_c_c_data): New type.
31351 (RUN_TEST_LOOP_c_c): New macro.
31352 (cacos_test_data): New variable.
31353 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31354 (cacosh_test_data): New variable.
31355 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31356 (casin_test_data): New variable.
31357 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31358 (casinh_test_data): New variable.
31359 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31360 (catan_test_data): New variable.
31361 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31362 (catanh_test_data): New variable.
31363 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31364 (ccos_test_data): New variable.
31365 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31366 (ccosh_test_data): New variable.
31367 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31368 (cexp_test_data): New variable.
31369 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31370 (clog_test_data): New variable.
31371 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31372 (clog10_test_data): New variable.
31373 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31374 (conj_test_data): New variable.
31375 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31376 (cproj_test_data): New variable.
31377 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31378 (csin_test_data): New variable.
31379 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31380 (csinh_test_data): New variable.
31381 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31382 (csqrt_test_data): New variable.
31383 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31384 (ctan_test_data): New variable.
31385 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31386 (ctan_tonearest_test_data): New variable.
31387 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31388 (ctan_towardzero_test_data): New variable.
31389 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31390 (ctan_downward_test_data): New variable.
31391 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31392 (ctan_upward_test_data): New variable.
31393 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31394 (ctanh_test_data): New variable.
31395 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31396 (ctanh_tonearest_test_data): New variable.
31397 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31398 (ctanh_towardzero_test_data): New variable.
31399 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31400 (ctanh_downward_test_data): New variable.
31401 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31402 (ctanh_upward_test_data): New variable.
31403 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31404 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31407 * math/libm-test.inc (struct test_ff_f_data): New type.
31408 (struct test_ff_f_data_nexttoward): Likewise.
31409 (RUN_TEST_LOOP_2_f): New macro.
31410 (RUN_TEST_LOOP_ff_f): Likewise.
31411 (atan2_test_data): New variable.
31412 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31413 (copysign_test_data): New variable.
31414 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31415 (fdim_test_data): New variable.
31416 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31417 (fmax_test_data): New variable.
31418 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31419 (fmin_test_data): New variable.
31420 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31421 (fmod_test_data): New variable.
31422 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31423 (hypot_test_data): New variable.
31424 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31425 (nextafter_test_data): New variable.
31426 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31427 (nexttoward_test_data): New variable.
31428 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31429 (pow_test_data): New variable.
31430 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31431 (pow_tonearest_test_data): New variable.
31432 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31433 (pow_towardzero_test_data): New variable.
31434 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31435 (pow_downward_test_data): New variable.
31436 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31437 (pow_upward_test_data): New variable.
31438 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31439 (remainder_test_data): New variable.
31440 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31441 (scalb_test_data): New variable.
31442 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31443 * sysdeps/i386/fpu/libm-test-ulps: Update.
31445 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31447 * math/libm-test.inc (fma_test): Use max_value instead of local
31449 (nextafter_test): Likewise.
31451 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31452 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31453 (acos_downward_test_data): New variable.
31454 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31455 (acos_upward_test_data): New variable.
31456 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31457 (acosh_test_data): New variable.
31458 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31459 (asin_test_data): New variable.
31460 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31461 (asin_tonearest_test_data): New variable.
31462 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31463 (asin_towardzero_test_data): New variable.
31464 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31465 (asin_downward_test_data): New variable.
31466 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31467 (asin_upward_test_data): New variable.
31468 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31469 (asinh_test_data): New variable.
31470 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31471 (atan_test_data): New variable.
31472 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31473 (atanh_test_data): New variable.
31474 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31475 (cbrt_test_data): New variable.
31476 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31477 (ceil_test_data): New variable.
31478 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31479 (cos_test_data): New variable.
31480 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31481 (cos_tonearest_test_data): New variable.
31482 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31483 (cos_towardzero_test_data): New variable.
31484 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31485 (cos_downward_test_data): New variable.
31486 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31487 (cos_upward_test_data): New variable.
31488 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31489 (cosh_test_data): New variable.
31490 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31491 (cosh_tonearest_test_data): New variable.
31492 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31493 (cosh_towardzero_test_data): New variable.
31494 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31495 (cosh_downward_test_data): New variable.
31496 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31497 (cosh_upward_test_data): New variable.
31498 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31499 (erf_test_data): New variable.
31500 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31501 (erfc_test_data): New variable.
31502 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31503 (exp_test_data): New variable.
31504 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31505 (exp_tonearest_test_data): New variable.
31506 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31507 (exp_towardzero_test_data): New variable.
31508 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31509 (exp_downward_test_data): New variable.
31510 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31511 (exp_upward_test_data): New variable.
31512 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31513 (exp10_test_data): New variable.
31514 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31515 (exp2_test_data): New variable.
31516 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31517 (expm1_test_data): New variable.
31518 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31519 (fabs_test_data): New variable.
31520 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31521 (floor_test_data): New variable.
31522 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31523 (j0_test_data): New variable.
31524 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31525 (j1_test_data): New variable.
31526 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31527 (log_test_data): New variable.
31528 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31529 (log10_test_data): New variable.
31530 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31531 (log1p_test_data): New variable.
31532 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31533 (log2_test_data): New variable.
31534 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31535 (logb_test_data): New variable.
31536 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31537 (logb_downward_test_data): New variable.
31538 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31539 (nearbyint_test_data): New variable.
31540 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31541 (rint_test_data): New variable.
31542 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31543 (rint_tonearest_test_data): New variable.
31544 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31545 (rint_towardzero_test_data): New variable.
31546 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31547 (rint_downward_test_data): New variable.
31548 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31549 (rint_upward_test_data): New variable.
31550 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31551 (round_test_data): New variable.
31552 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31553 (sin_test_data): New variable.
31554 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31555 (sin_tonearest_test_data): New variable.
31556 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31557 (sin_towardzero_test_data): New variable.
31558 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31559 (sin_downward_test_data): New variable.
31560 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31561 (sin_upward_test_data): New variable.
31562 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31563 (sinh_test_data): New variable.
31564 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31565 (sinh_tonearest_test_data): New variable.
31566 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31567 (sinh_towardzero_test_data): New variable.
31568 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31569 (sinh_downward_test_data): New variable.
31570 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31571 (sinh_upward_test_data): New variable.
31572 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31573 (sqrt_test_data): New variable.
31574 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31575 (tan_test_data): New variable.
31576 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31577 (tan_tonearest_test_data): New variable.
31578 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31579 (tan_towardzero_test_data): New variable.
31580 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31581 (tan_downward_test_data): New variable.
31582 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31583 (tan_upward_test_data): New variable.
31584 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31585 (tanh_test_data): New variable.
31586 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31587 (tgamma_test_data): New variable.
31588 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31589 (trunc_test_data): New variable.
31590 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31591 (y0_test_data): New variable.
31592 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31593 (y1_test_data): New variable.
31594 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31595 (significand_test_data): New variable.
31596 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31598 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31601 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31603 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31605 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31607 2013-05-10 Andreas Jaeger <aj@suse.de>
31610 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31611 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31613 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31615 * math/gen-libm-test.pl (adjust_arg): New function.
31616 (special_functions): Handle generating output in both functions
31618 (parse_args): Likewise.
31619 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31620 $in_func argument to parse_args.
31621 * math/libm-test.inc (struct test_f_f_data): New type.
31622 (IF_ROUND_INIT_): New macro.
31623 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31624 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31625 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31626 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31627 (ROUND_RESTORE_): Likewise.
31628 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31629 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31630 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31631 (ROUND_RESTORE_FE_UPWARD): Likewise.
31632 (RUN_TEST_LOOP_f_f): New macro.
31633 (acos_test_data): New variable.
31634 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31635 (acos_tonearest_test_data): New variable.
31636 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31638 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31640 * benchtests/bench-skeleton.c (startup): Fix coding style.
31642 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31645 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31646 negative infinity argument.
31647 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31648 negative infinity argument.
31649 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31650 negative infinity argument.
31651 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31654 2013-05-10 Florian Weimer <fweimer@redhat.com>
31656 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31657 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31658 * iconv/iconv_prog.c (main): Likewise.
31659 * locale/programs/charmap-dir.c (charmap_readdir)
31660 (fopen_uncompressed): Likewise.
31661 * locale/programs/locfile.c (siblings_uncached)
31662 (write_locale_data): Use lstat64 instead of lstat.
31663 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31666 2013-05-10 Andreas Jaeger <aj@suse.de>
31669 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31671 Include <locale.h>.
31673 2013-05-09 Carlos O'Donell <carlos@redhat.com>
31675 * elf/dl-close.c (_dl_close_worker): Add comments.
31677 2013-05-09 Joseph Myers <joseph@codesourcery.com>
31680 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31682 (__ieee754_rem_pio2l): Update comments.
31685 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31687 (__ieee754_rem_pio2l): Update comments.
31689 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31690 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31692 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31695 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31696 (M_PI_34_LOG10El): Likewise.
31697 (M_PI2_LOG10El): Likewise.
31698 (M_PI4_LOG10El): Likewise.
31699 (M_PI_LOG10El): Likewise.
31701 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31705 2013-05-08 Joseph Myers <joseph@codesourcery.com>
31707 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31708 (MINUS_ZERO_INIT): Likewise.
31709 (PLUS_INFTY_INIT): Likewise.
31710 (MINUS_INFTY_INIT): Likewise.
31711 (QNAN_VALUE_INIT): Likewise.
31712 (MAX_VALUE_INIT): Likewise.
31713 (MIN_VALUE_INIT): Likewise.
31714 (MIN_SUBNORM_VALUE_INIT): Likewise.
31715 (plus_zero): Initialize with PLUS_ZERO_INIT.
31716 (minus_zero): Initialize with MINUS_ZERO_INIT.
31717 (plus_infty): Initialize with PLUS_INFTY_INIT.
31718 (minus_infty): Initialize with MINUS_INFTY_INIT.
31719 (qnan_value): Initialize with QNAN_VALUE_INIT.
31720 (max_value): Initialize with MAX_VALUE_INIT.
31721 (min_value): Initialize with MIN_VALUE_INIT.
31722 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31724 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31725 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31726 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31727 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31729 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31730 (RUN_TEST_2_f): Likewise.
31731 (RUN_TEST_ff_f): Likewise.
31732 (RUN_TEST_fi_f): Likewise.
31733 (RUN_TEST_fl_f): Likewise.
31734 (RUN_TEST_fff_f): Likewise.
31735 (RUN_TEST_c_f): Likewise.
31736 (RUN_TEST_f_f1): Likewise.
31737 (RUN_TEST_fF_f1): Likewise.
31738 (RUN_TEST_fI_f1): Likewise.
31739 (RUN_TEST_ffI_f1): Likewise.
31740 (RUN_TEST_c_c): Likewise.
31741 (RUN_TEST_cc_c): Likewise.
31742 (RUN_TEST_f_i): Likewise.
31743 (RUN_TEST_f_i_tg): Likewise.
31744 (RUN_TEST_ff_i_tg): Likewise.
31745 (RUN_TEST_f_b): Likewise.
31746 (RUN_TEST_f_b_tg): Likewise.
31747 (RUN_TEST_f_l): Likewise.
31748 (RUN_TEST_f_L): Likewise.
31749 (RUN_TEST_sincos): Likewise.
31750 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31751 whether to show exceptions. Do not include ");\n" in return
31753 (special_functions): Output call to RUN_TEST_sincos instead of
31754 check_float calls. Update calls to new_test.
31755 (parse_args): Output call to single RUN_TEST_* macro instead of
31756 check_* calls and other assignments. Update calls to new_test.
31762 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31763 input to result for tgamma overflow.
31764 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31765 (gamma_coeff): New variable.
31766 (NCOEFF): New macro.
31767 (gamma_positive): New function.
31768 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31769 underflow here. Use gamma_positive instead of exp (lgamma) for
31771 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31772 (gamma_coeff): New variable.
31773 (NCOEFF): New macro.
31774 (gammaf_positive): New function.
31775 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31776 underflow here. Use gamma_positive instead of exp (lgamma) for
31778 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31779 (gamma_coeff): New variable.
31780 (NCOEFF): New macro.
31781 (gammal_positive): New function.
31782 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31783 underflow here. Use gamma_positive instead of exp (lgamma) for
31785 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31786 (gamma_coeff): New variable.
31787 (NCOEFF): New macro.
31788 (gammal_positive): New function.
31789 (__ieee754_gammal_r): Handle positive infinity, overflow and
31790 underflow here. Handle NaN the same as positive infinity. Remove
31791 check x < 0xffffffff for negative integers. Use gamma_positive
31792 instead of exp (lgamma) for other arguments.
31793 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31794 (gamma_coeff): New variable.
31795 (NCOEFF): New macro.
31796 (gammal_positive): New function.
31797 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31798 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31799 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31800 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31801 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31802 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31803 * sysdeps/generic/math_private.h (__gamma_productf): New
31805 (__gamma_product): Likewise.
31806 (__gamma_productl): Likewise.
31807 * math/Makefile (libm-calls): Add gamma_product.
31808 * math/libm-test.inc (tgamma_test): Add more tests.
31809 * sysdeps/i386/fpu/libm-test-ulps: Update.
31810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31812 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
31814 * benchtests/bench-skeleton.c (main): Preheat CPU.
31816 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31818 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31820 2013-05-07 Roland McGrath <roland@hack.frob.com>
31822 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31823 and _dl_skip_args_internal.
31825 2013-05-07 Carlos O'Donell <carlos@redhat.com>
31827 * manual/message.texi (Message Translation): Talk about users.
31828 Message to key mapping impacts design.
31830 2013-05-06 Roland McGrath <roland@hack.frob.com>
31832 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31834 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31836 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31837 * sysdeps/wordsize-64/glob64.c: ... here.
31839 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31840 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31843 * debug/getlogin_r_chk.c: Moved to ...
31844 * login/getlogin_r_chk.c: ... here.
31845 * debug/Makefile (routines): Move getlogin_r_chk to ...
31846 * login/Makefile (routines): ... here.
31847 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31848 * login/Versions (libc: GLIBC_2.4): ... here.
31850 * io/poll.c (__poll): Renamed from poll.
31851 Add libc_hidden_def.
31852 (poll): Define as weak alias.
31854 * debug/ptsname_r_chk.c: Moved to ...
31855 * login/ptsname_r_chk.c: ... here.
31856 * debug/Makefile (routines): Move ptsname_r_chk to ...
31857 * login/Makefile (routines): ... here.
31858 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31859 * login/Versions (libc: GLIBC_2.4): ... here.
31861 * posix/getlogin.c: Moved to ...
31862 * login/getlogin.c: ... here.
31863 * posix/getlogin_r.c: Moved to ...
31864 * login/getlogin_r.c: ... here.
31865 * posix/getlogin_r.c: Moved to ...
31866 * login/getlogin_r.c: ... here.
31867 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31868 * login/Makefile (routines): ... here.
31869 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31870 * login/Versions (libc: GLIBC_2.0): ... here.
31872 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31873 (setrlimit): Define as weak alias.
31875 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31876 Call __ names for open, ftruncate, and close.
31877 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31878 (truncate): Define as weak alias.
31880 2013-05-06 Joseph Myers <joseph@codesourcery.com>
31882 * math/gen-libm-test.pl (parse_args): Initialize x before each
31883 test of frexp, modf and remquo.
31885 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31886 test signgam value.
31888 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31892 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31894 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31896 2013-05-06 Roland McGrath <roland@hack.frob.com>
31898 * elf/dl-writev.h: New file.
31899 * elf/dl-misc.c: Include it.
31900 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31901 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31903 2013-05-04 Joseph Myers <joseph@codesourcery.com>
31905 * math/libm-test.inc (noXFails): Remove variable.
31906 (noXPasses): Likewise.
31907 (BUILD_COMPLEX_INT): Remove macro.
31908 (print_screen): Remove xfail argument.
31909 (print_screen_max_error): Likewise.
31910 (update_stats): Likewise.
31911 (print_max_error): Likewise. Update calls to other affected
31913 (print_complex_max_error): Likewise.
31914 (test_single_exception): Update calls to print_screen.
31915 (test_single_errno): Likewise.
31916 (check_float_internal): Remove xfail argument. Update calls to
31917 other affected functions.
31918 (check_float): Likewise.
31919 (check_complex): Likewise.
31920 (check_int): Likewise.
31921 (check_long): Likewise.
31922 (check_bool): Likewise.
31923 (check_longlong): Likewise.
31924 (main): Don't print noXFails and noXPasses.
31925 * math/gen-libm-test.pl (top level): Don't mention expected
31926 failure handling in comment.
31927 (new_test): Don't handle expected failures.
31928 (parse_args): Don't mention expected failure handling in comment.
31929 (generate_testfile): Don't handle expected failures.
31930 (parse_ulps): Likewise.
31931 (print_ulps_file): Likewise.
31932 (get_failure): Remove function.
31933 (output_test): Don't handle expected failures.
31934 * make/README.libm-test: Don't mention expected failure handling.
31936 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31937 (minus_zero): Likewise.
31938 (plus_infty): Likewise.
31939 (minus_infty): Likewise.
31940 (qnan_value): Likewise.
31941 (max_value): Likewise.
31942 (min_value): Likewise.
31943 (min_subnorm_value): Likewise.
31944 (initialize): Do not initialize those variables dynamically.
31946 2013-05-03 Roland McGrath <roland@hack.frob.com>
31948 * io/open.c (__open_2): Moved to ...
31949 * io/open_2.c: ... this new file.
31950 * io/open64.c (__open64_2): Moved to ...
31951 * io/open64_2.c: ... this new file.
31952 * io/openat.c (__openat_2): Moved to ...
31953 * io/openat_2.c: ... this new file.
31954 * io/openat64.c (__openat64_2): Moved to ...
31955 * io/openat64_2.c: ... this new file.
31956 * io/Makefile (routines): Add them.
31957 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31958 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31959 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31960 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31961 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31962 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31963 (__openat64): Add hidden_ver.
31964 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31965 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31967 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31968 Separately conditionalize setting of GLRO(dl_sysinfo) so
31969 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31970 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31972 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31974 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31975 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31977 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31978 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31979 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31980 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31981 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31983 2013-05-03 Joseph Myers <joseph@codesourcery.com>
31985 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31986 test signgam value.
31988 * math/libm-test.inc (hypot_test): Do not use
31989 IGNORE_ZERO_INF_SIGN.
31991 2013-05-03 Andreas Jaeger <aj@suse.de>
31993 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31995 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31996 (PF_MAX): Adjust for VSOCK change.
31998 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32002 2013-05-02 Carlos O'Donell <carlos@redhat.com>
32005 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32006 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32007 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32009 2013-05-02 David S. Miller <davem@davemloft.net>
32011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32013 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
32015 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32017 2013-05-01 Roland McGrath <roland@hack.frob.com>
32019 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32021 2013-05-01 Richard Smith <richard@metafoo.co.uk>
32024 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32025 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32026 Use __attribute__ ((__gnu_inline__)).
32027 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32028 Don't use __attribute__ ((__gnu_inline__)).
32030 2013-05-01 Joseph Myers <joseph@codesourcery.com>
32033 * math/s_catan.c (__catan): Handle small real or imaginary part of
32034 input specially to avoid spurious underflow.
32035 * math/s_catanf.c (__catanf): Likewise.
32036 * math/s_catanh.c (__catanh): Likewise.
32037 * math/s_catanhf.c (__catanhf): Likewise.
32038 * math/s_catanhl.c (__catanhl): Likewise.
32039 * math/s_catanl.c (__catanl): Likewise.
32040 * math/libm-test.inc (catan_test): Add more tests.
32041 (catanh_test): Likewise.
32042 * sysdeps/i386/fpu/libm-test-ulps: Update.
32043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32045 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32049 2013-04-30 Joseph Myers <joseph@codesourcery.com>
32052 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32053 accurately for denominator in atan2.
32054 * math/s_catanf.c (__catanf): Likewise.
32055 * math/s_catanh.c (__catanh): Likewise.
32056 * math/s_catanhf.c (__catanhf): Likewise.
32057 * math/s_catanhl.c (__catanhl): Likewise.
32058 * math/s_catanl.c (__catanl): Likewise.
32059 * math/libm-test.inc (catan_test): Add more tests.
32060 (catanh_test): Likewise.
32061 * sysdeps/i386/fpu/libm-test-ulps: Update.
32062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32064 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32066 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32068 * benchtests/Makefile (bench): Remove slow benchmarks.
32069 * benchtests/atan-inputs: Add slow benchmark inputs.
32070 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32071 (BENCH_FUNC): Accept variant offset.
32073 * benchtests/bench-skeleton.c (main): Run benchmark for each
32075 * benchtests/cos-inputs: Add slow benchmark inputs.
32076 * benchtests/exp-inputs: Likewise.
32077 * benchtests/pow-inputs: Likewise.
32078 * benchtests/sin-inputs: Likewise.
32079 * benchtests/slowatan-inputs: Remove.
32080 * benchtests/slowatan.c: Remove.
32081 * benchtests/slowcos-inputs: Remove.
32082 * benchtests/slowcos.c: Remove.
32083 * benchtests/slowexp-inputs: Remove.
32084 * benchtests/slowexp.c: Remove.
32085 * benchtests/slowpow-inputs: Remove.
32086 * benchtests/slowpow.c: Remove.
32087 * benchtests/slowsin-inputs: Remove.
32088 * benchtests/slowsin.c: Remove.
32089 * benchtests/slowtan-inputs: Remove.
32090 * benchtests/slowtan.c: Remove.
32091 * benchtests/tan-inputs: Add slow benchmark inputs.
32092 * scripts/bench.pl: Parse comments and directives.
32094 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32096 ($(objpfx)bench-%.c): Remove *-ITER.
32097 * benchtests/bench-modf.c: Remove definition of ITER.
32098 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32099 (main): Loop for DURATION seconds instead of fixed number of
32101 * scripts/bench.pl: Don't expect iterations in parameters.
32103 2013-04-29 Roland McGrath <roland@hack.frob.com>
32105 * io/fchdir.c (__fchdir): Renamed from fchdir.
32106 (fchdir): Define as weak alias.
32108 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32110 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32111 (ERRNO_EDOM): Likewise.
32112 (ERRNO_ERANGE): Likewise.
32113 (noErrnoTests): New variable.
32114 (init_max_error): Set errno to 0.
32115 (test_single_errno): New function.
32116 (test_errno): Likewise.
32117 (check_float_internal): Call test_errno. Set errno to 0.
32118 (check_complex): Refer to errno tests in comment.
32119 (check_int): Call test_errno. Set errno to 0.
32120 (check_long): Likewise.
32121 (check_bool): Likewise.
32122 (check_longlong): Likewise.
32123 (cos_test): Use ERRNO_* flags for errno tests instead of
32125 (expm1_test): Likewise.
32126 (fmod_test): Likewise.
32127 (ilogb_test): Likewise.
32128 (lgamma_test): Likewise.
32129 (pow_test): Likewise.
32130 (remainder_test): Likewise.
32131 (sin_test): Likewise.
32132 (tan_test): Likewise.
32133 (yn_test): Likewise.
32134 (initialize): Set errno to 0.
32135 (main): Print number of errno tests.
32136 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32138 2013-04-29 Andreas Jaeger <aj@suse.de>
32141 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32145 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32146 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32150 * stdlib/random.c (__initstate): Return NULL if
32154 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32155 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32158 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32162 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32164 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32165 of individual tests.
32166 (casin_test): Likewise.
32167 (casinh_test): Likewise.
32169 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32172 * math/s_catan.c (__catan): Handle arguments with large real or
32173 imaginary part separately without squaring.
32174 * math/s_catanf.c (__catanf): Likewise.
32175 * math/s_catanh.c (__catanh): Likewise.
32176 * math/s_catanhf.c (__catanhf): Likewise.
32177 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32179 (__catanhl): Handle arguments with large real or imaginary part
32180 separately without squaring.
32181 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32183 (__catanl): Handle arguments with large real or imaginary part
32184 separately without squaring.
32185 * math/libm-test.inc (catan_test): Add more tests.
32186 (catanh_test): Likewise.
32187 * sysdeps/i386/fpu/libm-test-ulps: Update.
32188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32190 2013-04-27 Andreas Jaeger <aj@suse.de>
32193 * stdlib/stdlib.h: Update guards for qecvt.
32194 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32197 2013-04-27 Allan McRae <allan@archlinux.org>
32199 * sysdeps/i386/fpu/libm-test-ulps: Update.
32201 2013-04-26 Joseph Myers <joseph@codesourcery.com>
32204 * math/s_catan.c: Include <float.h>.
32205 (__catan): Ensure underflow exception occurs for underflowed
32207 * math/s_catanf.c: Include <float.h>.
32208 (__catanf): Ensure underflow exception occurs for underflowed
32210 * math/s_catanh.c: Include <float.h>.
32211 (__catanh): Ensure underflow exception occurs for underflowed
32213 * math/s_catanhf.c: Include <float.h>.
32214 (__catanhf): Ensure underflow exception occurs for underflowed
32216 * math/s_catanhl.c: Include <float.h>.
32217 (__catanhl): Ensure underflow exception occurs for underflowed
32219 * math/s_catanl.c: Include <float.h>.
32220 (__catanl): Ensure underflow exception occurs for underflowed
32222 * math/libm-test.inc (catan_test): Add more tests.
32223 (catanh_test): Likewise.
32226 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32227 underflowed result.
32228 * math/s_ccoshf.c (__ccoshf): Likewise.
32229 * math/s_ccoshl.c (__ccoshl): Likewise.
32230 * math/s_csin.c (__csin): Likewise.
32231 * math/s_csinf.c (__csinf): Likewise.
32232 * math/s_csinh.c (__csinh): Likewise.
32233 * math/s_csinhf.c (__csinhf): Likewise.
32234 * math/s_csinhl.c (__csinhl): Likewise.
32235 * math/s_csinl.c (__csinl): Likewise.
32236 * math/libm-test.inc (ccos_test): Add more tests.
32237 (ccosh_test): Likewise.
32238 (csin_test): Likewise.
32239 (csinh_test): Likewise.
32241 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32243 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32244 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32245 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32246 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32247 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32248 powerpc/power5+/fpu folders.
32249 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32252 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32256 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32258 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32259 additions to variable.
32260 [$(config-machine) = x86_64] (modules-names): Likewise.
32261 ($(objpfx)tst-audit3): Remove dependency.
32262 ($(objpfx)tst-audit3.out): Likewise.
32263 ($(objpfx)tst-audit4): Likewise.
32264 ($(objpfx)tst-audit4.out): Likewise.
32265 ($(objpfx)tst-audit5): Likewise.
32266 ($(objpfx)tst-audit5.out): Likewise.
32267 ($(objpfx)tst-audit6): Likewise.
32268 ($(objpfx)tst-audit6.out): Likewise.
32269 ($(objpfx)tst-audit7): Likewise.
32270 ($(objpfx)tst-audit7.out): Likewise.
32271 (tst-audit3-ENV): Remove variable.
32272 (tst-audit4-ENV): Likewise.
32273 (tst-audit5-ENV): Likewise.
32274 (tst-audit6-ENV): Likewise.
32275 (tst-audit7-ENV): Likewise.
32276 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32277 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32278 addition to variable.
32279 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32280 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32281 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32282 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32283 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32284 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32285 tst-audit3, tst-audit4 and tst-audit5.
32286 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32287 tst-audit6 and tst-audit7.
32288 [$(subdir) = elf] (modules-names): Add audit modules for those
32290 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32291 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32292 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32293 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32294 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32295 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32296 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32297 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32298 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32299 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32300 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32301 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32302 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32303 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32304 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32305 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32307 [$(subdir) = elf && $(config-cflags-avx) = yes]
32308 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32309 [$(subdir) = elf && $(config-cflags-avx) = yes]
32310 (CFLAGS-tst-auditmod4a.c): Likewise.
32311 [$(subdir) = elf && $(config-cflags-avx) = yes]
32312 (CFLAGS-tst-auditmod4b.c): Likewise.
32313 [$(subdir) = elf && $(config-cflags-avx) = yes]
32314 (CFLAGS-tst-auditmod6b.c): Likewise.
32315 [$(subdir) = elf && $(config-cflags-avx) = yes]
32316 (CFLAGS-tst-auditmod6c.c): Likewise.
32317 [$(subdir) = elf && $(config-cflags-avx) = yes]
32318 (CFLAGS-tst-auditmod7b.c): Likewise.
32319 * elf/tst-audit3.c: Move to ...
32320 * sysdeps/x86_64/tst-audit3.c: ... here.
32321 * elf/tst-audit4.c: Move to ...
32322 * sysdeps/x86_64/tst-audit4.c: ... here.
32323 * elf/tst-audit5.c: Move to ...
32324 * sysdeps/x86_64/tst-audit5.c: ... here.
32325 * elf/tst-audit6.c: Move to ...
32326 * sysdeps/x86_64/tst-audit6.c: ... here.
32327 * elf/tst-audit7.c: Move to ...
32328 * sysdeps/x86_64/tst-audit7.c: ... here.
32329 * elf/tst-auditmod3a.c: Move to ...
32330 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32331 * elf/tst-auditmod3b.c: Move to ...
32332 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32333 * elf/tst-auditmod4a.c: Move to ...
32334 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32335 * elf/tst-auditmod4b.c: Move to ...
32336 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32337 * elf/tst-auditmod5a.c: Move to ...
32338 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32339 * elf/tst-auditmod5b.c: Move to ...
32340 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32341 * elf/tst-auditmod6a.c: Move to ...
32342 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32343 * elf/tst-auditmod6b.c: Move to ...
32344 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32345 * elf/tst-auditmod6c.c: Move to ...
32346 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32347 * elf/tst-auditmod7a.c: Move to ...
32348 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32349 * elf/tst-auditmod7b.c: Move to ...
32350 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32352 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32355 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32356 define unconditionally.
32357 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32358 define unconditionally.
32359 (INT8_C, INT16_C, etc.): Likewise.
32361 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32363 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32364 __ehdr_start with hidden visibility.
32366 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32368 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32370 * math/libm-test.inc (cos_test): Use accurate hex constants.
32371 (sincost_test): Likewise.
32373 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32375 * math/libm-test.inc (catan_test): Add more tests.
32376 (catanh_test): Likewise.
32378 * math/s_catanf.c (__catanf): Use suffixed floating-point
32380 * math/s_catanhf.c (__catanhf): Likewise.
32381 * math/s_catanhl.c (__catanhl): Likewise.
32382 * math/s_catanl.c (__catanl): Likewise.
32385 * math/s_catan.c (__catan): Calculate imaginary part of result
32386 with log1p not log unless computing log of number close to 0.
32387 * math/s_catanf.c (__catanf): Likewise.
32388 * math/s_catanl.c (__catanl): Likewise.
32389 * math/s_catanh.c (__catanh): Calculate real part of result with
32390 log1p not log unless computing log of number close to 0.
32391 * math/s_catanhf.c (__catanhf): Likewise.
32392 * math/s_catanhl.c (__catanhl): Likewise.
32393 * math/libm-test.inc (catan_test): Add more tests.
32394 (catanh_test): Likewise.
32395 * sysdeps/i386/fpu/libm-test-ulps: Update.
32396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32398 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32400 * benchtests/Makefile: Mention files in which fast and slow
32401 paths of math functions are implemented.
32403 2013-04-23 Roland McGrath <roland@hack.frob.com>
32405 * sysdeps/posix/timespec_get.c: New file.
32407 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32409 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32411 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32413 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32414 powerpc/power5/fpu folders.
32415 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32416 * benchtests/Makefile: Add modf testcase.
32417 * benchtests/bench-modf.c: New file: Benchmark test for mo
32419 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32422 * time/Makefile (tests): Add tst-strptime-whitespace.
32423 * time/strptime_l.c (get_number): Use ISSPACE.
32424 (__strptime_internal): Likewise.
32425 * time/tst-strptime-whitespace.c: New test case.
32427 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32429 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32431 (_nss_files_init): Set it here.
32433 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32435 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32436 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32439 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32441 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32443 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32445 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32448 2013-04-21 David S. Miller <davem@davemloft.net>
32450 * po/ru.po: Update Russion translation from translation project.
32452 2013-04-17 Adam Conrad <adconrad@0c3.net>
32454 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32457 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32459 * configure.in: Remove i386 configure warning. Remove i386 case.
32460 * configure: Regenerate.
32461 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32462 Add example to error message.
32463 * sysdeps/i386/configure: Regenerate.
32465 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32467 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32469 * benchtests/cos-inputs: New file.
32470 * benchtests/slowcos-inputs: New file.
32471 * benchtests/slowcos.c: New file.
32472 * benchtests/slowtan-inputs: New file.
32473 * benchtests/slowtan.c: New file.
32474 * benchtests/tan-inputs: New file.
32476 2013-04-16 Roland McGrath <roland@hack.frob.com>
32478 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32481 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32483 * benchtests/Makefile: Include cppflags-iterator.mk to add
32484 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32486 * Makefile.in (bench-clean): New target.
32487 * benchtests/Makefile (bench-clean): Likewise.
32489 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32491 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32493 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32495 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32497 2013-04-15 Andreas Schwab <schwab@suse.de>
32499 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32500 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32501 * nscd/pwdcache.c (cache_addpw): Likewise.
32502 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32505 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32507 * benchtests/Makefile (bench): Write all output to
32508 bench-out.tmp together.
32510 2013-04-15 Andreas Schwab <schwab@suse.de>
32512 * nscd/nscd.c (main): Don't fork again after closing files.
32514 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32516 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32518 * benchtests/Rules (bench-deps): Collect dependencies into a
32519 single variable. Add Makefile to dependencies.
32520 ($(objpfx)bench-%.c): Depend on bench-deps.
32522 2013-04-12 Roland McGrath <roland@hack.frob.com>
32523 Xavier Roche <roche+kml2@exalead.com>
32526 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32527 just that it's a file descriptor.
32528 * manual/llio.texi (Synchronizing AIO Operations): Update description
32529 for EBADF error from aio_fsync.
32531 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32533 * Rules (bench): Move target definition...
32534 * benchtests/Makefile: ... here.
32536 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32538 * math/libm-test.inc (cos_test): Fix PI/2 test.
32539 (sincos_test): Likewise.
32540 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32541 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32543 2013-04-11 Andreas Schwab <schwab@suse.de>
32546 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32547 accept exponent character only when digits were seen.
32548 * stdio-common/Makefile (tests): Add bug26.
32549 * stdio-common/bug26.c: New file.
32552 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32555 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32557 * Makeconfig (rtld-prefix): Define built linker prefix.
32558 * Rules (run-bench): Use it.
32559 * math/Makefile (run-regen-ulps): Likewise.
32561 * Rules (bench): Remove eval.
32563 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32564 Roland McGrath <roland@hack.frob.com>
32565 Ondrej Bilka <neleai@seznam.cz>
32568 * time/getdate.c: Include ctype.h and alloca.h.
32569 (__getdate_r): Trim leading and trailing spaces of input.
32570 * time/tst-getdate.c (tests): Add tests with leading and
32573 2013-04-08 Roland McGrath <roland@hack.frob.com>
32576 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32577 when computing value.
32579 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32581 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32582 Use testrun.sh to run libm tests.
32585 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32587 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32590 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32592 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32594 * Makefile.in (regen-ulps): New target.
32595 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32596 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32597 [ifneq (no,$(PERL)] (regen-ulps): New target.
32598 [ifeq (no,$(PERL)] (regen-ulps): New target.
32599 * math/libm-test.inc (ulps_file_name): Define.
32600 (output_dir): New variable.
32601 (options): Add "output-dir" option.
32602 (parse_opt): Handle 'o' case.
32603 (main): If output_dir is non-NULL use it as a prefix
32605 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32607 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32609 [BZ #10060, #10062]
32610 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32611 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32612 fail configure if __sync_val_compare_and_swap is not inlined.
32613 * sysdeps/i386/configure: Regenerate.
32614 * configure.in: Build for i686 when configured for i386.
32615 * configure: Regenerate.
32616 * README: Remove i386 reference.
32618 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32620 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32621 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32623 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32625 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32626 (lmsnanval): New variables.
32627 (F): Add conversion tests.
32628 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32629 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32631 * stdio-common/tstdiomisc.c (F): Properly collect individual
32634 [BZ #14686, #15336]
32635 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32636 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32637 Instead, use input NaN values or generate a qNaN by arithmetic
32638 operation. Also fix bugs to comply with the standard.
32639 * math/libm-test.inc (remainder_test): Add more tests.
32641 [BZ #15335, #15342]
32642 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32644 input NaN values or generate a qNaN by arithmetic operation.
32646 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32649 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32652 2013-04-03 Joseph Myers <joseph@codesourcery.com>
32655 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32656 underflowed result.
32657 * math/s_cexpf.c (__cexpf): Likewise.
32658 * math/s_cexpl.c (__cexpl): Likewise.
32659 * math/libm-test.inc (cexp_test): Add more tests.
32661 2013-04-03 Andreas Schwab <schwab@suse.de>
32664 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32665 order arrays from heap if bigger than alloca cutoff.
32667 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32669 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32670 (SNAN_TESTS_double): Refer to GCC PR56831.
32671 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32674 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32676 * Rules (bench): Move bench.out after the run is complete.
32678 * Rules (bench): Echo currently running benchmark.
32680 * benchtests/Makefile (bench): Add atan and slowatan.
32681 * benchtests/atan-inputs: New file.
32682 * benchtests/slowatan-inputs: New file.
32683 * benchtests/slowatan.c: New file.
32685 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32686 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32690 * sysdeps/unix/sysv/linux/kernel-features.h
32691 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32692 __ASSUME_XFS_RESTRICTED_CHOWN.
32693 * sysdeps/unix/sysv/linux/pathconf.c
32694 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32695 Save and restore errno.
32697 2013-04-02 Joseph Myers <joseph@codesourcery.com>
32700 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32701 arguments using __kernel_casinh.
32702 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32703 arguments using __kernel_casinhf.
32704 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32705 arguments using __kernel_casinhl.
32706 * math/libm-test.inc (cacosh_test): Add more tests.
32707 * sysdeps/i386/fpu/libm-test-ulps: Update.
32708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32710 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32712 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32715 * bench/Makefile (bench): Add sin and slowsin.
32716 * benchtests/sin-inputs: New file.
32717 * benchtests/slowsin-inputs: New file.
32718 * benchtests/slowsin.c: New file.
32720 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32721 (bench): Add slowexp and slowpow.
32722 (exp-ITER): Increase iterations.
32723 (pow-ITER): Likewise.
32724 * benchtests/exp-inputs: Change input.
32725 * benchtests/pow-inputs: Likewise.
32726 * benchtests/slowexp-inputs: New file.
32727 * benchtests/slowexp.c: New file.
32728 * benchtests/slowpow-inputs: New file.
32729 * benchtests/slowpow.c: New file.
32731 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32733 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32735 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32736 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32737 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32738 * benchtests/Makefile: Add rint benchtest.
32739 * benchtests/rint-inputs: Input for rint benchtest.
32741 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32743 * Versions.def (libm): Add GLIBC_2.18.
32744 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32745 hidden libm prototypes.
32746 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32747 * math/Makefile (libm-calls): Add s_issignaling.
32748 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32749 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32750 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32752 * math/math.h [__USE_GNU] (issignaling): New macro.
32753 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32754 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32755 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32756 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32759 * manual/arith.texi (issignaling): New section.
32760 * manual/libm-err-tab.pl (@all_functions): Update comment.
32761 * math/gen-libm-test.pl (parse_args): Apply special handling for
32763 * math/libm-test.inc (print_float, issignaling_test): New
32765 (check_float_internal): Add issignaling checks.
32766 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32767 default definition.
32768 * sysdeps/powerpc/math-tests.h: New file.
32769 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32771 * math/test-snan.c (TEST_FUNC): Likewise.
32773 2013-03-30 David S. Miller <davem@davemloft.net>
32775 * po/de.po: Update from translation team.
32777 2013-03-30 Joseph Myers <joseph@codesourcery.com>
32780 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32781 imaginary part less than 1.0 and real part less than 0.5
32783 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32784 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32785 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32786 (cacos_test): Add more tests.
32787 (casin_test): Likewise.
32788 (casinh_test): Likewise.
32789 * sysdeps/i386/fpu/libm-test-ulps: Update.
32790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32792 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32794 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32795 ONE with its value.
32797 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32798 (__pow_mp): Replace ONE and MONE with their values.
32799 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32800 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32801 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32802 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32803 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32804 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32806 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32808 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32809 (__pow_mp): Replace ZERO and MZERO with their values.
32810 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32811 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32814 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32815 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32818 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32820 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32822 2013-03-28 Roland McGrath <roland@hack.frob.com>
32824 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32825 Declare with __attribute__ ((weak)).
32826 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32827 Call __call_tls_dtors only if it's not NULL.
32829 2013-03-28 Roland McGrath <roland@hack.frob.com>
32831 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32832 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32833 magic __ehdr_start linker symbol if it's defined.
32834 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32835 them up here if it was already done.
32837 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32838 (_dl_aux_init): Use const in cast when setting it.
32839 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32840 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32841 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32843 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32845 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32846 * csu/libc-tls.c: Nor here.
32847 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32849 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32850 (__libc_message): Never call vsyslog.
32852 2013-03-28 Alan Modra <amodra@gmail.com>
32854 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32856 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32859 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32862 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32866 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32869 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32870 Don't add gid passed as argument.
32872 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32874 2013-03-27 Joseph Myers <joseph@codesourcery.com>
32877 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32878 imaginary part between 1.0 and 1.5 and real part less than 0.5
32880 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32881 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32882 * math/libm-test.inc (cacos_test): Add more tests.
32883 (casin_test): Likewise.
32884 (casinh_test): Likewise.
32885 * sysdeps/i386/fpu/libm-test-ulps: Update.
32886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32888 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32890 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32893 (denorm): Likewise.
32894 (__dbl_mp): Likewise.
32895 (add_magnitudes): Likewise.
32896 (sub_magnitudes): Likewise.
32904 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32906 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32907 (__dubcos): Likewise.
32908 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32909 (__ieee754_acos): Likewise.
32910 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32911 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32912 (__exp1): Likewise.
32913 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32914 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32916 (my_log2): Likewise.
32917 (checkint): Likewise.
32918 * sysdeps/ieee754/dbl-64/e_remainder.c
32919 (__ieee754_remainder): Likewise.
32920 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32921 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32922 (bsloww): Likewise.
32923 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32925 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32926 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32927 MANTISSA_STORE_T to store computations on mantissa. Use
32928 macros for rounding and division.
32929 (denorm): Likewise.
32930 (__dbl_mp): Likewise.
32931 (add_magnitudes): Likewise.
32932 (sub_magnitudes): Likewise.
32935 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32936 powers of two in terms of TWOPOW macro.
32937 (mp_no): Make type of mantissa as MANTISSA_T.
32938 [!RADIXI]: Define RADIXI.
32939 [!TWO52]: Define TWO52.
32940 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32942 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32944 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32945 llroundl symbol when building for PPC32.
32947 2013-03-24 Mark H Weaver <mhw@netris.org>
32949 * manual/arith.texi (Normalization Functions): Fix prototypes for
32950 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32952 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32955 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32956 high value to check if expl overflow.
32957 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32958 to check for underflow and overflow.
32959 * math/libm-test.inc: Add exp test.
32961 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32964 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32967 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32969 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32972 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32974 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32975 wrap blocks consisting of several statements.
32977 * sysdeps/generic/math-tests.h: New file.
32978 * sysdeps/i386/fpu/math-tests.h: Likewise.
32979 * math/test-snan.c: Include it.
32980 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32982 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32986 (__ieee754_j0l): Do not improve calculations using cos of twice
32987 input for inputs above LDBL_MAX / 2.0L.
32988 (__ieee754_y0l): Likewise.
32989 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32990 (__ieee754_j1l): Do not improve calculations using cos of twice
32991 input for inputs above LDBL_MAX / 2.0L.
32992 (__ieee754_y1l): Likewise.
32993 * math/libm-test.inc (j0_test): Add another test.
32994 (j1_test): Likewise.
32995 (y0_test): Likewise.
32996 (y1_test): Likewise.
32997 * sysdeps/i386/fpu/libm-test-ulps: Update.
32999 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33001 * Rules ($(objpfx)bench-%.c): Include code from a C source
33004 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33007 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33008 imaginary part 1.0 and real part less than 0.5 specially.
33009 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33010 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33011 * math/libm-test.inc (cacos_test): Add more tests.
33012 (casin_test): Likewise.
33013 (casinh_test): Likewise.
33014 * sysdeps/i386/fpu/libm-test-ulps: Update.
33015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33017 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33019 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33020 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33022 2013-03-20 Joseph Myers <joseph@codesourcery.com>
33024 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33025 * config.make.in (config-cflags-sse4): Remove variable.
33026 (config-cflags-avx): Likewise.
33027 (config-cflags-sse2avx): Likewise.
33028 (config-cflags-novzeroupper): Likewise.
33029 (config-asflags-i686): Likewise.
33030 (have-mfma4): Likewise.
33031 (have-as-vis3): Likewise.
33033 * configure.in (MIG): Do not AC_SUBST.
33034 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33035 (libc_cv_cc_sse4): Do not AC_SUBST.
33036 (libc_cv_cc_avx): Likewise.
33037 (libc_cv_cc_sse2avx): Likewise.
33038 (libc_cv_cc_novzeroupper): Likewise.
33039 (libc_cv_cc_fma4): Likewise.
33040 (libc_cv_as_i686): Likewise.
33041 (libc_cv_sparc_as_vis3): Likewise.
33042 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33044 (config-asflags-i686): Likewise.
33045 (config-cflags-avx): Likewise.
33046 (config-cflags-sse2avx): Likewise.
33047 (have-mfma4): Likewise.
33048 (config-cflags-novzeroupper): Likewise.
33049 * sysdeps/mach/configure.in (MIG): Likewise.
33050 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33051 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33053 (config-cflags-avx): Likewise.
33054 (config-cflags-sse2avx): Likewise.
33055 (have-mfma4): Likewise.
33056 (config-cflags-novzeroupper): Likewise.
33057 * configure: Regenerated.
33058 * sysdeps/i386/configure: Likewise.
33059 * sysdeps/mach/configure: Likewise.
33060 * sysdeps/sparc/configure: Likewise.
33061 * sysdeps/x86_64/configure: Likewise.
33063 2013-03-20 Roland McGrath <roland@hack.frob.com>
33066 * locale/programs/localedef.c (options): Put N_ translation marker
33067 on argument names, not just descriptions.
33069 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33071 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33073 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33076 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33078 2013-03-19 Roland McGrath <roland@hack.frob.com>
33080 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33081 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33082 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33083 [!BEFORE_ABORT] (before_abort): New function.
33084 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33085 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33086 (writev_for_fatal): New function.
33087 (WRITEV_FOR_FATAL): New macro; call that.
33088 (backtrace_and_maps): New function.
33089 (BEFORE_ABORT): New macro; call that.
33090 (struct str_list): Type removed.
33091 (__libc_message, __libc_fatal): Functions removed.
33092 Include <sysdeps/posix/libc_fatal.c> instead.
33094 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33096 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33098 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33101 2013-03-19 Andreas Schwab <schwab@suse.de>
33103 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33104 * sysdeps/gnu/configure: Regenerate.
33106 * configure.in: Substitute libc_cv_rtlddir.
33107 * configure: Regenerate.
33108 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33109 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33110 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33111 * elf/Makefile (install-others, CFLAGS-interp.c)
33112 (ldso_install, common-ldd-rewrite): Likewise.
33113 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33114 $(inst_slibdir)/$(rtld-installed-name).
33115 * scripts/rellns-sh: Add -p option.
33116 * Makerules (make-shlib-link): Use rellns-sh to get relative name
33119 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33121 * manual/nptl.texi: Renamed to ...
33122 * manual/threads.texi: ... this.
33123 * manual/Makefile (chapters): Update.
33125 2013-03-18 Roland McGrath <roland@hack.frob.com>
33128 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33129 on argument names, not just descriptions.
33130 * malloc/memusagestat.c (options): Likewise.
33131 * nss/getent.c (options): Likewise.
33133 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
33136 * iconv/iconv_prog.c (options): Put N_ translation marker
33137 on argument names, not just descriptions.
33138 * iconv/iconvconfig.c (options): Likewise.
33140 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
33142 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33143 implementation which is faster on all x86_64 architectures.
33144 Tested on AMD, Intel Nehalem, SNB, IVB.
33145 * sysdeps/x86_64/strnlen.S: Likewise.
33147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33148 Remove all multiarch strlen and strnlen versions.
33149 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33150 Remove strlen and strnlen related parts.
33152 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33153 Inline strlen part.
33154 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33156 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33157 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33158 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33159 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33160 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33161 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33163 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33165 * manual/memory.texi (Malloc Tunable Parameters):
33166 Sort parameters alphabetically. Add comments for missing entries.
33168 2013-03-17 David S. Miller <davem@davemloft.net>
33170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33172 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33175 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33176 for arguments at most half maximum finite value.
33177 * math/libm-test.inc (j0_test): Add more tests.
33178 (j1_test): Likewise.
33179 (y0_test): Likewise.
33180 (y1_test): Likewise.
33181 * sysdeps/i386/fpu/libm-test-ulps: Update.
33182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33185 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33186 1 / x and functions P and Q for arguments above 0x1p256L.
33187 (__ieee754_y0l): Likewise.
33188 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33189 (__ieee754_y1l): Likewise.
33190 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33191 (j1_test): Likewise.
33192 (y0_test): Likewise.
33193 (y1_test): Likewise.
33195 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
33197 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33200 2013-03-15 Roland McGrath <roland@hack.frob.com>
33202 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33203 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33204 zero since it's initialized to EXEC_PAGESIZE.
33206 * sysdeps/unix/sysv/linux/ldsodefs.h
33207 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33208 * sysdeps/generic/ldsodefs.h: ... here.
33210 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
33212 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33214 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33216 * math/test-snan.c: Renamed from
33217 sysdeps/powerpc/fpu/test-powerpc-snan.c.
33218 * math/Makefile (tests): Add test-snan.
33219 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33222 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33223 SUFFIX. Initialize qNaN_var with __builtin_nan family of
33225 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
33226 __builtin_nan family of functions.
33227 * math/libm-test.inc (initialize): Initialize qnan_value with
33228 __builtin_nan family of functions.
33229 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33231 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33233 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
33234 storage class. Initialize qNaN_var and sNaN_var with
33235 __builtin_nan and __builtin_nans families of functions,
33238 * math/libm-test.inc (acosh_test): Also test with qNaN input.
33239 (sqrt_test): Remove duplicate test with qNaN input.
33240 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33241 (round_test, signbit_test, significand_test): Note missing +/-Inf
33242 as well as qNaN tests.
33244 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33245 qNaN_var. Fix a few strings, too.
33246 * math/libm-test.inc (nan_value): Rename to qnan_value.
33247 * math/gen-libm-test.pl (%beautify): Adjust to that.
33248 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33249 * math/test-misc.c (main): Likewise.
33250 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33251 to __qnan_bytes, and __qnan_union, respectively.
33252 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33254 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33255 and lqnanval, respectively.
33256 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33257 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33258 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33259 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33261 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33262 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33265 * math/test-misc.c (main): Fix copy'n'pastos.
33266 * misc/tst-efgcvt.c (special): Likewise.
33268 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33269 Remove declarations.
33271 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33273 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33274 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33275 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33276 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33278 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33280 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33281 macro to return vdso values correctly in IFUNC implementations.
33282 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33283 Optimization by using IFUNC.
33285 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33286 Richard Henderson <rth@redhat.com>
33287 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33289 * Makefile.in (bench): New target.
33290 * NEWS: Mention the benchmark framework.
33291 * Rules (bench): Likewise.
33292 (binaries-bench): Generate binaries for functions to
33294 * benchtests/Makefile: New makefile for benchmark tests.
33295 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33297 * benchtests/exp-inputs: New input file for EXP function.
33298 * benchtests/pow-inputs: New input file for POW function.
33299 * scripts/bench.pl: New script to generate source files for
33300 benchmark programs.
33302 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33304 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33305 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33306 computations on mantissa. Use macros for rounding and
33308 (denorm): Likewise.
33309 (__dbl_mp): Likewise.
33310 (add_magnitudes): Likewise.
33311 (sub_magnitudes): Likewise.
33314 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33315 powers of two in terms of TWOPOW macro.
33316 (mp_no): Make type of mantissa as MANTISSA_T.
33317 [!RADIXI]: Define RADIXI.
33318 [!TWO52]: Define TWO52.
33319 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33321 * manual/nptl.texi (cindex): Modify threads to pthreads.
33323 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33325 * sysdeps/x86_64/preconfigure: Regenerated.
33327 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33330 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33332 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33333 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33335 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33336 * math/libm-test.inc (j0_test): Do not allow one spurious
33337 underflow exception.
33338 (y1_test): Likewise.
33340 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33342 * manual/Makefile (chapters): Add nptl.
33343 * manual/debug.texi (Debugging Support): Add link to Threads
33345 * manual/nptl.texi: New file.
33347 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33349 2013-03-14 Petr Baudis <pasky@ucw.cz>
33351 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33352 for non-NULL pointer before the memory validity test. Pointed
33353 out by Holger Brunck <holger.brunck@keymile.com>.
33355 2013-03-13 Andreas Schwab <schwab@suse.de>
33357 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33360 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33362 * timezone/zic.c: Update from tzcode 2013b.
33364 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33366 * manual/install.texi (Configuring and compiling):
33367 Mention i686 and i586.
33368 * INSTALL: Regenerate.
33370 2013-03-12 Roland McGrath <roland@hack.frob.com>
33372 * sysdeps/init_array/elf-init.c: New file.
33374 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33375 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33377 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33378 __gmon_start__ as global, but as static with a .preinit_array pointer.
33379 * sysdeps/init_array/gmon-start.c: New file. Use that.
33380 * sysdeps/init_array/crti.S: New file, empty except for comments.
33381 * sysdeps/init_array/crtn.S: Likewise.
33383 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33385 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33388 Remove Prefer_SSE_for_memop.
33389 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33390 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33391 HAS_PREFER_SSE_FOR_MEMOP.
33392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33394 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33395 Remove bzero, memset ifunc support.
33396 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33397 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33398 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33399 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33401 2013-03-11 Andreas Schwab <schwab@suse.de>
33404 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33407 (GLIBC_2.16): Remove pthread_atfork.
33409 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33411 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33412 (ptestcases.h): Likewise.
33414 2013-03-08 Roland McGrath <roland@hack.frob.com>
33416 * Makeconfig ($(common-objpfx)config.status): Depend on
33417 sysdeps/*/preconfigure{,.in} too.
33419 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33421 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33422 (__free_hook): Use void * instead of __malloc_ptr_t.
33423 (__malloc_hook): Likewise.
33424 (__realloc_hook): Likewise.
33425 (__memalign_hook): Likewise.
33426 (__after_morecore_hook): Likewise.
33427 * malloc/arena.c (save_malloc_hook): Likewise.
33428 (save_free_hook): Likewise.
33429 * malloc/hooks.c (malloc_hook_ini): Likewise.
33430 (realloc_hook_ini): Likewise.
33431 (memalign_hook_ini): Likewise.
33432 * malloc/malloc.c (malloc_hook_ini): Likewise.
33433 (realloc_hook_ini): Likewise.
33434 (memalign_hook_ini): Likewise.
33435 (__free_hook): Likewise.
33436 (__malloc_hook): Likewise.
33437 (__realloc_hook): Likewise.
33438 (__memalign_hook): Likewise.
33439 (__libc_malloc): Likewise.
33440 (__libc_free): Likewise.
33441 (__libc_realloc): Likewise.
33442 (__libc_memalign): Likewise.
33443 (__libc_valloc): Likewise.
33444 (__libc_pvalloc): Likewise.
33445 (__libc_calloc): Likewise.
33446 (__posix_memalign): Likewise.
33447 * malloc/morecore.c (__sbrk): Likewise.
33448 (__default_morecore): Likewise.
33450 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33452 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33453 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33454 __malloc_ptrdiff_t.
33456 * malloc/malloc.h (__malloc_size_t): Remove macro.
33457 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33459 (old_memalign_hook): Likewise.
33460 (old_realloc_hook): Likewise.
33461 (struct hdr): Likewise.
33463 (mallochook): Likewise.
33464 (memalignhook): Likewise.
33465 (reallochook): Likewise.
33466 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33467 (tr_old_realloc_hook): Likewise.
33468 (tr_old_memalign_hook): Likewise.
33469 (tr_mallochook): Likewise.
33470 (tr_reallochook): Likewise.
33471 (tr_memalignhook): Likewise.
33473 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33475 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33476 default_ldbl_pack and using as default implementation.
33477 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33479 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33480 redundant definition.
33481 (ldbl_insert_mantissa): Likewise.
33482 (ldbl_canonicalize): Likewise.
33483 (ldbl_nearbyint): Likewise.
33484 (ldbl_pack): Rename to ldbl_pack_ppc.
33485 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33486 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33487 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33489 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33492 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33493 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33494 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33496 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33497 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33498 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33500 2013-03-07 Andreas Jaeger <aj@suse.de>
33502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33505 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33507 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33508 Include mpa.h and declare __MPEXP.
33509 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33511 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33512 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33513 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33514 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33515 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33517 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33518 (__slowpow): Use long double EXPL and LOGL functions to
33520 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33521 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33522 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33523 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33524 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33525 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33528 intermediate variable to calculate exponent.
33530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33534 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33535 [!NO__SQR]: Define __sqr.
33536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33537 and NO__SQR. Remove all code except __mul and __sqr. Include
33538 sysdeps/ieee754/dbl-64/mpa.c.
33539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33542 * posix/Makefile (tests): Add tst-pathconf.
33543 * posix/tst-pathconf.c: New test case.
33544 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33546 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33548 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33550 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33552 2013-03-06 Andreas Jaeger <aj@suse.de>
33554 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33555 definition via __MAP_ANONYMOUS.
33557 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33558 it's not part of Linux headers.
33560 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33561 (MAP_HUGE_MASK): Define.
33563 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33565 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33566 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33568 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33569 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33571 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33572 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33574 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33576 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33577 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33578 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33579 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33580 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33581 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33583 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33587 Handle f2fs and efivarfs.
33589 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33592 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33593 (EFIVARFS_MAGIC): Add.
33594 (F2FS_LINK_MAX): Add.
33596 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33598 * stdio-common/vfprintf.c: Replace __builtin_expect with
33601 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33604 * sysdeps/generic/bp-sym.h: Remove file.
33605 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33606 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33607 <bp-sym.h> and <bp-asm.h>.
33608 (__longjmp): Don't use BP_SYM.
33609 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33611 (memcpy): Don't use BP_SYM.
33612 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33613 <bp-sym.h> and <bp-asm.h>.
33614 (memcpy): Don't use BP_SYM.
33615 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33617 (memcpy): Don't use BP_SYM.
33618 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33620 (memset): Don't use BP_SYM.
33621 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33622 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33623 (__bzero): Don't use BP_SYM.
33624 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33625 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33626 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33627 <bp-sym.h> and <bp-asm.h>.
33628 (memcmp): Don't use BP_SYM. Remove comment about bounded
33630 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33631 <bp-sym.h> and <bp-asm.h>.
33632 (memcpy): Don't use BP_SYM.
33633 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33634 <bp-sym.h> and <bp-asm.h>.
33635 (memset): Don't use BP_SYM.
33636 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33637 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33638 (__bzero): Don't use BP_SYM.
33639 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33640 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33641 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33642 <bp-sym.h> and <bp-asm.h>.
33643 (strncmp): Don't use BP_SYM. Remove comment about bounded
33645 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33646 <bp-sym.h> and <bp-asm.h>.
33647 (memcpy): Don't use BP_SYM.
33648 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33649 <bp-sym.h> and <bp-asm.h>.
33650 (memset): Don't use BP_SYM.
33651 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33652 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33653 (__bzero): Don't use BP_SYM.
33654 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33655 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33656 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33657 <bp-sym.h> and <bp-asm.h>.
33658 (__memchr): Don't use BP_SYM.
33659 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33660 <bp-sym.h> and <bp-asm.h>.
33661 (memcmp): Don't use BP_SYM. Remove comment about bounded
33663 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33664 <bp-sym.h> and <bp-asm.h>.
33665 (memcpy): Don't use BP_SYM.
33666 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33667 <bp-sym.h> and <bp-asm.h>.
33668 (__mempcpy): Don't use BP_SYM.
33669 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33670 <bp-sym.h> and <bp-asm.h>.
33671 (__memrchr): Don't use BP_SYM.
33672 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33673 <bp-sym.h> and <bp-asm.h>.
33674 (memset): Don't use BP_SYM.
33675 (__bzero): Likewise.
33676 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33677 <bp-sym.h> and <bp-asm.h>.
33678 (__rawmemchr): Don't use BP_SYM.
33679 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33680 <bp-sym.h> and <bp-asm.h>.
33681 (__STRCMP): Don't use BP_SYM.
33682 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33683 <bp-sym.h> and <bp-asm.h>.
33684 (strchr): Don't use BP_SYM.
33685 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33686 <bp-sym.h> and <bp-asm.h>.
33687 (__strchrnul): Don't use BP_SYM.
33688 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33689 <bp-sym.h> and <bp-asm.h>.
33690 (strlen): Don't use BP_SYM.
33691 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33692 <bp-sym.h> and <bp-asm.h>.
33693 (strncmp): Don't use BP_SYM. Remove comment about bounded
33695 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33696 <bp-sym.h> and <bp-asm.h>.
33697 (__strnlen): Don't use BP_SYM.
33698 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33699 <bp-sym.h> and <bp-asm.h>.
33700 (__GI__setjmp): Don't use BP_SYM.
33701 (_setjmp): Likewise.
33702 (__sigsetjmp): Likewise.
33703 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33704 (L(start_addresses)): Don't use BP_SYM.
33705 (_start): Likewise.
33706 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33708 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33709 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33710 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33711 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33712 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33714 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33715 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33716 about bounded pointers.
33717 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33718 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33719 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33721 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33722 about bounded pointers. Remove GKM FIXME comments.
33723 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33724 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33726 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33727 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33728 Remove GKM FIXME comments.
33729 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33730 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33731 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33733 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33734 about bounded pointers. Remove GKM FIXME comment.
33735 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33737 (strncmp): Don't use BP_SYM. Remove comment about bounded
33739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33740 <bp-sym.h> and <bp-asm.h>.
33741 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33743 <bp-sym.h> and <bp-asm.h>.
33744 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33747 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33749 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33752 2013-03-05 David S. Miller <davem@davemloft.net>
33754 * po/es.po: Update from translation team.
33756 2013-03-05 Andreas Jaeger <aj@suse.de>
33758 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33759 <bits/mman-linux.h>.
33760 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33762 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33763 <bits/mman-linux.h> to end of file.
33764 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33766 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33767 <bits/mman-linux.h> to end of file.
33768 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33770 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33771 <bits/mman-linux.h> to end of file.
33773 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33774 (MCL_CURRENT, MCL_FUTURE): Define here.
33776 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33779 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33781 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33783 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33785 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33786 fourth parameter needed for rt_sigprocmask syscall.
33787 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33788 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33789 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33790 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33791 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33792 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33794 2013-03-04 Joseph Myers <joseph@codesourcery.com>
33797 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33798 comment about bounded pointers.
33799 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33800 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33802 2013-03-04 Andreas Jaeger <aj@suse.de>
33804 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33805 common definitions.
33807 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33808 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33809 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33810 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33811 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33812 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33814 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33817 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33818 __ieee754_sqrl instead of __sqrl.
33820 2013-03-01 Joseph Myers <joseph@codesourcery.com>
33822 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33823 * sysdeps/powerpc/fpu_control.h: ... here.
33824 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33825 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33826 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33827 * sysdeps/powerpc/bits/mathinline.h: ... here.
33829 2013-03-01 Roland McGrath <roland@hack.frob.com>
33831 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33832 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33833 to just [NEED_DL_SYSINFO_DSO].
33834 * elf/dl-support.c: Likewise.
33835 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33836 * elf/rtld.c (dl_main): Likewise.
33837 * elf/setup-vdso.h (setup_vdso): Likewise.
33838 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33839 * sysdeps/unix/sysv/linux/dl-sysdep.c
33840 (_dl_discover_osversion): Likewise.
33842 2013-03-01 Carlos O'Donell <carlos@redhat.com>
33844 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33845 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33847 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33849 * NEWS: Mention libm performance improvements and non-x86 PI
33852 * csu/libc-start.c (__pthread_initialize_minimal): Change
33853 function arguments.
33854 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33856 2013-02-28 Joseph Myers <joseph@codesourcery.com>
33859 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33860 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33861 <bp-sym.h> and <bp-asm.h>.
33862 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33863 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33865 (memcpy): Don't use BP_SYM.
33866 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33868 (__mpn_add_n): Don't use BP_SYM.
33869 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33870 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33872 (__mpn_addmul_1): Don't use BP_SYM.
33873 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33874 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33876 (_setjmp): Don't use BP_SYM.
33877 (__novmx_setjmp): Likewise.
33878 (__GI__setjmp): Likewise.
33879 (__vmx_setjmp): Likewise.
33880 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33882 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33883 (__bzero): Don't use BP_SYM.
33884 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33885 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33886 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33887 <bp-sym.h> and <bp-asm.h>.
33888 (memcpy): Don't use BP_SYM.
33889 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33890 <bp-sym.h> and <bp-asm.h>.
33891 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33892 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33893 <bp-sym.h> and <bp-asm.h>.
33894 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33895 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33897 (__mpn_lshift): Don't use BP_SYM.
33898 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33899 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33901 (memset): Don't use BP_SYM.
33902 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33903 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33904 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33906 (__mpn_mul_1): Don't use BP_SYM.
33907 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33909 <bp-sym.h> and <bp-asm.h>.
33910 (memcmp): Don't use BP_SYM.
33911 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33912 <bp-sym.h> and <bp-asm.h>.
33913 (memcpy): Don't use BP_SYM.
33914 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33915 <bp-sym.h> and <bp-asm.h>.
33916 (memset): Don't use BP_SYM.
33917 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33918 <bp-sym.h> and <bp-asm.h>.
33919 (strncmp): Don't use BP_SYM.
33920 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33921 <bp-sym.h> and <bp-asm.h>.
33922 (memcpy): Don't use BP_SYM.
33923 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33924 <bp-sym.h> and <bp-asm.h>.
33925 (memset): Don't use BP_SYM.
33926 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33927 <bp-sym.h> and <bp-asm.h>.
33928 (__memchr): Don't use BP_SYM.
33929 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33930 <bp-sym.h> and <bp-asm.h>.
33931 (memcmp): Don't use BP_SYM.
33932 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33933 <bp-sym.h> and <bp-asm.h>.
33934 (memcpy): Don't use BP_SYM.
33935 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33936 <bp-sym.h> and <bp-asm.h>.
33937 (__mempcpy): Don't use BP_SYM.
33938 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33939 <bp-sym.h> and <bp-asm.h>.
33940 (__memrchr): Don't use BP_SYM.
33941 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33942 <bp-sym.h> and <bp-asm.h>.
33943 (memset): Don't use BP_SYM.
33944 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33945 <bp-sym.h> and <bp-asm.h>.
33946 (__rawmemchr): Don't use BP_SYM.
33947 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33948 <bp-sym.h> and <bp-asm.h>.
33949 (__STRCMP): Don't use BP_SYM.
33950 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33951 <bp-sym.h> and <bp-asm.h>.
33952 (strchr): Don't use BP_SYM.
33953 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33954 <bp-sym.h> and <bp-asm.h>.
33955 (__strchrnul): Don't use BP_SYM.
33956 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33957 <bp-sym.h> and <bp-asm.h>.
33958 (strlen): Don't use BP_SYM.
33959 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33960 <bp-sym.h> and <bp-asm.h>.
33961 (strncmp): Don't use BP_SYM.
33962 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33963 <bp-sym.h> and <bp-asm.h>.
33964 (__strnlen): Don't use BP_SYM.
33965 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33967 (__mpn_rshift): Don't use BP_SYM.
33968 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33969 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33970 <bp-sym.h> and <bp-asm.h>.
33971 (__sigsetjmp): Don't use BP_SYM.
33972 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33973 (L(start_addresses)): Don't use BP_SYM.
33974 (_start): Likewise.
33975 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33977 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33978 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33979 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33980 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33982 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33983 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33984 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33985 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33987 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33989 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33990 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33992 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33994 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33995 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33996 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33998 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34000 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34002 (strncmp): Don't use BP_SYM,
34003 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34005 (__mpn_sub_n): Don't use BP_SYM.
34006 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34007 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34009 (__mpn_submul_1): Don't use BP_SYM.
34010 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34012 <bp-sym.h> and <bp-asm.h>.
34013 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34015 <bp-sym.h> and <bp-asm.h>.
34016 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34019 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34022 Use ZK to minimize writes to Z.
34023 (sub_magnitudes): Simplify code a bit.
34024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34025 Use ZK to minimize writes to Z.
34026 (sub_magnitudes): Simplify code a bit.
34028 2013-02-27 Roland McGrath <roland@hack.frob.com>
34030 * csu/gmon-start.c: Add special exception to license text.
34032 2013-02-27 Richard Henderson <rth@redhat.com>
34034 * scripts/config.guess: Update from config.git.
34035 * scripts/config.sub: Likewise.
34037 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34039 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34041 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34043 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34045 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34047 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34049 2013-02-26 Roland McGrath <roland@hack.frob.com>
34051 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34052 [$(build-shared = yes].
34054 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34056 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34057 (__mul): Reduce iterations for calculating mantissa.
34059 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34061 (__mpranred): Likewise.
34064 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34065 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34067 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34069 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34070 Define __attribute__.
34072 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34074 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34076 * posix/regex_internal.h (__attribute): Remove.
34077 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34078 (re_string_context_at): Likewise.
34079 (bitset_not): Use __attribute__ and mark function as possibly
34081 (bitset_merge): Likewise.
34082 (bitset_mask): Likewise.
34083 (re_string_char_size_at): Likewise.
34084 (re_string_wchar_at): Likewise.
34085 (re_string_elem_size_at): Likewise.
34087 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34089 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34093 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34097 (denorm): Likewise.
34098 (__dbl_mp): Likewise.
34099 (add_magnitudes): Likewise.
34100 (sub_magnitudes): Likewise.
34104 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34107 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34110 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34114 up changes with default code.
34115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34118 2013-02-24 Allan McRae <allan@archlinux.org>
34120 * manual/socket.texi (The Internet Namespace): Order menu items
34121 to match that in the file.
34123 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34124 node listing of the info page menu.
34126 2013-02-21 Joseph Myers <joseph@codesourcery.com>
34129 * sysdeps/i386/bp-asm.h: Remove file.
34130 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34131 (PARMS): Do not use macros from bp-asm.h.
34135 (__mpn_add_n): Do not use BP_SYM
34136 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34138 (PARMS): Do not use macros from bp-asm.h.
34141 (__mpn_addmul_1): Do not use BP_SYM
34142 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34144 (PARMS): Do not use macros from bp-asm.h.
34145 (SIGMSK): Likewise.
34146 (_setjmp): Likewise. Do not use BP_SYM.
34147 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34149 (PARMS): Do not use macros from bp-asm.h.
34150 (SIGMSK): Likewise.
34151 (setjmp): Likewise. Do not use BP_SYM.
34152 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34154 (PARMS): Do not use macros from bp-asm.h.
34155 (__frexp): Do not use BP_SYM.
34157 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34159 (PARMS): Do not use macros from bp-asm.h.
34160 (__frexpf): Do not use BP_SYM.
34161 (frexpf): Likewise.
34162 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34164 (PARMS): Do not use macros from bp-asm.h.
34165 (__frexpl): Do not use BP_SYM.
34166 (frexpl): Likewise.
34167 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34169 (PARMS): Do not use macros from bp-asm.h.
34170 (__remquo): Do not use BP_SYM.
34171 (remquo): Likewise.
34172 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34174 (PARMS): Do not use macros from bp-asm.h.
34175 (__remquof): Do not use BP_SYM.
34176 (remquof): Likewise.
34177 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34179 (PARMS): Do not use macros from bp-asm.h.
34180 (__remquol): Do not use BP_SYM.
34181 (remquol): Likewise.
34182 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34184 (PARMS): Do not use macros from bp-asm.h.
34187 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
34188 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34190 (PARMS): Do not use macros from bp-asm.h.
34191 (strlen): Do not use BP_SYM.
34192 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34194 (PARMS): Do not use macros from bp-asm.h.
34198 (__mpn_add_n): Do not use BP_SYM.
34199 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34201 (PARMS): Do not use macros from bp-asm.h.
34204 (__mpn_addmul_1): Do not use BP_SYM.
34205 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34208 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34210 (PARMS): Do not use macros from bp-asm.h.
34213 (__mpn_lshift): Do not use BP_SYM.
34214 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34216 (PARMS): Do not use macros from bp-asm.h.
34220 (memcpy): Likewise. Do not use BP_SYM.
34221 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34222 libc_hidden_def and weak_alias.
34223 (mempcpy): Do not use BP_SYM in weak_alias.
34224 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34226 (PARMS): Do not use macros from bp-asm.h.
34229 [!BZERO_P] (CHR): Likewise.
34230 (memset): Likewise. Do not use BP_SYM.
34231 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34233 (PARMS): Do not use macros from bp-asm.h.
34236 (__mpn_mul_1): Do not use BP_SYM.
34237 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34239 (PARMS): Do not use macros from bp-asm.h.
34242 (__mpn_rshift): Do not use BP_SYM.
34243 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34245 (PARMS): Do not use macros from bp-asm.h.
34248 (strchr): Likewise. Do not use BP_SYM.
34249 (index): Do not use BP_SYM in weak_alias.
34250 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34252 (PARMS): Do not use macros from bp-asm.h.
34255 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34256 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34258 (PARMS): Do not use macros from bp-asm.h.
34259 (strlen): Do not use BP_SYM.
34260 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34262 (PARMS): Do not use macros from bp-asm.h.
34266 (__mpn_sub_n): Do not use BP_SYM.
34267 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34269 (PARMS): Do not use macros from bp-asm.h.
34272 (__mpn_submul_1): Do not use BP_SYM.
34273 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34275 (PARMS): Do not use macros from bp-asm.h.
34279 (__mpn_add_n): Do not use BP_SYM.
34280 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34283 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34285 (PARMS): Do not use macros from bp-asm.h.
34288 (memcmp): Do not use BP_SYM.
34289 (bcmp): Do not use BP_SYM in weak_alias.
34290 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34292 (PARMS): Do not use macros from bp-asm.h.
34296 (memcpy): Likewise. Do not use BP_SYM.
34297 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34299 (PARMS): Do not use macros from bp-asm.h.
34303 (memmove): Likewise. Do not use BP_SYM.
34304 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34306 (PARMS): Do not use macros from bp-asm.h.
34310 (__mempcpy): Likewise. Do not use BP_SYM.
34311 (mempcpy): Do not use BP_SYM in weak_alias.
34312 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34314 (PARMS): Do not use macros from bp-asm.h.
34317 [!BZERO_P] (CHR): Likewise.
34318 (memset): Likewise. Do not use BP_SYM.
34319 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34321 (PARMS): Do not use macros from bp-asm.h.
34323 (strcmp): Do not use BP_SYM.
34324 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34326 (PARMS): Do not use macros from bp-asm.h.
34329 [USE_AS_STRTOK_R] (SAVE): Likewise.
34330 (FUNCTION): Likewise. Do not use BP_SYM.
34331 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34333 (strtok_r): Likewise.
34334 (__GI___strtok_r): Likewise.
34335 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34336 (PARMS): Do not use macros from bp-asm.h.
34339 (__mpn_lshift): Do not use BP_SYM.
34340 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34341 (PARMS): Do not use macros from bp-asm.h.
34344 (__memchr): Do not use BP_SYM.
34345 (memchr): Do not use BP_SYM in weak_alias.
34346 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34347 (PARMS): Do not use macros from bp-asm.h.
34350 (memcmp): Do not use BP_SYM.
34351 (bcmp): Do not use BP_SYM in weak_alias.
34352 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34353 (PARMS): Do not use macros from bp-asm.h.
34356 (__mpn_mul_1): Do not use BP_SYM.
34357 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34359 (PARMS): Do not use macros from bp-asm.h.
34362 (__rawmemchr): Do not use BP_SYM.
34363 (rawmemchr): Do not use BP_SYM in weak_alias.
34364 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34365 (PARMS): Do not use macros from bp-asm.h.
34368 (__mpn_rshift): Do not use BP_SYM.
34369 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34370 (PARMS): Do not use macros from bp-asm.h.
34371 (SIGMSK): Likewise.
34372 (__sigsetjmp): Likewise. Do not use BP_SYM.
34373 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34374 (_start): Do not use BP_SYM.
34375 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34376 (PARMS): Do not use macros from bp-asm.h.
34379 (__stpcpy): Likewise. Do not use BP_SYM.
34380 (stpcpy): Do not use BP_SYM in weak_alias.
34381 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34383 (PARMS): Do not use macros from bp-asm.h.
34387 (__stpncpy): Likewise. Do not use BP_SYM.
34388 (stpncpy): Do not use BP_SYM in weak_alias.
34389 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34390 (PARMS): Do not use macros from bp-asm.h.
34393 (strchr): Likewise. Do not use BP_SYM.
34394 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34396 (PARMS): Do not use macros from bp-asm.h.
34399 (__strchrnul): Likewise. Do not use BP_SYM.
34400 (strchrnul): Do not use BP_SYM in weak_alias.
34401 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34403 (PARMS): Do not use macros from bp-asm.h.
34405 (strcspn): Do not use BP_SYM.
34406 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34408 (PARMS): Do not use macros from bp-asm.h.
34411 (strpbrk): Likewise. Do not use BP_SYM.
34412 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34414 (PARMS): Do not use macros from bp-asm.h.
34417 (strrchr): Likewise. Do not use BP_SYM.
34418 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34419 (PARMS): Do not use macros from bp-asm.h.
34421 (strspn): Do not use BP_SYM.
34422 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34423 (PARMS): Do not use macros from bp-asm.h.
34427 (FUNCTION): Likewise. Do not use BP_SYM.
34428 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34430 (strtok_r): Likewise.
34431 (__GI___strtok_r): Likewise.
34432 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34433 (PARMS): Do not use macros from bp-asm.h.
34437 (__mpn_sub_n): Do not use BP_SYM.
34438 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34440 (PARMS): Do not use macros from bp-asm.h.
34443 (__mpn_submul_1): Do not use BP_SYM.
34444 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34446 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34448 (PARMS): Do not use macros from bp-asm.h.
34453 (__clone): Do not use BP_SYM.
34454 (clone): Do not use BP_SYM in weak_alias.
34455 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34457 (PARMS): Do not use macros from bp-asm.h.
34459 (__mmap64): Do not use BP_SYM.
34460 (mmap64): Do not use BP_SYM in weak_alias.
34461 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34462 <bp-sym.h> and <bp-asm.h>.
34463 (PARMS): Do not use macros from bp-asm.h.
34464 (__posix_fadvise64_l64): Do not use BP_SYM.
34465 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34466 (PARMS): Do not use macros from bp-asm.h.
34468 (semtimedop): Do not use BP_SYM.
34469 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34472 2013-02-21 Allan McRae <allan@archlinux.org>
34474 * manual/message.texi (Charset conversion in gettext):
34475 Move @end statement to beginning of line.
34477 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34484 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34485 (denorm): Likewise.
34486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34489 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34491 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34492 tail-call to the resolved function if pltexit isn't needed.
34494 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34497 or Y being zero as being unlikely.
34498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34501 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34503 * manual/nss.texi (System Databases and Name Service Switch):
34504 Remove frobnicate @pxref.
34506 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34508 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34509 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34511 2013-02-20 Petr Machata <pmachata@redhat.com>
34513 * elf/elf.h (R_ARM_TARGET1): New macro.
34514 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34515 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34516 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34517 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34518 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34519 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34520 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34521 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34522 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34523 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34524 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34525 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34526 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34527 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34528 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34529 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34530 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34531 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34532 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34533 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34534 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34535 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34536 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34537 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34538 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34539 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34540 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34541 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34542 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34543 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34544 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34545 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34546 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34547 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34548 (R_ARM_THM_GOT_BREL12): Likewise.
34549 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34550 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34551 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34552 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34553 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34554 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34555 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34556 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34557 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34559 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34561 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34562 __attribute_used__ to __attribute__ ((unused)).
34564 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34566 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34569 comment formatting.
34570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34572 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34575 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34577 (ENTER): Remove both macro definitions.
34579 (CHECK_BOUNDS_LOW): Likewise.
34580 (CHECK_BOUNDS_HIGH): Likewise.
34581 (CHECK_BOUNDS_BOTH): Likewise.
34582 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34583 (RETURN_BOUNDED_POINTER): Likewise.
34584 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34585 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34586 (POP_ERRNO_LOCATION_RETURN): Likewise.
34587 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34588 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34589 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34591 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34592 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34593 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34594 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34595 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34596 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34597 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34598 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34599 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34600 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34601 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34602 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34603 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34604 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34606 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34607 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34609 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34610 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34611 * sysdeps/i386/i586/memset.S (memset): Likewise.
34612 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34613 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34614 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34616 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34617 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34618 Change uses of L(2) to L(out).
34619 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34620 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34621 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34622 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34623 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34625 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34626 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34628 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34629 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34630 (RETURN): Do not use macro LEAVE.
34631 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34632 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34633 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34634 * sysdeps/i386/i686/memset.S (memset): Likewise.
34635 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34636 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34637 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34638 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34640 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34641 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34642 L(1_2) and L(1_3) into L(1).
34643 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34644 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34645 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34646 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34647 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34648 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34649 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34650 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34651 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34653 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34654 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34655 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34656 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34657 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34658 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34659 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34660 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34661 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34662 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34663 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34664 * sysdeps/i386/strspn.S (strspn): Likewise.
34665 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34667 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34668 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34669 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34670 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34671 L(1_3) into L(1_1).
34672 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34673 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34674 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34676 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34678 2013-02-19 Jakub Jelinek <jakub@redhat.com>
34680 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34683 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34685 * math/atest-exp.c (exp_mpn): Remove ROUND.
34686 * math/atest-exp2.c (exp_mpn): Likewise.
34687 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34689 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34690 * stdlib/tst-tls-atexit-lib.c: Likewise.
34691 * stdlib/tst-tls-atexit.c: Likewise.
34693 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34695 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34696 and __attribute_alloc_size__.
34698 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34700 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34701 __attribute_alloc_size__.
34702 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34703 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34705 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34707 * include/programs/xmalloc.h: New file.
34708 * catgets/gencat.c: Include it.
34709 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34710 * elf/pldd.c: Likewise.
34711 * iconv/iconv_charmap.c: Likewise.
34712 * iconv/iconvconfig.c: Likewise.
34713 * iconv/strtab.c: Likewise.
34714 * locale/programs/locale.c: Likewise.
34715 * locale/programs/localedef.h: Likewise.
34716 * locale/programs/simple-hash.c: Likewise.
34717 * nscd/nscd.h: Likewise.
34718 * nss/makedb.c: Likewise.
34719 * sysdeps/generic/ldconfig.h: Likewise.
34721 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34723 * Versions.def: Add GLIBC_2.18.
34724 * include/link.h (struct link_map): New member l_tls_dtor_count.
34725 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34726 (__call_tls_dtors): Likewise.
34727 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34728 __cxa_thread_atexit_impl.
34729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34737 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34745 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34746 (tests): Add test case tst-tls-atexit.
34747 (modules-names): Add shared library for tst-tls-atexit.
34748 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34749 (GLIBC_PRIVATE): Add __call_tls_dtors.
34750 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34752 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34753 * stdlib/tst-tls-atexit.c: New test case.
34754 * stdlib/tst-tls-atexit-lib.c: New test case.
34756 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34758 * elf/Versions (ld): Add _dl_find_dso_for_object.
34759 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34760 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34761 (dl_open_worker): Use _dl_find_dso_for_object.
34762 * elf/dl-sym.c (do_sym): Likewise.
34763 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34765 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34767 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34768 Syntactic changes only.
34769 (_dl_runtime_profile): Do a tail-call to the resolved function.
34771 2013-02-17 Joseph Myers <joseph@codesourcery.com>
34774 * sysdeps/x86_64/bp-asm.h: Remove file.
34775 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34776 <bp-sym.h> and <bp-asm.h>.
34777 (__clone): Do not use BP_SYM.
34778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34779 <bp-sym.h> and <bp-asm.h>.
34780 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34781 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34783 (_setjmp): Do not use BP_SYM.
34784 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34786 (setjmp): Do not use BP_SYM.
34787 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34789 (mempcpy): Do not use BP_SYM in weak_alias.
34790 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34792 (strchr): Do not use BP_SYM.
34793 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34795 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34796 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34797 (_start): Do not use BP_SYM.
34798 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34800 (strcat): Do not use BP_SYM.
34801 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34803 (STRCMP): Do not use BP_SYM.
34804 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34806 (STRCPY): Do not use BP_SYM.
34807 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34809 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34811 (FUNCTION): Do not use BP_SYM.
34812 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34814 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34816 2013-02-17 Andreas Jaeger <aj@suse.de>
34818 * time/Versions: Sort entries.
34819 * string/Versions: Likewise.
34820 * resolv/Versions: Likewise.
34821 * posix/Versions: Likewise.
34822 * iconv/Versions: Likewise.
34823 * elf/Versions: Likewise.
34824 * wcsmbs/Versions: Likewise.
34826 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34828 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34829 loop termination condition.
34831 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34832 variable to calculate EZ.
34835 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34836 the lower precision input.
34838 2013-02-15 Joseph Myers <joseph@codesourcery.com>
34841 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34842 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34843 (run-via-rtld-prefix): Do not handle %-bp tests.
34844 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34845 (all-object-suffixes): Remove .ob.
34846 (bppfx): Remove variable.
34847 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34848 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34849 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34850 [$(build-bounded) = yes] (libtype.ob): Likewise.
34851 * Makerules (elide-routines.ob): Remove variable.
34852 (do-tests-clean): Do not handle *-bp.out.
34853 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34854 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34855 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34856 (tests): Do not include $(tests-bp.out).
34857 (xtests): Do not include $(xtests-bp.out).
34858 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34859 [$(build-bounded) = yes] ($(addprefix
34860 $(objpfx),$(binaries-bounded))): Remove rule.
34861 ($(objpfx)%-bp.out): Remove rule.
34862 * config.make.in (build-bounded): Remove variable.
34863 * crypt/Makefile [$(build-bounded) = yes]
34864 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34865 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34866 append to variable.
34867 [$(build-bounded) = yes] (install-lib): Likewise.
34868 [$(build-bounded) = yes] (generated): Likewise.
34869 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34871 * intl/Makefile [$(build-bounded) = yes]
34872 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34873 * math/Makefile [$(build-bounded) = yes]
34874 ($(tests:%=$(objpfx)%-bp): Likewise.
34875 * misc/Makefile [$(build-bounded) = yes]
34876 ($(objpfx)tst-tsearch-bp): Likewise.
34877 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34878 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34880 * string/Makefile (o-objects.ob): Remove variable.
34881 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34882 (CFLAGS-.ob): Remove variable.
34883 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34884 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34885 both definitions of variable.
34886 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34887 (ASFLAGS-.ob): Remove variable.
34889 2013-02-14 Joseph Myers <joseph@codesourcery.com>
34892 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34893 Remove __BOUNDED_POINTERS__ from condition.
34894 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34895 * string/bits/string2.h [!__NO_STRING_INLINES &&
34896 !__BOUNDED_POINTERS__]: Likewise.
34897 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34899 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34900 Remove conditional code.
34901 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34902 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34903 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34907 * csu/libc-start.c: Do not include <bp-sym.h>.
34908 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34909 * elf/dl-open.c: Do not include <bp-sym.h>.
34910 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34911 * math/fegetenv.c: Do not include <bp-sym.h>.
34912 (fegetenv): Do not use BP_SYM in versioned symbols.
34913 * nptl/sysdeps/pthread/bits/libc-lockP.h
34914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34917 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34919 (__pthread_mutex_destroy): Likewise.
34920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34921 (__pthread_mutex_lock): Likewise.
34922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34923 (__pthread_mutex_trylock): Likewise.
34924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34925 (__pthread_mutex_unlock): Likewise.
34926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34927 (__pthread_mutexattr_init): Likewise.
34928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34929 (__pthread_mutexattr_destroy): Likewise.
34930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34931 (__pthread_mutexattr_settype): Likewise.
34932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34933 (__pthread_rwlock_init): Likewise.
34934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34935 (__pthread_rwlock_destroy): Likewise.
34936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34937 (__pthread_rwlock_rdlock): Likewise.
34938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34939 (__pthread_rwlock_tryrdlock): Likewise.
34940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34941 (__pthread_rwlock_wrlock): Likewise.
34942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34943 (__pthread_rwlock_trywrlock): Likewise.
34944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34945 (__pthread_rwlock_unlock): Likewise.
34946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34947 (__pthread_key_create): Likewise.
34948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34949 (__pthread_setspecific): Likewise.
34950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34951 (__pthread_getspecific): Likewise.
34952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34955 (_pthread_cleanup_push_defer): Likewise.
34956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34957 (_pthread_cleanup_pop_restore): Likewise.
34958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34959 (pthread_setcancelstate): Likewise.
34960 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34962 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34963 (memchr): Do not use BP_SYM in weak_alias.
34964 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34965 (fegetenv): Do not use BP_SYM in versioned symbols.
34966 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34967 (fesetenv): Do not use BP_SYM in versioned symbols.
34968 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34969 (feupdateenv): Do not use BP_SYM in versioned symbols.
34970 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34971 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34972 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34973 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34974 (open64): Do not use BP_SYM in weak_alias.
34975 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34976 (fegetenv): Do not use BP_SYM in versioned symbols.
34977 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34978 (fesetenv): Do not use BP_SYM in versioned symbols.
34979 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34980 (feupdateenv): Do not use BP_SYM in versioned symbols.
34981 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34982 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34983 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34984 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34985 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34986 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34987 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34989 (__libc_start_main): Do not use BP_SYM.
34991 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34994 redundant return line.
34996 (denorm): Likewise.
34997 (dbl_mp): Likewise.
34998 (sub_magnitudes): Likewise.
35004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35006 (denorm): Likewise.
35007 (dbl_mp): Likewise.
35008 (sub_magnitudes): Likewise.
35015 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35017 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35018 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35021 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35022 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35024 of __mul for squares.
35025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35029 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35030 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35032 2013-02-13 Joseph Myers <joseph@codesourcery.com>
35035 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35037 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35038 prototype or function definition. Rename ubp_* variables and
35039 parameters. Remove argv definitions conditional on
35040 [__BOUNDED_POINTERS__].
35041 * debug/backtrace.c (__backtrace): Do not use __unbounded.
35042 * elf/dl-runtime.c (_dl_fixup): Likewise.
35043 * include/set-hooks.h (RUN_HOOK): Likewise.
35044 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35046 * string/strcpy.c (strcpy): Do not use __unbounded.
35047 * sysdeps/generic/frame.h (struct layout): Likewise.
35048 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35049 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35050 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35051 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35052 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35053 (__backtrace): Likewise.
35054 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35056 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35057 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35058 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35060 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35061 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35062 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35063 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35064 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35065 Do not use __unbounded.
35066 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35067 Rename __unboundedrlimits parameter to rlimits in prototype.
35068 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35069 Do not use __unbounded.
35070 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35071 not use __ptrvalue.
35072 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35073 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35074 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35075 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35076 __ptrvalue or __unbounded.
35077 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35078 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35080 (__new_msgctl): Do not use __ptrvalue.
35081 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35083 (__libc_msgrcv): Do not use __ptrvalue.
35084 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35085 startup_info): Do not use __unbounded.
35086 (__libc_start_main): Likewise. Rename ubp_* variables and
35087 parameters. Remove argv definitions conditional on
35088 [__BOUNDED_POINTERS__].
35089 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35091 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35093 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35095 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35097 (__new_shmctl): Do not use __ptrvalue.
35098 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35099 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35101 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35102 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35103 (__libc_sigaction): Likewise.
35104 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35105 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35107 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35109 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35111 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35113 * string/mempcpy.c: Implement by calling memcpy.
35115 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35117 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35122 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35123 values in the mantissa.
35125 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35126 minimize writes to Z.
35127 (sub_magnitudes): Simplify code a bit.
35129 2013-02-12 Roland McGrath <roland@hack.frob.com>
35131 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35132 from the message. The linker prefixes all warnings with that already.
35134 2013-02-12 Andreas Schwab <schwab@suse.de>
35137 * posix/regexec.c (extend_buffers): Add parameter min_len.
35138 (check_matching): Pass minimum needed length.
35139 (clean_state_log_if_needed): Likewise.
35140 (get_subexp): Likewise.
35141 * posix/Makefile (tests): Add bug-regex34.
35142 (bug-regex34-ENV): Define.
35143 * posix/bug-regex34.c: New file.
35146 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35147 elements compare against the byte sequence of it, not its name.
35148 * posix/Makefile (tests): Add bug-regex35.
35149 (bug-regex35-ENV): Define.
35150 * posix/bug-regex35.c: New file.
35152 2013-02-11 Tom de Vries <tom@codesourcery.com>
35154 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35156 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35157 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35158 (CHECK_EOL): Add undef.
35160 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35162 * bits/stdlib-bsearch.h: New file.
35163 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35164 * stdlib/stdlib.h: Likewise.
35166 2013-02-11 Roland McGrath <roland@hack.frob.com>
35168 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35169 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35171 * manual/search.texi (Array Search Function): Add missing const in
35173 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35174 declaration to use rlim_t.
35175 (Basic Scheduling Functions): Remove erroneous const from
35176 sched_getparam prototype. Remove erroneous * from
35177 sched_get_priority_max and sched_get_priority_min prototypes.
35178 (Resource Usage): Fix summary @comment on vtimes to refer to
35179 sys/vtimes.h rather than vtimes.h.
35180 Add missing *s in vtimes prototype.
35181 (Limits on Resources): Fix ulimit prototype to return long int.
35182 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35183 prototypes to use long int rather than double.
35184 (BSD Random): Fix initstate and setstate to use char *, not void *.
35185 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35186 prototype to make second argument 'struct aiocb64 *const[]'.
35187 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35188 (Status of AIO Operations): Remove erroneous const in aio_return and
35189 aio_return64 prototypes.
35190 (Synchronizing I/O): Fix sync prototype to return void.
35191 * manual/startup.texi (Suboptions): Remove an erroneous const in
35192 getsubopt prototype.
35193 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35194 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35195 use size_t rather than int.
35196 (Scanning All Users): Likewise for getpwent_r.
35197 (Setting Groups): Add missing const to setgroups prototype.
35198 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35199 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35200 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35201 'const void *' rather than 'const char *'.
35202 (Host Address Functions): Likewise for inet_ntop.
35203 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35204 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35205 ssize_t for return value.
35206 (Sending Data): Likewise for send, sendto, sendmsg.
35207 (Socket Option Functions): Add a missing const in setsockopt prototype.
35208 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35209 use wchar_t for the argument.
35210 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35211 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35213 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35214 double/float/long double for second argument.
35215 Fix return types of significand, significandf, significandl.
35216 * manual/filesys.texi (Setting Permissions): Use mode_t for second
35217 argument in fchmod prototype.
35218 (File Owner): Use uid_t and gid_t in fchown prototype.
35219 (File Times): Add const to utimes, futimes, and lutimes prototypes.
35220 (Making Special Files): Use mode_t and dev_t in mknod prototype.
35221 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35222 use 'const struct dirent **' as argument types to CMP function pointer
35224 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35225 (File Times): Fix summary magic @comment for struct utimbuf and utime
35226 to refer to utime.h, not time.h.
35227 * manual/string.texi (Argz Functions): Add missing const in
35228 argz_extract and argz_next prototypes.
35229 (Finding Tokens in a String): Likewise for basename.
35230 (String/Array Comparison): Fix typo in wcscasecmp prototype.
35231 (Copying and Concatenation): Fix typo in wmemmove prototype.
35232 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35233 (Signal Stack): Remove erroneous const in sigstack prototype.
35234 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35236 (Simple Calendar Time): Likewise for stime.
35237 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35239 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35240 say sys/sysctl.h instead.
35241 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35242 and vsyslog prototypes.
35244 2013-02-11 Tom de Vries <tom@codesourcery.com>
35246 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35249 2013-02-11 Roland McGrath <roland@hack.frob.com>
35251 * misc/sys/mman.h: Fix typo in mremap comment.
35253 2013-02-08 Roland McGrath <roland@hack.frob.com>
35255 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35256 the '\0' terminator.
35258 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35261 * debug/segfault.c: Don't include <bp-checks.h>.
35262 * sysdeps/generic/bp-checks.h: Remove file.
35263 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35264 (__GETDENTS): Don't use CHECK_N.
35265 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35266 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35267 (__getgroups): Don't use CHECK_N.
35268 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35269 (setgroups): Don't use CHECK_N.
35270 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35271 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35272 (__libc_msgrcv): Don't use CHECK_N.
35273 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35274 (__libc_msgsnd): Don't use CHECK_N.
35275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35277 (__libc_pread): Don't use CHECK_N.
35278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35279 include <bp-checks.h>.
35280 (__libc_pread64): Don't use CHECK_N.
35281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35282 include <bp-checks.h>.
35283 (__libc_pwrite): Don't use CHECK_N.
35284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35285 include <bp-checks.h>.
35286 (__libc_pwrite64): Don't use CHECK_N.
35287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35289 (__libc_pread): Don't use CHECK_N.
35290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35291 include <bp-checks.h>.
35292 (__libc_pread64): Don't use CHECK_N.
35293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35294 include <bp-checks.h>.
35295 (__libc_pwrite): Don't use CHECK_N.
35296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35297 include <bp-checks.h>.
35298 (__libc_pwrite64): Don't use CHECK_N.
35299 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35300 (do_pread): Don't use CHECK_N.
35301 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35302 (do_pread64): Don't use CHECK_N.
35303 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35304 (do_pwrite): Don't use CHECK_N.
35305 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35306 (do_pwrite64): Don't use CHECK_N.
35307 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35308 (__libc_readv): Don't use CHECK_N.
35309 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35310 (semop): Don't use CHECK_N.
35311 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35313 (semtimedop): Don't use CHECK_N.
35314 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35315 (__libc_pread): Don't use CHECK_N.
35316 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35318 (__libc_pread64): Don't use CHECK_N.
35319 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35321 (__libc_pwrite): Don't use CHECK_N.
35322 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35324 (__libc_pwrite64): Don't use CHECK_N.
35325 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35327 (__libc_msgrcv): Don't use CHECK_N.
35328 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35329 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35330 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35331 (__libc_writev): Don't use CHECK_N.
35333 2013-02-08 Roland McGrath <roland@hack.frob.com>
35335 * string/strcpy.c: Removed unused variable.
35337 * Makeconfig (+sysdep-includes): Define with := rather than =.
35338 Use an existing include/ subdir of each sysdeps dir before it.
35340 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35342 * nscd/connection.c (register_traced_file): Comment function.
35343 [HAVE_INOTIFY] (union __inev): Define.
35344 [HAVE_INOTIFY] (inotify_check_files): New function.
35345 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35346 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35348 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35350 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35352 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35353 loaded if not already and that a failure is permanent.
35355 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35358 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35359 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35361 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35364 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35365 (CHECK_1_NULL_OK): Likewise.
35366 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35367 (__fxstat): Do not use CHECK_1.
35368 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35370 (___fxstat64): Do not use CHECK_1.
35371 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35373 (__fxstatat): Do not use CHECK_1.
35374 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35376 (__fxstatat64): Do not use CHECK_1.
35377 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35379 (__fxstat): Do not use CHECK_1.
35380 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35382 (__fxstatat): Do not use CHECK_1.
35383 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35385 (__getresgid): Do not use CHECK_1.
35386 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35388 (__getresuid): Do not use CHECK_1.
35389 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35391 (__lxstat): Do not use CHECK_1.
35392 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35394 (__old_msgctl): Do not use CHECK_1.
35395 (__new_msgctl): Likewise.
35396 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35398 (__new_setrlimit): Do not use CHECK_1.
35399 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35401 (__old_shmctl): Do not use CHECK_1.
35402 (__new_shmctl): Likewise.
35403 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35405 (__xstat): Do not use CHECK_1.
35406 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35407 (__lxstat): Do not use CHECK_1.
35408 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35410 (___lxstat64): Do not use CHECK_1.
35411 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35412 (__old_msgctl): Do not use CHECK_1.
35413 (__new_msgctl): Likewise.
35414 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35416 (__gettimeofday): Do not use CHECK_1.
35417 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35418 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35419 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35421 (__gettimeofday): Do not use CHECK_1.
35422 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35423 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35424 (__new_shmctl): Do not use CHECK_1.
35425 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35427 (do_sigtimedwait): Do not use CHECK_1.
35428 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35430 (do_sigwaitinfo): Do not use CHECK_1.
35431 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35433 (msgctl): Do not use CHECK_1.
35434 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35436 (shmctl): Do not use CHECK_1.
35437 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35438 (ustat): Do not use CHECK_1.
35439 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35441 (__fxstat): Do not use CHECK_1.
35442 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35444 (__fxstatat): Do not use CHECK_1.
35445 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35447 (__lxstat): Do not use CHECK_1.
35448 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35450 (__xstat): Do not use CHECK_1.
35451 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35452 (__xstat): Do not use CHECK_1.
35453 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35454 (___xstat64): Do not use CHECK_1.
35457 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35459 (CHECK_BOUNDS_HIGH): Likewise.
35460 * string/strcpy.c: Do not include <bp-checks.h>.
35461 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35463 2013-02-07 Roland McGrath <roland@hack.frob.com>
35465 * nscd/nscd-client.h (__nscd_drop_map_ref):
35466 Add __attribute__ ((unused)).
35467 * nis/nss-nisplus.h (niserr2nss): Likewise.
35469 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35470 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35472 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35473 Remove inline keyword.
35474 * include/rounding-mode.h (round_away): Likewise.
35475 * libio/wfileops.c (adjust_wide_data): Likewise.
35476 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35477 (__m128i_strloadu_tolower): Likewise.
35478 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35479 (__m128i_strloadu_tolower): Likewise.
35480 * time/mktime.c (ydhms_diff): Likewise.
35481 * locale/elem-hash.h (elem_hash): Likewise.
35482 * locale/setlocale.c (setdata): Likewise.
35483 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35484 (re_string_wchar_at): Likewise.
35485 (bitset_not, bitset_merge, bitset_mask): Likewise.
35486 [!(__GNUC__ > 3)] (inline): Remove macro.
35487 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35488 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35489 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35490 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35491 * string/memcmp.c (memcmp_bytes): Likewise.
35492 * locale/programs/locarchive.c (compute_hashval): Likewise.
35493 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35494 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35495 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35496 * nss/getent.c (print_rpc, print_protocols): Likewise.
35497 (print_passwd, print_group, print_aliases): Likewise.
35498 * nis/nss-nisplus.h (niserr2nss): Likewise.
35499 * nscd/connections.c (restart_p): Likewise.
35500 Change return type to bool.
35502 2013-02-05 Roland McGrath <roland@hack.frob.com>
35504 * Makeconfig (all-Depend-files): Add existing
35505 $(sorted-subdirs:=/Depend) files.
35506 (all-subdirs): Remove nss.
35507 * sysdeps/unix/inet/Subdirs: Add it here instead.
35508 * hesiod/Depend: New file.
35510 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35511 instead of calling alloca.
35513 * io/lseek.c (__lseek): Rename to __libc_lseek.
35514 Define __lseek as an alias.
35516 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35518 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35520 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35521 else clause and remove check for non-standard endianness.
35523 2013-02-04 David S. Miller <davem@davemloft.net>
35525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35527 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35530 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35531 (__ubp_memchr): Remove prototype.
35532 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35533 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35534 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35535 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35536 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35538 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35539 (__ubp_memchr): Likewise.
35540 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35541 (__ubp_memchr): Likewise.
35542 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35543 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35544 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35545 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35547 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35548 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35549 (__getcwd): Do not use CHECK_STRING.
35550 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35552 (__real_chown): Do not use CHECK_STRING.
35553 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35555 (fchownat): Do not use CHECK_STRING.
35556 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35558 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35560 (__lchown): Do not use CHECK_STRING.
35561 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35562 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35563 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35564 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35566 include <bp-checks.h>.
35567 (truncate64): Do not use CHECK_STRING.
35568 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35570 (__real_chown): Do not use CHECK_STRING.
35571 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35573 (__lchown): Do not use CHECK_STRING.
35574 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35576 (__chown): Do not use CHECK_STRING.
35577 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35579 (truncate64): Do not use CHECK_STRING.
35580 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35582 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35583 (__xmknod): Do not use CHECK_STRING.
35584 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35586 (__xmknodat): Do not use CHECK_STRING.
35587 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35588 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35590 2013-02-04 Andreas Schwab <schwab@suse.de>
35593 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35594 * include/netdb.h: Likewise for h_errno.
35595 * elf/tst-stackguard1.c: Include <tls.h>.
35597 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35599 * elf/link.h (struct link_map): Extend the l_addr comment.
35600 * include/link.h (struct link_map): Likewise.
35602 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35605 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35606 (BOUNDED_1): Remove macro.
35607 * debug/backtrace.c: Don't include <bp-checks.h>.
35608 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35609 (__backtrace): Likewise.
35610 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35612 (__backtrace): Don't use BOUNDED_1.
35613 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35615 (__backtrace): Don't use BOUNDED_1.
35616 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35617 (__backtrace): Don't use BOUNDED_1.
35618 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35619 (shmat): Don't use BOUNDED_N.
35621 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35624 * sysdeps/generic/bp-start.h: Remove file.
35625 * csu/libc-start.c: Don't include <bp-start.h>.
35626 (LIBC_START_MAIN): Set up __environ directly instead of using
35627 INIT_ARGV_and_ENVIRON.
35628 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35632 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35634 (CHECK_FCNTL): Likewise.
35635 (CHECK_N_PAGES): Likewise.
35638 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35640 (CHECK_SIGSET_NULL_OK): Likewise.
35641 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35643 (sigpending): Don't use CHECK_SIGSET.
35644 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35646 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35647 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35649 (do_sigsuspend): Don't use CHECK_SIGSET.
35650 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35652 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35653 (do_sigwait): Don't use CHECK_SIGSET.
35654 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35656 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35657 include <bp-checks.h>.
35658 (sigpending): Don't use CHECK_SIGSET.
35659 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35660 include <bp-checks.h>.
35661 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35662 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35664 (sigpending): Don't use CHECK_SIGSET.
35665 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35667 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35670 * sysdeps/generic/bp-semctl.h: Remove file.
35671 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35672 <bp-checks.h> and <bp-semctl.h>.
35673 (__old_semctl): Don't use CHECK_SEMCTL.
35674 (__new_semctl): Likewise.
35675 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35677 (__old_semctl): Don't use CHECK_SEMCTL.
35678 (__new_semctl): Likewise.
35679 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35680 <bp-checks.h> and <bp-semctl.h>.
35681 (__old_semctl): Don't use CHECK_SEMCTL.
35682 (__new_semctl): Likewise.
35683 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35684 <bp-checks.h> and <bp-semctl.h>.
35685 (semctl): Don't use CHECK_SEMCTL.
35688 * Makerules (elide-bp-thunks): Remove variable.
35689 (elide-routines.oS): Don't use $(elide-bp-thunks).
35690 (elide-routines.os): Likewise.
35691 (elide-routines.o): Likewise.
35692 (elide-routines.op): Likewise.
35693 (elide-routines.og): Likewise.
35694 (objects): Don't use $(bp-thunks).
35695 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35697 (common-generated): Do not add s-proto-bp.d.
35698 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35701 Do not generate makefile rules for bounded-pointer thunks.
35702 * sysdeps/generic/bp-thunks.h: Remove file.
35703 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35704 * sysdeps/unix/s-proto-bp.S: Likewise.
35707 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35708 parts of result separately when argument is not close to line from
35709 -i to i and one part of argument is small.
35710 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35711 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35712 * math/libm-test.inc (cacos_test): Add more tests.
35713 (casin_test): Likewise.
35714 (casinh_test): Likewise.
35715 * sysdeps/i386/fpu/libm-test-ulps: Update.
35716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35718 2013-01-31 David S. Miller <davem@davemloft.net>
35720 * po/de.po: Update from translation team.
35722 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35724 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35726 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35728 * configure.in (_AC_PROG_CC_C89): New definition.
35729 * configure: Regenerate.
35731 * configure.in (AC_PROG_CPP): New definition.
35732 * configure: Regenerate.
35734 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35736 * debug/tst-backtrace.h: New file.
35737 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35738 (ret): Remove variable.
35740 (FAIL): Remove macro.
35741 (NO_INLINE): Likewise.
35742 (fn1): Use match function instead of strstr.
35743 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35744 (ret): Remove variable.
35746 (FAIL): Remove macro.
35747 (NO_INLINE): Likewise.
35748 (fn): Use match function instead of strstr.
35749 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35750 (ret): Remove variable.
35752 (FAIL): Remove macro.
35753 (NO_INLINE): Likewise.
35754 (handle_signal): Use match function instead of strstr.
35755 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35756 (ret): Remove variable.
35758 (FAIL): Remove macro.
35759 (NO_INLINE): Likewise.
35760 (handle_signal): Use match function instead of strstr.
35762 2013-01-23 Roland McGrath <roland@hack.frob.com>
35764 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35766 2013-01-23 David S. Miller <davem@davemloft.net>
35768 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35769 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35770 argument of CAS if possible.
35771 * sysdeps/sparc/sparc64/bits/atomic.h
35772 (__arch_compare_and_exchange_val_32_acq): Likewise.
35773 (__arch_compare_and_exchange_val_64_acq): Likewise.
35775 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35777 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35778 * sysdeps/posix/ulimit.c: ... this.
35779 Include <limits.h>.
35780 * sysdeps/unix/bsd/ulimit.c: Remove file.
35782 2013-01-23 Adam Conrad <adconrad@0c3.net>
35784 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35785 (LDFLAGS-tst-array5): Likewise.
35787 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35790 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35791 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35792 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35793 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35795 2013-01-21 David S. Miller <davem@davemloft.net>
35797 * sysdeps/sparc/backtrace.c: New file.
35798 * sysdeps/sparc/sparc32/backtrace.h: New file.
35799 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35800 * sysdeps/sparc/sparc64/backtrace.h: New file.
35801 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35802 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35805 2013-01-21 Andreas Schwab <schwab@suse.de>
35808 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35811 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35817 2013-01-18 Joseph Myers <joseph@codesourcery.com>
35818 Mark Mitchell <mark@codesourcery.com>
35819 Tom de Vries <tom@codesourcery.com>
35820 Paul Pluzhnikov <ppluzhnikov@google.com>
35822 * debug/tst-backtrace2.c: New file.
35823 * debug/tst-backtrace3.c: Likewise.
35824 * debug/tst-backtrace4.c: Likewise.
35825 * debug/tst-backtrace5.c: Likewise.
35826 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35827 (CFLAGS-tst-backtrace3.c): Likewise.
35828 (CFLAGS-tst-backtrace4.c): Likewise.
35829 (CFLAGS-tst-backtrace5.c): Likewise.
35830 (LDFLAGS-tst-backtrace2): Likewise.
35831 (LDFLAGS-tst-backtrace3): Likewise.
35832 (LDFLAGS-tst-backtrace4): Likewise.
35833 (LDFLAGS-tst-backtrace5): Likewise.
35834 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35835 tst-backtrace4 and tst-backtrace5.
35837 2013-01-18 Anton Blanchard <anton@samba.org>
35838 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35840 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35841 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35842 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35843 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35845 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35846 "+r" and remove output regs list as redundant. Add explicit inline
35847 asm to specify register of return val to work around compiler codegen
35848 bug. Remove (int) cast on return value. Add return type parameter to
35849 use in macro so that this macro does not truncate return value for
35851 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35852 pass to INTERNAL_VSYSCALL_NCS.
35853 (INLINE_VSYSCALL): Add 'long int' as return type to
35854 INTERNAL_VSYSCALL_NCS macro invocation.
35855 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35856 INTERNAL_VSYSCALL_NCS macro invocation.
35857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35859 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35862 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35863 Fix application of SIMD FP exception mask.
35865 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35866 mp_no from a power of two.
35867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35868 __mpexp_twomm1. Use __pow_mp.
35870 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35873 2013-01-17 David S. Miller <davem@davemloft.net>
35875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35877 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35880 * include/complex.h: Condition contents on [!_COMPLEX_H].
35881 (__kernel_casinhf): New prototype.
35882 (__kernel_casinh): Likewise.
35883 (__kernel_casinhl): Likewise.
35884 * math/Makefile (libm_calls): Add k_casinh.
35885 * math/k_casinh.c: New file.
35886 * math/k_casinhf.c: Likewise.
35887 * math/k_casinhl.c: Likewise.
35888 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35889 finite nonzero arguments.
35890 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35891 finite nonzero arguments.
35892 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35893 finite nonzero arguments.
35894 * math/s_casinh.c: Do not include <float.h>.
35895 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35896 * math/s_casinhf.c: Do not include <float.h>.
35897 (__casinhf): Move code for finite nonzero arguments to
35899 * math/s_casinhl.c: Do not include <float.h>.
35900 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35902 (__casinhl): Move code for finite nonzero arguments to
35904 * math/libm-test.inc (cacos_test): Add more tests.
35905 * sysdeps/i386/fpu/libm-test-ulps: Update.
35906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35908 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35910 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35911 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35912 [!HAVE_MREMAP]: Remove [defined linux] case.
35913 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35915 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35917 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35919 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
35921 * elf/elf.h (R_386_SIZE32): New relocation.
35922 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35924 (elf_machine_rela): Likewise.
35925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35926 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35928 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35930 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35931 (FP_FAST_FMA): Do not define.
35932 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35933 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35934 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35935 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35936 !_SOFT_FLOAT]: Likewise.
35937 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35938 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35940 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35941 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35942 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35943 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35944 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35945 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35948 2013-01-16 Andreas Schwab <schwab@suse.de>
35951 * include/stdlib.h (__mktemp): Add declaration.
35952 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35953 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35955 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35957 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35959 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35960 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35961 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35963 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35964 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35966 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35968 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35969 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35970 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35972 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35973 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35975 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35977 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35979 2013-01-15 David S. Miller <davem@davemloft.net>
35981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35982 trunc{,f} to libm-sysdep_routes.
35983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35993 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35994 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35995 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35996 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35997 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35998 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36001 nearbyint{,f} to libm-sysdep_routes.
36002 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36013 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36015 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36016 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36018 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36019 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36020 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36022 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36023 libc_feholdexcept and libc_fesetenv.
36025 2013-01-15 Mike Frysinger <vapier@gentoo.org>
36027 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36029 2013-01-14 David S. Miller <davem@davemloft.net>
36031 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36032 (SPARC_ASM_VIS2_IFUNC): Likewise.
36033 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36035 use of 'siam' instruction.
36036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36069 routines to libm-sysdep_routines.
36070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36073 fdim/fdimf to libm-sysdep_routines.
36074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36082 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36083 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36084 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36085 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36087 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36089 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36090 to optimize copies.
36092 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36097 local variable MPTWO.
36098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36101 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36103 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36106 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36108 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36110 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36112 * manual/pattern.texi (glob_t): Document gl_flags.
36113 (glob64_t): Likewise.
36115 2013-01-11 David S. Miller <davem@davemloft.net>
36117 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36118 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36119 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
36120 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36121 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36122 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36123 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36124 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36125 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36126 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36127 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36128 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36129 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36131 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36132 sparc V9 rather than using V8 code.
36133 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36134 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36136 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36138 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36141 2013-01-11 Roland McGrath <roland@hack.frob.com>
36143 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36144 not in the main loop.
36145 * configure: Regenerated.
36147 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36149 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36150 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36152 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36153 [!__GLIBC_HAVE_LONG_LONG] case.
36154 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36155 condition to just #else.
36156 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36157 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36158 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36159 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36161 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36162 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36163 #elif condition to just #else.
36164 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36165 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36166 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36167 #elif condition to just #else.
36169 2013-01-11 Steve Ellcey <sellcey@mips.com>
36171 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36172 (EF_MIPS_ARCH_64): Fix value.
36173 (EF_MIPS_ARCH_32R2): New.
36174 (EF_MIPS_ARCH_64R2): New.
36176 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36178 * Makeconfig (+link-pie-before-libc): New.
36179 (+link-pie-after-libc): Likewise.
36180 (+link-pie-tests): Likewise.
36181 (+link-pie): Rewritten.
36182 (link-before-libc): Remove $(config-LDFLAGS).
36183 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36184 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36185 (config-LDFLAGS): Renamed to ...
36186 (rtld-LDFLAGS): This.
36187 (rtld-tests-LDFLAGS): New macro.
36188 (link-libc-rpath-link): Likewise.
36189 (link-libc-tests-rpath-link): Likewise.
36190 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36191 (link-libc): Prepand $(link-libc-rpath-link).
36192 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36193 (test-program-prefix): New macro.
36194 (test-via-rtld-prefix): Likewise.
36195 (test-program-cmd): Likewise.
36196 (host-test-program-cmd): Likewise.
36197 * Makefile ($(common-objpfx)testrun.sh): Replace
36198 $(run-program-prefix) with $(test-program-prefix).
36199 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36201 ($(common-objpfx)shlib.lds): Likewise.
36202 (build-module-helper): Likewise.
36203 ($(common-objpfx)format.lds): Likewise.
36204 * Rules (binaries-pie-tests): New.
36205 (binaries-pie-notests): Likewise.
36206 (binaries-pie): Rewritten.
36207 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36208 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36209 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36210 (make-test-out): Replace $(host-built-program-cmd) with
36211 $(host-test-program-cmd).
36212 * config.make.in (build-hardcoded-path-in-tests): New variable.
36213 * configure.in (--enable-hardcoded-path-in-tests): New configure
36215 (hardcoded_path_in_tests): New AC_SUBST.
36216 * configure: Regenerated.
36217 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36218 $(built-program-cmd) with $(test-program-cmd).
36219 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36220 (test_program_cmd): This.
36221 * elf/Makefile ($(objpfx)order.out): Run test with
36222 $(test-program-prefix).
36223 ($(objpfx)order2.out): Likewise.
36224 ($(objpfx)tst-initorder.out): Likewise.
36225 ($(objpfx)tst-initorder2.out): Likewise.
36226 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36227 $(test-program-cmd).
36228 ($(objpfx)tst-array1-static.out): Likewise.
36229 ($(objpfx)tst-array2.out): Likewise.
36230 ($(objpfx)tst-array3.out): Likewise.
36231 ($(objpfx)tst-array4.out): Likewise.
36232 ($(objpfx)tst-array5.out): Likewise.
36233 ($(objpfx)tst-array5-static.out): Likewise.
36234 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36235 $(test-program-cmd).
36236 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36237 $(run-program-prefix) with $(test-program-prefix).
36238 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36239 (test_program_prefix): This.
36240 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36241 $(run-program-prefix) with $(test-program-prefix).
36242 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36243 (test_program_prefix): This.
36244 * iconvdata/tst-tables.sh: Likewise.
36245 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36246 $(run-program-prefix) with $(test-program-prefix).
36247 ($(objpfx)tst-translit.out): Likewise.
36248 ($(objpfx)tst-gettext2.out): Likewise.
36249 ($(objpfx)tst-gettext4.out): Likewise.
36250 ($(objpfx)tst-gettext6.out): Likewise.
36251 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36252 (test_program_prefix): This.
36253 * intl/tst-gettext2.sh: Likewise.
36254 * intl/tst-gettext4.sh Likewise.
36255 * intl/tst-gettext6.sh: Likewise.
36256 * intl/tst-translit.sh: Likewise.
36257 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36258 with $(test-program-cmd).
36259 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36260 $(run-program-prefix) with $(test-program-prefix).
36261 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36262 (test_program_prefix): This.
36263 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36264 $(run-program-prefix) with $(test-program-prefix).
36265 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36266 (test_program_prefix): This.
36267 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36268 * posix/Makefile ($(objpfx)globtest.out): Replace
36269 $(run-via-rtld-prefix) and $(test-wrapper) with
36270 $(test-program-prefix) and $(test-via-rtld-prefix).
36271 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36272 $(test-program-prefix).
36273 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36274 $(host-test-program-cmd).
36275 (tst-spawn-ARGS): Likewise.
36276 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36277 $(test-program-prefix).
36278 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36279 (test_via_rtld_prefix): This.
36280 (test_wrapper): Renamed to ...
36281 (test_program_prefix): This.
36282 (run_program_prefix): Replaced by test_program_prefix.
36283 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36284 (test_program_prefix): This.
36285 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36286 with $(host-test-program-cmd).
36287 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36288 $(run-program-prefix) with $(test-program-prefix).
36289 ($(objpfx)tst-printf.out): Likewise.
36290 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36291 $(test-program-cmd).
36292 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36293 (test_program_prefix): This.
36294 * stdio-common/tst-unbputc.sh: Likewise.
36295 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36296 $(run-program-prefix) with $(test-program-prefix).
36297 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36298 (test_program_prefix): This.
36299 * string/Makefile ($(objpfx)tst-svc.out): Replace
36300 $(built-program-cmd) with $(test-program-cmd).
36302 2013-01-11 Andreas Jaeger <aj@suse.de>
36305 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36306 value. Sync with Linux 3.7.
36308 2013-01-10 David S. Miller <davem@davemloft.net>
36310 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36311 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36312 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36314 2013-01-10 Roland McGrath <roland@hack.frob.com>
36316 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36318 * configure: Regenerated.
36320 2013-01-10 David S. Miller <davem@davemloft.net>
36322 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36323 sparc V9 rather than using V8 code.
36324 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36325 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36327 2013-01-10 Roland McGrath <roland@hack.frob.com>
36329 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36330 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36331 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36332 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36333 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36334 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36335 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36336 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36337 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36338 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36339 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36340 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36341 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36342 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36343 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36344 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36345 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36346 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36347 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36348 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36349 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36350 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36351 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36352 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36353 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36354 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36355 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36357 2013-01-10 David S. Miller <davem@davemloft.net>
36359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36361 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36363 * posix/Makefile (tests-static): New variable.
36364 (tests): Add $(tests-static).
36365 (tst-exec-static-ARGS): New variable.
36366 (tst-spawn-static-ARGS): Likewise.
36367 * posix/tst-exec-static.c: New file.
36368 * posix/tst-spawn-static.c: Likewise.
36369 * posix/tst-exec.c: Support run directly.
36370 * posix/tst-spawn.c: Likewise.
36372 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36374 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36376 * math/bits/mathcalls.h (llrint): Likewise.
36377 (llround): Likewise.
36378 * stdlib/stdlib.h (struct drand48_data): Likewise.
36379 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36380 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36381 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36383 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36385 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36386 (elf_greg_t): Likewise.
36387 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36388 (__jmp_buf): Likewise.
36389 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36391 (llrint): Likewise, for all definitions.
36392 (llrintl): Likewise.
36394 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36395 Remove [__GNUC__] condition.
36396 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36397 condition to just [__USE_ISOC99].
36398 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36400 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36403 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36404 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36406 (_POSIX_V6_ILP32_OFF32): Likewise.
36407 (_XBS5_ILP32_OFF32): Likewise.
36408 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36409 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36411 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36413 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36415 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36416 doubles __mpexp_twomm1. Adjust usage.
36417 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36420 2013-01-10 Andreas Schwab <schwab@suse.de>
36423 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36424 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36426 2013-01-09 David S. Miller <davem@davemloft.net>
36429 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36430 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36431 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36432 (TCP_FASTOPEN): Define.
36433 (tcp_repair_opt): New structure.
36434 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36436 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36437 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36438 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36439 (tcp_cookie_transactions): New structure.
36441 2013-01-09 Anton Blanchard <anton@samba.org>
36443 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36444 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36445 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36446 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36448 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36450 * include/features.h (__USE_ANSI): Remove.
36452 2013-01-09 Roland McGrath <roland@hack.frob.com>
36454 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36456 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36458 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36460 * sysdeps/s390/fpu/libm-test-ulps: Update.
36462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36464 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36468 (denorm): Likewise.
36469 (__mp_dbl): Likewise.
36470 (__dbl_mp): Likewise.
36471 (add_magnitudes): Likewise.
36472 (sub_magnitudes): Likewise.
36478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36482 (denorm): Likewise.
36483 (__mp_dbl): Likewise.
36484 (__dbl_mp): Likewise.
36485 (add_magnitudes): Likewise.
36486 (sub_magnitudes): Likewise.
36492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36496 (denorm): Likewise.
36497 (__mp_dbl): Likewise.
36498 (__dbl_mp): Likewise.
36499 (add_magnitudes): Likewise.
36500 (sub_magnitudes): Likewise.
36507 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36509 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36510 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36511 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36512 2 && __USE_EXTERN_INLINES]: Likewise.
36514 2013-01-08 Andreas Jaeger <aj@suse.de>
36517 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36519 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36520 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36522 2013-01-07 Anton Blanchard <anton@samba.org>
36524 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36525 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36526 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36527 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36528 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36529 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36530 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36531 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36533 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36534 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36535 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36536 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36537 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36538 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36539 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36540 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36541 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36542 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36543 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36544 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36545 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36547 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36548 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36549 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36550 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36551 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36552 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36553 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36554 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36556 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36557 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36558 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36559 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36560 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36561 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36562 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36563 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36564 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36565 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36566 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36568 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36570 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36571 (__MALLOC_PMT): Likewise.
36572 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36573 [__GNUC__], only on [_LIBC].
36574 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36575 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36576 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36577 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36578 forward declaration.
36579 (realloc_hook_ini): Likewise.
36580 (memalign_hook_ini): Likewise.
36581 (__libc_memalign): Do not use __MALLOC_PMT in variable
36583 (__libc_valloc): Likewise.
36584 (__libc_pvalloc): Likewise.
36585 (__libc_calloc): Likewise.
36586 (__posix_memalign): Likewise.
36589 * math/s_casinh.c: Include <float.h>.
36590 (__casinh): Do not do computation with squaring and square root
36591 for large arguments.
36592 * math/s_casinhf.c: Include <float.h>.
36593 (__casinhf): Do not do computation with squaring and square root
36594 for large arguments.
36595 * math/s_casinhl.c: Include <float.h>.
36596 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36597 (__casinhl): Do not do computation with squaring and square root
36598 for large arguments.
36599 * math/libm-test.inc (casin_test): Add more tests.
36600 (casinh_test): Likewise.
36601 * sysdeps/i386/fpu/libm-test-ulps: Update.
36602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36604 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36606 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36607 (__x86_64_raw_data_cache_size): Likewise.
36608 (__x86_64_data_cache_size_half): Likewise.
36609 (__x86_64_raw_data_cache_size_half): Likewise.
36610 (__x86_64_shared_cache_size): Likewise.
36611 (__x86_64_raw_shared_cache_size): Likewise.
36612 (__x86_64_shared_cache_size_half): Likewise.
36613 (__x86_64_raw_shared_cache_size_half): Likewise.
36614 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36616 (__x86_data_cache_size): This.
36617 (__x86_64_raw_data_cache_size): Renamed to ...
36618 (__x86_raw_data_cache_size): This.
36619 (__x86_64_data_cache_size_half): Renamed to ...
36620 (__x86_data_cache_size_half): This.
36621 (__x86_64_raw_data_cache_size_half): Renamed to ...
36622 (__x86_raw_data_cache_size_half): This.
36623 (__x86_64_shared_cache_size): Renamed to ...
36624 (__x86_shared_cache_size): This.
36625 (__x86_64_raw_shared_cache_size): Renamed to ...
36626 (__x86_raw_shared_cache_size): This.
36627 (__x86_64_shared_cache_size_half): Renamed to ...
36628 (__x86_shared_cache_size_half): This.
36629 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36630 (__x86_raw_shared_cache_size_half): This.
36631 * sysdeps/x86_64/memcpy.S: Updated.
36632 * sysdeps/x86_64/memset.S: Likewise.
36633 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36635 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36637 2013-01-04 David S. Miller <davem@davemloft.net>
36639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36641 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36643 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36644 1 to avoid redefinition warning.
36645 (__USE_GNU): Don't define.
36646 (init_signaling_nan): Protoize.
36648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36650 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36652 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36654 (__cpymn): Likewise.
36655 (norm): Remove commented code.
36656 (denorm): Likewise.
36657 (__mp_dbl): Likewise.
36659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36660 (__cpymn): Likewise.
36661 (norm): Remove commented code.
36662 (denorm): Likewise.
36663 (__mp_dbl): Likewise.
36666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36667 mp_no value for 1.0 and 2.0.
36668 (norm): Use RADIXI instead of radixi.d.
36669 (denorm): Likewise.
36670 (__mul): Use 0.0 instead of zero.d.
36671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36672 mp_no value for 1.0 and 2.0.
36673 (norm): Use RADIXI instead of radixi.d.
36674 (denorm): Likewise.
36675 (__mul): Use 0.0 instead of zero.d.
36677 2013-01-04 Joseph Myers <joseph@codesourcery.com>
36680 * math/s_casinh.c (__casinh): Reduce finite argument to first
36681 quadrant then set signs of results at the end.
36682 * math/s_casinhf.c (__casinhf): Likewise.
36683 * math/s_casinhl.c (__casinhl): Likewise.
36684 * math/libm-test.inc (casin_test): Add more tests.
36685 (casinh_test): Likewise.
36686 * sysdeps/i386/fpu/libm-test-ulps: Update.
36687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36689 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36691 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36693 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36695 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36697 (denorm): Likewise.
36698 (__mp_dbl): Likewise.
36701 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36702 and adjust the header comment.
36704 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36705 variable name from declaration.
36707 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36710 Initialize COMMON_CPUID_INDEX_7 element.
36711 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36712 (CPUID_RTM): Likewise.
36713 (HAS_RTM): Likewise.
36714 (COMMON_CPUID_INDEX_7): New enum.
36716 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36719 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36720 size is zero, record memory as freed.
36722 2013-01-03 Andreas Jaeger <aj@suse.de>
36724 * po/ia.po: Add new Interlingua translation.
36726 2012-01-03 Allan McRae <allan@archlinux.org>
36728 * locale/programs/localedef.c: Fix description of '--posix' flag.
36730 2013-01-02 Joseph Myers <joseph@codesourcery.com>
36732 * NEWS: Update dates in second copyright notice.
36733 * README: Update copyright dates in example.
36734 * manual/libc.texinfo: Update copyright dates.
36735 * scripts/test-installation.pl: Update copyright date in --version
36738 * hurd/ctty-input.c: Fix copyright notice formatting.
36739 * hurd/ctty-output.c: Likewise.
36740 * hurd/dtable.c: Likewise.
36741 * hurd/hurd-raise.c: Likewise.
36742 * hurd/hurdprio.c: Likewise.
36743 * hurd/msgportdemux.c: Likewise.
36744 * misc/sys/file.h: Likewise.
36745 * misc/sys/ioctl.h: Likewise.
36746 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36747 * sysdeps/mach/hurd/chdir.c: Likewise.
36748 * sysdeps/mach/hurd/fchdir.c: Likewise.
36749 * sysdeps/mach/hurd/rename.c: Likewise.
36750 * sysdeps/mach/hurd/rmdir.c: Likewise.
36751 * sysdeps/mach/hurd/seekdir.c: Likewise.
36752 * sysdeps/mach/hurd/setsid.c: Likewise.
36753 * sysdeps/posix/wait3.c: Likewise.
36755 * All files with FSF copyright notices: Update copyright dates
36756 using scripts/update-copyrights.
36757 * intl/plural.c: Regenerated.
36758 * locale/programs/charmap-kw.h: Likewise.
36759 * locale/programs/locfile-kw.h: Likewise.
36761 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36763 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36766 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36767 calculation loop and add branch prediction.
36769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36770 check access beyond bounds of m1np.
36772 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36774 (__inv): Remove local variable MPTWO to use the global
36776 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36777 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36779 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36780 MP3HALFS static const.
36782 2013-01-01 David S. Miller <davem@davemloft.net>
36784 * po/ca.po: Update from translation team.
36786 2013-01-01 Joseph Myers <joseph@codesourcery.com>
36788 * scripts/update-copyrights: New file.
36789 * Makeconfig: Reformat copyright notice.
36790 * ctype/ctype.h: Likewise.
36791 * debug/swprintf_chk.c: Likewise.
36792 * elf/dl-cache.c: Likewise.
36793 * elf/dl-debug.c: Likewise.
36794 * elf/dl-object.c: Likewise.
36795 * grp/initgroups.c: Likewise.
36796 * hurd/Makefile: Likewise.
36797 * hurd/hurd/signal.h: Likewise.
36798 * hurd/hurdfault.c: Likewise.
36799 * hurd/hurdioctl.c: Likewise.
36800 * hurd/hurdlookup.c: Likewise.
36801 * hurd/intr-msg.c: Likewise.
36802 * iconv/gconv_open.c: Likewise.
36803 * libio/swprintf.c: Likewise.
36804 * locale/lc-ctype.c: Likewise.
36805 * locale/nl_langinfo.c: Likewise.
36806 * mach/Machrules: Likewise.
36807 * mach/Makefile: Likewise.
36808 * malloc/obstack.h: Likewise.
36809 * manual/Makefile: Likewise.
36810 * manual/tsort.awk: Likewise.
36811 * misc/bits/stab.def: Likewise.
36812 * nis/nis_print_group_entry.c: Likewise.
36813 * nis/nis_table.c: Likewise.
36814 * nis/nss_compat/compat-pwd.c: Likewise.
36815 * nis/nss_compat/compat-spwd.c: Likewise.
36816 * po/Makefile: Likewise.
36817 * posix/fnmatch.c: Likewise.
36818 * posix/regex.h: Likewise.
36819 * resolv/Makefile: Likewise.
36820 * resolv/nss_dns/dns-network.c: Likewise.
36821 * resolv/res_hconf.c: Likewise.
36822 * scripts/gen-sorted.awk: Likewise.
36823 * soft-fp/soft-fp.h: Likewise.
36824 * stdio-common/printf.h: Likewise.
36825 * stdlib/monetary.h: Likewise.
36826 * stdlib/random.c: Likewise.
36827 * stdlib/random_r.c: Likewise.
36828 * sysdeps/generic/Makefile: Likewise.
36829 * sysdeps/gnu/Makefile: Likewise.
36830 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36832 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36834 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36837 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36838 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36839 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36840 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36841 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36842 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36843 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36844 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36845 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36846 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36847 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36848 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36849 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36850 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36851 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36852 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36853 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36854 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36855 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36856 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36857 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36858 * sysdeps/mach/hurd/errnos.awk: Likewise.
36859 * sysdeps/mach/hurd/fork.c: Likewise.
36860 * sysdeps/mach/hurd/getcwd.c: Likewise.
36861 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36862 * sysdeps/mach/hurd/mmap.c: Likewise.
36863 * sysdeps/mach/hurd/utimes.c: Likewise.
36864 * sysdeps/mach/hurd/xmknod.c: Likewise.
36865 * sysdeps/posix/profil.c: Likewise.
36866 * sysdeps/posix/readdir_r.c: Likewise.
36867 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36868 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36869 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36870 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36872 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36873 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36874 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36876 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36877 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36878 * sysdeps/pthread/lio_listio.c: Likewise.
36879 * sysdeps/sparc/dl-procinfo.h: Likewise.
36880 * sysdeps/unix/i386/sysdep.S: Likewise.
36881 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36882 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36883 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36884 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36886 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36887 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36888 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36889 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36890 * sysdeps/wordsize-32/divdi3.c: Likewise.
36891 * time/sys/time.h: Likewise.
36892 * wcsmbs/Makefile: Likewise.
36894 2013-01-01 David S. Miller <davem@davemloft.net>
36896 * po/fr.po: Update from translation team.
36898 * catgets/gencat.c: Update copyright year.
36899 * csu/version.c: Likewise.
36900 * debug/catchsegv.sh: Likewise.
36901 * debug/pcprofiledump.c: Likewise.
36902 * debug/xtrace.sh: Likewise.
36903 * elf/ldconfig.c: Likewise.
36904 * elf/ldd.bash.in: Likewise.
36905 * elf/pldd.c: Likewise.
36906 * elf/sotruss.ksh: Likewise.
36907 * elf/sprof.c: Likewise.
36908 * iconv/iconv_prog.c: Likewise.
36909 * iconv/iconvconfig.c: Likewise.
36910 * locale/programs/locale.c: Likewise.
36911 * locale/programs/localedef.c: Likewise.
36912 * login/programs/pt_chown.c: Likewise.
36913 * malloc/memusage.sh: Likewise.
36914 * malloc/memusagestat.c: Likewise.
36915 * malloc/mtrace.pl: Likewise.
36916 * nscd/nscd.c: Likewise.
36917 * nss/getent.c: Likewise.
36918 * nss/makedb.c: Likewise.
36919 * posix/getconf.c: Likewise.
36921 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36923 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36926 2012-12-30 Mike Frysinger <vapier@gentoo.org>
36928 * math/bits/mathcalls.h (modf): Use __nonnull.
36930 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36932 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36933 (split): Use macro CN instead of the bare value.
36934 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36936 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36937 instead of the bare value.
36938 (power1): Likewise.
36940 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36942 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36944 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36946 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36948 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36949 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36950 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36951 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36953 2012-12-28 Andreas Jaeger <aj@suse.de>
36955 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36956 values are from Linux 3.7.
36958 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36959 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36961 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36963 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36966 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36968 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36969 variables with preprocessor constants.
36970 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36971 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36972 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36974 2012-12-27 Bruno Haible <bruno@clisp.org>
36977 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36980 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36982 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36983 and use variable directly.
36984 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36986 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36988 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36989 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36991 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36992 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36993 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36994 include directive. Remove local variable MPONE.
36995 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36996 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36997 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36999 2012-12-25 David S. Miller <davem@davemloft.net>
37001 * version.h (RELEASE): Set to "development".
37002 (VERSION): Set to "2.17.90".
37003 * NEWS: Add 2.18 section.
37005 2012-12-21 David S. Miller <davem@davemloft.net>
37007 * po/hr.po: Update from translation team.
37009 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37011 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37013 2012-12-19 Steve Ellcey <sellcey@mips.com>
37015 * NEWS: Mention new memcpy for MIPS.
37017 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37019 * manual/contrib.texi (Contributors): Spelling correction.
37021 2012-12-15 David S. Miller <davem@davemloft.net>
37023 * po/ru.po: Update from translation team.
37025 2012-12-13 David S. Miller <davem@davemloft.net>
37027 * NEWS: Mention IFUNC testsuite enhancements.
37029 * po/pl.po: Update from translation team.
37030 * po/bg.po: Likewise.
37032 * manual/contrib.texi (Contributors): Update entries for Hongjiu
37033 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
37035 2012-12-11 David S. Miller <davem@davemloft.net>
37037 * po/sv.po: Update from translation team.
37039 * po/vi.po: Update from translation team.
37041 * po/cs.po: Update from translation team.
37043 * po/de.po: Update from translation team.
37044 * po/eo.po: Likewise.
37045 * po/nl.po: Likewise.
37047 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37050 * manual/argp.texi (Argp Helper Functions): Move node to follow
37051 Argp Parsing State.
37054 * manual/conf.texi (Limits on File System Capacity): Mention if
37055 terminating null is included in the max size.
37057 2012-12-10 Andreas Jaeger <aj@suse.de>
37059 * po/cs.po: Update from translation team.
37061 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37063 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37064 void pointer and cast to uintptr_t.
37065 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37067 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37068 * sysdeps/s390/s390-64/memset.S: Likewise.
37070 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37073 * menual/message.texi (Message Translation): Fix typos.
37074 (Helper programs for gettext): Likewise.
37076 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37079 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37082 2012-12-07 David S. Miller <davem@davemloft.net>
37084 * po/libc.pot: Update.
37086 2012-12-07 Richard Henderson <rth@redhat.com>
37089 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37090 normal/normal case to before the switch.
37091 (_FP_DIV): Likewise.
37093 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37094 Mike Frysinger <vapier@gentoo.org>
37096 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37097 check for __NR_fadvise64_64.
37099 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37101 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37102 0, not just to plain "0" as a statement.
37103 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37106 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37108 * NEWS: Use sourceware.org in Bugzilla URL.
37110 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37113 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37115 * stdio-common/tst-put-error.c (do_test): Add newline to the
37116 padded test to ensure flush.
37118 2012-12-05 Jeff Law <law@redhat.com>
37120 * sunrpc/etc.rpc (fedfs_admin): Add entry.
37122 2012-12-05 Joseph Myers <joseph@codesourcery.com>
37124 * README: Don't refer to ports add-on as distributed separately.
37125 Mention AArch64 in list of systems supported in the ports add-on.
37127 * LICENSES: Add more non-FSF copyright and license notices.
37129 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37132 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37134 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37135 10000 as width of padded output.
37137 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37139 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37141 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37142 variable LX with __attribute__ ((unused)).
37143 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37145 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37147 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37148 with __attribute__ ((unused)).
37150 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37152 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37154 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37156 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37157 (CFLAGS-nldbl-acos.c): New variable.
37158 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37159 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37160 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37161 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37162 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37163 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37164 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37165 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37166 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37167 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37168 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37169 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37170 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37171 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37172 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37173 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37174 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37175 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37176 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37177 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37178 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37179 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37180 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37181 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37182 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37183 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37184 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37185 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37186 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37187 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37188 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37189 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37190 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37191 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37192 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37193 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37194 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37195 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37196 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37197 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37198 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37199 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37200 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37201 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37202 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37203 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37204 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37205 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37206 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37207 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37208 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37209 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37210 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37211 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37212 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37213 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37214 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37215 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37216 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37217 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37218 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37219 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37220 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37221 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37222 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37223 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37224 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37225 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37226 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37227 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37228 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37229 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37230 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37231 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37232 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37233 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37234 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37235 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37236 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37237 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37238 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37239 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37240 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37241 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37242 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37243 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37244 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37245 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37246 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37247 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37248 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37249 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37250 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37251 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37252 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37253 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37254 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37257 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37261 whole low double instead of just low 47 bits when splitting values
37264 2012-12-03 Allan McRae <allan@archlinux.org>
37266 * manual/stdio.texi (Predefined Printf Handlers): Remove
37267 @hsep and @vsep usage.
37269 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37271 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37272 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37274 2012-12-03 Jeff Law <law@redhat.com>
37276 * time/sys/time.h (settimeofday): Do not mark TV argument
37279 2012-12-01 Mike Frysinger <vapier@gentoo.org>
37281 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37282 when currently writing and seek to current position when not.
37283 * libio/Makefile (tests): Remove bug-fclose1.
37284 * libio/bug-fclose1.c: Delete.
37286 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37288 * manual/arith.texi (feenableexcept): Fix typo.
37289 (fedisableexcept): Likewise.
37291 2012-11-30 Roland McGrath <roland@hack.frob.com>
37293 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37294 second, differently-typed declaration, rather than a cast.
37296 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37298 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37299 * include/rpc/svc.h: ... here.
37301 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37304 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37305 depending n and resplen2 to catch cases where answer
37308 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37310 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37311 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37313 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37315 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37317 2012-11-29 Roland McGrath <roland@hack.frob.com>
37319 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37321 2012-11-28 Jeff Law <law@redhat.com>
37324 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37325 dataset_temporary. Track alloca usage into alloca_used.
37326 If dataset is large allocate and release it via malloc/free.
37328 2012-06-04 Florian Weimer <fweimer@redhat.com>
37331 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37333 2012-11-28 David S. Miller <davem@davemloft.net>
37335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37337 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37340 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37341 of pi/2 rounded to nearest to 64 bits.
37342 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37343 nearest to 64 bits.
37344 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37347 2012-11-28 Jeff Law <law@redhat.com>
37348 Martin Osvald <mosvald@redhat.com>
37351 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37352 * sunrpc/svc.c: Include time.h.
37353 (__svc_accept_failed): New function.
37354 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37355 any reason other than EINTR, call __svc_accept_failed.
37356 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37357 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37359 2012-11-28 Andreas Schwab <schwab@suse.de>
37361 * scripts/abilist.awk: Also handle indirect functions in .opd
37364 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37367 * sysdeps/x86/fpu/powl_helper.c: New file.
37368 * sysdeps/x86/fpu/Makefile: Likewise.
37369 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37371 (__ieee754_powl): Use __powl_helper for finite arguments except
37372 integer exponents below 8.
37373 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37375 (__ieee754_powl): Use __powl_helper for finite arguments except
37376 integer exponents below 8.
37377 * math/libm-test.inc (pow_test): Add more tests and enable some
37378 previously disabled tests.
37379 * sysdeps/i386/fpu/libm-test-ulps: Update.
37380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37382 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37383 Carlos O'Donell <carlos_odonell@mentor.com>
37385 * nss/makedb.c (is_prime): Assert that input is odd and greater
37386 than 4. Note that fact in a comment too.
37387 (next_prime): Add 4 to input.
37389 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37392 * libio/Makefile (tests): Add test case tst-fwrite-error.
37393 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37394 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37395 * libio/tst-fwrite-error.c: New test case.
37397 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37399 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37400 before casting to void *.
37401 * include/libc-internal.h (__pointer_type): New macro.
37402 (__integer_if_pointer_type_sub): Likewise.
37403 (__integer_if_pointer_type): Likewise.
37404 (cast_to_integer): Likewise.
37405 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37406 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37407 before casting to atomic64_t.
37408 (atomic_exchange_acq): Likewise.
37409 (__arch_exchange_and_add_body): Likewise.
37410 (__arch_add_body): Likewise.
37411 (atomic_add_negative): Likewise.
37412 (atomic_add_zero): Likewise.
37414 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37416 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37417 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37418 (add_fdes): Likewise.
37419 (linear_search_fdes): Likewise.
37420 (binary_search_unencoded_fdes): Likewise.
37422 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37424 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37426 2012-11-24 Adam Conrad <adconrad@0c3.net>
37428 * configure.in: Autodetect C++ header directories.
37429 * configure: Regenerated.
37431 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37433 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37435 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37439 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37441 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37442 LDBL_MANT_DIG == 106]: Disable some tests.
37443 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37445 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37449 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37450 input for small inputs. Return +/- pi/2 for large inputs.
37451 * math/libm-test.inc (atan_test): Add more tests.
37453 * sysdeps/generic/unwind-dw2-fde-glibc.c
37454 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37455 __attribute__ ((unused)).
37458 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37459 x * y if x and y are nonzero and z is zero.
37462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37463 nonzero exponents with absolute value below 0x1p-117 to +/-
37467 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37468 up arguments below 2**-450, not just those below 2**-500.
37469 * math/libm-test.inc (hypot_test): Add another test.
37472 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37473 Return a+b for ratio over 2**120, not 2**60.
37474 * math/libm-test.inc (hypot_test): Add another test.
37476 * math/libm-test.inc (clog_test): Use
37477 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37478 (clog10_test): Likewise.
37481 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37483 2012-11-22 Andreas Schwab <schwab@suse.de>
37485 * sysdeps/i386/fpu/libm-test-ulps: Update.
37487 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37489 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37490 printf output with newline.
37492 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37495 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37496 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37497 -z nodlopen, -z initfirst and -z execstack support.
37498 * configure: Regenerated.
37500 * elf/elf.h (DF_1_NODIRECT): New macro.
37501 (DF_1_IGNMULDEF): Likewise.
37502 (DF_1_NOKSYMS): Likewise.
37503 (DF_1_NOHDR): Likewise.
37504 (DF_1_EDITED): Likewise.
37505 (DF_1_NORELOC): Likewise.
37506 (DF_1_SYMINTPOSE): Likewise.
37507 (DF_1_GLOBAUDIT): Likewise.
37508 (DF_1_SINGLETON): Likewise.
37509 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37510 DT_1_SUPPORTED_MASK bits.
37511 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37513 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37515 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37517 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37519 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37522 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37523 (sendmmsg): Move declarations...
37524 * socket/sys/socket.h: ... here.
37525 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37526 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37528 * socket/recvmmsg.c: ... this new file.
37529 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37530 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37531 definition of __sendmmsg hidden.
37532 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37533 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37534 Move ENOSYS stub into and include it from...
37535 * socket/sendmmsg.c: ... this new file.
37536 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37537 (sysdep_routines): Move recvmmsg and sendmmsg...
37538 * socket/Makefile (routines): ... here.
37539 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37540 (GLIBC_PRIVATE): Add __sendmmsg.
37541 * include/sys/socket.h (__sendmmsg): Add declarations.
37542 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37545 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37547 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37548 variable I1 with __attribute__ ((unused)).
37549 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37551 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37553 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37554 DUMMY variables with __attribute__ ((unused)).
37556 * bits/byteswap.h: Include <bits/types.h>.
37557 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37559 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37561 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37562 string_t. Do not manually set errno.
37563 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37564 length with __strnlen. Make sure to both set errno and return it on
37567 2012-11-19 David S. Miller <davem@davemloft.net>
37569 With help from Joseph Myers.
37570 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37571 very large arguments properly.
37572 * math/libm-test.inc (atan_test): New tests.
37573 (atan2_test): New tests.
37574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37577 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37580 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37583 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37584 [POSIX] (EADDRNOTAVAIL): Likewise.
37585 [POSIX] (EAFNOSUPPORT): Likewise.
37586 [POSIX] (EALREADY): Likewise.
37587 [POSIX] (ECONNABORTED): Likewise.
37588 [POSIX] (ECONNREFUSED): Likewise.
37589 [POSIX] (ECONNRESET): Likewise.
37590 [POSIX] (EDESTADDRREQ): Likewise.
37591 [POSIX] (EDQUOT): Likewise.
37592 [POSIX] (EHOSTUNREACH): Likewise.
37593 [POSIX] (EIDRM): Likewise.
37594 [POSIX] (EISCONN): Likewise.
37595 [POSIX] (ELOOP): Likewise.
37596 [POSIX] (EMULTIHOP): Likewise.
37597 [POSIX] (ENETDOWN): Likewise.
37598 [POSIX] (ENETUNREACH): Likewise.
37599 [POSIX] (ENOBUFS): Likewise.
37600 [POSIX] (ENODATA): Likewise.
37601 [POSIX] (ENOLINK): Likewise.
37602 [POSIX] (ENOMSG): Likewise.
37603 [POSIX] (ENOPROTOOPT): Likewise.
37604 [POSIX] (ENOSR): Likewise.
37605 [POSIX] (ENOSTR): Likewise.
37606 [POSIX] (ENOTCONN): Likewise.
37607 [POSIX] (ENOTSOCK): Likewise.
37608 [POSIX] (EOPNOTSUPP): Likewise.
37609 [POSIX] (EOVERFLOW): Likewise.
37610 [POSIX] (EPROTO): Likewise.
37611 [POSIX] (EPROTONOSUPPORT): Likewise.
37612 [POSIX] (EPROTOTYPE): Likewise.
37613 [POSIX] (ESTALE): Likewise.
37614 [POSIX] (ETIME): Likewise.
37615 [POSIX] (ETXTBSY): Likewise.
37616 [POSIX] (EWOULDBLOCK): Likewise.
37617 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37618 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37619 [POSIX] (SEEK_CUR): Likewise.
37620 [POSIX] (SEEK_END): Likewise.
37621 [POSIX || UNIX98] (mode_t): Do not require.
37622 [POSIX] (off_t): Likewise.
37623 [POSIX] (pid_t): Likewise.
37624 [POSIX] (sys/stat.h): Do not allow header.
37625 [POSIX] (unistd.h): Likewise.
37626 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37627 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37628 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37629 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37631 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37632 sigevent): Specify elements.
37633 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37635 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37636 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37638 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37639 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37640 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37641 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37642 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37643 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37644 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37645 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37646 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37647 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37648 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37649 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37650 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37651 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37653 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37655 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37657 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37659 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37660 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37661 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37662 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37663 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37664 Specify lower bound on value.
37665 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37666 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37667 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37668 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37669 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37670 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37671 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37672 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37674 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37676 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37677 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37678 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37679 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37680 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37681 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37682 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37683 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37684 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37685 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37686 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37687 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37688 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37689 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37690 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37691 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37693 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37695 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37696 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37697 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37698 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37699 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37700 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37702 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37703 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37704 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37705 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37706 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37707 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37708 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37710 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37711 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37712 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37713 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37714 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37715 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37716 specify as optional.
37717 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37718 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37719 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37720 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37721 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37722 [XPG3] (NL_LANGMAX): Likewise.
37723 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37724 [POSIX || XPG3] (NL_NMAX): Likewise.
37725 [POSIX || XPG3] (NL_SETMAX): Likewise.
37726 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37727 [XPG3] (NZERO): Likewise.
37728 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37729 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37730 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37731 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37732 (REG_ERANGE): Expect.
37733 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37735 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37736 Use (void) in prototype.
37737 [POSIX] (*_t): Allow.
37738 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37739 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37740 (WRDE_BADVAL): Expect.
37742 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37744 [XPG3 || XPG4] (O_RSYNC): Likewise.
37745 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37747 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37748 [XPG3 || XPG4] (sigqueue): Likewise.
37749 [XPG3 || XPG4] (sigtimedwait): Likewise.
37750 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37751 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37752 [XPG3 || XPG4] (vsnprintf): Likewise.
37753 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37755 [XPG3 || XPG4] (blksize_t): Likewise.
37756 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37758 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37759 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37760 [XPG3 || XPG4] (struct itimerspec): Likewise.
37761 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37762 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37763 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37764 [XPG3 || XPG4] (clockid_t): Likewise.
37765 [XPG3 || XPG4] (timer_t): Likewise.
37766 [XPG3 || XPG4] (clock_getres): Likewise.
37767 [XPG3 || XPG4] (clock_gettime): Likewise.
37768 [XPG3 || XPG4] (clock_settime): Likewise.
37769 [XPG3 || XPG4] (nanosleep): Likewise.
37770 [XPG3 || XPG4] (timer_create): Likewise.
37771 [XPG3 || XPG4] (timer_delete): Likewise.
37772 [XPG3 || XPG4] (timer_gettime): Likewise.
37773 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37774 [XPG3 || XPG4] (timer_settime): Likewise.
37775 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37776 [XPG3 || XPG4] (getlogin_r): Likewise.
37777 [XPG3 || XPG4] (pread): Likewise.
37778 [XPG3 || XPG4] (pthread_atfork): Likewise.
37779 [XPG3 || XPG4] (pwrite): Likewise.
37782 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37785 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37787 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37788 finalizing MALLSTREAM.
37790 * sysdeps/mach/hurd/syncfs.c: New file.
37792 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37795 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37796 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37797 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37798 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37799 (_nss_dns_gethostbyname4_r): Likewise.
37800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37801 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37803 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37806 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37808 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37810 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37811 * elf/cache.c (print_entry): Print ",AArch64" for
37814 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37815 * elf/cache.c (print_entry): Print ",hard-float" for
37818 2012-11-18 David S. Miller <davem@davemloft.net>
37820 With help from Joseph Myers.
37821 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37823 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37825 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37826 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37828 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37829 * math/libm-test.inc (y0_test): New tests.
37830 (y1_test): New tests.
37831 * sysdeps/i386/fpu/libm-test-ulps: Update.
37832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37835 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37837 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37839 * configure: Regenerated.
37841 2012-11-17 David S. Miller <davem@davemloft.net>
37844 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37845 nonzero exponents with absolute value below 0x1p-128 to +/-
37848 2012-11-17 Joseph Myers <joseph@codesourcery.com>
37850 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37852 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37854 * posix/getconf-speclist.c: New file.
37855 * posix/posix-envs.def: Likewise.
37856 * posix/confstr.c (START_ENV_GROUP): New macro.
37857 (END_ENV_GROUP): Likewise.
37858 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37859 (KNOWN_PRESENT_ENV_STRING): Likewise.
37860 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37861 (UNKNOWN_ENVIRONMENT): Likewise.
37862 (confstr): Include posix-envs.def instead of handling
37863 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37864 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37865 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37866 (END_ENV_GROUP): Likewise.
37867 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37868 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37869 (UNKNOWN_ENVIRONMENT): Likewise.
37870 (__sysconf): Include posix-envs.def instead of handling associated
37871 cases directly here.
37872 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37873 preprocessing getconf-speclist.c rather than running getconf or
37874 generating empty file.
37876 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37878 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37880 2012-11-16 Andrej Lajovic <natrij@gmail.com>
37883 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37885 2012-11-16 David S. Miller <davem@davemloft.net>
37887 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37888 smaller than LDBL_EPSILON/2.0L, just return xm1.
37890 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37892 * elf/tst-array1.c (init): Set constructor priority to 1000.
37893 (fini): Set destructor priority to 1000.
37894 * elf/tst-array2dep.c: Likewise.
37896 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37899 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37900 (_IO_new_file_xsputn): Also return EOF if none of the input
37901 data was written when overflow failed.
37902 * libio/iopadn.c (_IO_padn): Likewise.
37903 * libio/iowpadn.c (_IO_wpadn): Likewise.
37904 * stdio-common/tst-put-error.c: Add copyright notice.
37905 (do_test): Add case for printing padded string.
37906 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37907 _IO_padn returned error.
37908 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37909 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37912 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37914 * libio/libioP.h: Add comment note that the references to C++
37915 bits are now obsolete.
37917 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37919 * math/libm-test.inc (check_complex): Use asprintf.
37921 2012-11-14 Joseph Myers <joseph@codesourcery.com>
37923 * debug/pcprofiledump.c (print_version): Update copyright year.
37924 * malloc/memusagestat.c (print_version): Likewise.
37926 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37929 * elf/Makefile (tests): Add tst-audit8.
37930 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37931 ($(objpfx)tst-audit8.out): New target.
37932 (tst-audit8-ENV): New variable.
37933 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37934 audit if l_reloc_result is NULL.
37935 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37936 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37937 * elf/tst-audit8.c: New file.
37939 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37941 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37942 * misc/Makefile (CFLAGS-select.c): Define.
37943 * posix/Makefile (CFLAGS-pause.c): Define.
37945 2012-11-13 David S. Miller <davem@davemloft.net>
37947 * crypt/Makefile: Move test targets after toplevel Rules
37948 inclusion. Grab any necessary sysdep routines when linking.
37949 * crypt/md5.c (md5_process_block): Remove define, we will always
37950 name it __md5_process_block.
37951 (md5_finish_ctx): Update md5_process_block call.
37952 (md5_stream): Likewise.
37953 (md5_process_bytes): Likewise.
37954 (md5_process_block): Rename to __md5_process_block and move to ...
37955 * crypt/md5-block.c: ... here.
37956 * crypt/sha256.c (sha256_process_block): Move to ...
37957 * crypt/sha256-block.c: ... here.
37958 * crypt/sha512.c (sha512_process_block): Move to ...
37959 * crypt/sha512-block.c: ... here.
37960 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37962 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37963 * sysdeps/sparc/sparc64/multiarch/Makefile
37964 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37966 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37967 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37969 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37970 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37971 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37972 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37973 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37974 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37975 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37976 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37977 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37979 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37980 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37982 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37984 2012-11-13 Joseph Myers <joseph@codesourcery.com>
37986 * timezone/tzselect.ksh: Update from tzcode git revision
37987 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37988 * timezone/zdump.c: Likewise.
37989 * timezone/zic.c: Likewise.
37990 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37991 in TZVERSION setting, not $(PKGVERSION).
37992 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37993 REPORT_BUGS_TO settings.
37996 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37999 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38001 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38002 detection to immediately after _FP_ROUND().
38003 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38006 2012-11-11 David S. Miller <davem@davemloft.net>
38008 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38010 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38011 __close rather than their public counterparts.
38013 2012-11-10 Joseph Myers <joseph@codesourcery.com>
38015 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38017 [UNIX98] (sem_timedwait): Do not expect.
38018 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38019 [XPG4 || UNIX98] (sockatmark): Do not expect.
38020 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38021 (clock_getcpuclockid): Do not expect.
38022 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38023 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38025 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38026 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38027 [UNIX98] (vwscanf): Likewise.
38028 [UNIX98] (vswscanf): Likewise.
38030 2012-11-09 Joseph Myers <joseph@codesourcery.com>
38032 * timezone/version.h: Remove file.
38033 * timezone/README: Do not refer to version.h.
38034 * timezone/Makefile ($(objpfx)zic.o): New dependency on
38035 $(objpfx)version.h.
38036 ($(objpfx)zdump.o): Likewise.
38037 ($(objpfx)version.h): New target.
38039 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38041 * timezone/README: Don't mention modification to tzselect.ksh.
38042 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38043 work on unmodified tzselect.ksh. Substitute version numbers in
38046 * Makefile (format-me): Remove.
38047 (INSTALL): Adjust indentation. Use commands directly instead of
38048 using $(format-me).
38050 * aclocal.m4 (ACX_PKGVERSION): New macro.
38051 (ACX_BUGURL): Likewise.
38052 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38053 (PKGVERSION): New AC_DEFINE_UNQUOTED.
38054 (REPORT_BUGS_TO): Likewise.
38055 * configure: Regenerated.
38056 * config.h.in (PKGVERSION): New macro.
38057 (REPORT_BUGS_TO): Likewise.
38058 * config.make.in (PKGVERSION): New variable.
38059 (PKGVERSION_TEXI): Likewise.
38060 (REPORT_BUGS_TO): Likewise.
38061 (REPORT_BUGS_TEXI): Likewise.
38062 * Makefile (format-me): Use -I$(common-objpfx)manual.
38063 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38064 ($(common-objpfx)manual/%): New target.
38065 (manual/%): Remove target.
38066 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38067 (print_version): Use PKGVERSION.
38068 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38069 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38070 and REPORT_BUGS_TO.
38071 ($(objpfx)xtrace): Likewise.
38072 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38073 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38074 (print_version): Use PKGVERSION.
38075 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38076 (do_version): Use PKGVERSION.
38077 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38079 (common-ldd-rewrite): Likewise.
38080 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38081 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38082 (print_version): Use PKGVERSION.
38083 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38084 * elf/pldd.c (argp_program_bug_address): Remove variable.
38085 (more_help): New function.
38086 (argp): Use more_help.
38087 (print_version): Use PKGVERSION.
38088 * elf/sln.c (main): Use PKGVERSION.
38089 (usage): Use REPORT_BUGS_TO.
38090 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38091 (top level): Use PKGVERSION.
38092 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38093 (print_version): Use PKGVERSION.
38094 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38095 (print_version): Use PKGVERSION.
38096 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38097 (print_version): Use PKGVERSION.
38098 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38099 (print_version): Use PKGVERSION.
38100 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38101 (print_version): Use PKGVERSION.
38102 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38103 (print_version): Use PKGVERSION.
38104 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38106 ($(objpfx)memusage): Likewise.
38107 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38108 (do_version): Use PKGVERSION.
38109 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38110 (print_version): Use PKGVERSION.
38111 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38112 ($PKGVERSION): New variable.
38113 ($REPORT_BUGS_TO): Likewise.
38114 (usage): Use $REPORT_BUGS_TO.
38115 (top level): Use $PKGVERSION.
38116 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38117 ($(objpfx)pkgvers.texi): New rule.
38118 ($(objpfx)stamp-pkgvers): Likewise.
38119 * manual/install.texi: Include pkgvers.texi.
38120 (--with-pkgversion): Document new configure option.
38121 (--with-bugurl): Likewise.
38122 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38123 than necessarily for this particular distribution. Use
38124 REPORT_BUGS_TO for where to report bugs.
38125 * INSTALL: Regenerated.
38126 * manual/libc.texinfo: Include pkgvers.texi.
38127 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38128 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38129 (print_version): Use PKGVERSION.
38130 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38131 (print_version): Use PKGVERSION.
38132 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38133 (print_version): Use PKGVERSION.
38134 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38135 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38137 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38138 (print_version): Use PKGVERSION.
38139 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38140 (print_version): Use PKGVERSION.
38141 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38144 * timezone/checktab.awk: Update from tzcode 2012i.
38145 * timezone/ialloc.c: Likewise.
38146 * timezone/private.h: Likewise.
38147 * timezone/scheck.c: Likewise.
38148 * timezone/tzfile.h: Likewise.
38149 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38150 (TZVERSION): Hardcode tzcode version number.
38151 * timezone/zdump.c: Update from tzcode 2012i.
38152 * timezone/zic.c: Likewise.
38153 * timezone/version.h: New file.
38154 * timezone/README: Describe version.h. Update upstream location.
38157 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38158 (mktemp): Enable declaration.
38159 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38161 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38176 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38177 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38178 for copies of such integer values.
38179 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38180 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38182 2012-11-09 Andreas Jaeger <aj@suse.de>
38184 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38185 definitions and declarations that are provided by
38186 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38188 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38190 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38191 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38192 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38195 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38197 * elf/elf.h: Update comment before AArch64 relocations.
38199 2012-11-07 David S. Miller <davem@davemloft.net>
38201 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38202 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38203 (__start_context): Declare.
38204 (__makecontext_ret): Delete.
38205 (__makecontext): Hook up __start_context instead of
38207 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38208 (sysdep_routines): Add __start_context when in stdlib.
38210 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38212 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38213 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38214 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
38216 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
38217 (READELF): New variable. Use it instead of hardcoded "readelf".
38219 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
38221 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38222 * sysdeps/x86/Makefile: Here.
38223 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38224 * sysdeps/x86/tst-xmmymm.sh: This.
38226 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38228 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38230 [UNIX98] (pthread_barrier_t): Do not expect.
38231 [UNIX98] (pthread_barrierattr_t): Likewise.
38232 [UNIX98] (pthread_spinlock_t): Likewise.
38233 [UNIX98] (pthread_barrier_destroy): Likewise.
38234 [UNIX98] (pthread_barrier_init): Likewise.
38235 [UNIX98] (pthread_barrier_wait): Likewise.
38236 [UNIX98] (pthread_barrierattr_destroy): Likewise.
38237 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38238 [UNIX98] (pthread_barrierattr_init): Likewise.
38239 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38240 [UNIX98] (pthread_getcpuclockid): Likewise.
38241 [UNIX98] (pthread_mutex_timedlock): Likewise.
38242 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38243 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38244 [UNIX98] (pthread_sigmask): Likewise.
38245 [UNIX98] (pthread_spin_destroy): Likewise.
38246 [UNIX98] (pthread_spin_init): Likewise.
38247 [UNIX98] (pthread_spin_lock): Likewise.
38248 [UNIX98] (pthread_spin_trylock): Likewise.
38249 [UNIX98] (pthread_spin_unlock): Likewise.
38250 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38252 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38253 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38254 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38255 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38256 [XPG3 || XPG4] (pthread_key_t): Likewise.
38257 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38258 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38259 [XPG3 || XPG4] (pthread_once_t): Likewise.
38260 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38261 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38262 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38263 [XPG3 || XPG4] (pthread_t): Likewise.
38265 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38267 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38269 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38270 Change function return type to int.
38272 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38273 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38274 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38275 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38276 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38277 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38278 [!POSIX] (posix_madvise): Likewise.
38279 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38281 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38282 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38283 (mode_t): Likewise.
38284 (posix_mem_offset): Likewise.
38285 (posix_typed_mem_get_info): Likewise.
38286 (posix_typed_mem_open): Likewise.
38288 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38289 Change condition to [XOPEN2K8].
38291 * conform/conformtest.pl: Preprocess allow-header data with -x c
38292 instead of from stdin.
38293 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38294 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38295 [C99-based standards] (cerfc): Likewise.
38296 [C99-based standards] (cexp2): Likewise.
38297 [C99-based standards] (cexpm1): Likewise.
38298 [C99-based standards] (clog10): Likewise.
38299 [C99-based standards] (clog1p): Likewise.
38300 [C99-based standards] (clog2): Likewise.
38301 [C99-based standards] (clgamma): Likewise.
38302 [C99-based standards] (ctgamma): Likewise.
38303 [C99-based standards] (cerff): Likewise.
38304 [C99-based standards] (cerfcf): Likewise.
38305 [C99-based standards] (cexp2f): Likewise.
38306 [C99-based standards] (cexpm1f): Likewise.
38307 [C99-based standards] (clog10f): Likewise.
38308 [C99-based standards] (clog1pf): Likewise.
38309 [C99-based standards] (clog2f): Likewise.
38310 [C99-based standards] (clgammaf): Likewise.
38311 [C99-based standards] (ctgammaf): Likewise.
38312 [C99-based standards] (cerfl): Likewise.
38313 [C99-based standards] (cerfcl): Likewise.
38314 [C99-based standards] (cexp2l): Likewise.
38315 [C99-based standards] (cexpm1l): Likewise.
38316 [C99-based standards] (clog10l): Likewise.
38317 [C99-based standards] (clog1pl): Likewise.
38318 [C99-based standards] (clog2l): Likewise.
38319 [C99-based standards] (clgammal): Likewise.
38320 [C99-based standards] (ctgammal): Likewise.
38321 * conform/data/inttypes.h-data [C99-based standards]: Include
38322 stdint.h-data. Remove all expectations for stdint.h contents.
38323 [C99-based standards] (PRI*): Do not allow.
38324 [C99-based standards] (SCN*): Likewise.
38325 [C99-based standards] (*_t): Likewise.
38326 [C99-based-standards] (PRId8): Expect macro.
38327 [C99-based-standards] (PRIi8): Likewise.
38328 [C99-based-standards] (PRIo8): Likewise.
38329 [C99-based-standards] (PRIu8): Likewise.
38330 [C99-based-standards] (PRIx8): Likewise.
38331 [C99-based-standards] (PRIX8): Likewise.
38332 [C99-based-standards] (SCNd8): Likewise.
38333 [C99-based-standards] (SCNi8): Likewise.
38334 [C99-based-standards] (SCNo8): Likewise.
38335 [C99-based-standards] (SCNu8): Likewise.
38336 [C99-based-standards] (SCNx8): Likewise.
38337 [C99-based-standards] (PRIdLEAST8): Likewise.
38338 [C99-based-standards] (PRIiLEAST8): Likewise.
38339 [C99-based-standards] (PRIoLEAST8): Likewise.
38340 [C99-based-standards] (PRIuLEAST8): Likewise.
38341 [C99-based-standards] (PRIxLEAST8): Likewise.
38342 [C99-based-standards] (PRIXLEAST8): Likewise.
38343 [C99-based-standards] (SCNdLEAST8): Likewise.
38344 [C99-based-standards] (SCNiLEAST8): Likewise.
38345 [C99-based-standards] (SCNoLEAST8): Likewise.
38346 [C99-based-standards] (SCNuLEAST8): Likewise.
38347 [C99-based-standards] (SCNxLEAST8): Likewise.
38348 [C99-based-standards] (PRIdFAST8): Likewise.
38349 [C99-based-standards] (PRIiFAST8): Likewise.
38350 [C99-based-standards] (PRIoFAST8): Likewise.
38351 [C99-based-standards] (PRIuFAST8): Likewise.
38352 [C99-based-standards] (PRIxFAST8): Likewise.
38353 [C99-based-standards] (PRIXFAST8): Likewise.
38354 [C99-based-standards] (SCNdFAST8): Likewise.
38355 [C99-based-standards] (SCNiFAST8): Likewise.
38356 [C99-based-standards] (SCNoFAST8): Likewise.
38357 [C99-based-standards] (SCNuFAST8): Likewise.
38358 [C99-based-standards] (SCNxFAST8): Likewise.
38359 [C99-based-standards] (PRId16): Likewise.
38360 [C99-based-standards] (PRIi16): Likewise.
38361 [C99-based-standards] (PRIo16): Likewise.
38362 [C99-based-standards] (PRIu16): Likewise.
38363 [C99-based-standards] (PRIx16): Likewise.
38364 [C99-based-standards] (PRIX16): Likewise.
38365 [C99-based-standards] (SCNd16): Likewise.
38366 [C99-based-standards] (SCNi16): Likewise.
38367 [C99-based-standards] (SCNo16): Likewise.
38368 [C99-based-standards] (SCNu16): Likewise.
38369 [C99-based-standards] (SCNx16): Likewise.
38370 [C99-based-standards] (PRIdLEAST16): Likewise.
38371 [C99-based-standards] (PRIiLEAST16): Likewise.
38372 [C99-based-standards] (PRIoLEAST16): Likewise.
38373 [C99-based-standards] (PRIuLEAST16): Likewise.
38374 [C99-based-standards] (PRIxLEAST16): Likewise.
38375 [C99-based-standards] (PRIXLEAST16): Likewise.
38376 [C99-based-standards] (SCNdLEAST16): Likewise.
38377 [C99-based-standards] (SCNiLEAST16): Likewise.
38378 [C99-based-standards] (SCNoLEAST16): Likewise.
38379 [C99-based-standards] (SCNuLEAST16): Likewise.
38380 [C99-based-standards] (SCNxLEAST16): Likewise.
38381 [C99-based-standards] (PRIdFAST16): Likewise.
38382 [C99-based-standards] (PRIiFAST16): Likewise.
38383 [C99-based-standards] (PRIoFAST16): Likewise.
38384 [C99-based-standards] (PRIuFAST16): Likewise.
38385 [C99-based-standards] (PRIxFAST16): Likewise.
38386 [C99-based-standards] (PRIXFAST16): Likewise.
38387 [C99-based-standards] (SCNdFAST16): Likewise.
38388 [C99-based-standards] (SCNiFAST16): Likewise.
38389 [C99-based-standards] (SCNoFAST16): Likewise.
38390 [C99-based-standards] (SCNuFAST16): Likewise.
38391 [C99-based-standards] (SCNxFAST16): Likewise.
38392 [C99-based-standards] (PRId32): Likewise.
38393 [C99-based-standards] (PRIi32): Likewise.
38394 [C99-based-standards] (PRIo32): Likewise.
38395 [C99-based-standards] (PRIu32): Likewise.
38396 [C99-based-standards] (PRIx32): Likewise.
38397 [C99-based-standards] (PRIX32): Likewise.
38398 [C99-based-standards] (SCNd32): Likewise.
38399 [C99-based-standards] (SCNi32): Likewise.
38400 [C99-based-standards] (SCNo32): Likewise.
38401 [C99-based-standards] (SCNu32): Likewise.
38402 [C99-based-standards] (SCNx32): Likewise.
38403 [C99-based-standards] (PRIdLEAST32): Likewise.
38404 [C99-based-standards] (PRIiLEAST32): Likewise.
38405 [C99-based-standards] (PRIoLEAST32): Likewise.
38406 [C99-based-standards] (PRIuLEAST32): Likewise.
38407 [C99-based-standards] (PRIxLEAST32): Likewise.
38408 [C99-based-standards] (PRIXLEAST32): Likewise.
38409 [C99-based-standards] (SCNdLEAST32): Likewise.
38410 [C99-based-standards] (SCNiLEAST32): Likewise.
38411 [C99-based-standards] (SCNoLEAST32): Likewise.
38412 [C99-based-standards] (SCNuLEAST32): Likewise.
38413 [C99-based-standards] (SCNxLEAST32): Likewise.
38414 [C99-based-standards] (PRIdFAST32): Likewise.
38415 [C99-based-standards] (PRIiFAST32): Likewise.
38416 [C99-based-standards] (PRIoFAST32): Likewise.
38417 [C99-based-standards] (PRIuFAST32): Likewise.
38418 [C99-based-standards] (PRIxFAST32): Likewise.
38419 [C99-based-standards] (PRIXFAST32): Likewise.
38420 [C99-based-standards] (SCNdFAST32): Likewise.
38421 [C99-based-standards] (SCNiFAST32): Likewise.
38422 [C99-based-standards] (SCNoFAST32): Likewise.
38423 [C99-based-standards] (SCNuFAST32): Likewise.
38424 [C99-based-standards] (SCNxFAST32): Likewise.
38425 [C99-based-standards] (PRId64): Likewise.
38426 [C99-based-standards] (PRIi64): Likewise.
38427 [C99-based-standards] (PRIo64): Likewise.
38428 [C99-based-standards] (PRIu64): Likewise.
38429 [C99-based-standards] (PRIx64): Likewise.
38430 [C99-based-standards] (PRIX64): Likewise.
38431 [C99-based-standards] (SCNd64): Likewise.
38432 [C99-based-standards] (SCNi64): Likewise.
38433 [C99-based-standards] (SCNo64): Likewise.
38434 [C99-based-standards] (SCNu64): Likewise.
38435 [C99-based-standards] (SCNx64): Likewise.
38436 [C99-based-standards] (PRIdLEAST64): Likewise.
38437 [C99-based-standards] (PRIiLEAST64): Likewise.
38438 [C99-based-standards] (PRIoLEAST64): Likewise.
38439 [C99-based-standards] (PRIuLEAST64): Likewise.
38440 [C99-based-standards] (PRIxLEAST64): Likewise.
38441 [C99-based-standards] (PRIXLEAST64): Likewise.
38442 [C99-based-standards] (SCNdLEAST64): Likewise.
38443 [C99-based-standards] (SCNiLEAST64): Likewise.
38444 [C99-based-standards] (SCNoLEAST64): Likewise.
38445 [C99-based-standards] (SCNuLEAST64): Likewise.
38446 [C99-based-standards] (SCNxLEAST64): Likewise.
38447 [C99-based-standards] (PRIdFAST64): Likewise.
38448 [C99-based-standards] (PRIiFAST64): Likewise.
38449 [C99-based-standards] (PRIoFAST64): Likewise.
38450 [C99-based-standards] (PRIuFAST64): Likewise.
38451 [C99-based-standards] (PRIxFAST64): Likewise.
38452 [C99-based-standards] (PRIXFAST64): Likewise.
38453 [C99-based-standards] (SCNdFAST64): Likewise.
38454 [C99-based-standards] (SCNiFAST64): Likewise.
38455 [C99-based-standards] (SCNoFAST64): Likewise.
38456 [C99-based-standards] (SCNuFAST64): Likewise.
38457 [C99-based-standards] (SCNxFAST64): Likewise.
38458 [C99-based-standards] (PRIdMAX): Likewise.
38459 [C99-based-standards] (PRIiMAX): Likewise.
38460 [C99-based-standards] (PRIoMAX): Likewise.
38461 [C99-based-standards] (PRIuMAX): Likewise.
38462 [C99-based-standards] (PRIxMAX): Likewise.
38463 [C99-based-standards] (PRIXMAX): Likewise.
38464 [C99-based-standards] (SCNdMAX): Likewise.
38465 [C99-based-standards] (SCNiMAX): Likewise.
38466 [C99-based-standards] (SCNoMAX): Likewise.
38467 [C99-based-standards] (SCNuMAX): Likewise.
38468 [C99-based-standards] (SCNxMAX): Likewise.
38469 [C99-based-standards] (PRIdPTR): Likewise.
38470 [C99-based-standards] (PRIiPTR): Likewise.
38471 [C99-based-standards] (PRIoPTR): Likewise.
38472 [C99-based-standards] (PRIuPTR): Likewise.
38473 [C99-based-standards] (PRIxPTR): Likewise.
38474 [C99-based-standards] (PRIXPTR): Likewise.
38475 [C99-based-standards] (SCNdPTR): Likewise.
38476 [C99-based-standards] (SCNiPTR): Likewise.
38477 [C99-based-standards] (SCNoPTR): Likewise.
38478 [C99-based-standards] (SCNuPTR): Likewise.
38479 [C99-based-standards] (SCNxPTR): Likewise.
38480 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38482 * conform/data/stdint.h-data: Update comments to clarify
38484 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38486 [C99-based standards] (INT8_MAX): Likewise.
38487 [C99-based standards] (INT16_MIN): Likewise.
38488 [C99-based standards] (INT16_MAX): Likewise.
38489 [C99-based standards] (INT32_MIN): Likewise.
38490 [C99-based standards] (INT32_MAX): Likewise.
38491 [C99-based standards] (INT64_MIN): Likewise.
38492 [C99-based standards] (INT64_MAX): Likewise.
38493 [C99-based standards] (UINT8_MAX): Likewise.
38494 [C99-based standards] (UINT16_MAX): Likewise.
38495 [C99-based standards] (UINT32_MAX): Likewise.
38496 [C99-based standards] (UINT64_MAX): Likewise.
38497 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38498 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38499 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38500 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38501 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38502 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38503 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38504 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38505 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38506 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38507 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38508 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38509 [C99-based standards] (INT_FAST8_MIN): Likewise.
38510 [C99-based standards] (INT_FAST8_MAX): Likewise.
38511 [C99-based standards] (INT_FAST16_MIN): Likewise.
38512 [C99-based standards] (INT_FAST16_MAX): Likewise.
38513 [C99-based standards] (INT_FAST32_MIN): Likewise.
38514 [C99-based standards] (INT_FAST32_MAX): Likewise.
38515 [C99-based standards] (INT_FAST64_MIN): Likewise.
38516 [C99-based standards] (INT_FAST64_MAX): Likewise.
38517 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38518 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38519 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38520 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38521 [C99-based standards] (INTPTR_MIN): Likewise.
38522 [C99-based standards] (INTPTR_MAX): Likewise.
38523 [C99-based standards] (UINTPTR_MAX): Likewise.
38524 [C99-based standards] (INTMAX_MIN): Likewise.
38525 [C99-based standards] (INTMAX_MAX): Likewise.
38526 [C99-based standards] (UINTMAX_MAX): Likewise.
38527 [C99-based standards] (PTRDIFF_MIN): Likewise.
38528 [C99-based standards] (PTRDIFF_MAX): Likewise.
38529 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38530 [C99-based standards] (SIZE_MAX): Likewise.
38531 [C99-based standards] (WCHAR_MAX): Likewise.
38532 [C99-based standards] (WINT_MAX): Likewise.
38533 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38534 constraint on value.
38535 [C99-based standards] (WCHAR_MIN): Likewise.
38536 [C99-based standards] (WINT_MIN): Likewise.
38537 [C99-based standards] (*_t): Allow.
38538 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38539 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38540 Include math.h-data and complex.h-data. Remove all expectations
38541 of math.h and complex.h contents.
38542 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38544 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38545 (struct tm): Expect tag.
38546 [C99-based-standards] (wcstof): Expect function.
38547 [C99-based-standards] (wcstold): Likewise.
38548 [C99-based-standards] (wcstoll): Likewise.
38549 [C99-based-standards] (wcstoull): Likewise.
38550 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38551 macro-int-constant. Specify type.
38552 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38553 constraint on value.
38554 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38556 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38558 [ISO C standards]: Do not allow headers.
38559 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38560 wcs[abcdefghijklmnopqrstuvwxyz]*.
38561 [ISO C standards] (*_t): Do not allow.
38562 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38564 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38565 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38567 [ISO C standards]: Do not allow headers.
38568 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38569 is[abcdefghijklmnopqrstuvwxyz]*.
38570 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38571 to[abcdefghijklmnopqrstuvwxyz]*.
38572 [ISO C standards] (*_t): Do not allow.
38573 * conform/data/stdalign.h-data: New file.
38574 * conform/data/stdbool.h-data: Likewise.
38575 * conform/data/stdnoreturn.h-data: Likewise.
38577 2012-11-07 Roland McGrath <roland@hack.frob.com>
38580 * manual/filesys.texi (Directory Entries): Typo fix.
38581 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38583 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38585 * elf/elf.h (EM_AARCH64): New macro.
38586 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38587 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38588 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38589 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38590 (R_AARCH64_TLSDESC): Likewise.
38591 (NT_ARM_TLS): Likewise.
38592 (NT_ARM_HW_BREAK): Likewise.
38593 (NT_ARM_HW_WATCH): Likewise.
38595 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38598 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38599 (__ieee754_powl): Saturate nonzero exponents with absolute value
38600 below 0x1p-79 to +/- 0x1p-79.
38601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38602 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38603 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38604 nonzero exponents with absolute value below 0x1p-32 to +/-
38606 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38607 (__ieee754_powl): Saturate nonzero exponents with absolute value
38608 below 0x1p-79 to +/- 0x1p-79.
38609 * math/libm-test.inc (pow_test): Add more tests.
38611 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38613 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38614 _dl_s390_cap_flags with kernel. Increase string length.
38615 (_dl_s390_platforms): Add z196 and zEC12.
38617 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38619 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38620 Change XOPEN21K to XOPEN2K.
38622 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38624 * string/memmove.c: Use memcpy when possible.
38626 2012-11-06 Andreas Jaeger <aj@suse.de>
38628 * po/eo.po: Update from translation team.
38630 2012-11-06 Joseph Myers <joseph@codesourcery.com>
38633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38634 exponent and small x and y exponents, scale x or y up. Increase
38635 by 2 the exponent used in scaling up.
38636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38637 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38638 * math/libm-test.inc (fma_test): Add more tests.
38639 (fma_test_towardzero): Likewise.
38640 (fma_test_downward): Likewise.
38641 (fma_test_upward): Likewise.
38643 2012-11-05 Joseph Myers <joseph@codesourcery.com>
38646 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38650 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38651 namespace for names of struct fields.
38652 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38654 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38655 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38657 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38660 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38662 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38664 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38668 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38671 2012-11-04 Joseph Myers <joseph@codesourcery.com>
38674 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38675 definitely overflow as x * y not x * y + z.
38676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38677 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38678 * math/libm-test.inc (fma_test): Add more tests.
38679 (fma_test_towardzero): Likewise.
38680 (fma_test_downward): Likewise.
38681 (fma_test_upward): Likewise.
38683 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38687 * include/stub-tag.h: Remove file.
38688 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38690 * manual/maint.texi (Porting): Don't reference it.
38691 * Makerules ($(objpfx)stubs): Likewise.
38692 * dirent/closedir.c: Don't include <stub-tag.h>.
38693 * dirent/dirfd.c: Likewise.
38694 * dirent/fdopendir.c: Likewise.
38695 * dirent/getdents.c: Likewise.
38696 * dirent/getdents64.c: Likewise.
38697 * dirent/opendir.c: Likewise.
38698 * dirent/readdir.c: Likewise.
38699 * dirent/readdir64.c: Likewise.
38700 * dirent/readdir64_r.c: Likewise.
38701 * dirent/readdir_r.c: Likewise.
38702 * dirent/rewinddir.c: Likewise.
38703 * dirent/seekdir.c: Likewise.
38704 * dirent/telldir.c: Likewise.
38705 * gmon/profil.c: Likewise.
38706 * grp/setgroups.c: Likewise.
38707 * inet/if_index.c: Likewise.
38708 * io/access.c: Likewise.
38709 * io/chdir.c: Likewise.
38710 * io/chmod.c: Likewise.
38711 * io/chown.c: Likewise.
38712 * io/close.c: Likewise.
38713 * io/dup.c: Likewise.
38714 * io/dup2.c: Likewise.
38715 * io/dup3.c: Likewise.
38716 * io/euidaccess.c: Likewise.
38717 * io/faccessat.c: Likewise.
38718 * io/fchdir.c: Likewise.
38719 * io/fchmod.c: Likewise.
38720 * io/fchmodat.c: Likewise.
38721 * io/fchown.c: Likewise.
38722 * io/fchownat.c: Likewise.
38723 * io/fcntl.c: Likewise.
38724 * io/flock.c: Likewise.
38725 * io/fstatfs.c: Likewise.
38726 * io/fstatfs64.c: Likewise.
38727 * io/fstatvfs.c: Likewise.
38728 * io/fstatvfs64.c: Likewise.
38729 * io/futimens.c: Likewise.
38730 * io/fxstat.c: Likewise.
38731 * io/fxstat64.c: Likewise.
38732 * io/fxstatat.c: Likewise.
38733 * io/fxstatat64.c: Likewise.
38734 * io/getcwd.c: Likewise.
38735 * io/isatty.c: Likewise.
38736 * io/lchmod.c: Likewise.
38737 * io/lchown.c: Likewise.
38738 * io/link.c: Likewise.
38739 * io/linkat.c: Likewise.
38740 * io/lseek.c: Likewise.
38741 * io/lseek64.c: Likewise.
38742 * io/lxstat64.c: Likewise.
38743 * io/mkdir.c: Likewise.
38744 * io/mkdirat.c: Likewise.
38745 * io/mkfifo.c: Likewise.
38746 * io/mkfifoat.c: Likewise.
38747 * io/open.c: Likewise.
38748 * io/open64.c: Likewise.
38749 * io/openat.c: Likewise.
38750 * io/openat64.c: Likewise.
38751 * io/pipe.c: Likewise.
38752 * io/pipe2.c: Likewise.
38753 * io/poll.c: Likewise.
38754 * io/posix_fadvise.c: Likewise.
38755 * io/posix_fadvise64.c: Likewise.
38756 * io/posix_fallocate.c: Likewise.
38757 * io/posix_fallocate64.c: Likewise.
38758 * io/read.c: Likewise.
38759 * io/readlink.c: Likewise.
38760 * io/readlinkat.c: Likewise.
38761 * io/rmdir.c: Likewise.
38762 * io/sendfile.c: Likewise.
38763 * io/sendfile64.c: Likewise.
38764 * io/statfs.c: Likewise.
38765 * io/statfs64.c: Likewise.
38766 * io/statvfs.c: Likewise.
38767 * io/statvfs64.c: Likewise.
38768 * io/symlink.c: Likewise.
38769 * io/symlinkat.c: Likewise.
38770 * io/ttyname.c: Likewise.
38771 * io/ttyname_r.c: Likewise.
38772 * io/umask.c: Likewise.
38773 * io/unlink.c: Likewise.
38774 * io/unlinkat.c: Likewise.
38775 * io/utime.c: Likewise.
38776 * io/utimensat.c: Likewise.
38777 * io/write.c: Likewise.
38778 * io/xmknod.c: Likewise.
38779 * io/xmknodat.c: Likewise.
38780 * io/xstat.c: Likewise.
38781 * io/xstat64.c: Likewise.
38782 * login/getpt.c: Likewise.
38783 * login/grantpt.c: Likewise.
38784 * login/unlockpt.c: Likewise.
38785 * math/e_acoshl.c: Likewise.
38786 * math/e_acosl.c: Likewise.
38787 * math/e_asinl.c: Likewise.
38788 * math/e_atan2l.c: Likewise.
38789 * math/e_atanhl.c: Likewise.
38790 * math/e_coshl.c: Likewise.
38791 * math/e_expl.c: Likewise.
38792 * math/e_fmodl.c: Likewise.
38793 * math/e_gammal_r.c: Likewise.
38794 * math/e_hypotl.c: Likewise.
38795 * math/e_j0l.c: Likewise.
38796 * math/e_j1l.c: Likewise.
38797 * math/e_jnl.c: Likewise.
38798 * math/e_lgammal_r.c: Likewise.
38799 * math/e_log10l.c: Likewise.
38800 * math/e_log2l.c: Likewise.
38801 * math/e_logl.c: Likewise.
38802 * math/e_powl.c: Likewise.
38803 * math/e_rem_pio2l.c: Likewise.
38804 * math/e_sinhl.c: Likewise.
38805 * math/e_sqrtl.c: Likewise.
38806 * math/fclrexcpt.c: Likewise.
38807 * math/fedisblxcpt.c: Likewise.
38808 * math/feenablxcpt.c: Likewise.
38809 * math/fegetenv.c: Likewise.
38810 * math/fegetexcept.c: Likewise.
38811 * math/fegetround.c: Likewise.
38812 * math/feholdexcpt.c: Likewise.
38813 * math/fesetenv.c: Likewise.
38814 * math/fesetround.c: Likewise.
38815 * math/feupdateenv.c: Likewise.
38816 * math/fgetexcptflg.c: Likewise.
38817 * math/fraiseexcpt.c: Likewise.
38818 * math/fsetexcptflg.c: Likewise.
38819 * math/ftestexcept.c: Likewise.
38820 * math/k_cosl.c: Likewise.
38821 * math/k_rem_pio2l.c: Likewise.
38822 * math/k_sinl.c: Likewise.
38823 * math/k_tanl.c: Likewise.
38824 * math/s_asinhl.c: Likewise.
38825 * math/s_atanl.c: Likewise.
38826 * math/s_cbrtl.c: Likewise.
38827 * math/s_erfl.c: Likewise.
38828 * math/s_expm1l.c: Likewise.
38829 * math/s_log1pl.c: Likewise.
38830 * math/s_tanhl.c: Likewise.
38831 * misc/acct.c: Likewise.
38832 * misc/brk.c: Likewise.
38833 * misc/chflags.c: Likewise.
38834 * misc/chroot.c: Likewise.
38835 * misc/fchflags.c: Likewise.
38836 * misc/fgetxattr.c: Likewise.
38837 * misc/flistxattr.c: Likewise.
38838 * misc/fremovexattr.c: Likewise.
38839 * misc/fsetxattr.c: Likewise.
38840 * misc/fsync.c: Likewise.
38841 * misc/ftruncate.c: Likewise.
38842 * misc/futimes.c: Likewise.
38843 * misc/futimesat.c: Likewise.
38844 * misc/getdomain.c: Likewise.
38845 * misc/getdtsz.c: Likewise.
38846 * misc/gethostid.c: Likewise.
38847 * misc/gethostname.c: Likewise.
38848 * misc/getloadavg.c: Likewise.
38849 * misc/getpagesize.c: Likewise.
38850 * misc/getsysstats.c: Likewise.
38851 * misc/getxattr.c: Likewise.
38852 * misc/gtty.c: Likewise.
38853 * misc/ioctl.c: Likewise.
38854 * misc/lgetxattr.c: Likewise.
38855 * misc/listxattr.c: Likewise.
38856 * misc/llistxattr.c: Likewise.
38857 * misc/lremovexattr.c: Likewise.
38858 * misc/lsetxattr.c: Likewise.
38859 * misc/lutimes.c: Likewise.
38860 * misc/madvise.c: Likewise.
38861 * misc/mincore.c: Likewise.
38862 * misc/mlock.c: Likewise.
38863 * misc/mlockall.c: Likewise.
38864 * misc/mmap.c: Likewise.
38865 * misc/mprotect.c: Likewise.
38866 * misc/msync.c: Likewise.
38867 * misc/munlock.c: Likewise.
38868 * misc/munlockall.c: Likewise.
38869 * misc/munmap.c: Likewise.
38870 * misc/preadv.c: Likewise.
38871 * misc/preadv64.c: Likewise.
38872 * misc/ptrace.c: Likewise.
38873 * misc/pwritev.c: Likewise.
38874 * misc/pwritev64.c: Likewise.
38875 * misc/readv.c: Likewise.
38876 * misc/reboot.c: Likewise.
38877 * misc/remap_file_pages.c: Likewise.
38878 * misc/removexattr.c: Likewise.
38879 * misc/revoke.c: Likewise.
38880 * misc/select.c: Likewise.
38881 * misc/setdomain.c: Likewise.
38882 * misc/setegid.c: Likewise.
38883 * misc/seteuid.c: Likewise.
38884 * misc/sethostid.c: Likewise.
38885 * misc/sethostname.c: Likewise.
38886 * misc/setregid.c: Likewise.
38887 * misc/setreuid.c: Likewise.
38888 * misc/setxattr.c: Likewise.
38889 * misc/sstk.c: Likewise.
38890 * misc/stty.c: Likewise.
38891 * misc/swapoff.c: Likewise.
38892 * misc/swapon.c: Likewise.
38893 * misc/sync.c: Likewise.
38894 * misc/syncfs.c: Likewise.
38895 * misc/syscall.c: Likewise.
38896 * misc/truncate.c: Likewise.
38897 * misc/ualarm.c: Likewise.
38898 * misc/usleep.c: Likewise.
38899 * misc/ustat.c: Likewise.
38900 * misc/utimes.c: Likewise.
38901 * misc/vhangup.c: Likewise.
38902 * misc/writev.c: Likewise.
38903 * posix/_exit.c: Likewise.
38904 * posix/alarm.c: Likewise.
38905 * posix/execve.c: Likewise.
38906 * posix/fexecve.c: Likewise.
38907 * posix/fork.c: Likewise.
38908 * posix/fpathconf.c: Likewise.
38909 * posix/getaddrinfo.c: Likewise.
38910 * posix/getegid.c: Likewise.
38911 * posix/geteuid.c: Likewise.
38912 * posix/getgid.c: Likewise.
38913 * posix/getgroups.c: Likewise.
38914 * posix/getlogin.c: Likewise.
38915 * posix/getlogin_r.c: Likewise.
38916 * posix/getpgid.c: Likewise.
38917 * posix/getpid.c: Likewise.
38918 * posix/getppid.c: Likewise.
38919 * posix/getresgid.c: Likewise.
38920 * posix/getresuid.c: Likewise.
38921 * posix/getsid.c: Likewise.
38922 * posix/getuid.c: Likewise.
38923 * posix/glob64.c: Likewise.
38924 * posix/nanosleep.c: Likewise.
38925 * posix/pathconf.c: Likewise.
38926 * posix/pause.c: Likewise.
38927 * posix/posix_madvise.c: Likewise.
38928 * posix/pread.c: Likewise.
38929 * posix/pread64.c: Likewise.
38930 * posix/pwrite.c: Likewise.
38931 * posix/pwrite64.c: Likewise.
38932 * posix/sched_getaffinity.c: Likewise.
38933 * posix/sched_getp.c: Likewise.
38934 * posix/sched_gets.c: Likewise.
38935 * posix/sched_primax.c: Likewise.
38936 * posix/sched_primin.c: Likewise.
38937 * posix/sched_rr_gi.c: Likewise.
38938 * posix/sched_setaffinity.c: Likewise.
38939 * posix/sched_setp.c: Likewise.
38940 * posix/sched_sets.c: Likewise.
38941 * posix/sched_yield.c: Likewise.
38942 * posix/setgid.c: Likewise.
38943 * posix/setlogin.c: Likewise.
38944 * posix/setpgid.c: Likewise.
38945 * posix/setresgid.c: Likewise.
38946 * posix/setresuid.c: Likewise.
38947 * posix/setsid.c: Likewise.
38948 * posix/setuid.c: Likewise.
38949 * posix/sleep.c: Likewise.
38950 * posix/spawni.c: Likewise.
38951 * posix/sysconf.c: Likewise.
38952 * posix/times.c: Likewise.
38953 * posix/wait.c: Likewise.
38954 * posix/wait3.c: Likewise.
38955 * posix/wait4.c: Likewise.
38956 * posix/waitpid.c: Likewise.
38957 * resolv/gai_sigqueue.c: Likewise.
38958 * resource/getpriority.c: Likewise.
38959 * resource/getrlimit.c: Likewise.
38960 * resource/getrusage.c: Likewise.
38961 * resource/nice.c: Likewise.
38962 * resource/setpriority.c: Likewise.
38963 * resource/setrlimit.c: Likewise.
38964 * resource/ulimit.c: Likewise.
38965 * rt/aio_cancel.c: Likewise.
38966 * rt/aio_fsync.c: Likewise.
38967 * rt/aio_read.c: Likewise.
38968 * rt/aio_sigqueue.c: Likewise.
38969 * rt/aio_suspend.c: Likewise.
38970 * rt/aio_write.c: Likewise.
38971 * rt/clock_getres.c: Likewise.
38972 * rt/clock_gettime.c: Likewise.
38973 * rt/clock_nanosleep.c: Likewise.
38974 * rt/clock_settime.c: Likewise.
38975 * rt/lio_listio.c: Likewise.
38976 * rt/mq_close.c: Likewise.
38977 * rt/mq_getattr.c: Likewise.
38978 * rt/mq_notify.c: Likewise.
38979 * rt/mq_open.c: Likewise.
38980 * rt/mq_receive.c: Likewise.
38981 * rt/mq_send.c: Likewise.
38982 * rt/mq_setattr.c: Likewise.
38983 * rt/mq_timedreceive.c: Likewise.
38984 * rt/mq_timedsend.c: Likewise.
38985 * rt/mq_unlink.c: Likewise.
38986 * rt/shm_open.c: Likewise.
38987 * rt/shm_unlink.c: Likewise.
38988 * rt/timer_create.c: Likewise.
38989 * rt/timer_delete.c: Likewise.
38990 * rt/timer_getoverr.c: Likewise.
38991 * rt/timer_gettime.c: Likewise.
38992 * rt/timer_settime.c: Likewise.
38993 * setjmp/__longjmp.c: Likewise.
38994 * setjmp/setjmp.c: Likewise.
38995 * signal/kill.c: Likewise.
38996 * signal/killpg.c: Likewise.
38997 * signal/raise.c: Likewise.
38998 * signal/sigaction.c: Likewise.
38999 * signal/sigaltstack.c: Likewise.
39000 * signal/sigblock.c: Likewise.
39001 * signal/sigignore.c: Likewise.
39002 * signal/sigintr.c: Likewise.
39003 * signal/signal.c: Likewise.
39004 * signal/sigpause.c: Likewise.
39005 * signal/sigpending.c: Likewise.
39006 * signal/sigqueue.c: Likewise.
39007 * signal/sigreturn.c: Likewise.
39008 * signal/sigset.c: Likewise.
39009 * signal/sigsetmask.c: Likewise.
39010 * signal/sigstack.c: Likewise.
39011 * signal/sigsuspend.c: Likewise.
39012 * signal/sigtimedwait.c: Likewise.
39013 * signal/sigvec.c: Likewise.
39014 * signal/sigwait.c: Likewise.
39015 * signal/sigwaitinfo.c: Likewise.
39016 * signal/sysv_signal.c: Likewise.
39017 * socket/accept.c: Likewise.
39018 * socket/accept4.c: Likewise.
39019 * socket/bind.c: Likewise.
39020 * socket/connect.c: Likewise.
39021 * socket/getpeername.c: Likewise.
39022 * socket/getsockname.c: Likewise.
39023 * socket/getsockopt.c: Likewise.
39024 * socket/isfdtype.c: Likewise.
39025 * socket/listen.c: Likewise.
39026 * socket/recv.c: Likewise.
39027 * socket/recvfrom.c: Likewise.
39028 * socket/recvmsg.c: Likewise.
39029 * socket/send.c: Likewise.
39030 * socket/sendmsg.c: Likewise.
39031 * socket/sendto.c: Likewise.
39032 * socket/setsockopt.c: Likewise.
39033 * socket/shutdown.c: Likewise.
39034 * socket/sockatmark.c: Likewise.
39035 * socket/socket.c: Likewise.
39036 * socket/socketpair.c: Likewise.
39037 * stdio-common/ctermid.c: Likewise.
39038 * stdio-common/cuserid.c: Likewise.
39039 * stdio-common/remove.c: Likewise.
39040 * stdio-common/rename.c: Likewise.
39041 * stdio-common/renameat.c: Likewise.
39042 * stdio-common/tempname.c: Likewise.
39043 * stdlib/getcontext.c: Likewise.
39044 * stdlib/makecontext.c: Likewise.
39045 * stdlib/setcontext.c: Likewise.
39046 * stdlib/swapcontext.c: Likewise.
39047 * stdlib/system.c: Likewise.
39048 * streams/fattach.c: Likewise.
39049 * streams/fdetach.c: Likewise.
39050 * streams/getmsg.c: Likewise.
39051 * streams/getpmsg.c: Likewise.
39052 * streams/putmsg.c: Likewise.
39053 * streams/putpmsg.c: Likewise.
39054 * sysdeps/unix/bsd/getpt.c: Likewise.
39055 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39056 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39057 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39060 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39061 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39062 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39063 * sysvipc/msgctl.c: Likewise.
39064 * sysvipc/msgget.c: Likewise.
39065 * sysvipc/msgrcv.c: Likewise.
39066 * sysvipc/msgsnd.c: Likewise.
39067 * sysvipc/semctl.c: Likewise.
39068 * sysvipc/semget.c: Likewise.
39069 * sysvipc/semop.c: Likewise.
39070 * sysvipc/semtimedop.c: Likewise.
39071 * sysvipc/shmat.c: Likewise.
39072 * sysvipc/shmctl.c: Likewise.
39073 * sysvipc/shmdt.c: Likewise.
39074 * sysvipc/shmget.c: Likewise.
39075 * termios/tcdrain.c: Likewise.
39076 * termios/tcflow.c: Likewise.
39077 * termios/tcflush.c: Likewise.
39078 * termios/tcgetattr.c: Likewise.
39079 * termios/tcgetpgrp.c: Likewise.
39080 * termios/tcsendbrk.c: Likewise.
39081 * termios/tcsetattr.c: Likewise.
39082 * termios/tcsetpgrp.c: Likewise.
39083 * time/adjtime.c: Likewise.
39084 * time/clock.c: Likewise.
39085 * time/getitimer.c: Likewise.
39086 * time/gettimeofday.c: Likewise.
39087 * time/setitimer.c: Likewise.
39088 * time/settimeofday.c: Likewise.
39089 * time/stime.c: Likewise.
39090 * time/time.c: Likewise.
39092 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39094 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39097 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39099 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39101 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39105 FE_TONEAREST before applying Dekker multiplication and Knuth
39106 addition. Clear inexact exceptions and check for exact zero
39107 results afterwards.
39108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39109 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39110 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39111 * math/libm-test.inc (fma_test): Add more tests.
39112 (fma_test_towardzero): Likewise.
39113 (fma_test_downward): Likewise.
39114 (fma_test_upward): Likewise.
39115 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39117 (libc_fesetround): New macro.
39118 (libc_fesetroundf): Likewise.
39119 (libc_fesetroundl): Likewise.
39120 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39122 (libc_fesetround_387): Likewise.
39123 (libc_fesetroundf): New macro.
39124 (libc_fesetround): Likewise.
39125 (libc_fesetroundl): Likewise.
39126 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39128 (libc_fesetroundf): New macro.
39129 (libc_fesetround): Likewise.
39130 (libc_fesetroundl): Likewise.
39131 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39132 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39133 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39135 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39136 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39138 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39139 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39141 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39145 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39146 integer constant usable in #if and use that to give value to enum
39148 (FE_DIVBYZERO): Likewise.
39149 (FE_UNDERFLOW): Likewise.
39150 (FE_OVERFLOW): Likewise.
39151 (FE_INVALID): Likewise.
39152 (FE_INVALID_SNAN): Likewise.
39153 (FE_INVALID_ISI): Likewise.
39154 (FE_INVALID_IDI): Likewise.
39155 (FE_INVALID_ZDZ): Likewise.
39156 (FE_INVALID_IMZ): Likewise.
39157 (FE_INVALID_COMPARE): Likewise.
39158 (FE_INVALID_SOFTWARE): Likewise.
39159 (FE_INVALID_SQRT): Likewise.
39160 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39161 (FE_TONEAREST): Likewise.
39162 (FE_TOWARDZERO): Likewise.
39163 (FE_UPWARD): Likewise.
39164 (FE_DOWNWARD): Likewise.
39165 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39166 (FE_DIVBYZERO): Likewise.
39167 (FE_OVERFLOW): Likewise.
39168 (FE_UNDERFLOW): Likewise.
39169 (FE_INEXACT): Likewise.
39170 (FE_TONEAREST): Likewise.
39171 (FE_DOWNWARD): Likewise.
39172 (FE_UPWARD): Likewise.
39173 (FE_TOWARDZERO): Likewise.
39174 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39175 (FE_UNDERFLOW): Likewise.
39176 (FE_OVERFLOW): Likewise.
39177 (FE_DIVBYZERO): Likewise.
39178 (FE_INVALID): Likewise.
39179 (FE_TONEAREST): Likewise.
39180 (FE_TOWARDZERO): Likewise.
39181 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39182 (FE_OVERFLOW): Likewise.
39183 (FE_UNDERFLOW): Likewise.
39184 (FE_DIVBYZERO): Likewise.
39185 (FE_INEXACT): Likewise.
39186 (FE_TONEAREST): Likewise.
39187 (FE_TOWARDZERO): Likewise.
39188 (FE_UPWARD): Likewise.
39189 (FE_DOWNWARD): Likewise.
39190 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39191 (FE_DIVBYZERO): Likewise.
39192 (FE_OVERFLOW): Likewise.
39193 (FE_UNDERFLOW): Likewise.
39194 (FE_INEXACT): Likewise.
39195 (FE_TONEAREST): Likewise.
39196 (FE_DOWNWARD): Likewise.
39197 (FE_UPWARD): Likewise.
39198 (FE_TOWARDZERO): Likewise.
39200 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
39202 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39204 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
39206 * scripts/cross-test-ssh.sh (command): Use newlines to separate
39207 commands. Quote $PWD.
39208 (blacklist_exports): Don't use remove_newlines. Replace "declare
39210 (remove_newlines): Remove.
39212 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
39214 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39215 * stdlib/stdlib.h (atof): Moved to ...
39216 * include/bits/stdlib-float.h: Here. New file.
39217 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39218 * stdlib/bits/stdlib-float.h: New file.
39219 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39221 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39224 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39226 * conform/conformtest.pl (@headers): Add fenv.h.
39227 * conform/data/fenv.h-data: New file.
39228 * include/fenv.h [_ISOMAC]: Disable all contents of file except
39229 include of <math/fenv.h>.
39231 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39232 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39233 && !UNIX98]. Enables tests for XOPEN2K8.
39234 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39235 POSIX2008]: Likewise.
39237 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39238 (struct rusage): Do not expect type or its members.
39241 * math/math.h (FP_NAN): Define macro to integer constant usable in
39242 #if and use that to give value to enum constant.
39243 (FP_INFINITE): Likewise.
39244 (FP_ZERO): Likewise.
39245 (FP_SUBNORMAL): Likewise.
39246 (FP_NORMAL): Likewise.
39248 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
39250 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39251 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39254 2012-11-02 Roland McGrath <roland@hack.frob.com>
39256 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39257 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39258 autoconf-time if not.
39259 * configure.in: Remove AC_PREREQ.
39261 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39263 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39264 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39265 of the internal implementation.
39267 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39269 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39270 except include of <misc/sys/syslog.h>.
39272 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39275 function returns with a NULL context exit with zero.
39277 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39279 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39281 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39283 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39284 (run_program_cmd): This.
39285 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39286 (tst_langinfo): New variable. Use it.
39288 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39290 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39291 floating point opcodes.
39293 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39295 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39298 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39300 * sysdeps/mach/hurd/powerpc: Remove directory.
39301 * sysdeps/mach/powerpc: Likewise.
39303 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39305 * scripts/check-local-headers.sh: Ignore c++ headers.
39307 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39309 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39310 __libc_cleanup_region_start argument.
39312 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39317 x * y using scaling, not as x * y + z.
39318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39320 * math/libm-test.inc (fma_test): Add more tests.
39321 (fma_test_towardzero): Likewise.
39322 (fma_test_downward): Likewise.
39323 (fma_test_upward): Likewise.
39325 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39327 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39329 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39331 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39334 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39336 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39338 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39345 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39348 Fix the order of the list for glibc 2.17.
39349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39352 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39356 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39359 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39360 for low part of x being zero before using __atanl (y).
39361 * math/libm-test.inc (atan2_test): Add another test.
39363 * manual/install.texi (Configuring and compiling): Document
39364 general use of test-wrapper and test-wrapper-env.
39365 * INSTALL: Regenerated.
39367 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39368 (__fma): Do not extract and scale down low bits on after-rounding
39369 systems when result rounded to normal precision would have normal
39371 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39372 (__fmal): Do not extract and scale down low bits on after-rounding
39373 systems when result rounded to normal precision would have normal
39375 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39376 (__fmal): Do not extract and scale down low bits on after-rounding
39377 systems when result rounded to normal precision would have normal
39379 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39381 (fma_test): Add more tests.
39382 (fma_test_towardzero): Likewise.
39383 (fma_test_downward): Likewise.
39384 (fma_test_upward): Likewise.
39386 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39388 * sysdeps/i386/tininess.h: Renamed to ...
39389 * sysdeps/x86/tininess.h: This.
39390 * sysdeps/x86_64/tininess.h: Removed.
39392 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39394 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39395 input. Use $(build-program-cmd).
39396 ($(objpfx)tst-array1-static.out): Likewise.
39397 ($(objpfx)tst-array2.out): Likewise.
39398 ($(objpfx)tst-array3.out): Likewise.
39399 ($(objpfx)tst-array4.out): Likewise.
39400 ($(objpfx)tst-array5.out): Likewise.
39401 ($(objpfx)tst-array5-static.out): Likewise.
39403 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39405 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39408 * nss/nsswitch.h (nss_interface_function): Provide new
39409 macro for use with NSS functions.
39410 * grp/initgroups.c: Use new macro.
39411 * nss/getXXbyYY.c: Likewise.
39412 * nss/getXXbyYY_r.c: Likewise.
39413 * nss/getXXent.c: Likewise.
39414 * nss/getXXent_r.c: Likewise.
39415 * sysdeps/posix/getaddrinfo.c: Likewise.
39417 2012-10-30 Andreas Jaeger <aj@suse.de>
39419 * po/ru.po: Update Russion translation from translation project.
39421 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39426 result and shift together with sticky bit instead of replicating
39427 round-to-nearest rounding.
39428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39429 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39430 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39431 missing underflow exceptions.
39432 (fma_test_towardzero): Add more tests.
39433 (fma_test_downward): Likewise.
39434 (fma_test_upward): Likewise.
39437 * sysdeps/generic/tininess.h: New file.
39438 * sysdeps/i386/tininess.h: Likewise.
39439 * sysdeps/sh/tininess.h: Likewise.
39440 * sysdeps/x86_64/tininess.h: Likewise.
39441 * stdlib/tst-strtod-underflow.c: Likewise.
39442 * stdlib/tst-tininess.c: Likewise.
39443 * stdlib/strtod_l.c: Include <tininess.h>.
39444 (round_and_return): Do not set errno for exact underflow cases.
39445 Force an underflow exception when setting errno for underflow.
39446 Determine underflow based on rounding to normal precision if
39447 TININESS_AFTER_ROUNDING.
39448 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39449 ERANGE for exact underflow cases.
39450 * stdlib/Makefile (tests): Add tst-tininess and
39451 tst-strtod-underflow.
39452 ($(objpfx)tst-tininess): Use $(link-libm).
39453 ($(objpfx)tst-strtod-underflow): Likewise.
39455 2012-10-30 Andreas Jaeger <aj@suse.de>
39458 * elf/Makefile (tests): Remove conditional for have-initfini-array
39459 since this is now always required and the variable does not exist
39461 (tests-static): Likewise.
39462 (modules-names): Likewise.
39464 * po/eo.po: Add Esperanto translation from translation project.
39466 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39467 merged with constructor/destructor.
39468 (init_array): Likewise.
39469 * elf/tst-array2dep.c (fini_array): Likewise.
39470 (init_array): Likewise.
39472 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39474 * manual/message.texi: Delete @cartouche tags.
39476 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39478 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39480 * sysdeps/mach/hurd/fsync.c: Likewise.
39482 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39483 [_POSIX_REALTIME_SIGNALS]: Change condition to
39484 [_POSIX_REALTIME_SIGNALS > 0].
39486 2012-10-27 Andreas Jaeger <aj@suse.de>
39488 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39489 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39490 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39491 [__WORDSIZE != 64]: Likewise.
39493 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39495 * iconvdata/tst-table.sh: Remove ${SHELL}.
39496 * iconvdata/tst-tables.sh: Likewise.
39498 2012-10-25 David S. Miller <davem@davemloft.net>
39500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39501 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39506 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39507 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39508 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39511 2012-10-25 Roland McGrath <roland@hack.frob.com>
39513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39514 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39517 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39518 Jim Blandy <jimb@codesourcery.com>
39520 * scripts/cross-test-ssh.sh: New file.
39521 * manual/install.texi (Configuring and compiling): Document use of
39523 * INSTALL: Regenerated.
39525 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39527 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39530 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39532 * Makeconfig (run-program-prefix): Fix comment.
39534 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39535 Jim Blandy <jimb@codesourcery.com>
39537 * Makeconfig (test-wrapper): New variable,
39538 (test-wrapper-env): Likewise.
39539 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39540 (run-built-tests): Define to yes.
39541 (run-program-prefix): Use $(test-wrapper).
39542 (built-program-cmd): Likewise.
39543 * Rules (make-test-out): Use $(test-wrapper-env) and
39544 $(host-built-program-cmd).
39545 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39546 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39548 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39549 $(test-wrapper-env) to tst-rtld-load-self.sh.
39550 ($(objpfx)order2.out): Use $(test-wrapper).
39551 ($(objpfx)tst-initorder.out): Likewise.
39552 ($(objpfx)tst-initorder2.out): Likewise.
39553 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39554 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39555 (test_wrapper_env): New variable. Use it to run ld.so.
39556 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39557 Use it to run ld.so.
39558 (test_wrapper_env): Likewise.
39559 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39560 $(test-wrapper) to run-iconv-test.sh.
39561 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39562 (ICONV): Use $test_wrapper.
39563 * posix/Makefile ($(objpfx)globtest.out): Pass
39564 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39565 globtest.sh, not $(run-program-prefix).
39566 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39567 (test_wrapper): Likewise.
39568 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39569 set together with run_via_rtld_prefix.
39570 (run_program_prefix): Define in terms of test_wrapper and
39571 run_via_rtld_prefix.
39573 2012-10-24 Roland McGrath <roland@hack.frob.com>
39575 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39576 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39580 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39581 Declare __clock_getres, __clock_gettime, __clock_settime,
39582 __clock_nanosleep, and __clock_getcpuclockid.
39583 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39584 Remove librt_hidden_def (clock_gettime).
39585 * sysdeps/unix/clock_gettime.c: Likewise.
39586 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39587 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39588 * rt/clock_getres.c: Define __clock_getres as an alias.
39589 * sysdeps/posix/clock_getres.c: Likewise.
39590 * rt/clock_settime.c: Define __clock_settime as an alias.
39591 * sysdeps/unix/clock_settime.c: Likewise.
39592 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39593 * sysdeps/unix/clock_nanosleep.c: Likewise.
39594 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39595 * rt/clock-compat.c: New file.
39596 * rt/Makefile (librt-routines): Add clock-compat and move
39597 $(clock-routines) to ...
39598 (routines): ... here, new variable.
39599 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39600 Don't add get_clockfreq here.
39601 * rt/Versions (libc: GLIBC_2.17): New version set.
39602 Add clock_* symbols here.
39603 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39604 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39605 (GLIBC_2.17): Add clock_* symbols.
39606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39608 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39617 * NEWS: Mention the move.
39619 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39620 Use __open, __read, __close rather than their public counterparts.
39621 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39622 (__get_clockfreq_via_cpuinfo): Likewise.
39623 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39624 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39626 * config.h.in (HAVE_IFUNC): New #undef.
39627 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39629 * configure: Regenerated.
39631 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39633 * configure.in: Move READELF check to start of file.
39634 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39635 libc_cv_asm_gnu_indirect_function in the process.
39636 * configure: Regenerated.
39638 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39640 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39641 send the output to /dev/null.
39642 (libc_cv_cc_with_libunwind): Likewise.
39643 (libc_cv_as_noexecstack): Likewise.
39644 * configure: Regenerate.
39646 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39648 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39650 * posix/globtest.sh (TMPDIR): Do not set.
39651 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39652 (testout): Likewise.
39654 2012-10-24 Andreas Jaeger <aj@suse.de>
39656 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39657 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39658 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39659 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39660 posix_fadvise64, posix_fallocate64.
39662 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39663 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39664 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39666 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39668 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39670 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39671 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39672 <bits/fcntl-linux.h>.
39673 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39675 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39676 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39677 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39678 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39679 [__WORDSIZE != 64]: Likewise.
39681 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39683 * Makeconfig (run-built-tests): New variable.
39684 * Rules [$(cross-compiling) = yes]: Change condition to
39685 [$(run-built-tests) = no].
39686 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39687 to [$(run-built-tests) = yes].
39688 * elf/Makefile [$(cross-compiling) = no]: Likewise
39689 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39690 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39691 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39692 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39693 * io/Makefile [$(cross-compiling) = no]: Likewise.
39694 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39695 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39696 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39697 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39698 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39699 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39700 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39701 * string/Makefile [$(cross-compiling) = no]: Likewise.
39703 * posix/Makefile ($(objpfx)globtest.out): Pass
39704 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39705 $(rtld-installed-name).
39706 * posix/globtest.sh (elf_objpfx): Remove variable.
39707 (rtld_installed_name): Likewise.
39708 (library_path): Likewise.
39709 (run_program_prefix): New variable. Use for running globtest
39712 2012-10-23 Jim Blandy <jimb@codesourcery.com>
39713 Joseph Myers <joseph@codesourcery.com>
39715 * Makeconfig (host-built-program-cmd): New variable.
39716 * elf/Makefile (tst-stackguard1-ARGS): Use
39717 $(host-built-program-cmd).
39718 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39719 (tst-spawn-ARGS): Likewise.
39720 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39722 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39723 Jim Blandy <jimb@codesourcery.com>
39725 * Makeconfig (run-via-rtld-prefix): New variable.
39726 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39727 (built-program-cmd): Likewise.
39729 2012-10-22 Andreas Jaeger <aj@suse.de>
39731 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39732 __O_RSYNC if it exists, otherwise to O_SYNC.
39734 2012-10-22 Jim Blandy <jimb@codesourcery.com>
39735 Joseph Myers <joseph@codesourcery.com>
39737 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39739 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39741 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39744 2012-10-22 Andreas Jaeger <aj@suse.de>
39746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39751 bits/fcntl-linux.h.
39753 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39754 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39761 2012-10-21 Jim Blandy <jimb@codesourcery.com>
39762 Joseph Myers <joseph@codesourcery.com>
39764 * config.make.in (NM): New variable.
39766 2012-10-21 Andreas Jaeger <aj@suse.de>
39768 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39769 definitions and declarations that are provided by
39770 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39772 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39775 * elf/Makefile (tests-static): Add tst-leaks1-static.
39776 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39777 ($(objpfx)tst-leaks1-static): New rule.
39778 ($(objpfx)tst-leaks1-static-mem): Likewise.
39779 (tst-leaks1-static-ENV): New macro.
39780 * elf/dl-open.c (dl_open_worker): Check the main application
39781 only if SHARED is defined.
39782 * elf/tst-leaks1-static.c: New file.
39784 2012-10-20 Andreas Jaeger <aj@suse.de>
39786 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39787 generic values for Linux.
39788 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39789 and declarations that are provided by <bits/fcntl-linux.h> and
39790 include <bits/fcntl-linux.h>.
39791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39794 2012-10-20 Roland McGrath <roland@hack.frob.com>
39796 * io/fcntl.h: Move include of <bits/types.h> to the top and
39797 include it unconditionally.
39799 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39801 * wcsmbs/Makefile (tests-ifunc): New variable.
39802 (tests): Add $(tests-ifunc).
39803 * wcsmbs/test-wcschr-ifunc.c: New file.
39804 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39805 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39806 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39807 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39808 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39810 * string/Makefile (tests-ifunc): New variable.
39811 (tests): Add $(tests-ifunc).
39812 * string/test-memccpy.c (TEST_NAME): New macro.
39813 * string/test-memchr.c (TEST_NAME): Likewise.
39814 * string/test-memcmp.c (TEST_NAME): Likewise.
39815 * string/test-memcpy.c (TEST_NAME): Likewise.
39816 * string/test-memmem.c (TEST_NAME): Likewise.
39817 * string/test-memmove.c (TEST_NAME): Likewise.
39818 * string/test-memset.c (TEST_NAME): Likewise.
39819 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39820 * string/test-stpcpy.c (TEST_NAME): Likewise.
39821 * string/test-stpncpy.c (TEST_NAME): Likewise.
39822 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39823 * string/test-strcasestr.c (TEST_NAME): Likewise.
39824 * string/test-strcat.c (TEST_NAME): Likewise.
39825 * string/test-strchr.c (TEST_NAME): Likewise.
39826 * string/test-strcmp.c(TEST_NAME): Likewise.
39827 * string/test-strcpy.c (TEST_NAME): Likewise.
39828 * string/test-strcspn.c (TEST_NAME): Likewise.
39829 * string/test-strlen.c (TEST_NAME): Likewise.
39830 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39831 * string/test-strncmp.c (TEST_NAME): Likewise.
39832 * string/test-strncpy.c (TEST_NAME): Likewise.
39833 * string/test-strnlen.c (TEST_NAME): Likewise.
39834 * string/test-strpbrk.c (TEST_NAME): Likewise.
39835 * string/test-strrchr.c (TEST_NAME): Likewise.
39836 * string/test-strspn.c (TEST_NAME): Likewise.
39837 * string/test-strstr.c (TEST_NAME): Likewise.
39838 * string/test-bcopy-ifunc.c: New file.
39839 * string/test-bzero-ifunc.c: Likewise.
39840 * string/test-memccpy-ifunc.c: Likewise.
39841 * string/test-memchr-ifunc.c: Likewise.
39842 * string/test-memcmp-ifunc.c: Likewise.
39843 * string/test-memcpy-ifunc.c: Likewise.
39844 * string/test-memmem-ifunc.c: Likewise.
39845 * string/test-memmove-ifunc.c: Likewise.
39846 * string/test-mempcpy-ifunc.c: Likewise.
39847 * string/test-memset-ifunc.c: Likewise.
39848 * string/test-rawmemchr-ifunc.c: Likewise.
39849 * string/test-stpcpy-ifunc.c: Likewise.
39850 * string/test-stpncpy-ifunc.c: Likewise.
39851 * string/test-strcasecmp-ifunc.c: Likewise.
39852 * string/test-strcasestr-ifunc.c: Likewise.
39853 * string/test-strcat-ifunc.c: Likewise.
39854 * string/test-strchr-ifunc.c: Likewise.
39855 * string/test-strchrnul-ifunc.c: Likewise.
39856 * string/test-strcmp-ifunc.c: Likewise.
39857 * string/test-strcpy-ifunc.c: Likewise.
39858 * string/test-strcspn-ifunc.c: Likewise.
39859 * string/test-strlen-ifunc.c: Likewise.
39860 * string/test-strncasecmp-ifunc.c: Likewise.
39861 * string/test-strncat-ifunc.c: Likewise.
39862 * string/test-strncmp-ifunc.c: Likewise.
39863 * string/test-strncpy-ifunc.c: Likewise.
39864 * string/test-strnlen-ifunc.c: Likewise.
39865 * string/test-strpbrk-ifunc.c: Likewise.
39866 * string/test-strrchr-ifunc.c: Likewise.
39867 * string/test-strspn-ifunc.c: Likewise.
39868 * string/test-strstr-ifunc.c: Likewise.
39870 * debug/Makefile (tests-ifunc): New variable.
39871 (tests): Add $(tests-ifunc).
39872 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39873 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39874 * debug/test-stpcpy_chk-ifunc.c: New file.
39875 * debug/test-strcpy_chk-ifunc.c: Likewise.
39877 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39880 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39881 header is not read in.
39883 2012-10-19 Joseph Myers <joseph@codesourcery.com>
39885 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39886 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39887 directly. Pass built executable to script as
39888 $(built-program-cmd).
39889 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39890 $testprogram without using LD_LIBRARY_PATH and $ldso.
39892 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39893 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39894 $(rtld-installed-name).
39895 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39896 (rtld_installed_name): Likewise.
39897 (library_path): Likewise.
39898 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39899 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39900 $(run-program-prefix) to tst-tables.sh.
39901 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39902 it to run tst-table-from and tst-table-to.
39903 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39904 Pass it to tst-table.sh.
39905 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39906 $(run-program-prefix) to tst-gettext.sh.
39907 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39909 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39911 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39912 to run tst-gettext.
39913 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39914 to run tst-gettext2.
39915 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39916 to run tst-translit.
39917 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39918 $(run-program-prefix) to tst-mtrace.sh.
39919 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39921 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39922 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39923 $(rtld-installed-name).
39924 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39925 (rtld_installed_name): Likewise.
39926 (run_program_prefix): New variable. Use it to run wordexp-test.
39928 * Makeconfig (ARCH): Remove all definitions.
39929 (machine): Likewise.
39930 [ARCH]: Remove conditional code.
39931 [!objdir]: Give error.
39932 [!objdir] (objpfx): Remove.
39933 [!objdir] (common-objpfx): Likewise.
39934 [!objdir] (common-objdir): Likewise.
39935 * configure.in (config_makefile): Remove. Hardcode Makefile in
39936 AC_CONFIG_FILES call.
39937 * configure: Regenerated.
39940 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39942 (testout): Likewise.
39944 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39945 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39946 $(rtld-installed-name).
39947 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39948 (rtld_installed_name): Likwise.
39949 (runit): Remove function.
39950 (run_getconf): New variable, Use it for running getconf binary.
39952 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39955 * string/test-memmem.c (check_result): New function.
39956 (do_one_test): Use it.
39957 (check1): New function.
39958 (test_main): Use it.
39960 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39962 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39964 2012-10-18 Joseph Myers <joseph@codesourcery.com>
39966 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39967 (_G_LSEEK64): Likewise.
39968 (_G_MMAP64): Likewise.
39969 (_G_FSTAT64): Likewise.
39970 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39971 (_G_LSEEK64): Likewise.
39972 (_G_MMAP64): Likewise.
39973 (_G_FSTAT64): Likewise.
39974 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39975 unconditional. Call __mmap64 directly.
39976 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39977 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39978 __lseek64 directly.
39979 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39980 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39982 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39983 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39984 __lseek64 directly.
39985 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39986 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39987 __lseek64 directly.
39988 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39989 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39990 __lseek64 directly.
39991 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39992 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39993 __fxstat64 directly.
39994 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39995 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39997 (freopen64) [!_G_OPEN64]: Remove conditional code.
39998 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40000 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40001 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40003 (ftello64) [!_G_LSEEK64]: Remove conditional code.
40004 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40006 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40007 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40009 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40010 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40012 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40013 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40015 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40016 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40018 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40020 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40023 * manual/memory.texi (Malloc Tunable Parameters): Add note
40024 about free list pointers overwriting some perturb bytes.
40025 Wording suggested by Roland McGrath.
40027 2012-10-17 Joseph Myers <joseph@codesourcery.com>
40029 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40030 (lgamma_test): Likewise.
40031 (tgamma_test): Likewise.
40033 2012-10-16 Florian Weimer <fweimer@redhat.com>
40036 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40037 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40039 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
40041 * NEWS: Mention BZ #14716.
40042 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40043 when removing AVAILABLE1_USES_J macro.
40045 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
40047 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40048 (__bswap_64): __uint64_t for unsigned 64-bit int.
40050 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
40052 * include/string.h (memmem): Declare libc hidden alias.
40053 * string/memmem.c (memmem): Define libc hidden alias.
40054 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40055 __read, __close instead of open, read, close.
40057 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
40059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40060 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40062 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40063 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40064 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40066 (__rawmemchr_sse2): Likewise.
40067 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40068 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40069 (__strchr_sse2): Likewise.
40070 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40071 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40072 (__strcasecmp_sse2): Likewise.
40073 (__strncasecmp_sse2): Likewise.
40074 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40075 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40076 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40077 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40078 (__strrchr_sse2): Likewise.
40079 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40081 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40082 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40083 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40084 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40085 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40086 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40087 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40088 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40089 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40090 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40091 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40092 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40093 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40094 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40095 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40096 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40097 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40098 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40099 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40100 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40101 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40102 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40103 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40104 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40105 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40106 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40107 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40108 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40109 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40110 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40112 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40114 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40115 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40116 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40117 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40119 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40121 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40122 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40123 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40124 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40126 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40127 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40128 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40129 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40130 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40131 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40132 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40133 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40134 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40135 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40136 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40137 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40138 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40139 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40140 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40141 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40142 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40143 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40144 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40145 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40146 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40147 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40148 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40149 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40150 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40151 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40152 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40153 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40154 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40155 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40156 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40157 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40158 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40159 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40160 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40161 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40162 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40163 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40164 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40165 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40166 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40168 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40169 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40170 * include/ifunc-impl-list.h: New file.
40171 * misc/ifunc-impl-list.c: Likewise.
40172 * misc/Makefile (routines): Add ifunc-impl-list.
40173 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40174 * string/test-string.h: Include <ifunc-impl-list.h>.
40175 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40176 TEST_NAME]: New variables.
40177 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40179 (test_init): Call __libc_ifunc_impl_list to initialize
40180 func_list if TEST_IFUNC and TEST_NAME are defined.
40182 * string/Makefile (strop-tests): Add bcopy and bzero.
40183 * string/test-bcopy.c: New file.
40184 * string/test-bzero.c: Likewise.
40185 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40187 * string/test-memset.c: Support bzero test if TEST_BZERO is
40189 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40191 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40193 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40196 2012-10-10 Joseph Myers <joseph@codesourcery.com>
40198 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40199 * configure: Regenerated.
40201 * Makeconfig (+link-static-before-libc): Don't include
40202 $(link-static-libc).
40204 * libio/libio.h (_IO_pos_t): Remove.
40206 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40208 * NEWS: Add note about FIPS mode. Wording suggested by Roland
40211 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40213 * crypt/crypt-entry.c: Include fips-private.h.
40214 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40215 * crypt/md5c-test.c (main): Tolerate disabled MD5.
40216 * sysdeps/unix/sysv/linux/fips-private.h: New file.
40217 * sysdeps/generic/fips-private.h: New file, dummy fallback.
40219 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40221 * crypt/crypt-private.h: Include stdbool.h.
40222 (_ufc_setup_salt_r): Return bool.
40223 * crypt/crypt-entry.c: Include errno.h.
40224 (__crypt_r): Return NULL with EINVAL for bad salt.
40225 * crypt/crypt_util.c (bad_for_salt): New.
40226 (_ufc_setup_salt_r): Check that salt is long enough and within
40227 the specified alphabet.
40228 * crypt/badsalttest.c: New file.
40229 * crypt/Makefile (tests): Add it.
40230 ($(objpfx)badsalttest): New.
40232 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
40234 * NEWS: Add entry for BZ #14602.
40236 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40238 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40240 * math/libm-test.inc: Update comment listing what functions and
40242 (isgreater_test): New function.
40243 (isgreaterequal_test): Likewise.
40244 (isless_test): Likewise.
40245 (islessequal_test): Likewise.
40246 (islessgreater_test): Likewise.
40247 (isunordered_test): Likewise.
40248 (main): Call the new functions.
40250 2012-10-09 Roland McGrath <roland@hack.frob.com>
40252 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40253 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40254 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40255 * sysdeps/i386/configure: Regenerated.
40256 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40257 * sysdeps/mach/configure: Regenerated.
40258 * sysdeps/mach/hurd/configure: Regenerated.
40259 * sysdeps/powerpc/configure: Regenerated.
40260 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40261 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40262 * sysdeps/s390/s390-32/configure: Regenerated.
40263 * sysdeps/s390/s390-64/configure: Regenerated.
40264 * sysdeps/sh/configure: Regenerated.
40265 * sysdeps/sparc/configure: Regenerated.
40266 * sysdeps/unix/sysv/linux/configure: Regenerated.
40267 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40268 * sysdeps/x86_64/configure: Regenerated.
40270 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40271 defined. Don't check if MAP is NULL.
40273 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40275 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40276 (_G_stat64): Likewise.
40277 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40278 (_G_stat64): Likewise.
40279 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40280 instead of struct _G_stat64.
40281 * libio/fileops.c (mmap_remap_check): Likewise.
40282 (decide_maybe_mmap): Likewise.
40283 (_IO_new_file_seekoff): Likewise.
40284 (_IO_file_stat): Likewise.
40285 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40287 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40288 instead of struct _G_stat64.
40289 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40291 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40294 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40296 (CHECK_EOL): New macro.
40297 (two_way_short_needle): Check beginning of haystack for EOL. Use
40299 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40300 Replace with CHECK_EOL.
40301 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40302 Replace with CHECK_EOL.
40304 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40306 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40308 * math/libm-test.inc: Update comment listing what functions and
40310 (finite_test): New function.
40311 (isinf_test): Likewise.
40312 (isnan_test): Likewise.
40313 (fpclassify_test): Test subnormal input.
40314 (isfinite_test): Likewise.
40315 (isnormal_test): Likewise.
40316 (main): Call the new functions.
40318 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40321 * Makerules (%.dynsym): Force C locale when running
40322 $(OBJDUMP) --dynamic-syms.
40324 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40326 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40329 2012-10-06 David S. Miller <davem@davemloft.net>
40331 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40332 upper 32-bits of the length value in %o2 since we use branch-on-register
40333 tests which consider the entire 64-bit register.
40335 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40337 * string/test-strstr.c (check2): Add a test for page boundary.
40339 2012-10-05 David S. Miller <davem@davemloft.net>
40341 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40342 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40344 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40346 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40347 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40348 and bzero when HWCAP_SPARC_CRYPTO is present.
40350 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40353 * string/test-strstr.c (check2): New function.
40354 (test_main): Call check2.
40356 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40358 * string/bug-strcasestr1.c (do_test): Moved to ...
40359 * string/test-strcasestr.c (check1): Here. New function.
40360 (do_one_test): Break out result checking code into ...
40361 (check_result): This. New function.
40362 (do_one_test): Call check_result.
40363 (test_main): Call check1.
40364 * string/bug-strchr1.c (do_test): Moved to ...
40365 * string/test-strchr.c (check1): Here. New function.
40366 (do_one_test): Break out result checking code into ...
40367 (check_result): This. New function.
40368 (do_one_test): Call check_result.
40369 (test_main): Call check1.
40370 * string/bug-strstr1.c (main): Moved to ...
40371 * string/test-strstr.c (check1): Here. New function.
40372 (do_one_test): Break out result checking code into ...
40373 (check_result): This. New function.
40374 (do_one_test): Call check_result.
40375 (test_main): Call check1.
40376 * string/bug-strcasestr1.c: Removed.
40377 * string/bug-strchr1.c: Likewise.
40378 * string/bug-strstr1.c: Likewise.
40380 * elf/Makefile (dl-routines): Add hwcaps.
40381 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40382 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40383 (_dl_important_hwcaps): Moved to ...
40384 * elf/dl-hwcaps.c: Here. New file.
40385 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40388 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40389 if IS_IN_rtld isn't defined.
40391 * elf/dl-support.c (_dl_sysinfo_map): New.
40392 Include "get-dynamic-info.h" and "setup-vdso.h".
40393 (_dl_non_dynamic_init): Call setup_vdso.
40394 * elf/dynamic-link.h: Don't include <assert.h>.
40395 (elf_get_dynamic_info): Moved to ...
40396 * elf/get-dynamic-info.h: Here. New file.
40397 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40398 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40399 * elf/setup-vdso.h: Here. New file.
40400 * elf/rtld.c: Include "setup-vdso.h".
40401 (dl_main): Call setup_vdso.
40403 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40405 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40406 creal in comment listing functions tested. List finite, isinf,
40407 isnan, isless, islessequal, isgreater, isgreaterequal,
40408 islessgreater, isunordered, lgamma_r and pow10 as functions and
40409 macros not tested. Mention which functions not tested are aliases
40410 for other functions. Fix typo. Note that signs of NaNs are not
40413 * scripts/config.guess: Update from config.git.
40414 * scripts/config.sub: Likewise.
40416 2012-10-04 Roland McGrath <roland@hack.frob.com>
40418 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40419 * misc/madvise.c (madvise): Renamed to __madvise.
40420 Make madvise a weak alias.
40421 * include/sys/mman.h: Declare __madvise.
40422 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40423 * sysdeps/unix/syscalls.list
40424 (madvise): Make __madvise the strong name, and madvise a weak alias.
40425 * sysdeps/unix/sysv/linux/syscalls.list
40426 (madvise, mmap): Remove redundant entries.
40427 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40428 * malloc/malloc.c (mtrim): Likewise.
40429 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40431 2012-10-03 Roland McGrath <roland@hack.frob.com>
40433 * sysdeps/mach/hurd/dl-cache.c: File removed.
40434 * config.h.in (USE_LDCONFIG): New #undef.
40435 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40436 * configure: Regenerated.
40437 * elf/Makefile (dl-routines): Add dl-cache only under
40438 [$(use-ldconfig) = yes].
40439 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40440 cache on [USE_LDCONFIG].
40441 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40443 * elf/rtld.c (dl_main): Likewise.
40445 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40447 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40448 _SC_LEVEL4_CACHE_LINESIZE.
40450 2012-10-03 Roland McGrath <roland@hack.frob.com>
40452 * sysdeps/unix/bsd/confstr.h: File removed.
40454 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40456 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40459 2012-10-02 Roland McGrath <roland@hack.frob.com>
40461 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40462 Make 'mapoff' field ElfW(Off) rather than off_t.
40464 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40466 * nscd/Makefile: Remove nscd-cflags and all its users.
40467 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40468 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40471 * malloc.c (malloc_printerr): Clarify error message.
40473 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40477 Set bit_FMA_Usable if FMA is supported.
40478 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40480 (bit_FMA4_Usable): Updated.
40481 (index_FMA_Usable): New macro.
40482 (CPUID_FMA): Likewise
40483 (HAS_FMA): Defined with bit_FMA_Usable.
40485 2012-10-01 Roland McGrath <roland@hack.frob.com>
40487 * bits/types.h (__swblk_t): Type removed.
40488 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40489 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40491 (__SWBLK_T_TYPE): Likewise.
40492 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40493 (__SWBLK_T_TYPE): Likewise.
40494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40495 (__SWBLK_T_TYPE): Likewise.
40496 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40497 (__SWBLK_T_TYPE): Likewise.
40499 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40500 Honza Horak <hhorak@redhat.com>
40502 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40503 (xdr_mapname): Use YPMAXMAP as maxsize.
40504 (xdr_peername): Use YPMAXPEER as maxsize.
40505 (xdr_keydat): Use YPAXRECORD as maxsize.
40506 (xdr_valdat): Use YPMAXRECORD as maxsize.
40508 2012-10-01 Roland McGrath <roland@hack.frob.com>
40510 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40512 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40513 * csu/init-first.c: ... here.
40514 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40515 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40516 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40517 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40518 * sysdeps/i386/init-first.c: File removed.
40519 * sysdeps/sh/init-first.c: File removed.
40521 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40525 if x * y might underflow to zero and z is zero.
40526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40528 * math/libm-test.inc (min_subnorm_value): New variable.
40529 (fma_test): Add more tests.
40530 (fma_test_towardzero): Likewise.
40531 (fma_test_downward): Likewise
40532 (fma_test_upward): Likewise.
40533 (initialize): Set min_subnorm_value.
40535 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40540 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40541 mode for addition resulting in exact zero.
40542 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40545 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40546 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40547 * math/libm-test.inc (fma_test): Add more tests.
40548 (fma_test_towardzero): New function.
40549 (fma_test_downward): Likewise.
40550 (fma_test_upward): Likewise.
40551 (main): Call the new functions.
40553 2012-09-28 David S. Miller <davem@davemloft.net>
40555 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40557 2012-09-28 Roland McGrath <roland@hack.frob.com>
40559 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40560 instead of SIGALRM.
40562 * sysdeps/gnu/_G_config.h: Moved to ...
40563 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40564 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40565 * sysdeps/generic/_G_config.h: ... here.
40567 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40569 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40571 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40572 Conditionalize target on [libnss_test1.so-version].
40574 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40576 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40577 (elfobjdir): Move out of conditionals.
40579 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40580 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40581 (__nss_lookup_function): Conditionalize label remove_from_tree on
40582 [!DO_STATIC_NSS || SHARED], matching its only use.
40584 2012-09-28 David S. Miller <davem@davemloft.net>
40586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40587 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40589 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40591 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40593 when HWCAP_SPARC_CRYPTO is present.
40595 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40597 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40599 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40602 * stdio-common/vfprintf.c (process_string_arg): Revert
40605 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40607 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40609 * stdio-common/tst-sprintf.c: Include <locale.h>
40610 (main): Test sprintf's handling of incomplete multibyte
40613 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40615 * elf/dl-runtime.c (VERSYMIDX): Removed.
40616 * elf/dl-version.c (VERSYMIDX): Likewise.
40617 * elf/do-rel.h (VERSYMIDX): Likewise.
40618 (VALIDX): Likewise.
40619 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40620 * elf/rtld.c (VALIDX): Likewise.
40621 (ADDRIDX): Likewise.
40622 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40623 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40624 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40625 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40626 (VALIDX): Likewise.
40627 (ADDRIDX): Likewise.
40629 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40631 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40633 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40636 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40638 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40639 addresses are in the same scope as 192.0.2/24.
40640 * posix/gai.conf: Document new scope table defaults.
40642 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40645 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40646 for ftell. Compute offsets from write pointers instead.
40647 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40649 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40652 * libio/Makefile (tests): New test case tst-fseek.
40653 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40654 combination works in wide mode.
40655 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40656 state when the external buffer state changes.
40658 2012-09-27 David S. Miller <davem@davemloft.net>
40661 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40662 pass reloc->r_addend in as the 'high' argument to
40663 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40667 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40669 * rt/tst-aio2.c: Include <pthread.h>.
40670 * rt/tst-aio3.c: Likewise.
40672 2012-09-27 Steve Ellcey <sellcey@mips.com>
40674 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40676 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40678 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40679 contents on [SHARED].
40681 2012-09-26 Marek Polacek <polacek@redhat.com>
40685 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40686 for C++ and GCC <4.3 as well as for non GCC compilers.
40688 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40692 2012-09-25 Roland McGrath <roland@hack.frob.com>
40694 * Makefile.in (all, install): Declare with .PHONY.
40695 Reported by Michael Hope <michael.hope@linaro.org>.
40697 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40699 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40700 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40702 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40704 (sydep_routines): Add the new and the internal functions.
40705 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40706 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40708 (GLIBC_2.17): Add the new function.
40709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40710 (GLIBC_2.17): Likewise.
40711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40712 (GLIBC_2.17): Likewise.
40713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40714 (GLIBC_2.17): Likewise.
40715 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40717 2012-09-25 Alan Modra <amodra@gmail.com>
40719 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40720 Add release barrier before setting once_control to say
40721 initialisation is done. Add hints on lwarx. Use macro in
40723 (clear_once_control): Add release barrier.
40725 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40728 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40730 * math/s_clog10.c (__clog10): Likewise.
40731 * math/s_clog10f.c (__clog10f): Likewise.
40732 * math/s_clog10l.c (__clog10l): Likewise.
40733 * math/s_clogf.c (__clogf): Likewise.
40734 * math/s_clogl.c (__clogl): Likewise.
40735 * math/Makefile (libm-calls): Add x2y2m1.
40736 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40737 (__x2y2m1): Likewise.
40738 (__x2y2m1l): Likewise.
40739 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40740 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40741 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40742 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40743 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40744 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40745 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40746 * sysdeps/i386/fpu/libm-test-ulps: Update.
40747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40750 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40751 int as type of variable DEPTH.
40752 (glob): Use size_t instead of int as type of variables NEWCOUNT
40755 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40757 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40758 Add s_sincosf-sse2.
40759 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40760 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40761 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40762 macros for using routine as __sincosf_ia32.
40763 Use macro for function declaration and weak_alias.
40764 * sysdeps/i386/fpu/libm-test-ulps: Update.
40766 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40769 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40770 subnormal argument.
40771 * math/s_cexpf.c (__cexpf): Likewise.
40772 * math/s_csinf.c (__csinf): Likewise.
40773 * math/s_csinhf.c (__csinhf): Likewise.
40774 * math/s_ctanf.c (__ctanf): Likewise.
40775 * math/s_ctanhf.c (__ctanhf): Likewise.
40776 * math/s_ccosh.c (__ccoshf): Likewise.
40777 * math/s_cexp.c (__cexpl): Likewise.
40778 * math/s_csin.c (__csin): Likewise.
40779 * math/s_csinh.c (__csinh): Likewise.
40780 * math/s_ctan.c (__ctan): Likewise.
40781 * math/s_ctanh.c (ctanh): Likewise.
40782 * math/s_ccoshl.c (__ccoshl): Likewise.
40783 * math/s_cexpl.c (__cexpl): Likewise.
40784 * math/s_csinl.c (__csinl): Likewise.
40785 * math/s_csinhl.c (__csinhl): Likewise.
40786 * math/s_ctanl.c (__ctanl): Likewise.
40787 * math/s_ctanhl.c (__ctanhl): Likewise.
40789 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40791 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40792 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40793 (_IO_off_t): Define to __off_t, not _G_off_t.
40794 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40795 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40796 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40797 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40798 type of __dummy and __dummy2 fields.
40799 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40800 (_G_ssize_t): Likewise.
40801 (_G_off_t): Likewise.
40802 (_G_pid_t): Likewise.
40803 (_G_uid_t): Likewise.
40804 (_G_wchar_t): Likewise.
40805 (_G_wint_t): Likewise.
40806 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40807 (_G_ssize_t): Likewise.
40808 (_G_off_t): Likewise.
40809 (_G_pid_t): Likewise.
40810 (_G_uid_t): Likewise.
40811 (_G_wchar_t): Likewise.
40812 (_G_wint_t): Likewise.
40813 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40814 (_G_ssize_t): Likewise.
40815 (_G_off_t): Likewise.
40816 (_G_pid_t): Likewise.
40817 (_G_uid_t): Likewise.
40818 (_G_wchar_t): Likewise.
40819 (_G_wint_t): Likewise.
40821 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40823 * malloc/arena.c: Include malloc-sysdep.h.
40824 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40825 is sufficient to shrink the heap or an unmap is needed.
40826 * sysdeps/generic/malloc-sysdep.h: New file. Define
40827 new function check_may_shrink_heap.
40828 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40829 new function check_may_shrink_heap.
40831 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40833 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40836 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40838 * catgets/test-gencat.sh: Add "set -e".
40839 * elf/tst-pathopt.sh: Likewise.
40840 * grp/tst_fgetgrent.sh: Likewise.
40841 * iconvdata/run-iconv-test.sh: Likewise.
40842 * intl/tst-gettext.sh: Likewise.
40843 * intl/tst-gettext2.sh: Likewise.
40844 * intl/tst-gettext4.sh: Likewise.
40845 * intl/tst-gettext6.sh: Likewise.
40846 * intl/tst-translit.sh: Likewise.
40847 * io/ftwtest-sh: Likewise.
40848 * libio/test-freopen.sh: Likewise.
40849 * malloc/tst-mtrace.sh: Likewise.
40850 * posix/globtest.sh: Likewise.
40851 * posix/tst-getconf.sh: Likewise.
40852 * posix/wordexp-tst.sh: Likewise.
40853 * stdio-common/tst-printf.sh: Likewise.
40854 * stdio-common/tst-unbputc.sh: Likewise.
40855 * stdlib/tst-fmtmsg.sh: Likewise.
40856 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40857 * catgets/Makefile: Do not specify -e option when running
40858 testsuite shell scripts.
40859 * elf/Makefile: Likewise.
40860 * grp/Makefile: Likewise.
40861 * iconvdata/Makefile: Likewise.
40862 * intl/Makefile: Likewise.
40863 * io/Makefile: Likewise.
40864 * libio/Makefile: Likewise.
40865 * malloc/Makefile: Likewise.
40866 * posix/Makefile: Likewise.
40867 * stdio-common/Makefile: Likewise.
40868 * stdlib/Makefile: Likewise.
40869 * sysdeps/x86_64/Makefile: Likewise.
40871 * io/ftwtest-sh: Add copyright header.
40872 * posix/globtest.sh: Likewise.
40873 * posix/tst-getconf.sh: Likewise.
40874 * posix/wordexp-tst.sh: Likewise.
40875 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40877 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40880 * Makeconfig (+link): Defined as $(+link-static) if
40881 $(build-shared) isn't yes.
40882 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40884 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40886 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40889 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40890 new chunk size with MALLOC_ALIGN_MASK.
40892 2012-09-24 Joseph Myers <joseph@codesourcery.com>
40895 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40897 (__printf_fphex): Determine rounding using get_rounding_mode and
40899 * stdio-common/tst-printf-round.c (struct hex_test): New
40901 (hex_tests): New variable.
40902 (test_hex_in_one_mode): New function.
40903 (do_test): Also run tests for hex float output.
40905 2012-09-21 Joseph Myers <joseph@codesourcery.com>
40907 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40908 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40909 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40910 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40911 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40912 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40913 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40914 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40916 2012-09-20 Joseph Myers <joseph@codesourcery.com>
40918 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40919 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40920 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40921 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40923 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40926 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40928 * elf/tst-rtld-load-self.sh: New test.
40929 * elf/Makefile: Run it.
40931 2012-09-18 Joseph Myers <joseph@codesourcery.com>
40933 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40934 (tst-writev-ENV): Remove.
40935 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40937 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40939 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40941 2012-09-17 Joseph Myers <joseph@codesourcery.com>
40943 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40945 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40947 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40948 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40949 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40952 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40955 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40956 * config.make.in (have-cpp-asm-debuginfo): Removed.
40957 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40958 * configure: Regenerated.
40960 2012-09-14 Joseph Myers <joseph@codesourcery.com>
40963 * stdio-common/printf_fp.c: Include <stdbool.h> and
40965 (___printf_fp): Determine rounding using get_rounding_mode and
40967 * stdio-common/tst-printf-round.c: New file.
40968 * stdio-common/Makefile (tests): Add tst-printf-round.
40969 (link-libm): New variable.
40970 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40972 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40975 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40976 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40978 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40981 2012-09-13 Joseph Myers <joseph@codesourcery.com>
40983 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40984 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40985 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40986 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40988 2012-09-12 Joseph Myers <joseph@codesourcery.com>
40991 * include/rounding-mode.h: New file.
40992 * sysdeps/generic/get-rounding-mode.h: Likewise.
40993 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40994 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40995 (MAX_VALUE): New macro.
40996 (MIN_VALUE): Likewise.
40997 (overflow_value): New function.
40998 (underflow_value): Likewise.
40999 (round_and_return): Use overflow_value and underflow_value to
41000 determine return values in overflow and underflow cases. Use
41001 round_away to determine rounding depending on rounding mode.
41002 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41003 determine return values in overflow and underflow cases.
41004 * stdlib/tst-strtod-round.c: Include <fenv.h>.
41005 (struct test_results): New structure.
41006 (struct test): Use struct test_results to store expected results
41007 for all rounding modes.
41008 (TEST): Include expected results for all rounding modes.
41009 (test_in_one_mode): New function.
41010 (do_test): Use test_in_one_mode to compute and check results.
41011 Check results for all rounding modes.
41012 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41015 2012-12-09 Allan McRae <allan@archlinux.org>
41017 * sysdeps/i386/fpu/libm-test-ulps: Update
41019 2012-09-11 Joseph Myers <joseph@codesourcery.com>
41021 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41022 (_G_int32_t): Likewise.
41023 (_G_uint16_t): Likewise.
41024 (_G_uint32_t): Likewise.
41025 (_G_HAVE_BOOL): Likewise.
41026 (_G_HAVE_ATEXIT): Likewise.
41027 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41028 (_G_HAVE_IO_FILE_OPEN): Likewise.
41029 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41030 (_G_int32_t): Likewise.
41031 (_G_uint16_t): Likewise.
41032 (_G_uint32_t): Likewise.
41033 (_G_HAVE_BOOL): Likewise.
41034 (_G_HAVE_ATEXIT): Likewise.
41035 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41036 (_G_HAVE_IO_FILE_OPEN): Likewise.
41037 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41038 (_G_int32_t): Likewise.
41039 (_G_uint16_t): Likewise.
41040 (_G_uint32_t): Likewise.
41041 (_G_HAVE_BOOL): Likewise.
41042 (_G_HAVE_ATEXIT): Likewise.
41043 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41044 (_G_HAVE_IO_FILE_OPEN): Likewise.
41046 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
41048 * csu/libc-tls.c: Update copyright years.
41050 2012-09-10 Joseph Myers <joseph@codesourcery.com>
41052 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41053 [!_G_USING_THUNKS]: Remove conditional code.
41054 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41055 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41057 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41058 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41059 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41060 (_G_VTABLE_LABEL_PREFIX): Likewise.
41061 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41062 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41063 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41064 (_G_VTABLE_LABEL_PREFIX): Likewise.
41065 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41066 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41067 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41068 (_G_VTABLE_LABEL_PREFIX): Likewise.
41069 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41071 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41073 * libio/Makefile: Include ../Makeconfig before tests.
41074 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41075 only if $(build-shared) is yes.
41077 * iconv/gconv_db.c: Update copyright years.
41079 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41081 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41082 unwind info if defined PIC. Fix special cases description.
41083 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41085 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41087 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41089 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41091 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41093 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41096 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41097 (LDLIBS-tst-chk4): This.
41098 (LDFLAGS-tst-chk5): Renamed to ...
41099 (LDLIBS-tst-chk5): This.
41100 (LDFLAGS-tst-chk6): Renamed to ...
41101 (LDLIBS-tst-chk6): This.
41102 (LDFLAGS-tst-lfschk4): Renamed to ...
41103 (LDLIBS-tst-lfschk4): This.
41104 (LDFLAGS-tst-lfschk5): Renamed to ...
41105 (LDLIBS-tst-lfschk5): This.
41106 (LDFLAGS-tst-lfschk6): Renamed to ...
41107 (LDLIBS-tst-lfschk6): This.
41109 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41110 on $(common-objpfx)soversions.mk.
41112 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41115 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41118 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41120 * malloc/arena.c (arena_get_retry): New function that gets
41121 another arena for the caller to try its request on.
41122 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41123 current arena cannot fulfill the request.
41124 (__libc_memalign): Likewise.
41125 (__libc_memalign): Likewise.
41126 (__libc_pvalloc): Likewise.
41127 (__libc_calloc): Likewise.
41129 2012-09-05 John Tobey <john.tobey@gmail.com>
41132 * manual/arith.texi (Operations on Complex): Fix description
41133 of carg branch cut.
41135 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41138 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41142 * manual/memory.texi (Memory): Make order of menu items match
41145 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41147 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41148 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41149 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41151 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41153 * csu/libc-tls.c (static_dtv): Renamed to ...
41154 (_dl_static_dtv): This. Make it global.
41155 (_dl_initial_dtv): Removed.
41156 (__libc_setup_tls): Updated.
41157 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41158 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41161 2012-09-06 Petr Machata <pmachata@redhat.com>
41163 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41164 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41165 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41166 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41168 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41171 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41172 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41175 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41178 * Makeconfig (link-static-before-libc): Replace $(+prector)
41180 (link-static-after-libc): Replace $(+postctor) with
41182 (link-bounded): Replace $(+prector)/$(+postctor) with
41183 $(+prectorT)/$(+postctorT).
41184 (+prectorT): New macro.
41185 (+postctorT): Likewise.
41187 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41189 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41190 (round_str): Handle values above the maximum for IBM long double
41192 * stdlib/tst-strtod-round.c (tests): Regenerated.
41194 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41196 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41198 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41199 zarch_nohighgprs around the zarch optimized routines.
41200 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41201 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41202 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41205 2012-09-05 David S. Miller <davem@davemloft.net>
41207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41209 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41210 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41211 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41212 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41215 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41217 * malloc/arena.c: Fold copyright years.
41218 * malloc/mcheck.c, malloc/memusage.c: Likewise.
41220 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41222 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41224 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41226 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
41228 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41230 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41231 change internal state upon failure.
41233 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41235 * malloc/mcheck.c (mcheck_check_all): Fix typo.
41236 * malloc/memusage.c (mmap): Likewise.
41237 (mmap64, mremap): Likewise. Adjust name in comment.
41239 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41241 * libio/fileops.c: Fix typos in comments.
41242 * libio/oldfileops.c: Likewise.
41243 * libio/wfileops.c: Likewise.
41245 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41248 * malloc/Makefile (tests): Add tst-malloc-usable test case.
41249 (tst-malloc-usable-ENV): Set environment for test case.
41250 * malloc/hooks.c (malloc_check_get_size): New function to get
41252 * malloc/malloc.c (musable): Use malloc_check_get_size.
41253 * malloc/tst-malloc-usable.c: New test case.
41255 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41257 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41259 2012-09-05 Allan McRae <allan@archlinux.org>
41262 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41263 determine header location.
41264 * configure: Regenerated.
41266 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41268 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41270 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41271 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41273 (test): Regenerate.
41275 2012-09-04 David S. Miller <davem@davemloft.net>
41277 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41278 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41279 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41281 2012-09-04 Florian Weimer <fweimer@redhat.com>
41283 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41286 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41288 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41291 * libio/iogetdelim.c: Include <limits.h>.
41292 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41293 + len + 1 would overflow.
41295 2012-09-03 Andreas Jaeger <aj@suse.de>
41297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41298 * sysdeps/i386/fpu/libm-test-ulps: Update.
41300 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41302 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41303 Add s_sinf-sse2, s_conf-sse2.
41305 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41306 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41307 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41308 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41310 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41311 for using routine as __sinf_ia32.
41312 Use macro for function declaration and weak_alias.
41313 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41314 for using routine as __cosf_ia32.
41315 Use macro for function declaration and weak_alias.
41317 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41318 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41320 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41321 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41324 * math/libm-test.inc (cos_test): Add more test cases.
41325 (sin_test): Likewise.
41326 (sincos_test): Likewise.
41328 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41330 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41331 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41333 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41335 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41338 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41339 first element of the GOT.
41340 (elf_machine_load_address): Return the difference between
41341 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41343 2012-09-01 Allan McRae <allan@archlinux.org>
41346 * configure.in (AWK): Require gawk version 3.0 or later.
41347 * configure: Regenerated.
41349 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41351 * sysdeps/unix/sysv/linux/kernel-features.h
41352 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41353 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41354 [__NR_clock_getres]: Make code unconditional.
41355 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41356 (clock_getcpuclockid): Remove code left unreachable by removal of
41358 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41359 code unconditional.
41360 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41361 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41362 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41363 Make code unconditional.
41364 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41365 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41366 * sysdeps/unix/sysv/linux/clock_settime.c
41367 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41369 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41370 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41372 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41375 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41376 scripts/test-installation.pl.
41378 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41379 and $ld_so_version if it is set.
41381 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41384 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41385 failure if reading from procfs failed.
41386 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41388 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41390 * sysdeps/unix/sysv/linux/kernel-features.h
41391 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41392 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41393 Remove conditional code.
41394 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41395 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41396 Remove conditional code.
41397 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41398 * sysdeps/unix/sysv/linux/i386/fxstat.c
41399 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41400 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41401 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41402 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41403 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41404 * sysdeps/unix/sysv/linux/i386/lxstat.c
41405 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41406 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41407 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41408 Remove conditional code.
41409 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41410 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41411 Remove conditional code.
41412 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41413 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41414 <kernel-features.h>.
41415 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41417 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41418 Remove conditional code.
41419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41420 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41421 Remove conditional.
41423 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41426 * NEWS: Add fixed bug number.
41428 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41431 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41432 underflowing exponent in case of negative sign.
41433 * stdlib/tst-strtod-round-data: Add more tests.
41434 * stdlib/tst-strtod-round.c (tests): Regenerated.
41437 * stdlib/strtod_l.c (NDIG): Remove.
41438 (HEXNDIG): Likewise.
41439 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41440 smallest representable value.
41441 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41442 lie within an exact representation of 1/2 ulp of the result.
41443 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41445 (TENS_P9_IDX): Define unconditionally.
41446 (TENS_P9_SIZE): Likewise.
41447 (TENS_P10_IDX): Likewise.
41448 (TENS_P10_SIZE): Likewise.
41449 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41450 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41451 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41452 entries for 10^2^13 and 10^2^14.
41453 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41454 (TENS_P13_IDX): Define.
41455 (TENS_P13_SIZE): Likewise.
41456 (TENS_P14_IDX): Likewise.
41457 (TENS_P14_SIZE): Likewise.
41458 (_fpioconst_pow10): Change array size to
41459 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41461 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41462 1024]: Add entries for 10^2^13 and 10^2^14.
41463 [LAST_POW10 > _LAST_POW10]: Remove #error.
41464 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41465 (_fpioconst_pow10): Change array size to
41466 FPIOCONST_POW10_ARRAY_SIZE.
41467 * stdlib/gen-fpioconst.c: New file.
41468 * stdlib/gen-tst-strtod-round.c: Likewise.
41469 * stdlib/tst-strtod-round-data: Likewise.
41470 * stdlib/tst-strtod-round.c: Likewise.
41471 * stdlib/Makefile (tests): Add tst-strtod-round.
41474 * stdlib/strtod_l.c: Include <stdint.h>.
41475 (NDEBUG): Do not define.
41476 (round_and_return): Change EXPONENT parameter to type intmax_t.
41477 Rearrange calculations to avoid internal overflow possibilities.
41478 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41479 Rearrange calculations to avoid internal overflow possibilities.
41480 Assert that number fits inside MPNSIZE limbs.
41481 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41482 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41483 calculations and add assertions to avoid internal overflow
41484 possibilities. Add casts to avoid signed/unsigned operations.
41485 * stdlib/tst-strtod-overflow.c: New file.
41486 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41488 2012-08-25 Marek Polacek <polacek@redhat.com>
41490 * time/time.h: Fix some typos in comments.
41492 2012-08-23 Roland McGrath <roland@hack.frob.com>
41494 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41495 * posix/tst-rfc3484-2.c: Likewise.
41496 * posix/tst-rfc3484-3.c: Likewise.
41498 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41500 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41501 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41503 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41505 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41506 #include of fxstatat64.c.
41508 2012-08-22 Roland McGrath <roland@hack.frob.com>
41510 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41511 * shadow/getspent_r.c: Likewise.
41512 * shadow/getspnam.c: Likewise.
41513 * shadow/getspnam_r.c: Likewise.
41514 * gshadow/getsgent.c: Likewise.
41515 * gshadow/getsgent_r.c: Likewise.
41516 * gshadow/getsgnam.c: Likewise.
41517 * gshadow/getsgnam_r.c: Likewise.
41518 * inet/getnetbyad.c: Likewise.
41519 * inet/getnetbyad_r.c: Likewise.
41520 * inet/getnetbynm.c: Likewise.
41521 * inet/getnetbynm_r.c: Likewise.
41522 * inet/getnetent.c: Likewise.
41523 * inet/getnetent_r.c: Likewise.
41524 * inet/getproto.c: Likewise.
41525 * inet/getproto_r.c: Likewise.
41526 * inet/getprtent.c: Likewise.
41527 * inet/getprtent_r.c: Likewise.
41528 * inet/getprtname.c: Likewise.
41529 * inet/getprtname_r.c: Likewise.
41530 * inet/getrpcbyname.c: Likewise.
41531 * inet/getrpcbyname_r.c: Likewise.
41532 * inet/getrpcbynumber.c: Likewise.
41533 * inet/getrpcbynumber_r.c: Likewise.
41534 * inet/getrpcent.c: Likewise.
41535 * inet/getrpcent_r.c: Likewise.
41536 * inet/getaliasent.c: Likewise.
41537 * inet/getaliasent_r.c: Likewise.
41538 * inet/getaliasname.c: Likewise.
41539 * inet/getaliasname_r.c: Likewise.
41540 * nscd/getgrgid_r.c: Likewise.
41541 * nscd/getgrnam_r.c: Likewise.
41542 * nscd/gethstbyad_r.c: Likewise.
41543 * nscd/gethstbynm3_r.c: Likewise.
41544 * nscd/getpwnam_r.c: Likewise.
41545 * nscd/getpwuid_r.c: Likewise.
41546 * nscd/getsrvbynm_r.c: Likewise.
41547 * nscd/getsrvbypt_r.c: Likewise.
41548 * nscd/gai.c: Likewise.
41550 * configure.in (build_nscd): New substituted variable, set
41551 by --disable-build-nscd and defaults to $use_nscd.
41552 * configure: Regenerated.
41553 * config.make.in (build-nscd): New substituted variable.
41554 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41555 Change conditional to require [$(build-nscd) = yes] as well.
41556 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41559 * configure.in (use_nscd): New substituted variable, set by
41560 --disable-nscd. If enabled, define USE_NSCD.
41561 * configure: Regenerated.
41562 * config.h.in: Add USE_NSCD.
41563 * config.make.in (use-nscd): New substituted variable.
41564 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41565 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41566 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41567 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41568 (CFLAGS-getgrnam_r.c): Likewise.
41569 (CFLAGS-initgroups.c): Likewise.
41570 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41571 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41573 * inet/getnetgrent_r.c
41574 (nscd_setnetgrent): New function, broken out of ...
41575 (setnetgrent): ... here. Call it.
41576 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41577 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41578 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41579 * nscd/Makefile (routines, aux): Move definitions after include of
41580 Makeconfig. Conditionalize on [$(use-nscd) != no].
41581 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41582 Conditionalize on [USE_NSCD].
41583 (is_nscd, nscd_init_cb): Likewise.
41584 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41585 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41586 * nss/nss_db/db-init.c: Likewise.
41587 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41589 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41590 (make_request): Use it.
41591 (cache_valid_p): New function.
41592 (__check_pf): Use it.
41593 * NEWS: Add item for --disable-nscd.
41595 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41597 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41598 to support sed >= 4.2.1-20-ga9bf076.
41599 * configure: Regenerated.
41601 2012-08-22 Roland McGrath <roland@hack.frob.com>
41603 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41604 Conditionalize whole body on [IREL].
41606 2012-08-22 Jeff Law <law@redhat.com>
41609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41610 if the family is PF_UNSPEC.
41612 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41614 * Makerules (lib-version): Rename from V.
41615 (install-lib-nosubdir): Change V to lib-version.
41617 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41620 * powerpc32/power6/wcschr.c: New file.
41621 * powerpc32/power6/wcscpy.c: New file.
41622 * powerpc32/power6/wcsrchr.c: New file.
41623 * powerpc64/power6/wcschr.c: New file.
41624 * powerpc64/power6/wcscpy.c: New file.
41625 * powerpc64/power6/wcsrchr.c: New file.
41627 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41629 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41630 (two_way_short_needle): Use it.
41631 * string/strstr.c (AVAILABLE1_USES_J): Define.
41632 * string/strcasestr.c: Likewise.
41634 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41636 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41639 * NEWS: Add an entry.
41640 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41641 define their defaults.
41642 (two_way_short_needle): Detect end-of-string on-the-fly.
41643 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41644 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41645 * string/bug-strcasestr1.c: New test.
41646 * string/Makefile: Run it.
41648 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41651 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41652 the first character.
41654 2012-08-21 Roland McGrath <roland@hack.frob.com>
41656 * csu/elf-init.c (__libc_csu_irel): Function removed.
41657 * csu/libc-start.c (apply_irel): New function.
41658 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41660 2012-08-21 Joseph Myers <joseph@codesourcery.com>
41662 * sysdeps/unix/sysv/linux/kernel-features.h
41663 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41664 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41665 <kernel-features.h>.
41666 [__NR_fadvise64_64]: Make code unconditional.
41667 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41668 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41669 !__NR_fadvise64_64)]: Likewise.
41670 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41671 !__NR_fadvise64_64))]: Likewise.
41672 [__NR_fadvise64]: Make code unconditional.
41673 [!__NR_fadvise64]: Remove conditional code.
41674 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41675 <kernel-features.h>.
41676 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41678 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41681 not include <kernel-features.h>.
41682 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41684 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41686 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41687 include <kernel-features.h>.
41688 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41690 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41693 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41695 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41696 slight instruction rearrangements per scrollpipe analysis.
41697 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41699 2012-08-20 Roland McGrath <roland@hack.frob.com>
41701 * manual/syslog.texi (syslog; vsyslog, closelog):
41702 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41703 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41705 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41706 DSOCAPS to match condition on defining it.
41708 2012-08-20 Joseph Myers <joseph@codesourcery.com>
41710 * sysdeps/unix/sysv/linux/kernel-features.h
41711 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41713 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41714 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41716 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41717 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41719 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41720 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41722 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41723 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41725 * sysdeps/unix/sysv/linux/kernel-features.h
41726 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41727 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41729 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41730 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41731 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41732 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41733 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41734 Make code unconditional.
41735 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41736 (__mmap64) [!__NR_mmap2]: Likewise.
41737 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41738 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41739 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41740 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41741 [__NR_mmap2]: Make code unconditional.
41742 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41743 (__mmap64) [!__NR_mmap2]: Likewise.
41745 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41747 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41749 2012-08-18 Andreas Jaeger <aj@suse.de>
41751 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41753 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41755 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41756 * include/unistd.h (__have_sock_cloexec): Likewise.
41757 (__have_pipe2): Likewise.
41758 (__have_dup3): Likewise.
41760 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41763 * include/unistd.h (__have_pipe2): Change define into an extern int.
41764 (__have_dup3): Likewise.
41765 * socket/have_sock_cloexec.c: Include fcntl.h.
41766 (__have_pipe2): New variable.
41767 (__have_dup3): Likewise.
41769 2012-08-17 Mike Frysinger <vapier@gentoo.org>
41771 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41773 2012-08-17 Marek Polacek <polacek@redhat.com>
41775 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41776 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41778 2012-08-17 Roland McGrath <roland@hack.frob.com>
41780 * configure.in: Add AC_SUBST for sysheaders.
41781 * configure: Regenerated.
41782 * config.make.in (sysheaders): New substituted variable.
41784 * sysdeps/unix/mkfifo.c: Moved ...
41785 * sysdeps/posix/mkfifo.c: ... here.
41786 * sysdeps/unix/mkfifoat.c: Moved ...
41787 * sysdeps/posix/mkfifoat.c: ... here.
41789 * sysdeps/unix/utime.c: Moved ...
41790 * sysdeps/posix/utime.c: ... here.
41792 * sysdeps/unix/time.c: Moved ...
41793 * sysdeps/posix/time.c: ... here.
41794 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41795 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41797 * sysdeps/unix/nice.c: Moved ...
41798 * sysdeps/posix/nice.c: ... here.
41800 * sysdeps/unix/alarm.c: Moved ...
41801 * sysdeps/posix/alarm.c: ... here.
41803 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41805 2012-08-17 Jeff Law <law@redhat.com>
41807 * intl/Makefile (codeset_mo): New variable.
41808 ($(codeset_mo)): New target.
41809 (tst-codeset.out): Depend on that. Remove explicit rule.
41810 (tst-gettext3.out, tst-gettext5.out): Likewise.
41811 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41812 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41813 * intl/tst-codeset.sh: Remove.
41814 * intl/tst-gettext3.sh: Likewise.
41815 * intl/tst-gettext5.sh: Likewise.
41817 2012-08-17 Roland McGrath <roland@hack.frob.com>
41819 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41820 * sysdeps/unix/syscalls.list: ... here.
41822 * sysdeps/posix/getaddrinfo.c
41823 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41824 (gaiconf_init, gaiconf_reload): Use them.
41825 [!_STATBUF_ST_NSEC]
41826 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41827 Define using time_t rather than struct timespec.
41829 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41830 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41832 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41834 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41835 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41838 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41839 __libc_cleanup_push argument.
41841 * bits/param.h: New file.
41842 * misc/sys/param.h: New file.
41843 * include/sys/param.h: New file.
41844 * misc/Makefile (headers): Add bits/param.h.
41845 * sysdeps/generic/sys/param.h: File removed.
41846 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41847 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41848 * sysdeps/mach/hurd/bits/param.h: New file.
41849 * sysdeps/mach/hurd/sys/param.h: File removed.
41851 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41854 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41856 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41857 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41860 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41861 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41862 rather than -D_IO_MTSAFE_IO conditionally.
41863 * stdio-common/Makefile (CPPFLAGS): Likewise.
41864 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41865 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41866 Use $(libio-mtsafe).
41867 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41868 of -D_IO_MTSAFE_IO.
41869 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41870 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41871 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41872 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41873 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41874 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41875 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41876 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41877 (CFLAGS-fread_u_chk.c): Likewise.
41878 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41879 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41880 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41881 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41882 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41883 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41884 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41885 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41886 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41888 * libio/Makefile: Test [$(libc-reentrant) = yes]
41889 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41892 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41893 * sysdeps/pthread/configure: File removed.
41894 * sysdeps/pthread/Makeconfig: New file.
41895 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41896 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41898 2012-08-16 Gary Benson <gbenson@redhat.com>
41900 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41901 unmapping the first object in a namespace.
41903 2012-08-16 Roland McGrath <roland@hack.frob.com>
41905 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41906 (__internal_setnetgrent): ... this. Add internal_function to
41907 definition. Add libc_hidden_def.
41908 (setnetgrent): Update caller.
41909 (internal_endnetgrent): Renamed to ...
41910 (__internal_endnetgrent): ... this. Add internal_function to
41911 definition. Add libc_hidden_def.
41912 (endnetgrent): Update caller.
41913 (internal_getnetgrent_r): Renamed to ...
41914 (__internal_getnetgrent_r): ... this. Add internal_function to
41915 definition. Add libc_hidden_def.
41916 (__getnetgrent_r): Update caller.
41917 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41919 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41921 * stdlib/longlong.h: Update from GCC.
41923 2012-08-16 Roland McGrath <roland@hack.frob.com>
41925 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41926 on _QL, which is set by umul_ppmm but never used.
41927 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41928 variables, which are set by GMP macros but never used.
41929 * stdio-common/_itowa.c (_itowa): Likewise.
41930 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41931 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41933 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41935 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41936 struct La_sh_regs is not constant.
41937 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41938 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41939 and struct La_sparc64_regs are not constant.
41941 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41943 * sysdeps/unix/sysv/linux/kernel-features.h
41944 (__ASSUME_POSIX_TIMERS): Remove.
41945 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41946 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41947 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41948 Make code unconditional.
41949 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41950 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41951 Make code unconditional.
41952 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41953 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41954 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41955 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41956 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41957 Make code unconditional.
41958 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41959 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41960 (__libc_missing_posix_timers): Remove.
41962 2012-08-15 Roland McGrath <roland@hack.frob.com>
41964 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41965 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41967 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41969 * elf/dl-sym.c: Include <stdlib.h>.
41971 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41972 constants, which avoids warnings in 32-bit builds.
41974 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41975 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41977 * misc/lseek.c: File moved to ...
41978 * io/lseek.c: ... here.
41980 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41982 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41983 shifting LEN more than 31 bits at once.
41985 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41988 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41989 segmentation fault for a case of two empty input strings.
41990 * string/test-strncasecmp.c (check1): Renamed to...
41991 (bz12205): ...this.
41992 (bz14195): Add new testcase for two empty input strings and N > 0.
41993 (test_main): Call new testcase, adapt for renamed function.
41995 2012-08-15 Andreas Jaeger <aj@suse.de>
41998 * crypt/md5test2.c: New test, based on test supplied by Serge
41999 Belyshev <belyshev@depni.sinp.msu.ru>.
42000 * crypt/Makefile (xtests): Add md5test-giant..
42001 * crypt/Makefile ($(objpfx)md5test-giant): Add.
42003 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
42006 * crypt/md5.c (md5_process_block): Don't assume the buffer
42007 length is less than 2**32.
42008 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42009 length is less than 2**64.
42011 2012-08-15 Roland McGrath <roland@hack.frob.com>
42013 * string/str-two-way.h: Include <sys/param.h>.
42014 (MAX): Macro removed.
42016 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42017 Move #define and #undef of memmove to just before and after
42018 including <string.h>.
42020 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42021 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42022 and after including <string.h>. Move declarations of
42023 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42024 to before #include "string/memmove.c".
42026 * include/dirent.h: Declare __getdirentries.
42028 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42029 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42031 2012-08-14 Mike Frysinger <vapier@gentoo.org>
42033 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42034 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42035 * sysdeps/i386/configure: Regenerated.
42036 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42037 STABS_CURRENT_FILE, and STABS_FUN.
42038 (END): Remove call to STABS_FUN_END.
42039 (STABS_CURRENT_FILE1): Delete.
42040 (STABS_CURRENT_FILE): Likewise.
42041 (STABS_FUN): Likewise.
42042 (STABS_FUN_END): Likewise.
42043 (STABS_FUN2): Likewise.
42044 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42045 * sysdeps/x86_64/configure: Regenerated.
42047 2012-08-14 Roland McGrath <roland@hack.frob.com>
42049 * elf/dl-open.c: Include <atomic.h>.
42050 * elf/dl-lookup.c: Likewise.
42052 2012-08-14 Joseph Myers <joseph@codesourcery.com>
42054 * sysdeps/unix/sysv/linux/kernel-features.h
42055 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42056 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42058 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42060 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42061 condition on __ASSUME_CLONE_THREAD_FLAGS.
42063 2012-08-14 Andreas Jaeger <aj@suse.de>
42065 * sysdeps/i386/fpu/libm-test-ulps: Update.
42067 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42069 * include/atomic.h (atomic_exchange_and_add): Split into ...
42070 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42073 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42077 2012-08-13 Jeff Law <law@redhat.com>
42079 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42080 null byte in the output string.
42082 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42084 * sysdeps/unix/sysv/linux/kernel-features.h
42085 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42086 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42087 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42088 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42089 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42090 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42091 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42093 2012-08-09 Jeff Law <law@redhat.com>
42096 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42097 When avoid_arena is set, don't retry in the that arena. Pick the
42098 next one, whatever it might be.
42099 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42100 (arena_lock): Pass in new parameter to arena_get2.
42101 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42103 (__libc_malloc): Unify retrying after main arena failure with
42104 __libc_memalign version.
42105 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42107 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42110 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42111 to __redirect_strstr.
42112 (__strstr_sse42): Use typeof __redirect_strstr.
42113 (__strstr_ia32): Likewise.
42114 (__libc_strstr): New prototype.
42115 (strstr): Renamed to ...
42116 (__libc_strstr): This.
42117 (strstr): New strong alias of __libc_strstr.
42118 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42119 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42122 (__libc_time): New prototype.
42123 (time_ifunc): Replace time with __libc_time.
42124 (time): New strong alias and hidden definition of __libc_time.
42125 (__GI_time): Remove strong alias.
42126 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42127 Include <stddef.h>.
42128 (memmove): Redefined to __redirect_memmove.
42129 (__memmove_sse2): Use typeof __redirect_memmove.
42130 (__memmove_ssse3): Likewise.
42131 (__memmove_ssse3_back): Likewise.
42132 (__libc_memmove): New prototype.
42133 (memmove): Renamed to ...
42134 (__libc_memmove): This.
42135 (memmove): New strong alias of __libc_memmove.
42137 2012-08-08 Mark Salter <msalter@redhat.com>
42140 (R_MN10300_TLS_GD): Define.
42141 (R_MN10300_TLS_LD): Likewise.
42142 (R_MN10300_TLS_LDO): Likewise.
42143 (R_MN10300_TLS_GOTIE): Likewise.
42144 (R_MN10300_TLS_IE): Likewise.
42145 (R_MN10300_TLS_LE): Likewise.
42146 (R_MN10300_TLS_DTPMOD): Likewise.
42147 (R_MN10300_TLS_DTPOFF): Likewise.
42148 (R_MN10300_TLS_TPOFF): Likewise.
42149 (R_MN10300_SYM_DIFF): Likewise.
42150 (R_MN10300_ALIGN): Likewise.
42151 (R_MN10300_NUM): Update.
42153 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42155 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42158 2012-08-08 Roland McGrath <roland@hack.frob.com>
42160 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42162 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42163 sysdeps/unix -> sysdeps/posix move.
42164 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42166 2012-08-07 Allan McRae <allan@archlinux.org>
42169 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42170 (SUNOS_CPP): Likewise.
42171 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42173 (open_input): Call CPP using execvp.
42175 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42177 * sysdeps/unix/sysv/linux/kernel-features.h
42178 (__ASSUME_PROT_GROWSUPDOWN): Remove.
42179 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42180 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42181 (__ASSUME_WAITID_SYSCALL): Likewise.
42182 * sysdeps/unix/sysv/linux/dl-execstack.c
42183 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42184 code unconditional.
42185 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42187 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42188 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42189 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42191 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42193 [__ASSUME_WAITID_SYSCALL]: Likewise.
42194 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42196 2012-08-07 Roland McGrath <roland@hack.frob.com>
42198 * sysdeps/unix/closedir.c: Renamed to ...
42199 * sysdeps/posix/closedir.c: ... here.
42200 * sysdeps/unix/dirfd.c: Renamed to ...
42201 * sysdeps/posix/dirfd.c: ... here.
42202 * sysdeps/unix/dirstream.h: Renamed to ...
42203 * sysdeps/posix/dirstream.h: ... here.
42204 * sysdeps/unix/fdopendir.c: Renamed to ...
42205 * sysdeps/posix/fdopendir.c: ... here.
42206 * sysdeps/unix/opendir.c: Renamed to ...
42207 * sysdeps/posix/opendir.c: ... here.
42208 * sysdeps/unix/readdir.c: Renamed to ...
42209 * sysdeps/posix/readdir.c: ... here.
42210 * sysdeps/unix/readdir_r.c: Renamed to ...
42211 * sysdeps/posix/readdir_r.c: ... here.
42212 * sysdeps/unix/rewinddir.c: Renamed to ...
42213 * sysdeps/posix/rewinddir.c: ... here.
42214 * sysdeps/unix/seekdir.c: Renamed to ...
42215 * sysdeps/posix/seekdir.c: ... here.
42216 * sysdeps/unix/telldir.c: Renamed to ...
42217 * sysdeps/posix/telldir.c: ... here.
42218 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42219 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42220 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42221 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42223 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42224 * bits/fcntl.h: ... here.
42226 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42228 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42229 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42230 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42231 (struct flock): Move l_start, l_len to the beginning.
42232 Use __pid_t for l_pid.
42233 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42234 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42235 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42236 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42237 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42238 [__USE_LARGEFILE64] (struct flock64): New type.
42239 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42241 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42242 * bits/dirent.h: ... here.
42244 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42245 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42247 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42250 Change from 2.6.0 to 2.6.16.
42251 * sysdeps/unix/sysv/linux/configure: Regenerated.
42252 * sysdeps/unix/sysv/linux/kernel-features.h
42253 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42254 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42256 (__ASSUME_UTIMES): Likewise.
42257 (__ASSUME_CLONE_STOPPED): Remove.
42258 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42259 architectures, not kernel version.
42260 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42261 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42262 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42263 (__ASSUME_WAITID_SYSCALL): Likewise.
42264 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42265 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42266 * README: State 2.6.16 as minimum Linux kernel version. Do not
42267 refer to older versions.
42269 2012-08-06 Roland McGrath <roland@hack.frob.com>
42271 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42272 Define alphasort64 as an alias.
42273 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42274 Define versionsort64 as an alias.
42275 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42276 Define scandir64 as an alias.
42277 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42278 Define scandirat64 as an alias.
42279 * dirent/alphasort64.c (alphasort64):
42280 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42281 * dirent/versionsort64.c: Likewise.
42282 * dirent/scandir64.c: Likewise.
42283 * dirent/scandirat64.c: Likewise.
42284 * sysdeps/wordsize-64/alphasort.c: File removed.
42285 * sysdeps/wordsize-64/alphasort64.c: File removed.
42286 * sysdeps/wordsize-64/scandir.c: File removed.
42287 * sysdeps/wordsize-64/scandir64.c: File removed.
42288 * sysdeps/wordsize-64/scandirat.c: File removed.
42289 * sysdeps/wordsize-64/scandirat64.c: File removed.
42290 * sysdeps/wordsize-64/versionsort.c: File removed.
42291 * sysdeps/wordsize-64/versionsort64.c: File removed.
42292 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42293 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42294 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42295 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42296 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42297 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42298 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42299 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42301 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42302 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42303 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42305 [defined __arch64__ || defined __sparcv9]
42306 (__INO_T_MATCHES_INO64_T): New macro.
42307 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42308 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42309 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42310 * sysdeps/unix/sysv/linux/bits/dirent.h
42311 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42312 (_DIRENT_MATCHES_DIRENT64): New macro.
42314 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42315 Define lockf64 as an alias.
42316 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42317 Define fseeko64 as an alias.
42318 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42319 Define ftello64 as an alias.
42320 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42321 Define _IO_fgetpos64 and fgetpos64 as aliases.
42322 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42323 Define _IO_fsetpos64 and fsetpos64 as aliases.
42324 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42325 Conditionalize body on this.
42326 * libio/fseeko64.c: Likewise.
42327 * libio/ftello64.c: Likewise.
42328 * libio/iofgetpos64.c: Likewise.
42329 * libio/iofsetpos64.c: Likewise.
42330 * sysdeps/wordsize-64/lockf.c: File removed.
42331 * sysdeps/wordsize-64/lockf64.c: File removed.
42332 * sysdeps/wordsize-64/fseeko.c: File removed.
42333 * sysdeps/wordsize-64/fseeko64.c: File removed.
42334 * sysdeps/wordsize-64/ftello.c: File removed.
42335 * sysdeps/wordsize-64/ftello64.c: File removed.
42336 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42337 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42338 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42339 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42340 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42341 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42342 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42343 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42344 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42345 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42346 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42347 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42348 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42349 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42351 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42353 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42354 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42355 [defined __arch64__ || defined __sparcv9]
42356 (__OFF_T_MATCHES_OFF64_T): New macro.
42357 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42358 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42360 (__OFF_T_MATCHES_OFF64_T): New macro.
42362 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42364 * stdlib/secure-getenv.c (__secure_getenv): Replace
42365 GLIBC_2_16 with GLIBC_2_17.
42367 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42369 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42370 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42372 2012-08-03 David S. Miller <davem@davemloft.net>
42374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42376 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42378 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42380 (__ASSUME_CORRECT_SI_PID): Likewise.
42381 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42382 (__ASSUME_TMPFS_NAME): Likewise.
42383 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42384 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42385 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42386 (HAVE_AUX_SECURE): Make definition unconditional.
42387 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42388 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42390 2012-08-03 Roland McGrath <roland@hack.frob.com>
42392 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42393 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42394 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42395 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42396 __eloop_threshold instead of SYMLOOP_MAX.
42398 * sysdeps/generic/eloop-threshold.h: New file.
42399 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42401 * elf/chroot_canon.c (chroot_canon): Likewise.
42403 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42406 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42407 Change to 2.6.0 everywhere.
42408 * sysdeps/unix/sysv/linux/configure: Regenerated.
42409 * sysdeps/unix/sysv/linux/kernel-features.h
42410 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42411 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42413 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42414 (__ASSUME_FUTEX_REQUEUE): Remove.
42415 (__ASSUME_STATFS64): Define unconditionally.
42416 (__ASSUME_AT_SECURE): Likewise.
42417 (__ASSUME_CORRECT_SI_PID): Likewise.
42418 (__ASSUME_TGKILL): Define without depending on kernel version for
42420 (__ASSUME_UTIMES): Likewise.
42421 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42423 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42424 (__ASSUME_TMPFS_NAME): Likewise.
42425 * README: Update reference to Linux kernel versions.
42427 2012-08-02 Marek Polacek <polacek@redhat.com>
42430 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42431 libc_cv_asm_type_prefix with %.
42432 * configure: Regenerated.
42433 * include/libc-symbols.h: Remove comment about
42434 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42435 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42436 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42437 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42438 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42439 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42440 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42441 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42442 * elf/tst-unique2mod1.c: Likewise.
42443 * elf/tst-unique1mod2.c: Likewise.
42444 * elf/tst-unique1mod1.c: Likewise.
42445 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42446 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42447 Replace ASM_TYPE_DIRECTIVE with .type.
42448 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42449 * sysdeps/i386/sysdep.h: Likewise.
42450 * sysdeps/x86_64/sysdep.h: Likewise.
42451 * sysdeps/sh/sysdep.h: Likewise.
42452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42453 Do not define ASM_TYPE_DIRECTIVE.
42454 * sysdeps/powerpc/sysdep.h: Likewise.
42455 * sysdeps/powerpc/powerpc32/sysdep.h:
42456 Replace ASM_TYPE_DIRECTIVE with .type.
42457 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42458 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42459 * sysdeps/i386/fpu/e_powf.S: Likewise.
42460 * sysdeps/i386/fpu/e_expl.S: Likewise.
42461 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42462 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42463 * sysdeps/i386/fpu/e_pow.S: Likewise.
42464 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42465 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42466 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42467 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42468 * sysdeps/i386/fpu/e_log2.S: Likewise.
42469 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42470 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42471 * sysdeps/i386/fpu/e_powl.S: Likewise.
42472 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42473 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42474 * sysdeps/i386/fpu/e_logl.S: Likewise.
42475 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42476 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42477 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42478 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42479 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42480 * sysdeps/i386/fpu/e_log.S: Likewise.
42481 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42482 * sysdeps/i386/fpu/e_logf.S: Likewise.
42483 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42484 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42485 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42486 * sysdeps/i386/fpu/e_log10.S: Likewise.
42487 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42488 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42489 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42490 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42491 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42492 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42493 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42494 * sysdeps/i386/i686/strtok.S: Likewise.
42495 * sysdeps/i386/i386-mcount.S: Likewise.
42496 * sysdeps/i386/strtok.S: Likewise.
42497 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42498 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42499 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42500 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42501 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42502 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42503 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42504 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42505 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42506 * sysdeps/x86_64/_mcount.S: Likewise.
42507 * sysdeps/x86_64/strtok.S: Likewise.
42508 * sysdeps/sh/_mcount.S: Likewise.
42510 2012-08-01 Roland McGrath <roland@hack.frob.com>
42512 * libio/iofopen.c: Include <fcntl.h>.
42513 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42514 (_IO_fopen64, fopen64): Define as aliases.
42515 * libio/iofopen64.c: Include <fcntl.h>.
42516 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42517 Conditionalize body on this.
42518 * sysdeps/wordsize-64/iofopen.c: File removed.
42519 * sysdeps/wordsize-64/iofopen64.c: File removed.
42521 2012-08-01 Marek Polacek <polacek@redhat.com>
42523 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42524 Use dlfcn directly instead of a variable.
42525 (binfmt-subdir): Do not define.
42528 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42531 Remove all definitions.
42532 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42533 <kernel-features.h>.
42534 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42535 (miss_F_GETOWN_EX): Remove all definitions.
42536 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42538 [!__ASSUME_FCNTL64]: Remove conditional code.
42539 [__ASSUME_FCNTL64]: Make code unconditional.
42540 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42541 <kernel-features.h>.
42542 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42543 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42544 (lockf64) [__NR_fcntl64]: Make code unconditional.
42545 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42547 * sysdeps/unix/sysv/linux/kernel-features.h
42548 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42549 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42550 Make code unconditional.
42551 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42552 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42554 [__NR_vfork]: Make code unconditional.
42555 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42556 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42558 [__NR_vfork]: Make code unconditional.
42559 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42560 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42562 2012-08-01 Roland McGrath <roland@hack.frob.com>
42564 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42565 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42567 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42568 Define mkstemp64 as an alias.
42569 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42570 Define mkstemps64 as an alias.
42571 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42572 Define mkostemp64 as an alias.
42573 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42574 Define mkostemps64 as an alias.
42575 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42576 Conditionalize body on this.
42577 * misc/mkostemp64.c: Likewise.
42578 * misc/mkostemps64.c: Likewise.
42579 * misc/mkstemps64.c: Likewise.
42580 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42581 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42582 * sysdeps/wordsize-64/mkostemp.c: File removed.
42583 * sysdeps/wordsize-64/mkstemp.c: File removed.
42584 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42585 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42586 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42587 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42590 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42591 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42592 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42593 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42595 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42596 compat_symbol macros from <shlib-compat.h> rather than the underlying
42597 default_symbol_version and symbol_version macros, so that DEFAULT
42598 lines in shlib-versions are respected.
42599 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42601 2012-08-01 Florian Weimer <fweimer@redhat.com>
42603 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42604 Declare with warn_unused_result.
42605 (setgid, setregid, setegid, setresgid): Likewise.
42606 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42608 * WUR-REPORT: Remove set*id functions.
42610 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42612 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42614 2012-07-31 Roland McGrath <roland@hack.frob.com>
42617 * include/sys/socket.h (__libc_accept, __libc_accept4):
42618 Add attribute_hidden.
42619 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42621 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42623 * inet/getnetgrent_r.c (setup): Likewise.
42625 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42627 2012-07-31 David S. Miller <davem@davemloft.net>
42629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42631 2012-07-31 Joseph Myers <joseph@codesourcery.com>
42634 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42635 value between 1.0 and 2.0 and smaller part has absolute value less
42637 * math/s_clog10.c (__clog10): Likewise.
42638 * math/s_clog10f.c (__clog10f): Likewise.
42639 * math/s_clog10l.c (__clog10l): Likewise.
42640 * math/s_clogf.c (__clogf): Likewise.
42641 * math/s_clogl.c (__clogl): Likewise.
42642 * math/libm-test.inc (clog_test): Add more tests.
42643 (clog10_test): Likewise.
42644 * sysdeps/i386/fpu/libm-test-ulps: Update.
42645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42647 2012-07-31 Florian Weimer <fweimer@redhat.com>
42649 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42650 Exit with zero in case no suitable GID is found, and write a
42651 message to standard error.
42653 2012-07-30 Roland McGrath <roland@hack.frob.com>
42655 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42657 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42658 (MAXPATHLEN): Removed.
42659 (NOGROUP, NODEV): New macros.
42660 (setbit, clrbit, isset, isclr): New macros.
42661 (howmany, roundup, powerof2): New macros.
42662 (DEV_BSIZE): New macro.
42664 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42665 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42667 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42668 definition on [!__NO_LONG_DOUBLE_MATH].
42670 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42671 PTR_MANGLE and PTR_DEMANGLE.
42673 * socket/accept4.c (accept4): Rename to __libc_accept4.
42674 Define accept4 as a weak alias.
42676 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42677 on [_DIRENT_HAVE_D_TYPE].
42678 * io/ftw.c (ftw_dir): Likewise.
42680 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42682 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42684 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42685 Use the BSD numbers rather than the arbitrary ones we had.
42686 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42687 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42688 (SIGXCPU, SIGXFSZ): New macros.
42691 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42692 initializer on [_LIBC_REENTRANT].
42694 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42695 definitions inside [_POSIX_MAPPED_FILES].
42697 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42699 * dirent/opendir.c: Include <fcntl.h>.
42701 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42702 (__libc_getspecific): Likewise.
42703 (__libc_key_create): Likewise.
42705 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42706 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42707 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42708 (tmpfile64): Define as alias.
42709 * sysdeps/wordsize-64/tmpfile.c: File removed.
42710 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42711 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42712 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42714 * stdio-common/vfscanf.c: Include <stdbool.h>.
42715 * nss/makedb.c: Likewise.
42716 * stdio-common/_i18n_number.h: Likewise.
42717 * argp/argp-help.c: Likewise.
42718 * posix/wordexp.c: Likewise.
42719 * sysdeps/posix/spawni.c: Likewise.
42720 * nss/nss_files/files-initgroups.c: Likewise.
42721 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42722 * nss/nss_files/files-initgroups.c: Likewise.
42723 * nss/nss_db/db-netgrp.c: Likewise.
42724 * nss/nss_db/db-initgroups.c: Likewise.
42725 * io/fchmodat.c: Include <sys/stat.h>.
42727 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42728 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42730 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42733 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42734 Add multiple inclusion protection.
42736 2012-07-27 David S. Miller <davem@davemloft.net>
42738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42740 2012-07-27 Gary Benson <gbenson@redhat.com>
42743 * elf/rtld.c: Include <stap-probe.h>.
42744 (dl_main): Added static probes "init_start" and "init_complete".
42745 * elf/dl-load.c: Include <stap-probe.h>.
42746 (lose): Take new parameter "nsid".
42747 Added static probe "map_failed".
42748 (_dl_map_object_from_fd): Pass namespace id to lose.
42749 Added static probe "map_start".
42750 (open_verify): Pass namespace id to lose.
42751 * elf/dl-open.c: Include <stap-probe.h>.
42752 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42753 and "reloc_complete".
42754 * elf/dl-close.c: Include <stap-probe.h>.
42755 (_dl_close_worker): Added static probes "unmap_start" and
42757 * elf/rtld-debugger-interface.txt: New file documenting the above.
42759 2012-07-26 Roland McGrath <roland@hack.frob.com>
42761 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42762 rather than a string variable.
42763 * sunrpc/rpc_main.c (h_output): Likewise.
42764 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42766 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42768 * inet/check_native.c: New file.
42770 2012-07-26 Joseph Myers <joseph@codesourcery.com>
42773 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42774 if larger part has absolute value 1.0.
42775 * math/s_clog10.c (__clog10): Likewise.
42776 * math/s_clog10f.c (__clog10f): Likewise.
42777 * math/s_clog10l.c (__clog10l): Likewise.
42778 * math/s_clogf.c (__clogf): Likewise.
42779 * math/s_clogl.c (__clogl): Likewise.
42780 * math/libm-test.inc (clog_test): Add more tests.
42781 (clog10_test): Likewise.
42782 * sysdeps/i386/fpu/libm-test-ulps: Update.
42783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42785 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42786 (pltexit): Likewise.
42787 (La_regs): Likewise.
42788 (La_retval): Likewise.
42789 (int_retval): Likewise.
42790 Update #error for removed macros to refer only to definitions in
42792 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42794 (pltexit): Likewise.
42795 (La_regs): Likewise.
42796 (La_retval): Likewise.
42797 (int_retval): Likewise.
42798 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42800 (pltexit): Likewise.
42801 (La_regs): Likewise.
42802 (La_retval): Likewise.
42803 (int_retval): Likewise.
42804 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42806 (pltexit): Likewise.
42807 (La_regs): Likewise.
42808 (La_retval): Likewise.
42809 (int_retval): Likewise.
42810 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42812 (pltexit): Likewise.
42813 (La_regs): Likewise.
42814 (La_retval): Likewise.
42815 (int_retval): Likewise.
42816 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42818 (pltexit): Likewise.
42819 (La_regs): Likewise.
42820 (La_retval): Likewise.
42821 (int_retval): Likewise.
42822 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42824 (pltexit): Likewise.
42825 (La_regs): Likewise.
42826 (La_retval): Likewise.
42827 (int_retval): Likewise.
42828 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42829 macro definitions in tst-audit.h.
42830 * sysdeps/i386/tst-audit.h: New file.
42831 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42832 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42833 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42834 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42835 * sysdeps/sh/tst-audit.h: Likewise.
42836 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42837 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42838 * sysdeps/x86_64/tst-audit.h: Likewise.
42840 2012-07-26 Andreas Jaeger <aj@suse.de>
42842 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42845 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42846 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42847 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42849 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42850 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42851 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42853 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42856 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42858 (si_call_addr, si_syscall, si_arch): Define new macro.
42859 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42861 (si_call_addr, si_syscall, si_arch): Define new marcro.
42862 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42864 (si_call_addr, si_syscall, si_arch): Define new macro.
42865 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42867 (si_call_addr, si_syscall, si_arch): Define new macro.
42869 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42872 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42873 Change to 2.4.21 where previously 2.4.1.
42874 * sysdeps/unix/sysv/linux/configure: Regenerated.
42875 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42876 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42877 Linux kernel version.
42878 (__ASSUME_STD_AUXV): Remove.
42879 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42881 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42882 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42883 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42884 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42885 (__ASSUME_NETLINK_SUPPORT): Likewise.
42886 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42887 (__no_netlink_support): Remove conditional definition.
42888 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42890 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42891 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42892 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42893 (if_nameindex_ioctl): Remove.
42894 (if_nameindex_netlink): Do not handle __no_netlink_support.
42895 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42897 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42898 Remove conditional code.
42899 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42901 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42903 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42904 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42905 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42907 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42908 [!__ASSUME_STD_AUXV]: Remove conditional code.
42909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42910 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42911 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42913 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42914 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42916 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42918 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42919 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42921 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42923 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42926 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42929 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42930 code unconditional.
42931 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42933 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42935 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42938 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42940 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42943 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42944 code unconditional.
42945 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42947 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42949 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42952 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42953 code unconditional.
42954 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42956 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42958 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42961 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42963 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42964 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42965 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42966 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42967 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42968 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42969 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42970 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42971 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42972 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42973 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42974 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42975 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42976 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42977 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42978 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42979 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42980 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42981 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42983 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42984 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42987 2012-07-25 Florian Weimer <fweimer@redhat.com>
42989 * Versions.def: Add GLIBC_2.17.
42990 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42991 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42992 Introduce __libc_secure_getenv.
42993 * stdlib/Versions (2.17): Add secure_getenv
42994 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42995 * stdlib/secure-getenv.c: Rename __secure_getenv to
42996 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42997 symbol __secure_getenv for GLIBC_2.0.
42998 * stdlib/tst-secure-getenv.c: New.
42999 * stdlib/Makefile (tests): Add testcase.
43000 * manual/startup.texi (Environment Access): Document
43002 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43003 __libc_secure_getenv.
43004 * inet/ruserpass.c (ruserpass): Likewise.
43005 * malloc/mtrace.c (mtrace): Likewise.
43006 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43007 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43008 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43009 * sysdeps/posix/tempname.c: Likewise. Evaluate
43010 HAVE_SECURE_GETENV.
43011 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43012 __secure_getenv to __libc_secure_getenv.
43013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43020 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43026 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43028 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43029 (struct La_i86_retval): Likewise.
43030 (struct La_x86_64_regs): Likewise.
43031 (struct La_x86_64_retval): Likewise.
43032 (struct La_x32_regs): Likewise.
43033 (struct La_x32_retval): Likewise.
43034 (struct La_ppc32_regs): Likewise.
43035 (struct La_ppc32_retval): Likewise.
43036 (struct La_ppc64_regs): Likewise.
43037 (struct La_ppc64_retval): Likewise.
43038 (struct La_sh_regs): Likewise.
43039 (struct La_sh_retval): Likewise.
43040 (struct La_s390_32_regs): Likewise.
43041 (struct La_s390_32_retval): Likewise.
43042 (struct La_s390_64_regs): Likewise.
43043 (struct La_s390_64_retval): Likewise.
43044 (struct La_sparc32_regs): Likewise.
43045 (struct La_sparc32_retval): Likewise.
43046 (struct La_sparc64_regs): Likewise.
43047 (struct La_sparc64_retval): Likewise.
43048 (struct audit_ifaces): Remove architecture-specific pltenter and
43050 * sysdeps/i386/ldsodefs.h: New file.
43051 * sysdeps/powerpc/ldsodefs.h: Likewise.
43052 * sysdeps/s390/ldsodefs.h: Likewise.
43053 * sysdeps/sh/ldsodefs.h: Likewise.
43054 * sysdeps/sparc/ldsodefs.h: Likewise.
43055 * sysdeps/x86_64/ldsodefs.h: Likewise.
43057 2012-07-25 Marek Polacek <polacek@redhat.com>
43060 * math/libm-test.inc (yn_test): Add another test.
43061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43062 to ERANGE when the result is +-Inf.
43063 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43064 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43065 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43066 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43068 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43070 * conform/data/time.h-data (NULL): Use macro-constant. Require
43072 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43074 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43076 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43078 * configure.in <sysdeps resolving>: Correct printing
43080 * configure: Regenerate.
43082 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43084 * math/w_ilogb.c: Include <limits.h>.
43085 * math/w_ilogbl.c: Likewise.
43087 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43089 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43090 va_copy. Document allowing for unavailable va_copy only as
43091 pre-C99 compatibility.
43092 * manual/string.texi (Copying and Concatenation): Use va_copy
43093 instead of __va_copy in concat example.
43095 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43097 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43098 (__sendto): Use create_address_port. Initialize APORT and deallocate
43101 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43102 with O_NOLINK passed to __file_name_lookup.
43104 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43105 with O_NOLINK passed to __file_name_lookup.
43107 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43108 negative N or less than NGIDS.
43110 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43111 type to string_t. Set ERANGE as errno and return it if NAME is not big
43112 enough. Use memcpy instead of strncpy.
43114 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43116 * elf/Makefile (check-data): Remove.
43117 (localplt.data): New vpath directive.
43118 ($(objpfx)check-localplt.out): Use localplt.data from vpath
43119 instead of $(check-data).
43120 * scripts/data/localplt-generic.data: Move to ...
43121 * sysdeps/generic/localplt.data: ... here.
43122 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43123 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43124 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43127 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43130 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43133 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43136 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43139 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43143 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43145 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43146 PPC32 and PPC64 files.
43147 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43148 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43150 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43152 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43153 __makecontext_ret to ...
43154 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43155 ... here and call exit if uc_link is NULL. New file.
43156 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43157 __makecontext_ret.S.
43158 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43159 __makecontext_ret to ...
43160 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43161 ... here and call exit if uc_link is NULL. New file.
43162 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43163 __makecontext_ret.S.
43165 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43167 * elf/elf.h (R_390_IRELATIVE): New definition.
43168 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43169 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43170 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43171 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43172 (elf_machine_lazy_rel): Likewise.
43173 * sysdeps/s390/dl-irel.h: New file.
43174 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43175 * sysdeps/s390/s390-64/memset.S: New asm code.
43176 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43177 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43178 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43179 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43180 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43181 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43182 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43183 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43184 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43185 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43186 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43187 * sysdeps/s390/s390-32/memcpy.S: New asm code.
43188 * sysdeps/s390/s390-32/memset.S: New asm code.
43189 * sysdeps/s390/s390-32/memcmp.S: New asm code.
43191 2012-07-17 Marek Polacek <polacek@redhat.com>
43194 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43195 * sysdeps/s390/s390-64/configure.in: Likewise.
43196 * sysdeps/sparc/configure.in: Likewise.
43197 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43198 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43199 * sysdeps/i386/configure.in: Likewise.
43200 * sysdeps/x86_64/configure.in: Likewise.
43201 * sysdeps/sh/configure.in: Likewise.
43202 * sysdeps/s390/s390-32/configure: Regenerated.
43203 * sysdeps/s390/s390-64/configure: Likewise.
43204 * sysdeps/x86_64/configure: Likewise.
43205 * sysdeps/sh/configure: Likewise.
43206 * sysdeps/powerpc/powerpc64/configure: Likewise.
43207 * sysdeps/powerpc/powerpc32/configure: Likewise.
43208 * sysdeps/sparc/configure: Likwise.
43209 * sysdeps/i386/configure: Likewise.
43211 * elf/dl-open.c: Comment fixes.
43213 2012-07-17 Joseph Myers <joseph@codesourcery.com>
43215 * Makefile [CXX] (check-data): Remove.
43216 [CXX] (c++-types.data): New vpath directive.
43217 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43218 vpath. Do not allow for C++ type data being missing.
43219 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43220 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43221 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43222 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43223 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43224 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43225 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43228 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43231 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43234 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43237 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43240 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43243 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43246 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43249 * elf/tls-macros.h (TLS_LE): Move architecture-specific
43250 definitions to architecture-specific files.
43251 (TLS_IE): Likewise.
43252 (TLS_LD): Likewise.
43253 (TLS_GD): Likewise.
43254 * sysdeps/i386/tls-macros.h: New file.
43255 * sysdeps/powerpc/tls-macros.h: Likewise.
43256 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43257 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43258 * sysdeps/sh/tls-macros.h: Likewise.
43259 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43260 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43261 * sysdeps/x86_64/tls-macros.h: Likewise.
43263 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43265 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43266 zero value for regular exit case.
43268 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43269 (__start_context): Preserve zero value for regular exit case.
43271 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43272 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43274 * manual/setjmp.texi (setcontext): Clarify normal process
43275 termination when uc_link is the null pointer.
43276 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43279 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
43281 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43282 preprocessor. Test for each exception mask separately.
43284 2012-07-16 Andreas Jaeger <aj@suse.de>
43286 * po/ru.po: Update from translation team.
43288 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43290 * conform/data/string.h-data (NULL): Use macro-constant. Require
43292 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43293 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43294 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43295 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43298 2012-07-13 Andreas Jaeger <aj@suse.de>
43300 * po/fr.po: Update from translation team.
43302 2012-07-12 Marek Polacek <polacek@redhat.com>
43305 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43306 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43309 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43312 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43313 Change to 2.4.1 where previously 2.4.0.
43314 * sysdeps/unix/sysv/linux/configure: Regenerated.
43315 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43316 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43318 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43319 (__ASSUME_AT_CLKTCK): Remove.
43320 (__ASSUME_AT_PAGESIZE): Likewise.
43321 (__ASSUME_AT_XID): Likewise.
43322 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43323 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43324 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43326 (HAVE_AUX_PAGESIZE): Likewise.
43327 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43328 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43329 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43331 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43335 the temporary buffer used to invoke __gethostbyname2_r,
43336 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43337 host_data / struct gaih_addrtuple.
43338 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43339 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43340 header file nss/nsswitch.h.
43341 * nss/nsswitch.h (global scope): Add definition of implementation
43342 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43343 resolv/nss_dns/dns-host.c).
43345 2012-07-11 Andreas Jaeger <aj@suse.de>
43347 * po/fr.po: Update from translation team.
43349 * po/sv.po: Update from translation team
43350 * po/fr.po: Another update from translation team.
43352 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43354 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43355 for subnormals or multiply small sinh result by itself.
43356 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43359 2012-07-11 David S. Miller <davem@davemloft.net>
43361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43363 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43366 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43367 (INTERNAL_MARK): Shift it here.
43369 2012-07-10 Marek Polacek <polacek@redhat.com>
43372 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43373 libc_cv_asm_global_directive with .globl.
43374 * configure: Regenerated.
43375 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43377 * sysdeps/i386/configure: Regenerated.
43378 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43380 * sysdeps/x86_64/configure: Regenerated.
43381 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43382 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43383 * elf/tst-unique2mod2.c: Likewise.
43384 * elf/tst-unique2mod1.c: Likewise.
43385 * elf/tst-unique1mod2.c: Likewise.
43386 * elf/tst-unique1mod1.c: Likewise.
43387 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43388 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43389 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43390 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43391 * sysdeps/mach/sysdep.h: Likewise.
43392 * sysdeps/i386/sysdep.h: Likewise.
43393 * sysdeps/i386/i386-mcount.S: Likewise.
43394 * sysdeps/x86_64/_mcount.S: Likewise.
43395 * sysdeps/x86_64/sysdep.h: Likewise.
43396 * sysdeps/sh/_mcount.S: Likewise.
43397 * sysdeps/sh/sysdep.h: Likewise.
43398 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43399 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43400 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43401 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43402 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43403 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43404 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43405 * locale/localeinfo.h: Likewise.
43406 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43407 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43409 2012-07-09 Roland McGrath <roland@hack.frob.com>
43412 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43414 * manual/message.texi (The Uniforum approach): Likewise.
43415 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43416 (glibc iconv Implementation): Likewise.
43418 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43421 * math/s_clog.c (__clog): Avoid scaling a value down where that
43422 could result in underflow.
43423 * math/s_clog10.c (__clog10): Likewise.
43424 * math/s_clog10f.c (__clog10f): Likewise.
43425 * math/s_clog10l.c (__clog10l): Likewise.
43426 * math/s_clogf.c (__clogf): Likewise.
43427 * math/s_clogl.c (__clogl): Likewise.
43428 * math/libm-test.inc (clog_test): Add more tests.
43429 (clog10_test): Likewise.
43430 * sysdeps/i386/fpu/libm-test-ulps: Update.
43431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43433 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43436 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43437 by 7 not 8 to examine high bit of fractional part.
43440 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43441 for call to __mcount_internal.
43442 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43443 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43444 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43446 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43449 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43450 approximation for values within 0x1p-13f of an odd multiple of
43452 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43453 exception. Add more tests.
43454 * sysdeps/i386/fpu/libm-test-ulps: Update.
43457 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43458 inputs and return -1 for them. Do not check for +Inf in case not
43459 reachable for +Inf.
43460 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43461 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43462 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43463 and return -1 for them. Do not check for +Inf in case not
43464 reachable for +Inf.
43465 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43467 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43468 and return -1 for them. Do not check for +Inf in case not
43469 reachable for +Inf.
43470 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43471 spurious underflow.
43472 * sysdeps/i386/fpu/libm-test-ulps: Update.
43473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43475 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43477 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43479 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43483 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43484 could result in spurious underflow. Scale down values above
43485 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43486 * math/s_csqrtf.c (__csqrtf): Likewise.
43487 * math/s_csqrtl.c (__csqrtl): Likewise.
43488 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43489 spurious underflow.
43490 * sysdeps/i386/fpu/libm-test-ulps: Update.
43491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43493 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43495 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43497 * catgets/xopen-msg.awk: New file.
43498 * catgets/xopen-msg.sed: Removed.
43500 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43502 * intl/po2test.awk: New file.
43503 * intl/po2test.sed: Removed.
43505 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43508 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43509 or multiply small sinh result by itself.
43510 * math/s_ctanf.c (__ctanf): Likewise.
43511 * math/s_ctanh.c (__ctanh): Likewise.
43512 * math/s_ctanhf.c (__ctanhf): Likewise.
43513 * math/s_ctanhl.c (__ctanhl): Likewise.
43514 * math/s_ctanl.c (__ctanl): Likewise.
43515 * math/libm-test.inc (ctan_test_tonearest): New function.
43516 (ctan_test_towardzero): Likewise.
43517 (ctan_test_downward): Likewise.
43518 (ctan_test_upward): Likewise.
43519 (ctanh_test_tonearest): Likewise.
43520 (ctanh_test_towardzero): Likewise.
43521 (ctanh_test_downward): Likewise.
43522 (ctanh_test_upward): Likewise.
43523 (main): Call these new functions.
43524 * sysdeps/i386/fpu/libm-test-ulps: Update.
43525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43527 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43529 * .gitignore: Delete /ports entry.
43531 2012-07-03 Andreas Jaeger <aj@suse.de>
43533 * po/bg.po: Update from translation team.
43534 * po/cs.po: Likewise.
43535 * po/de.po: Likewise.
43536 * po/hr.po: Likewise.
43537 * po/nl.pl: Likewise.
43538 * po/pl.po: Likewise.
43539 * po/vi.po: Likewise.
43541 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43543 * Makeconfig [!+link] (+link-before-libc): New variable.
43544 [!+link] (+link-after-libc): Likewise.
43545 [!+link] (+link-tests): Likewise.
43546 [!+link] (+link): Define in terms of $(+link-before-libc) and
43547 $(+link-after-libc).
43548 [!+link-static] (+link-static-before-libc): New variable.
43549 [!+link-static] (+link-static-after-libc): Likewise.
43550 [!+link-static] (+link-static-tests): Likewise.
43551 [!+link-static] (+link-static): Define in terms of
43552 $(+link-static-before-libc) and $(+link-static-after-libc).
43553 [build-shared] (link-libc-before-gnulib): New variable.
43554 [build-shared] (link-libc-tests): Likewise.
43555 [build-shared] (link-libc): Define in terms of
43556 $(link-libc-before-gnulib).
43557 [!build-shared] (link-libc-tests): New variable.
43558 (link-libc-static-tests): New variable.
43559 [!gnulib] (gnulib-arch): New variable.
43560 [!gnulib] (gnulib-tests): Likewise.
43561 [!gnulib] (static-gnulib-arch): Likewise.
43562 [!gnulib] (static-gnulib-tests): Likewise.
43563 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43564 Define with "=" instead of ":=".
43565 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43566 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43567 * Rules (binaries-all-notests): New variable.
43568 (binaries-all-tests): Likewise.
43569 (binaries-static-notests): Likewise.
43570 (binaries-static-tests): Likewise.
43571 (binaries-all): Define using $(binaries-all-notests) and
43572 $(binaries-all-tests).
43573 (binaries-static): Define using $(binaries-static-notests) and
43574 $(binaries-static-tests).
43575 (binaries-shared-tests): New variable.
43576 (binaries-shared-notests): Likewise.
43577 (binaries-shared): Remove variable.
43578 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43579 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43580 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43581 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43582 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43583 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43584 * elf/Makefile (sln-modules): New variable.
43585 (extra-objs): Add $(sln-modules:=.o).
43586 (ldconfig-modules): Add static-stubs.
43587 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43588 * elf/static-stubs.c: New file.
43591 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43592 by 7 not 8 to examine high bit of fractional part. Use volatile
43593 variables when splitting into final array of floats if
43594 __FLT_EVAL_METHOD__ != 0.
43595 * math/libm-test.inc (cos_test): Add another test.
43596 (sin_test): Likewise.
43597 * sysdeps/i386/fpu/libm-test-ulps: Update.
43600 * math/libm-test.inc (cosh_test): Add more tests.
43602 * version.h (RELEASE): Set to "development".
43603 (VERSION): Set to "2.16.90".
43605 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43607 * NEWS: Update copyright. Remove last-updated date.
43608 Mention math library bug fixes and timezone data changes.
43609 * README: Mention GNU/Hurd, x32, and HPPA support status.
43611 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43613 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43615 2012-06-27 Andreas Jaeger <aj@suse.de>
43617 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43619 2012-06-25 Andreas Jaeger <aj@suse.de>
43621 * sysdeps/s390/fpu/libm-test-ulps: Update.
43623 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43624 Thomas Schwinge <thomas@codesourcery.com>
43626 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43627 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43628 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43631 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43633 * sysdeps/mach/start.c: Remove file.
43634 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43635 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43636 * sysdeps/sh/init-first.c: Likewise.
43638 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43639 registers for frame unwinding purposes, add CFI directives.
43640 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43641 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43642 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43645 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43646 __fortify_fail returning.
43647 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43649 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43650 sysdeps/sh/____longjmp_chk.S.
43651 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43652 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43653 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43654 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43656 * sysdeps/sh/abort-instr.h: New file.
43657 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43658 process in case exit returns.
43660 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43661 initialize the GOT register before use.
43663 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43664 calculation of ARGC > 4.
43666 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43667 meaningful names to some local labels.
43669 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43670 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43672 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43673 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43674 (__arch_compare_and_exchange_val_16_acq): Likewise.
43675 (__arch_compare_and_exchange_val_32_acq): Likewise.
43676 (atomic_exchange_and_add): Fix gUSA sequence.
43677 (atomic_add): Likewise.
43678 (atomic_add_negative): Likewise.
43679 (atomic_add_zero): Likewise.
43680 (atomic_bit_test_set): Likewise.
43682 2012-06-22 Andreas Schwab <schwab@redhat.com>
43685 * include/link.h (struct link_map): Add l_free_initfini.
43686 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43688 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43689 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43690 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43693 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43695 * configure.in: Use AC_LANG_SOURCE.
43696 * configure: Regenerate.
43698 2012-06-22 Roland McGrath <roland@hack.frob.com>
43700 * configure.in (libc_cv_localstatedir): New substituted variable.
43701 * configure: Regenerated.
43702 * config.make.in (localstatedir): New variable, substituted from
43703 libc_cv_localstatedir.
43704 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43705 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43706 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43707 * sysdeps/gnu/configure: Regenerated.
43709 2012-06-21 Jeff Law <law@redhat.com>
43712 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43713 free. Simplify list management for _LIBC case.
43715 2012-06-21 Joseph Myers <joseph@codesourcery.com>
43718 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43719 Clear sign bit of 64-bit integer value before comparing against
43722 * sysdeps/mach/configure: Regenerated.
43724 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43727 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43729 2012-06-21 Jeff Law <law@redhat.com>
43732 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43733 uint16_t for elements in the "seen" array to avoid char overflows.
43734 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43735 * elf/dl-open.c (dl_open_worker): Likewise.
43737 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43739 * scripts/list-sources.sh: Scan PORTS for translations.
43740 * po/libc.pot: Regenerated.
43742 2012-06-21 Andreas Jaeger <aj@suse.de>
43745 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43747 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43748 * bits/byteswap-16.h (__bswap_16): Likewise.
43749 * bits/byteswap.h (__bswap_constant_16): Likewise.
43751 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43754 * sysdeps/i386/fpu_control.h: Removed.
43755 * sysdeps/x86_64/fpu_control.h: Moved to ...
43756 * sysdeps/x86/fpu_control.h: Here.
43758 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43759 (_FPU_SETCW): Likewise.
43761 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43764 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43765 * sysdeps/x86/fpu/bits/mathinline.h: This.
43766 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43770 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43771 functions if __x86_64__ is defined.
43773 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43775 * string/endian.h: Add !__ASSEMBLER__ condition for including
43776 conversion interfaces.
43778 2012-06-15 Joseph Myers <joseph@codesourcery.com>
43781 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43782 of ABS(x) in calculating zero to negative powers other than odd
43784 * math/libm-test.inc (pow_test): Add more tests.
43786 2012-06-15 Andreas Jaeger <aj@suse.de>
43788 * manual/contrib.texi (Contributors): Update entry of Liubov
43789 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43792 2012-06-15 Cyril Hrubis <metan@ucw.cz>
43794 * string/string.h: Add __wur to GNU version of strerror_r.
43796 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43799 * string/Makefile (tests): Add tst-strtok_r.
43800 * string/tst-strtok_r.c: New file.
43801 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43802 RAX_LP/RDX_LP on SAVE_PTR.
43804 2012-06-14 Roland McGrath <roland@hack.frob.com>
43806 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43808 2012-06-14 Joseph Myers <joseph@codesourcery.com>
43810 * libm_test.inc (csqrt_test): Allow more spurious underflow
43812 (j0_test): Likewise.
43813 (j1_test): Likewise.
43814 (y0_test): Likewise.
43815 (y1_test): Likewise.
43817 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43819 * po/Makefile (libc.pot): Use UTF-8 charset.
43821 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43824 Suppress sign-conversion warning from FD_SET.
43825 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43826 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43827 not unsigned long int.
43828 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43830 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43834 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43835 __extern_always_inline instead of __extern_inline.
43836 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43837 (__signbit): Likewise.
43838 (__signbitl): Support C++ namespace.
43839 (lrintf): New inline function.
43841 (llrintf): Likewise.
43842 (llrint): Likewise.
43852 (floorf): Likewise.
43853 (nearbyint): Likewise.
43854 (nearbyintf): Likewise.
43856 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43858 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43859 non-default versions.
43861 2012-06-11 Roland McGrath <roland@hack.frob.com>
43864 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43866 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43868 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43869 (FE_UPWARD, FE_DOWNWARD): Don't define.
43870 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43871 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43873 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43875 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43876 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43878 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43880 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43881 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43882 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43883 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43885 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43888 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43889 * sysdeps/i386/fpu/Implies: New file.
43890 * sysdeps/x86_64/fpu/Implies: Likewise.
43891 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43892 * sysdeps/x86/fpu/bits/fenv.h: This.
43894 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43897 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43900 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43901 character 0xffff that matches the last element of the
43904 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43909 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43911 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43912 values higher than 25.6283.
43914 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43916 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43917 subnormal exponent extraction and add some __builtin_expect.
43918 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43919 Fix for subnormal mantissa calculation.
43921 2012-06-04 Mike Frysinger <vapier@gentoo.org>
43923 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43924 cpu2 is -1 and errno is not ENOSYS.
43926 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43929 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43930 * sysdeps/x86/bits/string.h: This.
43931 * sysdeps/x86_64/bits/string.h: Removed.
43933 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43934 if not compiling for x86-64, but compiling for >= i486.
43936 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43937 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43939 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43940 New macro from Linux kernel 3.4.0.
43941 (FP_XSTATE_MAGIC2): Likewise.
43942 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43943 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43944 (struct _fpx_sw_bytes): New struct.
43945 (struct _xsave_hdr): Likewise.
43946 (struct _ymmh_state): Likewise.
43947 (struct _xstate): Likewise.
43949 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43950 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43951 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43952 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43953 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43954 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43956 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43957 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43958 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43959 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43960 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43961 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43963 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43966 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43967 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43968 (sysdep_headers): Include sys/platform/ppc.h.
43969 * sysdeps/powerpc/test-gettimebase.c: Test for
43970 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43971 * manual/Makefile (appendices): Include platform.texi.
43972 * manual/contrib.texi (Contributors): Update @node pointers.
43973 * manual/maint.texi (Maintenance): Likewise.
43974 (Platform): New node.
43975 * manual/platform.texi: New file. Document the new features.
43977 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43978 Jakub Jelinek <jakub@redhat.com>
43981 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43982 where __builtin_expect is unavailable.
43984 2012-06-03 David S. Miller <davem@davemloft.net>
43986 * stdlib/longlong.h: Updated from GCC.
43988 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43991 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43992 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43995 (GLIBC_2.16): Likewise.
43997 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43999 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44001 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44004 (default-abi): New variable.
44005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44006 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44008 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44010 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44012 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44015 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44016 definition. Document in comment.
44018 2012-06-01 David S. Miller <davem@davemloft.net>
44020 * stdlib/longlong.h: Updated from GCC.
44022 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44025 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44026 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44027 sys/debugreg.h sys/io.h here.
44028 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44029 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44031 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44032 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44033 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44034 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44035 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44036 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44038 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44039 Define only if __x86_64__ is defined.
44041 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44044 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44045 Use int64_t for variable i.
44046 * math/libm-test.inc (fmod_test): Add more tests.
44048 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44049 z computation is not scheduled after fetestexcept.
44050 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44051 Use math_force_eval instead of asm to ensure calculation scheduled
44052 before exception test.
44053 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44054 Ensure a1 + u.d computation is not scheduled after fetestexcept.
44056 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
44058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44059 computation is not scheduled after fetestexcept.
44061 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44064 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44065 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44067 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44069 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44070 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44072 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44075 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44077 (__WCHAR_MIN): Support __WORDSIZE == 64.
44078 (__WCHAR_MAX): Likewise.
44080 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44081 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44084 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44085 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44088 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44089 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44091 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44092 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44094 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44095 Defined to 1 if __x86_64__ isn't defined.
44096 (_STAT_VER_LINUX_OLD): New.
44097 (st_atime): Remove duplicate.
44098 (st_mtime): Likewise.
44099 (st_ctime): Likewise.
44101 2012-05-31 David S. Miller <davem@davemloft.net>
44103 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44106 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44108 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44112 * elf/dl-reloc.c: Include <_itoa.h>.
44113 (_dl_reloc_bad_type): Remove use of INTUSE.
44114 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44115 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44116 * stdio-common/psiginfo.c (psiginfo): Likewise.
44117 * stdio-common/psignal.c (psignal): Likewise.
44118 * string/strsignal.c (strsignal): Likewise.
44119 * include/signal.h (_sys_siglist): Declare hidden proto.
44120 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
44121 INTVARDEF with libc_hidden_data_def.
44122 * stdio-common/itoa-udigits.c: Likewise.
44123 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44124 (_itoa_lower_digits_internal): Remove declaration.
44125 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44126 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44127 (_sys_sigabbrev_internal): Remove aliases.
44128 (_sys_siglist): Define hidden alias.
44130 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
44132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44135 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44138 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44139 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44141 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44142 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44143 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44144 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44145 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44146 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44148 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44149 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44150 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44152 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44160 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44161 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44162 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44164 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44165 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44166 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44167 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44168 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44169 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44171 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44172 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44174 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44175 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44177 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44179 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44181 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44182 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44184 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44186 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44187 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44188 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44190 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44192 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44194 2012-05-31 Joseph Myers <joseph@codesourcery.com>
44196 * math/math.h (M_El): Use two more decimal places.
44197 (M_LOG2El): Likewise.
44198 (M_LOG10El): Likewise.
44199 (M_LN2l): Likewise.
44200 (M_LN10l): Likewise.
44202 (M_PI_2l): Likewise.
44203 (M_PI_4l): Likewise.
44204 (M_1_PIl): Likewise.
44205 (M_2_PIl): Likewise.
44206 (M_2_SQRTPIl): Likewise.
44207 (M_SQRT2l): Likewise.
44208 (M_SQRT1_2l): Likewise.
44210 2012-05-31 David S. Miller <davem@davemloft.net>
44212 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44213 values between float registers.
44214 * sysdeps/sparc/sparc64/memset.S: Likewise.
44215 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44217 2012-05-31 Mike Frysinger <vapier@gentoo.org>
44219 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44220 -D_FORTIFY_SOURCE=1.
44221 (CPPFLAGS-tst-longjmp_chk.c): Define.
44222 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44223 (CPPFLAGS-tst-longjmp_chk2.c): Define.
44224 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44225 CFLAGS-tst-wchar-h.c.
44227 2012-05-31 Marek Polacek <polacek@redhat.com>
44230 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44231 __endmntent_internal): Remove declaration.
44232 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44233 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44234 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44236 2012-05-30 David S. Miller <davem@davemloft.net>
44238 * sysdeps/sparc/sparc32/soft-fp/q_util.c
44239 (___Q_simulate_exceptions): Use real FP ops rather than writing
44241 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44244 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44247 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44248 * sysdeps/x86/bits/xtitypes.h: This.
44250 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44251 * sysdeps/x86/bits/wordsize.h: This.
44253 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44254 * sysdeps/x86/bits/huge_vall.h: This.
44256 * sysdeps/i386/bits/select.h: Removed.
44257 * sysdeps/x86_64/bits/select.h: Renamed to ...
44258 * sysdeps/x86/bits/select.h: This.
44260 * sysdeps/i386/bits/setjmp.h: Removed.
44261 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44262 * sysdeps/x86/bits/setjmp.h: This.
44264 * sysdeps/i386/bits/mathdef.h: Removed.
44265 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44266 * sysdeps/x86/bits/mathdef.h: This.
44268 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44271 * include/sys/socket.h (__connect_internal)
44272 (__libc_sa_len_internal): Remove declaration.
44273 (__connect, __libc_sa_len): Declare hidden_proto.
44274 (SA_LEN): Remove use of INTUSE.
44275 * socket/connect.c: Add libc_hidden_def.
44276 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44277 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44278 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44280 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44281 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44282 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44283 of adding _internal alias.
44285 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44288 * sysdeps/i386/bits/link.h: Removed.
44289 * sysdeps/i386/bits/linkmap.h: Likewise.
44290 * sysdeps/x86_64/bits/link.h: Renamed to ...
44291 * sysdeps/x86/bits/link.h: This.
44292 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44293 * sysdeps/x86/bits/linkmap.h: This.
44295 * sysdeps/i386/bits/endian.h: Removed.
44296 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44297 * sysdeps/x86/bits/endian.h: This.
44299 * sysdeps/i386/bits/byteswap.h: Removed.
44300 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44301 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44302 * sysdeps/x86/bits/byteswap.h: This.
44303 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44304 * sysdeps/x86/bits/byteswap-16.h: This.
44305 * sysdeps/i386/Implies: Add x86.
44306 * sysdeps/x86_64/Implies: Likewise.
44308 2012-05-30 David S. Miller <davem@davemloft.net>
44310 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44311 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44312 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44313 (FP_TRAPPING_EXCEPTIONS): Define.
44314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44315 (FP_TRAPPING_EXCEPTIONS): Define.
44316 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44317 subnormals only when inexact has been signalled or underflow
44318 exceptions are enabled.
44319 (_FP_PACK_CANONICAL): Likewise.
44321 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44324 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44325 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44327 2012-05-30 Richard Henderson <rth@twiddle.net>
44329 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44330 with #ifndef NOT_IN_libc.
44332 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44333 marked to avoid plt entry.
44335 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44338 * Makeconfig (default-abi): New macro.
44339 (abi-includes): Likewise.
44340 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44341 $(abi-$(default-abi)-lib-soname) for soname if defined.
44342 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44344 * Makefile (installed-stubs): Likewise.
44345 * include/stubs-biarch.h: Removed.
44346 * scripts/lib-names.awk: Only handle one library at a time.
44347 * scripts/soversions.awk: Remove WORDSIZE support.
44348 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44350 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44352 (syscall-list-default-condition): Likewise.
44353 (syscall-list-default-condition): Likewise.
44354 (syscall-list-includes): Likewise.
44355 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44356 syscall-list-* with abi-*. Handle undefined abi-variants.
44357 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44358 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44359 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44360 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44361 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44362 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44364 (syscall-list-32-options): Likewise.
44365 (syscall-list-32-condition): Likewise.
44366 (syscall-list-64-options): Likewise.
44367 (syscall-list-64-condition): Likewise.
44368 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44370 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44373 (abi-64-ld-soname): New macro.
44374 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44375 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44378 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44379 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44381 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44383 * sysdeps/unix/sysv/linux/kernel-features.h
44384 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44385 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44386 include <kernel-features.h>.
44387 [!__NR_ftruncate64]: Remove conditional code.
44388 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44389 [__NR_ftruncate64]: Make code unconditional.
44390 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44391 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44392 include <kernel-features.h>.
44393 [!__NR_ftruncate64]: Remove conditional code.
44394 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44395 [__NR_ftruncate64]: Make code unconditional.
44396 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44398 include <kernel-features.h>.
44399 [!__NR_ftruncate64]: Remove conditional code.
44400 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44401 [__NR_ftruncate64]: Make code unconditional.
44402 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44404 include <kernel-features.h>.
44405 [!__NR_ftruncate64]: Remove conditional code.
44406 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44407 [__NR_ftruncate64]: Make code unconditional.
44408 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44410 * configure.in (libc_cv_fpie): Weaken to a compile test using
44411 LIBC_TRY_CC_OPTION.
44412 * configure: Regenerated.
44414 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44429 2012-05-27 David S. Miller <davem@davemloft.net>
44431 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44433 (__Q_simulate_exceptions): Return void. Change to simulate
44434 exceptions by writing into the %fsr.
44435 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44436 (__Qp_handle_exceptions): Likewise.
44438 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44439 __Qp_handle_exceptions.
44440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44441 __Qp_handle_exceptions.
44442 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44443 as unused and give dummy FP_RND_NEAREST initializer.
44444 (FP_INHIBIT_RESULTS): Define.
44445 (___Q_simulate_exceptions): Update declaration.
44446 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44448 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44449 as unused and give dummy FP_RND_NEAREST initializer.
44450 (__Qp_handle_exceptions): Update declaration.
44451 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44454 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44456 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44457 the temporary FPU control word.
44458 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44459 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44460 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44461 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44462 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44463 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44464 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44465 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44466 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44467 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44468 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44470 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44472 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44475 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44477 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44478 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44479 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44480 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44482 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44483 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44486 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44488 * po/h.po: Update from translation team.
44490 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44492 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44494 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44495 handling of denormals.
44496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44497 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44498 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44499 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44505 2012-05-26 Marek Polacek <polacek@redhat.com>
44508 * math/libm-test.inc (fma_test): Don't always expect underflow
44511 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44514 * elf/tst-execstack.c: Include stackinfo.h.
44515 (do_test): Adjust test case to ensure that pthread_getattr_np
44516 behaviour remains the same after marking stack executable.
44518 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44520 * sysdeps/unix/sysv/linux/kernel-features.h
44521 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44522 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44524 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44525 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44526 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44528 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44529 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44531 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44533 * configure.in: Define the default includes to being none.
44534 * configure: Regenerated.
44536 2012-05-25 Roland McGrath <roland@hack.frob.com>
44538 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44539 * sysdeps/x86_64/setjmp.S: Likewise.
44540 * sysdeps/i386/bsd-setjmp.S: Likewise.
44541 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44542 * sysdeps/i386/setjmp.S: Likewise.
44543 * sysdeps/i386/__longjmp.S: Likewise.
44544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44545 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44547 * include/stap-probe.h: New file.
44548 * configure.in: Handle --enable-systemtap.
44549 * configure: Regenerated.
44550 * config.h.in (USE_STAP_PROBE): New #undef.
44551 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44552 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44553 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44555 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44558 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44559 to 2.4.0 where earlier.
44560 * sysdeps/unix/sysv/linux/configure: Regenerated.
44561 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44562 <kernel-features.h>.
44563 [__ASSUME_32BITUIDS]: Make code unconditional.
44564 [!__ASSUME_32BITUIDS]: Remove conditional code.
44565 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44566 <kernel-features.h>.
44567 [__ASSUME_32BITUIDS]: Make code unconditional.
44568 [!__ASSUME_32BITUIDS]: Remove conditional code.
44569 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44570 [__ASSUME_32BITUIDS]: Make code unconditional.
44571 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44572 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44573 <kernel-features.h>.
44574 [__ASSUME_32BITUIDS]: Make code unconditional.
44575 [!__ASSUME_32BITUIDS]: Remove conditional code.
44576 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44577 <kernel-features.h>.
44578 [__ASSUME_32BITUIDS]: Make code unconditional.
44579 [!__ASSUME_32BITUIDS]: Remove conditional code.
44580 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44581 <kernel-features.h>.
44582 [__ASSUME_32BITUIDS]: Make code unconditional.
44583 [!__ASSUME_32BITUIDS]: Remove conditional code.
44584 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44585 <kernel-features.h>.
44586 [__ASSUME_32BITUIDS]: Make code unconditional.
44587 [!__ASSUME_32BITUIDS]: Remove conditional code.
44588 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44589 <kernel-features.h>.
44590 [__ASSUME_32BITUIDS]: Make code unconditional.
44591 [!__ASSUME_32BITUIDS]: Remove conditional code.
44592 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44593 <kernel-features.h>.
44594 [__ASSUME_32BITUIDS]: Make code unconditional.
44595 [!__ASSUME_32BITUIDS]: Remove conditional code.
44596 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
44613 <kernel-features.h>.
44614 [__NR_setresgid] (__setresgid): Do not declare.
44615 [__ASSUME_32BITUIDS]: Make code unconditional.
44616 [!__ASSUME_32BITUIDS]: Remove conditional code.
44617 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44618 <kernel-features.h>.
44619 [__NR_setresuid] (__setresuid): Do not declare.
44620 [__ASSUME_32BITUIDS]: Make code unconditional.
44621 [!__ASSUME_32BITUIDS]: Remove conditional code.
44622 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44623 <kernel-features.h>.
44624 [__ASSUME_32BITUIDS]: Make code unconditional.
44625 [!__ASSUME_32BITUIDS]: Remove conditional code.
44626 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44627 <kernel-features.h>.
44628 [__ASSUME_32BITUIDS]: Make code unconditional.
44629 [!__ASSUME_32BITUIDS]: Remove conditional code.
44630 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44631 <kernel-features.h>.
44632 [__ASSUME_32BITUIDS]: Make code unconditional.
44633 [!__ASSUME_32BITUIDS]: Remove conditional code.
44634 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44635 <kernel-features.h>.
44636 [__ASSUME_32BITUIDS]: Make code unconditional.
44637 [!__ASSUME_32BITUIDS]: Remove conditional code.
44638 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44639 <kernel-features.h>.
44640 [__ASSUME_32BITUIDS]: Make code unconditional.
44641 [!__ASSUME_32BITUIDS]: Remove conditional code.
44642 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44643 <kernel-features.h>.
44644 [__ASSUME_32BITUIDS]: Make code unconditional.
44645 [!__ASSUME_32BITUIDS]: Remove conditional code.
44646 * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
44663 (__ASSUME_SETRESUID_SYSCALL): Remove.
44664 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44665 (__ASSUME_32BITUIDS): Likewise.
44666 (__ASSUME_LDT_WORKS): Likewise.
44667 (__ASSUME_O_DIRECTORY): Likewise.
44668 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44669 architecture but not kernel version.
44670 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44671 (__ASSUME_MMAP2_SYSCALL): Likewise.
44672 (__ASSUME_STAT64_SYSCALL): Likewise.
44673 (__ASSUME_IPC64): Likewise.
44674 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44675 <kernel-features.h>.
44676 [__ASSUME_32BITUIDS]: Make code unconditional.
44677 [!__ASSUME_32BITUIDS]: Remove conditional code.
44678 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44679 <kernel-features.h>.
44680 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44681 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44682 132096]: Remove conditional code.
44683 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44684 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44685 <kernel-features.h>.
44686 [__ASSUME_32BITUIDS]: Make code unconditional.
44687 [!__ASSUME_32BITUIDS]: Remove conditional code.
44688 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44689 <kernel-features.h>.
44690 [__ASSUME_32BITUIDS]: Make code unconditional.
44691 [!__ASSUME_32BITUIDS]: Remove conditional code.
44692 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44693 <kernel-features.h>.
44694 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44696 (__setresgid): Do not declare.
44697 [__ASSUME_32BITUIDS]: Make code unconditional.
44698 [!__ASSUME_32BITUIDS]: Remove conditional code.
44699 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44700 <kernel-features.h>.
44701 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44703 (__setresuid): Do not declare.
44704 [__ASSUME_32BITUIDS]: Make code unconditional.
44705 [!__ASSUME_32BITUIDS]: Remove conditional code.
44706 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44707 <kernel-features.h>.
44708 [__ASSUME_32BITUIDS]: Make code unconditional.
44709 [!__ASSUME_32BITUIDS]: Remove conditional code.
44710 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44711 <kernel-features.h>.
44712 [__ASSUME_32BITUIDS]: Make code unconditional.
44713 [!__ASSUME_32BITUIDS]: Remove conditional code.
44715 2012-05-25 Richard Henderson <rth@twiddle.net>
44717 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44718 dl_hwcap to ifunc resolver.
44719 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44721 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44722 dl_hwcap to ifunc resolver.
44723 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44725 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44728 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44729 for |x| <= 2**-26, not 2**-57.
44730 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44733 2012-05-24 Jeff Law <law@redhat.com>
44735 * stdio-common/Makefile (tests): Add bug25.
44736 * stdio-common/bug25.c: New test.
44738 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44741 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44742 multiple of MALLOC_ALIGNMENT in size.
44743 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44745 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44747 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44749 (FILENAME_MAX): Use macro-int-constant.
44750 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44751 (_IOFBF): Use macro-int-constant.
44752 (_IOLBF): Likewise.
44753 (_IONBF): Likewise.
44754 (SEEK_CUR): Likewise.
44755 (SEEK_END): Likewise.
44756 (SEEK_SET): Likewise.
44757 (TMP_MAX): Likewise.
44758 (EOF): Use macro-int-constant. Require < 0.
44759 (NULL): Use macro-constant. Require == 0.
44760 (stdin): Require type to be FILE *.
44761 (stdout): Likewise.
44762 (stderr): Likewise.
44763 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44764 macro-int-constant.
44765 (EXIT_SUCCESS): Likewise.
44766 (NULL): Use macro-constant. Require == 0.
44767 (RAND_MAX): Use macro-int-constant.
44768 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44769 [C99-based standards] (strtof): Require function.
44770 [C99-based standards] (strtold): Likewise.
44771 [C99-based standards] (strtoll): Likewise.
44772 [C99-based standards] (strtoull): Likewise.
44773 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44774 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44775 [ISO || ISO99 || ISO11] (math.h): Likewise.
44776 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44777 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44778 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44780 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44783 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44784 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44785 * intl/dgettext.c (DCGETTEXT): Likewise.
44786 * intl/gettext.c (DCGETTEXT): Likewise.
44787 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44788 * posix/regex_internal.h (gettext): Likewise.
44789 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44790 Remove declaration.
44791 * include/argz.h (__argz_count_internal)
44792 (__argz_stringify_internal): Remove declaration.
44793 (__argz_count, __argz_stringify): Declare hidden proto.
44794 * intl/dcgettext.c: Remove use of INTDEF.
44795 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44796 * string/argz-stringify.c: Likewise.
44797 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44798 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44799 Declare hidden proto.
44800 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44801 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44802 Declare hidden proto.
44803 * include/stdio.h (__asprintf_internal): Don't declare.
44804 (__asprintf): Don't define as macro. Declare hidden proto.
44805 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44806 (__fsetlocking): Declare hidden proto.
44807 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44808 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44810 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44811 (_IO_setlinebuf): Remove use of INTUSE.
44812 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44813 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44814 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44815 Remove declaration.
44816 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44817 (_IO_do_flush): Remove use of INTUSE.
44818 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44819 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44820 (_IO_adjust_column, _IO_least_wmarker)
44821 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44822 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44823 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44824 (_IO_default_doallocate, _IO_wdefault_doallocate)
44825 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44826 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44827 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44828 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44829 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44830 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44831 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44832 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44833 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44834 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44835 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44836 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44837 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44839 (_IO_flush_all_internal, _IO_adjust_column_internal)
44840 (_IO_default_uflow_internal, _IO_default_finish_internal)
44841 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44842 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44843 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44844 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44845 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44846 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44847 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44848 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44849 (_IO_file_close_internal, _IO_file_close_it_internal)
44850 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44851 (_IO_file_init_internal, _IO_file_attach_internal)
44852 (_IO_file_fopen_internal, _IO_file_read_internal)
44853 (_IO_file_sync_internal, _IO_file_seek_internal)
44854 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44855 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44856 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44857 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44858 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44859 (_IO_list_all_internal, _IO_link_in_internal)
44860 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44861 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44862 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44863 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44864 (_IO_do_write_internal, _IO_padn_internal)
44865 (_IO_getline_info_internal, _IO_getline_internal)
44866 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44867 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44868 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44869 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44870 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44871 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44872 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44873 with libc_hidden_ver, remove use of INTUSE.
44874 * libio/genops.c: Likewise.
44875 * libio/freopen.c: Likewise.
44876 * libio/freopen64.c: Likewise.
44877 * libio/iofclose.c: Likewise.
44878 * libio/iofdopen.c: Likewise.
44879 * libio/iofflush.c: Likewise.
44880 * libio/iofflush_u.c: Likewise.
44881 * libio/iofgets.c: Likewise.
44882 * libio/iofgets_u.c: Likewise.
44883 * libio/iofopen.c: Likewise.
44884 * libio/iofopncook.c: Likewise.
44885 * libio/iofread.c: Likewise.
44886 * libio/iofread_u.c: Likewise.
44887 * libio/ioftell.c: Likewise.
44888 * libio/iofwrite.c: Likewise.
44889 * libio/iogetline.c: Likewise.
44890 * libio/iogets.c: Likewise.
44891 * libio/iogetwline.c: Likewise.
44892 * libio/iopadn.c: Likewise.
44893 * libio/iopopen.c: Likewise.
44894 * libio/ioseekoff.c: Likewise.
44895 * libio/ioseekpos.c: Likewise.
44896 * libio/iosetbuffer.c: Likewise.
44897 * libio/iosetvbuf.c: Likewise.
44898 * libio/ioungetc.c: Likewise.
44899 * libio/ioungetwc.c: Likewise.
44900 * libio/iovdprintf.c: Likewise.
44901 * libio/iovsprintf.c: Likewise.
44902 * libio/iovsscanf.c: Likewise.
44903 * libio/memstream.c: Likewise.
44904 * libio/obprintf.c: Likewise.
44905 * libio/oldfileops.c: Likewise.
44906 * libio/oldiofclose.c: Likewise.
44907 * libio/oldiofdopen.c: Likewise.
44908 * libio/oldiofopen.c: Likewise.
44909 * libio/oldiopopen.c: Likewise.
44910 * libio/oldstdfiles.c: Likewise.
44911 * libio/putc.c: Likewise.
44912 * libio/setbuf.c: Likewise.
44913 * libio/setlinebuf.c: Likewise.
44914 * libio/stdfiles.c: Likewise.
44915 * libio/strops.c: Likewise.
44916 * libio/vasprintf.c: Likewise.
44917 * libio/vscanf.c: Likewise.
44918 * libio/vsnprintf.c: Likewise.
44919 * libio/vswprintf.c: Likewise.
44920 * libio/wfiledoalloc.c: Likewise.
44921 * libio/wfileops.c: Likewise.
44922 * libio/wgenops.c: Likewise.
44923 * libio/wmemstream.c: Likewise.
44924 * libio/wstrops.c: Likewise.
44925 * libio/__fpurge.c: Likewise.
44926 * libio/__fsetlocking.c: Likewise.
44927 * assert/assert.c: Likewise.
44928 * debug/fgets_chk.c: Likewise.
44929 * debug/fgets_u_chk.c: Likewise.
44930 * debug/fread_chk.c: Likewise.
44931 * debug/fread_u_chk.c: Likewise.
44932 * debug/gets_chk.c: Likewise.
44933 * debug/obprintf_chk.c: Likewise.
44934 * debug/vasprintf_chk.c: Likewise.
44935 * debug/vdprintf_chk.c: Likewise.
44936 * debug/vsnprintf_chk.c: Likewise.
44937 * debug/vsprintf_chk.c: Likewise.
44938 * malloc/mtrace.c: Likewise.
44939 * misc/error.c: Likewise.
44940 * misc/syslog.c: Likewise.
44941 * stdio-common/asprintf.c: Likewise.
44942 * stdio-common/fxprintf.c: Likewise.
44943 * stdio-common/getw.c: Likewise.
44944 * stdio-common/isoc99_fscanf.c: Likewise.
44945 * stdio-common/isoc99_scanf.c: Likewise.
44946 * stdio-common/isoc99_vfscanf.c: Likewise.
44947 * stdio-common/isoc99_vscanf.c: Likewise.
44948 * stdio-common/isoc99_vsscanf.c: Likewise.
44949 * stdio-common/printf-prs.c: Likewise.
44950 * stdio-common/printf_fp.c: Likewise.
44951 * stdio-common/printf_fphex.c: Likewise.
44952 * stdio-common/printf_size.c: Likewise.
44953 * stdio-common/putw.c: Likewise.
44954 * stdio-common/scanf.c: Likewise.
44955 * stdio-common/sprintf.c: Likewise.
44956 * stdio-common/tmpfile.c: Likewise.
44957 * stdio-common/vfprintf.c: Likewise.
44958 * stdio-common/vfscanf.c: Likewise.
44959 * stdlib/strfmon_l.c: Likewise.
44960 * sunrpc/openchild.c: Likewise.
44961 * sunrpc/xdr_stdio.c: Likewise.
44962 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44963 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44965 2012-05-24 Roland McGrath <roland@hack.frob.com>
44967 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44969 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44970 in the third column, to generate for the shared library an IFUNC
44971 that uses _dl_vdso_vsym.
44972 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44973 * Makeconfig (object-suffixes-noshared): New variable.
44975 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44976 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44977 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44978 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44981 * include/sys/time.h (__gettimeofday): Remove macro.
44982 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44983 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44985 (__gettimeofday): Add libc_hidden_def.
44986 (gettimeofday): Add libc_hidden_weak.
44987 * sysdeps/mach/gettimeofday.c: Likewise.
44988 * sysdeps/posix/gettimeofday.c: Likewise.
44989 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44990 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44991 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44992 (__gettimeofday_internal): Remove strong_alias.
44993 (__gettimeofday): Add libc_hidden_def.
44994 (gettimeofday): Add libc_hidden_weak.
44995 * sysdeps/unix/syscalls.list (gettimeofday):
44996 Remove __gettimeofday_internal alias.
44998 2012-05-24 Daniel Jacobowitz <drow@false.org>
44999 H.J. Lu <hongjiu.lu@intel.com>
45002 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45003 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45004 (largebin_index_32_big): New.
45005 (largebin_index): Use it for 16-byte alignment.
45006 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
45007 correction with front_misalign.
45009 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45037 * scripts/data/c++-types-x32-linux-gnu.data: New file.
45038 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45040 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45044 * math/libm-test.inc (exp_test): Add test from bug 14036.
45045 (pow_test): Add test from bug 10846.
45047 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45049 (special_function): Do not include flags in test name.
45050 (parse_args): Likewise.
45051 * sysdeps/i386/fpu/libm-test-ulps: Update.
45052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45053 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45054 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45057 * math/gen-libm-test.pl (%beautify): Add entries for underflow
45059 * math/libm-test.inc ("Philosophy"): Update comment about
45061 (UNDERFLOW_EXCEPTION): New macro.
45062 (UNDERFLOW_EXCEPTION_OK): Likewise.
45063 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45064 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45065 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45066 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45067 (INVALID_EXCEPTION_OK): Update value.
45068 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45069 (OVERFLOW_EXCEPTION_OK): Likewise.
45070 (IGNORE_ZERO_INF_SIGN): Likewise.
45071 (test_exceptions): Handle underflow exceptions.
45072 (acos_test): Update for underflow exception expectations.
45073 (cexp_test): Likewise.
45074 (clog_test): Likewise.
45075 (clog10_test): Likewise.
45076 (csqrt_test): Likewise.
45077 (ctan_test): Likewise.
45078 (ctanh_test): Likewise.
45079 (exp_test): Likewise.
45080 (exp10_test): Likewise.
45081 (exp2_test): Likewise.
45082 (expm1_test): Likewise.
45083 (fma_test): Likewise.
45084 (j0_test): Likewise.
45085 (jn_test): Likewise.
45086 (nexttoward_test): Likewise.
45087 (pow_test): Likewise.
45088 (scalbn_test): Likewise.
45089 (scalbln_test): Likewise.
45090 (tan_test): Likewise.
45091 (y1_test): Likewise.
45092 * sysdeps/i386/fpu/libm-test-ulps: Update.
45093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45095 2012-05-23 David S. Miller <davem@davemloft.net>
45097 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45098 (__libc_sigaction): Remove unused local variables.
45100 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45102 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45104 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45106 mktime: avoid signed integer overflow
45107 * time/mktime.c (__mktime_internal): Do not mishandle the case
45108 where diff == INT_MIN.
45110 mktime: simplify computation of average
45111 * time/mktime.c (ranged_convert): Use new time_t_avg function
45112 instead of rolling our own (probably-slower) code.
45114 mktime: do not assume signed right shift propagates sign bit
45115 * time/mktime.c (isdst_differ): New static function.
45116 (__mktime_internal): No need to normalize tm_isdst now.
45117 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45120 mktime: merge another wrapv change from gnulib
45121 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45122 from some compilers.
45124 mktime: remove incorrect attempt at unusual arithmetics
45125 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45126 The code didn't really work on such machines anyway.
45127 (TYPE_MINIMUM): Assume two's complement.
45128 (twos_complement_arithmetic): Verify that long_int and time_t
45129 are two's complement (or unsigned, in the latter case).
45131 mktime: check signed shifts on long_int and time_t, too
45132 * time/mktime.c (SHR): Check that shifts work as desired
45133 on the types long_int and time_t too, as SHR is used on
45136 mktime: do not assume 'long' is wide enough
45137 * time/mktime.c (verify): Move decl up.
45138 (long_int): New type.
45139 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45140 to remove assumption in the code that 'long' is wide enough to
45141 store year values. This assumption is not true on x32 and on
45142 some non-glibc platforms.
45144 mktime: merge wrapv change from gnulib
45145 * time/mktime.c (WRAPV): New macro.
45146 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45147 (guess_time_tm, __mktime_internal): Do not assume that signed
45148 integer overflow wraps around; modern compilers generate code
45149 where this assumption is no longer valid.
45151 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45153 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45154 Replace "jmp L(pseudo_end)" with "ret".
45155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45158 2012-05-23 Andreas Jaeger <aj@suse.de>
45160 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45161 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45163 2012-05-23 Andreas Jaeger <aj@suse.de>
45164 Maximilian Attems <max@stro.at>
45166 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45169 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45171 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45172 code so that pseudo_end is just ret and the stack pointer is
45173 correct also for static library in error case.
45175 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45177 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45178 move to syscalls.list.
45179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45184 * manual/install.texi (Running make install): Do not mention Linux
45185 kernel version for which pt_chown is not needed.
45186 (Linux): Do not mention problems with nscd with 2.0 kernels.
45187 * INSTALL: Regenerated.
45189 2012-05-23 Andreas Jaeger <aj@suse.de>
45191 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45192 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45194 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45195 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45196 * sysdeps/unix/sysv/linux/sh/bits/mman.h
45197 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45198 * sysdeps/unix/sysv/linux/i386/bits/mman.h
45199 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45200 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45201 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45202 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45203 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45204 * sysdeps/unix/sysv/linux/bits/in.h
45205 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45207 2012-05-22 Roland McGrath <roland@hack.frob.com>
45209 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45210 (PREPARE_VERSION): Just use assert instead, it will be elided
45211 under [NDEBUG] anyway.
45213 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45215 * sysdeps/unix/sysv/linux/Makefile: Include
45216 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45217 (sysdep_routines): Remove sysctl.
45218 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45219 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45220 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45221 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45222 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45224 2012-05-22 Andreas Jaeger <aj@suse.de>
45226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45227 that pseudo_end is just ret and the stack pointer is correct also
45228 for static library in error case.
45230 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
45233 * nss/nsswitch.c (defconfig_entries): New variable.
45234 (__nss_database_lookup): Don't leak defconfig entries.
45235 (nss_parse_service_list): Don't leak on error paths.
45236 (free_database_entries): New function.
45237 (free_defconfig): New function.
45238 (free_mem): Move common code to free_database_entries.
45240 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45242 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45244 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45246 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45247 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45250 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45251 (INTERNAL_SYSCALL_TYPES): Likewise.
45252 (LOAD_ARGS_TYPES_[1-6]): Likewise.
45253 (LOAD_REGS_TYPES_[1-6]): Likewise.
45254 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45255 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45257 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45259 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45260 copysignl for GLIBC_2_0.
45261 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45262 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45264 logbl for GLIBC_2_0.
45265 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45266 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45268 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45271 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45273 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45276 * time/mktime.c: Update copyright years.
45278 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
45280 mktime: merge comment-quoting-style change from gnulib
45281 * time/mktime.c: Quote 'like this' in comments.
45282 The GNU coding standards suggest that we no longer quote `like this',
45283 as "`" and "'" are typically rendered asymmetrically nowadays.
45284 The typical gnulib style is to quote 'like this' when quoting
45285 code, and "like this" when quoting English.
45287 * time/mktime.c (compile-command): Add "-I.".
45289 mktime: merge mktime-internal.h change from gnulib
45290 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45292 mktime: merge time_r change from gnulib
45293 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45295 mktime: merge DEBUG change from gnulib
45296 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45297 case system <time.h> has a #define.
45299 mktime: merge <sys/types.h> change from gnulib
45300 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45301 since <time.t> is now guaranteed to define time_t.
45303 mktime: merge HAVE_CONFIG_H change from gnulib
45304 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45306 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45311 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45313 (struct rusage): Use anonymous union to pad each field to
45316 2012-05-21 David S. Miller <davem@davemloft.net>
45318 * Makefules (o-iterator): Remove .s cases.
45319 (compile-command.s): Delete.
45320 (COMPILE.s): Delete.
45321 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45323 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45325 * configure.in (libc_cv_predef_stack_protector): Only consider
45326 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45327 * configure: Regenerated.
45329 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45332 New macro. Use R*LP on int and pointer.
45333 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45334 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45335 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45336 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45338 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45339 [__WORDSIZE_TIME64_COMPAT32] instead of
45340 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45341 (struct utmp): Likewise.
45342 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45343 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45345 (__WORDSIZE_TIME64_COMPAT32): This.
45346 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45347 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45348 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45349 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45350 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45351 (__WORDSIZE_TIME64_COMPAT32): New macro.
45353 2012-05-21 Andreas Jaeger <aj@suse.de>
45355 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45356 only if [SHARED]. Add prototype for __wcschr_ia32.
45358 2012-05-21 Roland McGrath <roland@hack.frob.com>
45360 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45361 of %rbp unmolested in the jmp_buf while mangling the low bits.
45362 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45363 unmolested high bits of %rbp while demangling the low bits.
45364 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45366 2012-05-21 Andreas Jaeger <aj@suse.de>
45368 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45369 * sunrpc/svc_simple.c: Use it for registerrpc.
45370 * sunrpc/xcrypt.c: Use it for passwd2des.
45372 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45374 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45376 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45377 Don't define if [__SYSCALL_WORDSIZE != 32].
45378 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45381 2012-05-21 Bruno Haible <bruno@clisp.org>
45382 Andreas Jaeger <aj@suse.de>
45384 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45385 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45386 inptr and inend for must_buffer_ch.
45387 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45388 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45389 * stdio-common/Makefile (tests): Remove bug15.
45390 (bug15-ENV): Remove macro.
45391 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45394 2012-05-19 Andreas Jaeger <aj@suse.de>
45395 Roland McGrath <roland@hack.frob.com>
45397 * manual/contrib.texi: Completely rewritten. It contains now an
45398 alphabetical list of contributors and their contributions.
45400 2012-05-21 Richard Henderson <rth@twiddle.net>
45402 * misc/getauxval.c (__getauxval): Use unsigned long int.
45403 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45404 (getauxval): Use unsigned long int.
45406 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45408 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45410 2012-05-21 Roland McGrath <roland@hack.frob.com>
45412 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45413 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45414 __alignof__ (long double).
45416 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45420 2012-05-20 Richard Henderson <rth@twiddle.net>
45422 * misc/getauxval.c: New file.
45423 * misc/sys/auxv.h: New file.
45424 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45425 (routines): Add getauxval.
45426 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45427 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45428 * elf/dl-sysdep.c (_dl_auxv): Remove.
45429 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45430 * elf/dl-support.c (_dl_auxv): New variable.
45431 (_dl_aux_init): Initialize it.
45432 * manual/startup.texi (Auxiliary Vector): New node.
45433 * sysdeps/generic/bits/hwcap.h: New file.
45434 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45435 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45436 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45437 * sysdeps/sparc/sysdep.h: ... here. Include it.
45438 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45445 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45451 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45455 2012-05-19 David S. Miller <davem@davemloft.net>
45457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45459 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45462 * math/s_ccosh.c: Include <float.h>
45463 (__ccosh): Avoid internal overflow calculating sinh and cosh
45464 values before multiplying by sin and cos values.
45465 * math/s_ccoshf.c: Likewise.
45466 * math/s_ccoshl.c: Likewise.
45467 * math/s_csin.c: Likewise.
45468 * math/s_csinf.c: Likewise.
45469 * math/s_csinl.c: Likewise.
45470 * math/s_csinh.c: Likewise.
45471 * math/s_csinhf.c: Likewise.
45472 * math/s_csinhl.c: Likewise.
45473 * math/libm-test.inc (ccos_test): Add more tests.
45474 (ccosh_test): Likewise.
45475 (csin_test): Likewise.
45476 (csinh_test): Likewise.
45477 * sysdeps/i386/fpu/libm-test-ulps: Update.
45478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45480 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45482 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45483 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45485 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45487 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45489 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45490 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45491 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45492 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45493 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45494 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45495 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45496 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45497 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45498 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45499 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45500 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45501 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45502 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45503 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45504 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45505 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45506 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45507 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45508 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45509 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45510 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45511 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45512 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45513 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45514 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45515 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45516 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45517 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45518 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45519 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45521 2012-05-18 Andreas Jaeger <aj@suse.de>
45523 * csu/.gitignore: Delete.
45525 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45527 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45528 (timex): Use __syscall_slong_t.
45530 2012-05-18 Andreas Jaeger <aj@suse.de>
45531 Carlos O'Donell <carlos_odonell@mentor.com>
45533 * manual/install.texi (Configuring and compiling): Update
45534 description about files modified in the source directory.
45535 * INSTALL: Regenerated.
45537 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45539 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45540 value. Use "or" to set return value to -1.
45541 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45542 negate return value.
45544 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45546 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45547 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45548 failure if the compiler has Graphite support disabled.
45549 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45551 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45552 (CFLAGS-memmove.c): Likewise.
45553 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45556 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45558 * sysdeps/x86_64/x32/_itoa.h: New file.
45560 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45561 getdents system call only if kernel and user dirents have the
45562 same d_ino and d_off.
45564 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45565 LLONG_MAX != LONG_MAX.
45566 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45567 (_fitoa_word): Likewise.
45569 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45571 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45572 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45573 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45575 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45576 include <bits/wordsize.h>. Check __x86_64__ instead of
45578 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45579 if __x86_64__ is defined. Use anonymous union on fpstate.
45581 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45584 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45586 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45587 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45588 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45589 Refer to _rtld_local_ro instead of _rtld_global_ro.
45590 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45592 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45594 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45596 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45597 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45598 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45600 * sysdeps/powerpc/powerpc32/dl-machine.c
45601 (__elf_machine_runtime_setup) [PROF]: Don't reference
45604 2012-05-18 Andreas Jaeger <aj@suse.de>
45606 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45607 function only available for GCCs before 3.4 since GCC 3.4
45608 introduced a builtin.
45610 (llrintf): Likewise.
45611 (llrint): Likewise.
45618 (nearbyint): Likewise.
45619 (nearbyintf): Likewise.
45623 (floorf): Likewise.
45625 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45627 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45628 on both fields and cast pointer to __syscall_ulong_t.
45630 * bits/types.h (__fsword_t): New type.
45631 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45632 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45633 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45634 (__FSWORD_T_TYPE): Likewise.
45635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45636 (__FSWORD_T_TYPE): Likewise.
45637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45638 (__FSWORD_T_TYPE): Likewise.
45639 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45640 (__FSWORD_T_TYPE): Likewise.
45641 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45642 __SWORD_TYPE with __fsword_t.
45643 (statfs64): Likewise.
45645 2012-05-17 David S. Miller <davem@davemloft.net>
45647 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45649 2012-05-17 Andreas Jaeger <aj@suse.de>
45651 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45654 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45656 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45658 2012-05-17 Andreas Jaeger <aj@suse.de>
45660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45663 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45665 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45667 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45669 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45670 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45672 2012-05-17 Andreas Jaeger <aj@suse.de>
45673 Carlos O'Donell <carlos_odonell@mentor.com>
45676 * sysdeps/x86_64/multiarch/init-arch.h
45677 (bit_YMM_Usable): Rename to...
45678 (bit_AVX_Usable): ... this.
45679 (bit_FMA4_Usable): New macro.
45680 (bit_XMM_state): New macro.
45681 (bit_YMM_state): New macro.
45682 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45683 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45684 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45685 (CPUID_OSXSAVE): New macro.
45686 (CPUID_AVX): New macro.
45687 (CPUID_FMA4): New macro.
45688 (index_YMM_Usable): Rename to...
45689 (index_AVX_Usable): ... this.
45690 (HAS_AVX): Use HAS_ARCH_FEATURE.
45691 (HAS_FMA4): Likewise.
45692 (HAS_YMM_USABLE): Remove.
45693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45694 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45696 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45697 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45698 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45699 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45700 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45702 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45704 * math/libm-test.c: Support platforms without multiple rounding modes.
45705 * math/bug-nextafter.c: Support platforms without FP exceptions.
45706 * math/bug-nexttoward.c: Likewise.
45707 * math/test-fenv.c: Likewise.
45708 * math/test-misc.c: Likewise.
45709 * stdlib/bug-getcontext.c: Likewise.
45711 2012-05-17 Andreas Jaeger <aj@suse.de>
45713 * manual/examples/search.c (critter_cmp): Change signature to
45715 * manual/string.texi (Collation Functions): Likewise.
45717 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45719 * bits/types.h: Fold copyright years.
45720 * bits/typesizes.h: Likewise.
45721 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45725 * time/time.h: Likewise.
45727 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45730 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45731 in instead of returning them. Return void.
45732 (__libc_mallinfo): Accumulate over all arenas.
45733 (__malloc_stats): Adjust for change in int_mallinfo interface.
45735 2012-05-16 Roland McGrath <roland@hack.frob.com>
45738 * configure.in (NM): Add AC_CHECK_TOOL for it.
45739 (libc_extra_cflags): New substituted variable.
45740 Check for -fstack-protector being used implicitly.
45741 * configure: Regenerated.
45742 * config.make.in (config-extra-cflags): New variable,
45743 gets @libc_extra_cflags@.
45744 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45747 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45748 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45749 * configure: Regenerated.
45750 * config.make.in (CPPUNDEFS): New substituted variable.
45751 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45752 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45753 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45755 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45757 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45758 (mq_attr): Use __syscall_slong_t.
45760 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45762 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45763 Check __x86_64__ instead of __WORDSIZE.
45764 (_STAT_VER_LINUX): Likewise.
45765 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45766 __syscall_ulong_t and __syscall_slong_t.
45767 (stat64): Likewise.
45769 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45771 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45773 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45775 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45777 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45779 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45782 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45783 include <bits/wordsize.h>. Check __x86_64__ instead of
45785 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45787 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45789 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45790 include <bits/wordsize.h>. Check __x86_64__ instead of
45792 (user_regs_struct): Use "__extension__ unsigned long long"
45793 instead of "unsigned long" if __x86_64__ is defined.
45794 (user): Likewise. Pad after pointer field if __ILP32__ is
45797 2012-05-16 Joseph Myers <joseph@codesourcery.com>
45799 * configure.in (makeinfo): Require version 4.5 or later. Allow
45801 * configure: Regenerated.
45802 * manual/install.texi (texinfo): Increase version requirement to
45804 * INSTALL: Regenerated.
45806 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45808 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45810 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45812 * sysdeps/x86_64/x32/ffs.c: New file.
45814 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45816 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45817 defined. Use __syscall_ulong_t.
45818 (shminfo): Use __syscall_ulong_t.
45819 (shm_info): Likewise.
45821 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45824 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45826 (msgqnum_t): Use __syscall_ulong_t.
45827 (msglen_t): Likewise.
45828 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45831 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45832 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45834 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45836 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45837 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45839 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45842 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45843 include <bits/wordsize.h>. Check __x86_64__ instead of
45846 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45847 "unsigned long long int" if __x86_64__ is defined.
45848 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45850 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45851 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45852 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45854 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45856 (GET_PC): Cast to uintptr_t first.
45857 (GET_FRAME): Likewise.
45858 (GET_STACK): Likewise.
45860 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45861 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45862 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45863 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45864 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45865 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45866 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45867 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45868 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45869 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45870 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45871 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45872 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45873 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45874 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45875 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45876 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45877 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45878 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45879 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45880 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45881 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45882 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45883 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45884 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45885 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45886 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45887 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45888 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45890 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45892 * Makerules (+depfiles): Also collect depfiles from .oS in
45894 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45895 .oS, $(libnldbl-routines)).
45897 * Makerules (native-compile-mkdep-flags): Define.
45898 * sunrpc/Makefile (extra-objs): Add $(addprefix
45899 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45900 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45901 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45902 calling $(make-target-directory).
45904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45906 * bits/types.h (__snseconds_t): Removed.
45907 * time/time.h (struct timespec): Replace __snseconds_t with
45909 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45910 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45913 (__SNSECONDS_T_TYPE): Likewise.
45914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45915 (__SNSECONDS_T_TYPE): Likewise.
45916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45917 (__SNSECONDS_T_TYPE): Likewise.
45919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45921 * sysdeps/mach/hurd/bits/typesizes.h
45922 (__SYSCALL_SLONG_TYPE): New macro.
45923 (__SYSCALL_ULONG_TYPE): Likewise.
45925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45927 * bits/types.h (__syscall_slong_t): New type.
45928 (__syscall_ulong_t): Likewise.
45930 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45931 (__SYSCALL_ULONG_TYPE): Likewise.
45932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45933 (__SYSCALL_SLONG_TYPE): Likewise.
45934 (__SYSCALL_ULONG_TYPE): Likewise.
45935 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45936 (__SYSCALL_SLONG_TYPE): Likewise.
45937 (__SYSCALL_ULONG_TYPE): Likewise.
45938 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45939 (__SYSCALL_SLONG_TYPE): Likewise.
45940 (__SYSCALL_ULONG_TYPE): Likewise.
45942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45944 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45945 Add sigaltstack-offsets.sym.
45946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45947 <sigaltstack-offsets.h>.
45948 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45949 longjmp_msg pointer.
45950 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45951 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45953 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45955 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45957 * elf/stackguard-macros.h: Remove file.
45958 * sysdeps/generic/stackguard-macros.h: New file.
45959 * sysdeps/i386/stackguard-macros.h: Likewise.
45960 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45961 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45962 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45963 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45964 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45965 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45966 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45967 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45968 <elf/stackguard-macros.h>.
45971 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45972 __aligned__ in attribute.
45973 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45974 (gregset_t): Likewise.
45976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45978 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45979 * sysdeps/x86_64/64/Implies-after: Here. New file.
45980 * sysdeps/x86_64/x32/Implies-after: New file.
45982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45984 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45985 and access return value for _dl_profile_fixup. Use R10_LP to
45988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45990 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45994 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45995 * sysdeps/x86_64/x32/sysdep.h: New file.
45997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45999 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46000 * sysdeps/x86_64/setjmp.S: Likewise.
46002 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46004 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46005 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46006 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46007 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46008 remove unused global constant.
46010 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
46012 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46013 include of <not-cancel.h>.
46015 2012-05-15 Roland McGrath <roland@hack.frob.com>
46017 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46019 2012-05-15 Jeff Law <law@redhat.com>
46020 Andreas Jaeger <aj@suse.de>
46023 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46025 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46026 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46027 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46028 code changing __hst_map_handle.map.
46030 2012-05-15 Roland McGrath <roland@hack.frob.com>
46032 * configure.in (sysnames): Look for Implies-before and Implies-after
46034 * configure: Regenerated.
46036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46038 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46039 8-byte data alignment with LP_SIZE alignment.
46041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46043 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46048 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46052 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46053 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46054 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46056 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46060 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46061 (stackinfo_sub_sp): Likewise.
46063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46065 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46070 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46075 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46080 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46084 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46085 into R11_LP and load __x86_64_shared_cache_size_half into
46088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46090 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46093 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46099 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46101 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46102 powerpc32/power7/fpu/s_logb.c via #include.
46103 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46104 powerpc32/power7/fpu/s_logbf.c via #include.
46105 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46106 powerpc32/power7/fpu/s_logbl.c via #include.
46108 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46110 * README.libm: Remove file.
46112 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46114 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46115 count for x32. Use R*_LP and omit operand-size suffix.
46117 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46119 * shlib-versions: Move x86_64-.*-linux.* entries to ...
46120 * sysdeps/x86_64/64/shlib-versions: Here. New file.
46121 * sysdeps/x86_64/x32/shlib-versions: New file.
46123 2012-05-14 Roland McGrath <roland@hack.frob.com>
46125 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46126 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46127 Use _dl_fatal_printf instead.
46129 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46131 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46132 set if not set by the user. Do not allow for being unset.
46133 * sysdeps/unix/sysv/linux/configure: Regenerated.
46135 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46137 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46138 the `q' suffix from lea and replace .quad with ASM_ADDR.
46140 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46143 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
46145 (PTR_DEMANGLE): Likewise.
46147 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46149 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46151 (ASM_ADDR): Likewise.
46152 (RAX_LP): Likewise.
46153 (RBP_LP): Likewise.
46154 (RBX_LP): Likewise.
46155 (RCX_LP): Likewise.
46156 (RDI_LP): Likewise.
46157 (RSI_LP): Likewise.
46158 (RSP_LP): Likewise.
46161 (R10_LP): Likewise.
46162 (R10_LP): Likewise.
46163 (R11_LP): Likewise.
46164 (R12_LP): Likewise.
46165 (R13_LP): Likewise.
46166 (R14_LP): Likewise.
46167 (R15_LP): Likewise.
46169 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46171 * sysdeps/x86_64/x32/dl-machine.h: New file.
46173 2012-05-14 Andreas Jaeger <aj@suse.de>
46175 * manual/Makefile (subdir): Remove export of subdir.
46176 (all): Remove target.
46177 (.PHONY): Remove all from list.
46178 (mkinstalldirs): Remove.
46179 (.PHONY): Remove installdirs from list.
46180 ($(inst_infodir)/libc.info): Use make-target-directory.
46181 (installdirs): Remove.
46182 (subdir_%): Remove.
46183 (glibc-targets): Remove.
46186 ($(objpfx)stubs ../po/manual.pot): Remove.
46187 ($(objpfx)stamp%): Remove.
46188 (make-target-directory): Remove.
46189 (subdir_install): Remove.
46190 (routines): Remove.
46197 * manual/.gitignore: Remove, it's not needed anymore.
46198 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46200 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46202 (texis): Renamed to $(objpfx)texis.
46203 (texis-path): New, contains path to generated files.
46204 (chapters.%): Use texis-path for complete path, add extra argument
46206 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46207 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46208 (summary,texi, stamp-summary): Use complete path of
46209 files. Generate files in build dir.
46210 (dir-add.texi): Build in build dir.
46211 (libm-err.texi,stamp-libm-err): Likewise.
46212 (version.texi, stamp-version): Likewise.
46213 (.%c.texi): Likewise.
46214 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46215 (mostlyclean): Remove target.
46216 (realclean): Remove target.
46217 (generated): Add new variable with contents from mostlyclean and
46218 realclean, remove entries duplicated in common-mostlyclean, add
46219 stamp-libm-err and stamp-version.
46220 (generated-dirs): Add libc directory.
46221 ($(inst_infodir)/libc.info): Install files from build dir.
46223 * manual/install.texi (Configuring and compiling): Adjust since
46224 the info files are not part of the tar ball anymore.
46226 2012-05-14 Andreas Jaeger <aj@suse.de>
46228 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46231 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46235 to 2.2.0 where earlier.
46236 * sysdeps/unix/sysv/linux/configure: Regenerated.
46237 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46238 Remove conditional code.
46239 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46240 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46241 Remove conditional code.
46242 [!__NR_lchown]: Likewise.
46243 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46244 [__NR_lchown]: Likewise.
46245 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46246 comment referencing __ASSUME_LCHOWN_SYSCALL.
46247 * sysdeps/unix/sysv/linux/i386/sigaction.c
46248 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46249 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46250 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46251 Remove conditional code.
46252 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46253 (__protocol_available): Remove #if 0 code.
46254 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46256 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46257 * sysdeps/unix/sysv/linux/kernel-features.h
46258 (__ASSUME_GETCWD_SYSCALL): Don't define.
46259 (__ASSUME_REALTIME_SIGNALS): Likewise.
46260 (__ASSUME_PREAD_SYSCALL): Likewise.
46261 (__ASSUME_PWRITE_SYSCALL): Likewise.
46262 (__ASSUME_POLL_SYSCALL): Likewise.
46263 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46264 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46266 (__ASSUME_SIOCGIFNAME): Don't define.
46267 (__ASSUME_MSG_NOSIGNAL): Likewise.
46268 (__ASSUME_SENDFILE): Define unconditionally.
46269 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46270 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46272 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46273 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46274 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46275 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46276 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46277 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46278 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46280 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46283 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46284 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46286 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46289 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46290 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46292 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46295 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46296 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46298 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46301 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46302 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46303 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46304 Remove conditional code.
46305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46306 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46307 Remove conditional code.
46308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46309 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46310 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46311 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46312 Remove conditional code.
46313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46314 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46315 Remove conditional code.
46316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46317 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46318 Remove conditional code.
46319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46320 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46321 Remove conditional code.
46322 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46323 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46324 Remove conditional code.
46325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46326 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46327 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46328 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46329 * sysdeps/unix/sysv/linux/sigaction.c
46330 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46331 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46332 * sysdeps/unix/sysv/linux/sigpending.c
46333 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46334 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46335 * sysdeps/unix/sysv/linux/sigprocmask.c
46336 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46337 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46338 * sysdeps/unix/sysv/linux/sigsuspend.c
46339 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46340 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46341 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46342 (__libc_missing_rt_sigs): Remove.
46343 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46344 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46345 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46346 Remove conditional code.
46347 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46348 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46350 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46351 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46352 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46353 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46355 2012-05-14 Andreas Jaeger <aj@suse.de>
46357 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46358 it's not used in glibc.
46359 (__coshm1): Likewise.
46360 (__acosh1p): Likewise.
46363 * manual/string.texi (Copying and Concatenation): Add missing
46364 variable in concat example.
46365 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46367 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46371 __builtin_clzl with __builtin_clzll.
46373 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46376 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46379 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46381 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46382 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46383 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46384 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46386 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46388 * NEWS: Update ia64 info.
46390 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46392 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46395 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46397 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46398 * sysdeps/unix/syscalls.list (dup3): Likewise.
46399 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46400 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46402 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46404 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46405 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46407 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46409 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46411 (TLS_IE): Use mov/add instead of movq/addq to load thread
46413 (TLS_GD_PREFIX): New.
46416 2012-05-11 David S. Miller <davem@davemloft.net>
46418 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46419 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46420 (_FPU_SETCW): Likewise.
46422 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46424 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46425 is 32-byte aligned.
46427 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46430 * iconvdata/gb18030.c: Update tables.
46431 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46432 characters specially.
46433 (BODY for TO_LOOP): Add encoding of missing ranges.
46435 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46438 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46439 * sysdeps/mach/hurd/dup3.c: Likewise.
46440 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46441 * sysdeps/powerpc/memmove.c:: Likewise.
46443 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46446 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46448 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46450 * elf/elf.h (R_X86_64_RELATIVE64): New.
46451 (R_X86_64_NUM): Updated.
46452 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46453 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46454 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46455 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46456 tst-quad1pie tst-quad2pie
46457 (modules-names): Add tst-quadmod1 tst-quadmod2.
46458 ($(objpfx)tst-quad1): New dependency.
46459 ($(objpfx)tst-quad2): Likewise.
46460 ($(objpfx)tst-quad1pie): Likewise.
46461 ($(objpfx)tst-quad2pie): Likewise.
46462 * sysdeps/x86_64/tst-quad1.c: New file.
46463 * sysdeps/x86_64/tst-quad1pie.c: New file.
46464 * sysdeps/x86_64/tst-quad2.c: Likewise.
46465 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46466 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46467 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46468 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46469 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46473 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46474 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46475 * streams/stropts.h (t_scalar_t): Define type.
46477 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46478 (_PATH_PRESERVE): Set to "/var/lib".
46479 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46481 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46484 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46485 if __dir_mkfile succeeded.
46487 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46488 checking for _hurd_dtablesize. Unlock it right after having
46489 finished _hurd_dtable allocation.
46491 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46493 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46494 * sysdeps/mach/hurd/configure: Regenerated.
46495 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46496 special-casing to...
46497 * sysdeps/gnu/configure.in: ... this new file.
46498 * sysdeps/unix/sysv/linux/configure: Regenerated.
46499 * sysdeps/gnu/configure: New generated file.
46501 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46502 for Linux: use nsec instead of usec, as well as:
46503 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46504 members of type struct timespec.
46505 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46507 (struct stat64): Likewise.
46508 (_STATBUF_ST_NSEC): New macro.
46509 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46511 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46512 __strtoul_internal rather than strtoul.
46514 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46516 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46519 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46521 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46522 which preserves existing values.
46523 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46525 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46527 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46528 TIMEOUT values. Return EINVAL for NFDS values either negative or
46529 greater than FD_SETSIZE.
46531 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46533 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46534 allocated, call __vm_protect to finish enabling the existing space, and
46535 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46536 allocate the remainder.
46538 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46540 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46541 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46543 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46545 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46546 sysdeps/mach/hurd/readlink.c.
46548 * posix/tst-sysconf.c (posix_options): Only use
46549 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46550 _POSIX_SYNCHRONIZED_IO when they are defined
46551 * sysdeps/mach/hurd/bits/posix_opt.h:
46552 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46553 (_XOPEN_REALTIME): Undefine macro.
46554 (_XOPEN_REALTIME_THREADS): Undefine macro.
46555 (_XOPEN_SHM): Undefine macro.
46556 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46558 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46560 (_POSIX_ASYNC_IO): Undefine macro.
46561 (_POSIX_PRIORITIZED_IO): Undefine macro.
46562 (_POSIX_SPIN_LOCKS): Define macro to -1.
46564 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46565 SA_NODEFER, SA_RESETHAND.
46566 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46567 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46570 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46572 * elf/Makefile (pldd-modules): Define unconditionally.
46574 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46576 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46580 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46581 Return ENOENT when name is empty.
46582 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46584 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46586 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46588 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46590 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46592 Fix mlock in all cases except non-readable pages.
46593 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46594 instead of VM_PROT_ALL as parameter to __vm_wire function.
46596 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46597 (__mkdir): When path is `/', just fail with EEXIST.
46598 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46600 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46602 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46603 <sys/uio.h> (for writev).
46604 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46605 and <sys/param.h> (for MIN).
46607 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46609 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46610 REQUESTED_TIME. Properly set the remaining time and return EINTR
46613 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46615 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46616 Depend on against $(link-rpcuserlibs).
46618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46620 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46621 (__libc_stack_end): Do not use attribute_relro.
46622 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46623 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46624 to libthread-provided value.
46625 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46631 * bits/libc-lock.h (__libc_once_get): New macro.
46632 * sysdeps/mach/bits/libc-lock.h: Likewise.
46633 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46635 instead of using implementation details.
46637 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46638 * libio/freopen.c: Likewise.
46639 * libio/freopen64.c: Likewise.
46640 * misc/syslog.c: Likewise.
46641 * nscd/connections.c: Likewise.
46642 * nscd/netgroupcache.c: Likewise.
46643 * sysdeps/posix/getcwd.c: Likewise.
46645 2012-05-10 Roland McGrath <roland@hack.frob.com>
46647 * math/w_ilogbf.c: Add #include <limits.h>.
46649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46651 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46652 path instead of returning without unlocking.
46654 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46655 immediate-write ioctls.
46656 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46660 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46661 __builtin_frame_address instead of making assumptions about the
46662 location of the return address relative to DATA. Force early load of
46663 the return address.
46664 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46665 __builtin_frame_address.
46668 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46669 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46670 implement dup3 and do some further code clean-ups.
46671 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46672 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46674 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46676 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46678 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46679 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46680 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46681 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46682 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46685 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46686 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46687 when handler == SIG_ERR, not when handler != SIG_ERR.
46689 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46691 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46692 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46695 accept4 for GNU Hurd.
46696 * include/sys/socket.h (__libc_accept4): New prototype.
46697 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46698 to implement __libc_accept4.
46699 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46701 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46703 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46704 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46705 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46706 signal-defines.sym.
46708 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46710 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46714 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46715 assertion on O_CLOEXEC flag.
46716 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46717 * hurd/intern-fd.c: Likewise.
46718 * hurd/port2fd.c: Likewise.
46720 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46723 * bits/in.h (IPV6_PKTINFO): Define new macro.
46724 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46726 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46731 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46732 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46733 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46734 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46736 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46737 * math/libm-test.inc (logb_test) : Additional logb tests.
46739 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46740 Andreas Jaeger <aj@suse.de>
46742 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46743 * configure: Regenerated.
46744 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46745 * config.make.in (link-obsolete-rpc): New substituted variable.
46746 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46747 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46748 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46749 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46750 so that libc.a contains the symbols.
46751 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46752 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46753 * sunrpc/auth_none.c: Likewise.
46754 * sunrpc/auth_unix.c: Likewise.
46755 * sunrpc/authdes_prot.c: Likewise.
46756 * sunrpc/authuxprot.c: Likewise.
46757 * sunrpc/clnt_gen.c: Likewise.
46758 * sunrpc/clnt_perr.c: Likewise.
46759 * sunrpc/clnt_raw.c: Likewise.
46760 * sunrpc/clnt_simp.c: Likewise.
46761 * sunrpc/clnt_tcp.c: Likewise.
46762 * sunrpc/clnt_udp.c: Likewise.
46763 * sunrpc/clnt_unix.c: Likewise.
46764 * sunrpc/des_crypt.c: Likewise.
46765 * sunrpc/des_soft.c: Likewise.
46766 * sunrpc/get_myaddr.c: Likewise.
46767 * sunrpc/key_call.c: Likewise.
46768 * sunrpc/key_prot.c: Likewise.
46769 * sunrpc/netname.c: Likewise.
46770 * sunrpc/pm_getmaps.c: Likewise.
46771 * sunrpc/pm_getport.c: Likewise.
46772 * sunrpc/pmap_clnt.c: Likewise.
46773 * sunrpc/pmap_prot.c: Likewise.
46774 * sunrpc/pmap_prot2.c: Likewise.
46775 * sunrpc/pmap_rmt.c: Likewise.
46776 * sunrpc/publickey.c: Likewise.
46777 * sunrpc/rpc_cmsg.c: Likewise.
46778 * sunrpc/rpc_common.c: Likewise.
46779 * sunrpc/rpc_dtable.c: Likewise.
46780 * sunrpc/rpc_prot.c: Likewise.
46781 * sunrpc/rpc_thread.c: Likewise.
46782 * sunrpc/rtime.c: Likewise.
46783 * sunrpc/svc.c: Likewise.
46784 * sunrpc/svc_auth.c: Likewise.
46785 * sunrpc/svc_raw.c: Likewise.
46786 * sunrpc/svc_run.c: Likewise.
46787 * sunrpc/svc_tcp.c: Likewise.
46788 * sunrpc/svc_udp.c: Likewise.
46789 * sunrpc/svc_unix.c: Likewise.
46790 * sunrpc/svcauth_des.c: Likewise.
46791 * sunrpc/xcrypt.c: Likewise.
46792 * sunrpc/xdr.c: Likewise.
46793 * sunrpc/xdr_array.c: Likewise.
46794 * sunrpc/xdr_float.c: Likewise.
46795 * sunrpc/xdr_intXX_t.c: Likewise.
46796 * sunrpc/xdr_mem.c: Likewise.
46797 * sunrpc/xdr_rec.c: Likewise.
46798 * sunrpc/xdr_ref.c: Likewise.
46799 * sunrpc/xdr_sizeof.c: Likewise.
46800 * sunrpc/xdr_stdio.c: Likewise.
46802 2012-05-10 Roland McGrath <roland@hack.frob.com>
46804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46805 change. Update copyright years.
46807 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46809 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46811 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46812 Joseph Myers <joseph@codesourcery.com>
46813 Paul Pluzhnikov <ppluzhnikov@google.com>
46816 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46818 [cross-compiling] (extra-libs): Likewise.
46819 [cross-compiling] (extra-libs-others): Likewise.
46820 [cross-compiling] (librpcsvc-routines): Likewise.
46821 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46822 [cross-compiling] (omit-deps): Likewise.
46823 (sunrpc-CPPFLAGS): New variable.
46824 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46825 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46826 (cross-rpcgen-objs): New variable.
46827 (extra-objs): Append $(cross-rpcgen-objs).
46828 ($(cross-rpcgen-objs)): New rule.
46829 ($(objpfx)cross-rpcgen): Likewise.
46830 (rpcgen-cmd): Define to use $(built-program-file). Expand
46832 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46833 ($(objpfx)x%.stmp): Likewise.
46834 * sunrpc/proto.h [IS_IN_build] (_): Define.
46835 [IS_IN_build] (_libc_intl_domainname): Likewise.
46837 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46840 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46841 and R_X86_64_TPOFF64.
46843 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46845 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46846 sysdeps/unix/sysv/syscalls.list.
46849 * sysdeps/unix/sysv/syscalls.list: Remove file.
46851 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46854 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46855 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46856 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46857 (__LC_IDENTIFICATION): Make these macros useful in #if
46858 expressions, as required by C99.
46860 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46862 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46863 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46866 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46868 * stdlib/longlong.h: Updated from GCC.
46870 2012-05-09 Andreas Jaeger <aj@suse.de>
46872 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46873 default is first entry.
46874 (run_mode): Set type.
46875 (main): Remove informal message about syslog.
46876 (options): Fix typo.
46879 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46882 (llrintf): Likewise.
46883 (llrint): Likewise.
46886 (nearbyint): Likewise.
46887 (nearbyintf): Likewise.
46889 2012-05-09 Andreas Jaeger <aj@suse.de>
46890 Pedro Alves <palves@redhat.com>
46892 * nscd/nscd.c (run_mode): Use enum.
46893 (main): Cleanup coding style issue.
46895 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
46896 Andreas Jaeger <aj@suse.de>
46898 * nscd/nscd.c (go_background): Replaced with...
46899 (run_mode): ... this.
46900 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46901 (options): Add -F --foreground.
46902 (main): Implement it.
46903 (parse_opt): Parse it.
46905 2012-05-09 Andreas Jaeger <aj@suse.de>
46908 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46909 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46910 -Wconversion warning.
46911 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46914 2012-05-09 Joseph Myers <joseph@codesourcery.com>
46916 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46918 (LC_ALL): Use macro-int-constant.
46919 (LC_COLLATE): Likewise.
46920 (LC_CTYPE): Likewise.
46921 (LC_MESSAGES): Likewise.
46922 (LC_MONETARY): Likewise.
46923 (LC_NUMERIC): Likewise.
46924 (LC_TIME): Likewise.
46925 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46926 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46928 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46930 [C99-based standards] (float_t): Expect type.
46931 [C99-based standards] (double_t): Expect type.
46932 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46934 [C99-based standards] (HUGE_VALL): Likewise.
46935 [C99-based standards] (INFINITY): Likewise.
46936 [C99-based standards] (NAN): Likewise.
46937 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46938 [C99-based standards] (FP_NAN): Likewise.
46939 [C99-based standards] (FP_NORMAL): Likewise.
46940 [C99-based standards] (FP_SUBNORMAL): Likewise.
46941 [C99-based standards] (FP_ZERO): Likewise.
46942 [C99-based standards] (FP_FAST_FMA): Use
46943 optional-macro-int-constant. Specify type. Require == 1.
46944 [C99-based standards] (FP_FAST_FMAF): Likewise.
46945 [C99-based standards] (FP_FAST_FMAL): Likewise.
46946 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46947 [C99-based standards] (FP_ILOGBNAN): Likewise.
46948 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46950 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46951 [C99-based standards] (math_errhandling): Specify type.
46952 [ISO99 || ISO11] (signgam): Do not allow.
46953 [non-C99-based standards] (copysignf): Do not allow.
46954 [non-C99-based standards] (exp2f): Likewise.
46955 [non-C99-based standards] (log2f): Likewise.
46956 [non-C99-based standards] (modff): Allow.
46957 [non-C99-based standards] (erff): Do not allow.
46958 [non-C99-based standards] (erfcf): Likewise.
46959 [non-C99-based standards] (gammaf): Likewise.
46960 [non-C99-based standards] (hypotf): Likewise.
46961 [non-C99-based standards] (j0f): Likewise.
46962 [non-C99-based standards] (j1f): Likewise.
46963 [non-C99-based standards] (jnf): Likewise.
46964 [non-C99-based standards] (lgammaf): Likewise.
46965 [non-C99-based standards] (tgammaf): Likewise.
46966 [non-C99-based standards] (y0f): Likewise.
46967 [non-C99-based standards] (y1f): Likewise.
46968 [non-C99-based standards] (ynf): Likewise.
46969 [non-C99-based standards] (isnanf): Likewise.
46970 [non-C99-based standards] (acoshf): Likewise.
46971 [non-C99-based standards] (asinhf): Likewise.
46972 [non-C99-based standards] (atanhf): Likewise.
46973 [non-C99-based standards] (cbrtf): Likewise.
46974 [non-C99-based standards] (expm1f): Likewise.
46975 [non-C99-based standards] (ilogbf): Likewise.
46976 [non-C99-based standards] (log1pf): Likewise.
46977 [non-C99-based standards] (logbf): Likewise.
46978 [non-C99-based standards] (nextafterf): Likewise.
46979 [non-C99-based standards] (remainderf): Likewise.
46980 [non-C99-based standards] (rintf): Likewise.
46981 [non-C99-based standards] (scalbf): Likewise.
46982 [non-C99-based standards] (copysignl): Likewise.
46983 [non-C99-based standards] (exp2l): Likewise.
46984 [non-C99-based standards] (log2l): Likewise.
46985 [non-C99-based standards] (modfl): Allow.
46986 [non-C99-based standards] (erfl): Do not allow.
46987 [non-C99-based standards] (erfcl): Likewise.
46988 [non-C99-based standards] (gammal): Likewise.
46989 [non-C99-based standards] (hypotl): Likewise.
46990 [non-C99-based standards] (j0l): Likewise.
46991 [non-C99-based standards] (j1l): Likewise.
46992 [non-C99-based standards] (jnl): Likewise.
46993 [non-C99-based standards] (lgammal): Likewise.
46994 [non-C99-based standards] (tgammal): Likewise.
46995 [non-C99-based standards] (y0l): Likewise.
46996 [non-C99-based standards] (y1l): Likewise.
46997 [non-C99-based standards] (ynl): Likewise.
46998 [non-C99-based standards] (isnanl): Likewise.
46999 [non-C99-based standards] (acoshl): Likewise.
47000 [non-C99-based standards] (asinhl): Likewise.
47001 [non-C99-based standards] (atanhl): Likewise.
47002 [non-C99-based standards] (cbrtl): Likewise.
47003 [non-C99-based standards] (expm1l): Likewise.
47004 [non-C99-based standards] (ilogbl): Likewise.
47005 [non-C99-based standards] (log1pl): Likewise.
47006 [non-C99-based standards] (logbl): Likewise.
47007 [non-C99-based standards] (nextafterl): Likewise.
47008 [non-C99-based standards] (remainderl): Likewise.
47009 [non-C99-based standards] (rintl): Likewise.
47010 [non-C99-based standards] (scalbl): Likewise.
47011 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47012 [non-C99-based standards] (FP_*): Do not allow.
47013 [C99-based standards] (FP_*): Change to
47014 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47015 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47017 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47018 (SIG_ERR): Likewise.
47019 [X/Open-based standards] (SIG_HOLD): Likewise.
47020 (SIG_IGN): Likewise.
47021 (SIGABRT): Use macro-int-constant. Specify type. Require
47023 (SIGFPE): Likewise.
47024 (SIGILL): Likewise.
47025 (SIGINT): Likewise.
47026 (SIGSEGV): Likewise.
47027 (SIGTER): Likewise.
47028 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47029 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47030 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47031 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47032 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47033 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47034 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47035 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47036 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47037 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47038 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47039 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47040 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47041 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47042 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47043 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47044 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47045 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47046 [X/Open-based standards] (SIGTRAP): Likewise.
47047 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47048 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47049 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47050 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47051 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47054 2012-05-08 Ian Wienand <ianw@vmware.com>
47057 * time/tzset.c (__tzset_parse_tz): Update default rules for
47058 daylight time changes in the Energy Policy Act of 2005.
47060 2012-05-09 Andreas Jaeger <aj@suse.de>
47063 * elf/ldconfig.c (parse_conf): Change string to make clear that
47064 ldconfig only issued a warning if ld.so.conf does not exist.
47066 2012-05-08 David S. Miller <davem@davemloft.net>
47068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47069 movxtod instead of popping the value on the stack.
47071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47073 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47075 * config.h.in: Add HAVE_ARM_PCS_VFP.
47077 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47080 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47081 checking but the checks are disabled for any reason.
47083 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47085 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47086 and ELF64_R_TYPE with ELFW(R_TYPE).
47088 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47090 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47091 (ulimit): Likewise.
47093 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47094 (settimeofday): Likewise.
47096 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47098 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47099 a struct th_u2 inside the union, and move tu_block/tu_code into
47100 a new th_u3 union of tu_block/tu_code inside of that. Move
47101 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47102 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47103 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47104 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47105 (th_stuff): Change to th_u1.tu_stuff.
47107 (th_msg): Change to th_u1.th_u2.tu_data.
47109 2012-05-07 David S. Miller <davem@davemloft.net>
47111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47114 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47115 (SETUP_PIC_REG): Use it.
47116 (SETUP_PIC_REG_LEAF): Use it.
47118 2012-05-07 Joseph Myers <joseph@codesourcery.com>
47122 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47124 (EXPL_FINITE): Likewise.
47125 (FLDLOG): Likewise.
47126 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47127 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47129 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47131 (EXPL_FINITE): Likewise.
47132 (FLDLOG): Likewise.
47133 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47134 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47136 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
47137 test of -max_value argument for long double.
47138 * sysdeps/i386/fpu/libm-test-ulps: Update.
47139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47141 2012-05-06 David S. Miller <davem@davemloft.net>
47143 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47144 quad soft-float symbols whose references which are compiler
47146 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47148 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47152 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47154 (EXPL_FINITE): Likewise.
47155 (FLDLOG): Likewise.
47158 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47159 Adjust comments for base varying.
47160 (__expl_finite): Change alias to EXPL_FINITE.
47161 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47163 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47164 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47166 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47167 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47169 (EXPL_FINITE): Likewise.
47170 (FLDLOG): Likewise.
47173 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47174 Adjust comments for base varying.
47175 (__expl_finite): Change alias to EXPL_FINITE.
47176 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47181 * math/libm-test.inc (check_float_internal): Correct ulp
47182 calculation for subnormal expected results.
47184 2012-05-06 Andreas Jaeger <aj@suse.de>
47186 * Makeconfig (+math-flags): New, set to -frounding-math.
47187 (+cflags): Add +math-flags so that all of glibc gets compiled with
47190 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47192 2012-05-05 Joseph Myers <joseph@codesourcery.com>
47194 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47200 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47201 (__ieee754_expl): Allow for and saturate large arguments.
47202 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47203 (u_threshold): Likewise.
47204 (__exp): Call __ieee754_exp before checking for overflow and
47206 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47207 (u_threshold): Likewise.
47208 (__expf): Call __ieee754_expf before checking for overflow and
47210 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47211 (u_threshold): Likewise.
47212 (__expl): Call __ieee754_expl before checking for overflow and
47214 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47215 (__ieee754_expl): Allow for and saturate large arguments.
47216 * math/libm-test.inc (exp_test): Add another test. Do not allow
47217 missing overflow exception on overflow.
47218 (expm1_test): Do not allow missing overflow exception on overflow.
47220 * sysdeps/i386/fpu/e_expl.c: Move to ...
47221 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
47222 rather than using inline asm.
47223 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47224 * sysdeps/x86_64/fpu/e_expl.S: Copy from
47225 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47227 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47230 (signal): Likewise.
47234 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47236 * sysdeps/unix/syscalls.list (adjtime): Add entry from
47237 sysdeps/unix/common/syscalls.list.
47238 (fchmod): Likewise.
47239 (fchown): Likewise.
47240 (ftruncate): Likewise.
47241 (getrusage): Likewise.
47242 (gettimeofday): Likewise.
47243 (setpgid): Likewise.
47244 (setregid): Likewise.
47245 (setreuid): Likewise.
47246 (sigaction): Likewise.
47247 (truncate): Likewise.
47248 (vhangup): Likewise.
47249 * sysdeps/unix/common/syscalls.list: Remove file.
47250 * sysdeps/unix/bsd/Implies: Don't include unix/common.
47251 * sysdeps/unix/sysv/linux/Implies: Likewise.
47253 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47255 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47257 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47261 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47264 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47267 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47270 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47273 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47276 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47279 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47283 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47287 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47290 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47294 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47298 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47300 * sysdeps/unix/common/bits/dirent.h: Remove file.
47301 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47303 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47304 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47305 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47306 * sysdeps/unix/bsd/isatty.c: Likewise.
47307 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47308 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47309 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47311 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47314 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47315 long double comparison inaccuracies.
47316 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47319 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47321 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47322 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47324 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47328 nonzero digits before rounding a hex value.
47329 * stdlib/tst-strtod.c (tests): Add another test.
47331 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47333 * sysdeps/s390/fpu/libm-test-ulps: Update.
47335 2012-05-03 Andreas Jaeger <aj@suse.de>
47337 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47338 does not get optimized out.
47339 (malloc_opt_barrier): New.
47341 2012-05-03 Andreas Jaeger <aj@suse.de>
47342 Roland McGrath <roland@hack.frob.com>
47344 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47345 intermediate file deletion.
47346 (generated): Add .symlist files.
47348 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47351 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47352 Redirect under this condition.
47353 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47354 [__USE_GNU] (__dprintf_chk): Not under this condition.
47355 [__USE_GNU] (__vdprintf_chk): Likewise.
47356 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47357 under this condition.
47358 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47359 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47360 [__USE_XOPEN2K8] (vdprintf): Likewise.
47361 [__USE_GNU] (__dprintf_chk): Not under this condition.
47362 [__USE_GNU] (__vdprintf_chk): Likewise.
47363 [__USE_GNU] (dprintf): Likewise.
47364 [__USE_GNU] (vdprintf): Likewise.
47366 2012-05-03 Roland McGrath <roland@hack.frob.com>
47368 * elf/Makefile (common-generated): Set this instead of generated for
47369 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47370 $(all-built-dso)-derived lists.
47372 2012-05-03 Andreas Jaeger <aj@suse.de>
47374 * sysdeps/i386/fpu/libm-test-ulps: Update.
47377 * FAQ.in: Likewise.
47378 * scripts/gen-FAQ.pl: Likewise.
47379 * manual/install.texi (Installation): Point to online location of
47381 * Makefile (files-for-dist): Remove FAQ.
47384 2012-05-02 Allan McRae <allan@archlinux.org>
47386 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47387 (LDFLAGS-reldepmod5.so): Likewise.
47388 (LDFLAGS-reldep6mod1.so): Likewise.
47389 (LDFLAGS-reldep6mod4.so): Likewise.
47390 (LDFLAGS-reldep8mod3.so): Likewise.
47391 (LDFLAGS-unload4mod1.so): Likewise.
47392 (LDFLAGS-unload4mod2.so): Likewise.
47393 (LDFLAGS-tst-initorder): Likewise.
47394 (LDFLAGS-tst-initordera2.so): Likewise.
47395 (LDFLAGS-tst-initordera3.so): Likewise.
47396 (LDFLAGS-tst-initordera4.so): Likewise.
47397 (LDFLAGS-tst-initorderb2.so): Likewise.
47398 (LDFLAGS-noload): Likewise.
47399 (LDFLAGS-next): Likewise.
47400 (LDFLAGS-order2mod1.so): Likewise.
47401 (LDFLAGS-order2mod2.so): Likewise.
47402 (LDFLAGS-tst-initorder2): Likewise.
47403 (LDFLAGS-tst-initorder2a.so): Likewise.
47404 (LDFLAGS-tst-initorder2b.so): Likewise.
47405 (LDFLAGS-tst-initorder2c.so): Likewise.
47406 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47408 2012-05-02 David S. Miller <davem@davemloft.net>
47410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47412 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47415 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47417 2012-05-02 Andreas Jaeger <aj@suse.de>
47419 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47420 since we manipulate rounding mode.
47421 (CPPFLAGS-test-idouble.c): Likewise.
47422 (CPPFLAGS-test-ifloat.c): Likewise.
47423 (CFLAGS-test-ldouble.c): Likewise.
47424 (CFLAGS-test-double.c): Likewise.
47425 (CFLAGS-test-float.c): Likewise.
47426 (CFLAGS-test-misc.c): Likewise.
47427 (CFLAGS-test-test-fenv.c): Likewise.
47429 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47433 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47434 comparisons to determine direction to adjust input.
47436 2012-05-01 Roland McGrath <roland@hack.frob.com>
47438 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47439 output to the target.
47441 * scripts/localplt.awk: New file.
47442 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47443 (check-localplt-CFLAGS): Variable removed.
47444 ($(all-built-dso:=.jmprel)): New static pattern rule.
47445 (generated): Add those targets.
47446 (localplt-built-dso): New variable.
47447 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47449 * elf/check-localplt.c: File removed.
47451 * scripts/check-execstack.awk: New file.
47452 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47453 (check-execstack-CFLAGS): Variable removed.
47454 ($(objpfx)check-execstack.h): Target removed.
47455 ($(objpfx)execstack-default): New target.
47456 (generated): Add that instead of check-execstack.h.
47457 ($(all-built-dso:=.phdr)): New static pattern rule.
47458 (generated): Add those targets.
47459 * elf/check-execstack.c: File removed.
47461 * scripts/check-textrel.awk: New file.
47462 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47463 (check-textrel-CFLAGS): Variable removed.
47464 (all-built-dso): Use := to define.o
47465 ($(all-built-dso:=.dyn)): New static pattern rule.
47466 (generated): Add those targets.
47467 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47468 * config.make.in (READELF): New substituted variable.
47469 * elf/check-textrel.c: File removed.
47471 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47473 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47475 * conform/data/ctype.h-data [C99-based standards] (isblank):
47477 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47478 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47479 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47480 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47481 Specify type. Require positive value.
47482 (EILSEQ): Likewise.
47483 (ERANGE): Likewise.
47484 [ISO || POSIX] (EILSEQ): Do not expect.
47485 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47486 Specify type. Require positive value.
47487 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47488 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47489 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47490 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47491 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47492 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47493 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47494 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47495 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47496 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47497 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47498 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47499 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47500 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47501 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47502 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47503 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47504 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47505 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47506 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47507 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47508 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47509 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47510 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47511 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47512 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47513 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47514 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47515 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47516 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47517 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47518 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47519 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47520 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47521 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47522 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47523 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47524 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47525 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47526 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47527 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47528 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47529 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47530 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47531 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47532 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47533 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47534 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47535 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47536 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47537 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47538 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47539 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47540 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47541 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47542 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47543 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47544 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47545 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47546 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47547 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47548 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47549 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47550 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47551 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47552 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47553 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47554 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47555 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47556 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47557 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47558 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47559 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47560 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47561 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47562 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47563 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47565 (FLT_ROUNDS): Expect as macro, not constant.
47566 (FLT_MANT_DIG): Use macro-int-constant.
47567 (DBL_MANT_DIG): Likewise.
47568 (LDBL_MANT_DIG): Likewise.
47569 (FLT_DIG): Likewise.
47570 (DBL_DIG): Likewise.
47571 (LDBL_DIG): Likewise.
47572 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47573 (DBL_MIN_EXP): Likewise.
47574 (LDBL_MIN_EXP): Likewise.
47575 (FLT_MAX_EXP): Use macro-int-constant.
47576 (DBL_MAX_EXP): Likewise.
47577 (LDBL_MAX_EXP): Likewise.
47578 (FLT_MAX_10_EXP): Likewise.
47579 (DBL_MAX_10_EXP): Likewise.
47580 (LDBL_MAX_10_EXP): Likewise.
47581 (FLT_MAX): Use macro-constant.
47582 (DBL_MAX): Likewise.
47583 (LDBL_MAX): Likewise.
47584 (FLT_EPSILON): Use macro-constant. Give upper bound.
47585 (DBL_EPSILON): Likewise.
47586 (LDBL_EPSILON): Likewise.
47587 (FLT_MIN): Likewise.
47588 (DBL_MIN): Likewise.
47589 (LDBL_MIN): Likewise.
47590 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47591 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47592 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47593 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47594 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47595 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47596 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47597 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47598 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47599 [ISO11] (FLT_TRUE_MIN): Likewise.
47600 [ISO11] (LDBL_TRUE_MIN): Likewise.
47601 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47602 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47603 (SCHAR_MIN): Use macro-int-constant. Specify type.
47604 (SCHAR_MAX): Likewise.
47605 (UCHAR_MAX): Likewise.
47606 (CHAR_MIN): Likewise.
47607 (CHAR_MAX): Likewise.
47608 (MB_LEN_MAX): Use macro-int-constant.
47609 (SHRT_MIN): Use macro-int-constant. Specify type.
47610 (SHRT_MAX): Likewise.
47611 (USHRT_MAX): Likewise.
47612 (INT_MAX): Likewise.
47613 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47615 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47617 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47619 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47620 bound negative. Suffix upper bound with "L".
47621 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47623 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47625 [C99-based standards] (LLONG_MAX): Likewise.
47626 [C99-based standards] (ULLONG_MAX): Likewise.
47627 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47629 [ISO11] (max_align_t): Require type.
47630 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47632 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47633 from $CFLAGS, without defining away __attribute__ calls.
47634 (checknamespace): Use $CFLAGS_namespace.
47636 * conform/conformtest.pl (@keywords): Only include C99 keywords
47637 for standards based on C99 or C11.
47639 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47641 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47644 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47645 usability of symbols in #if.
47647 * conform/conformtest.pl: If macro or constant types start
47648 "promoted:", expect the symbol to be of the following type
47649 promoted by the integer promotions.
47651 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47652 in one place. Also handle "macro-constant".
47654 * conform/conformtest.pl: Only accept expected macro values with
47655 "==". Parse all "macro" lines in one place.
47656 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47658 * conform/conformtest.pl: Handle braced types on "constant" lines
47659 instead of handling "typed-constant".
47660 * conform/data/signal.h-data: Use "constant" instead of
47663 * conform/conformtest.pl: Handle "optional-" at start of lines in
47664 one place rather than duplicating several cases. Handle each
47665 format of "macro" line with initial "optional-".
47667 * conform/conformtest.pl: Only accept expected constant or
47668 optional-constant values with "==". Parse all "constant" lines in
47669 one place. Parse all "optional-constant" lines in one place.
47670 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47671 * conform/data/fmtmsg.h-data: Likewise.
47672 * conform/data/netinet/in.h-data: Likewise.
47673 * conform/data/tar.h-data: Likewise.
47674 * conform/data/limits.h-data: Use "==" form on "constant" and
47675 "optional-constant" lines.
47677 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47678 Use -std=c99 for XOPEN2K.
47679 (@knownproblems): Remove.
47680 (newtoken): Don't check %isknown.
47682 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47683 Do not expect macro.
47684 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47685 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47686 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47687 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47688 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47689 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47690 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47691 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47692 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47693 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47694 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47695 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47696 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47697 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47698 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47699 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47700 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47701 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47702 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47703 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47704 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47705 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47706 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47707 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47708 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47709 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47710 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47711 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47712 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47713 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47714 [XPG3] (acosh): Likewise.
47715 [XPG3] (asinh): Likewise.
47716 [XPG3] (atanh): Likewise.
47717 [XPG3] (cbrt): Likewise.
47718 [XPG3] (expm1): Likewise.
47719 [XPG3] (ilogb): Likewise.
47720 [XPG3] (log1p): Likewise.
47721 [XPG3] (logb): Likewise.
47722 [XPG3] (nextafter): Likewise.
47723 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47724 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47725 [XPG3] (remainder): Likewise.
47726 [XPG3] (rint): Likewise.
47727 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47728 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47729 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47730 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47731 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47732 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47733 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47734 [UNIX98 || XOPEN2K] (scalb): Expect.
47735 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47736 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47737 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47738 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47739 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47740 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47741 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47742 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47743 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47744 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47745 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47746 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47747 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47748 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47749 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47750 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47751 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47752 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47753 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47754 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47755 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47756 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47757 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47758 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47759 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47760 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47761 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47762 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47763 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47764 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47765 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47766 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47767 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47768 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47769 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47770 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47771 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47772 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47773 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47774 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47775 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47776 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47777 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47778 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47779 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47780 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47781 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47782 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47783 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47784 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47785 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47786 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47787 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47788 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47789 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47790 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47791 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47792 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47793 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47794 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47795 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47796 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47797 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47798 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47799 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47800 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47801 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47802 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47803 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47804 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47805 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47806 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47807 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47808 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47809 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47810 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47811 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47812 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47813 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47814 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47815 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47816 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47817 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47818 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47819 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47820 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47821 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47822 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47823 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47824 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47825 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47826 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47827 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47828 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47829 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47830 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47831 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47832 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47833 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47834 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47835 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47836 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47837 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47838 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47839 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47840 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47841 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47842 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47843 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47844 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47845 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47846 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47847 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47848 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47849 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47850 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47851 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47852 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47853 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47854 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47855 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47856 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47857 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47858 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47859 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47860 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47861 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47862 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47863 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47864 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47865 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47866 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47867 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47868 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47869 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47870 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47871 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47873 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47874 _XOPEN_SOURCE_EXTENDED for XPG4.
47876 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47878 * Makeconfig (localtime): Remove variable.
47879 (inst_localtime-file): Likewise.
47881 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47902 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47906 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47907 comparisons to determine direction to adjust input.
47908 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47909 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47910 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47912 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47914 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47916 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47917 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47919 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47921 * math/libm-test.inc (nexttoward_test): Add more tests.
47923 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47927 in version GLIBC_2.1, not GLIBC_2.0.
47928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47931 2012-04-30 Joseph Myers <joseph@codesourcery.com>
47934 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47936 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47937 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47938 * math/libm-test.inc (acos_test): Add more tests.
47939 (asin_test): Likewise.
47940 * sysdeps/i386/fpu/libm-test-ulps: Update.
47941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47944 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47946 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47947 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47948 * math/libm-test.inc (acos_test_tonearest): New function.
47949 (acos_test_towardzero): Likewise.
47950 (acos_test_downward): Likewise.
47951 (acos_test_upward): Likewise.
47952 (asin_test_tonearest): Likewise.
47953 (asin_test_towardzero): Likewise.
47954 (asin_test_downward): Likewise.
47955 (asin_test_upward): Likewise.
47956 (main): Call the new functions.
47957 * sysdeps/i386/fpu/libm-test-ulps: Update.
47958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47962 * math/e_exp10.c: Include <float.h>.
47963 (__ieee754_exp10): Handle underflow here rather than multiplying
47964 large negative argument by M_LN10.
47965 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47967 * math/e_exp10l.c: Include <float.h>.
47968 (__ieee754_exp10l): Handle underflow here rather than multiplying
47969 large negative argument by M_LN10l.
47970 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47971 spurious overflow exception on underflow.
47973 2012-04-29 Marek Polacek <polacek@redhat.com>
47975 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47976 (__fortify_function): New macro.
47977 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47978 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47979 __extern_always_inline.
47980 * libio/bits/stdio2.h: Likewise.
47981 * libio/bits/stdio.h: Likewise.
47982 * string/string.h: Likewise.
47983 * string/bits/string3.h: Likewise.
47984 * include/stdio.h: Likewise.
47985 * stdlib/bits/stdlib.h: Likewise.
47986 * stdlib/stdlib.h: Likewise.
47987 * rt/bits/mqueue2.h: Likewise.
47988 * rt/mqueue.h: Likewise.
47989 * posix/bits/unistd.h: Likewise.
47990 * posix/unistd.h: Likewise.
47991 * io/bits/poll2.h: Likewise.
47992 * io/bits/fcntl2.h: Likewise.
47993 * io/fcntl.h: Likewise.
47994 * io/sys/poll.h: Likewise.
47995 * misc/bits/syslog.h: Likewise.
47996 * misc/bits/syslog-ldbl.h: Likewise.
47997 * misc/sys/syslog.h: Likewise.
47998 * socket/bits/socket2.h: Likewise.
47999 * socket/sys/socket.h: Likewise.
48000 * debug/tst-chk1.c: Likewise.
48001 * wcsmbs/bits/wchar2.h: Likewise.
48002 * wcsmbs/bits/wchar-ldbl.h: Likewise.
48003 * wcsmbs/wchar.h: Likewise.
48005 2012-04-29 Andreas Jaeger <aj@suse.de>
48007 * Makerules (tests): Remove enable-check-abi protection.
48008 (check-abi-warn): Remove.
48009 (check-abi-%): Remove check-abi-warn usage.
48011 * configure.in: Remove check-abi configure option.
48012 * configure: Regenerated.
48013 * config.make.in (enable-check-abi): Remove.
48015 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
48018 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48019 double functions to double *_finite functions.
48022 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48023 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48025 * stdio-common/Makefile (tests): Add tst-sprintf3.
48026 * stdio-common/tst-sprintf3.c: New file.
48028 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48029 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48031 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48033 * conform/conformtest.pl: Remove duplicate typed-constant
48036 2012-04-28 David S. Miller <davem@davemloft.net>
48038 * Makerules (%.abilist): Add vpath on sysdep_dirs.
48039 (check-abi-%): Remove AWK script prerequisite and explicit
48041 (check-abi): Rewrite to just diff the symlist with the abilist.
48042 (config-tls, config-abi-config): Delete, no longer used.
48043 (update-abi-%): Remove AWK script and explicit abilist directory.
48044 (update-abi): Rewrite to simply compare and conditionally copy the
48045 symlist and the sysdep abilist file. Remove update-abi-config
48047 * abilist/ld.abilist: Remove.
48048 * abilist/libBrokenLocale.abilist: Remove.
48049 * abilist/libanl.abilist: Remove.
48050 * abilist/libcrypt.abilist: Remove.
48051 * abilist/libdl.abilist: Remove.
48052 * abilist/librt.abilist: Remove.
48053 * abilist/libthread_db.abilist: Remove.
48054 * abilist/libutil.abilist: Remove.
48055 * scripts/extract-abilist.awk: Remove.
48056 * scripts/merge-abilist.awk: Remove.
48057 * sysdeps/generic/libcidn.abilist: New file.
48058 * sysdeps/generic/libnss_compat.abilist: New file.
48059 * sysdeps/generic/libnss_db.abilist: New file.
48060 * sysdeps/generic/libnss_dns.abilist: New file.
48061 * sysdeps/generic/libnss_files.abilist: New file.
48062 * sysdeps/generic/libnss_hesiod.abilist: New file.
48063 * sysdeps/generic/libnss_nis.abilist: New file.
48064 * sysdeps/generic/libnss_nisplus.abilist: New file.
48065 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48066 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48067 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48069 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48070 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48071 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48072 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48073 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48074 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48075 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48076 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48077 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48079 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48080 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48081 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48082 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48084 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48085 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48086 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48087 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48088 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48089 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48091 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48092 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48093 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48095 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48198 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48199 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48200 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48203 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48204 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48205 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48206 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48207 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48208 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48209 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48210 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48211 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48263 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48265 * conform/conformtest.pl: Fix typo in handling typed-constant from
48268 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48270 * README: Cut down references to pre-2.6 Linux kernels and
48271 Linuxthreads. Update lists of configurations in libc and ports
48272 and sort alphabetically. Say "or newer" with Linux kernel version
48275 * config.h.in [IS_IN_build]: Allow compiling without optimization.
48277 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48280 * math/libm-test.inc (logb_test_downward): New test to expose
48281 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48284 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48287 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48289 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48290 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48292 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48294 * sysdeps/unix/i386/brk.S: Remove file.
48295 * sysdeps/unix/i386/dl-brk.S: Likewise.
48296 * sysdeps/unix/i386/pipe.S: Likewise.
48297 * sysdeps/unix/i386/sigreturn.S: Likewise.
48298 * sysdeps/unix/i386/syscall.S: Likewise.
48299 * sysdeps/unix/i386/vfork.S: Likewise.
48300 * sysdeps/unix/i386/wait.S: Likewise.
48302 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48303 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48305 * configure.in (arm*-none*): Do not allow without
48306 --enable-hacker-mode.
48307 (netbsd*): Remove case setting base_os.
48308 (386bsd*): Likewise.
48309 (freebsd*): Likewise.
48312 (sunos*): Likewise.
48313 (ultrix*): Likewise.
48314 (newsos*): Likewise.
48315 (dynix*): Likewise.
48321 (minix*): Likewise.
48322 (irix4*): Likewise.
48323 (irix6*): Likewise.
48324 (solaris[2-9]*): Likewise.
48326 * configure: Regenerated.
48328 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48331 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48332 overflow or cancellation in calculating denominator.
48333 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48334 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48335 down expression to avoid unexpected rounding in newer GCCs.
48336 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48338 2012-04-26 David S. Miller <davem@davemloft.net>
48340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48341 long-double compat symbols.
48342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48356 2012-04-25 David S. Miller <davem@davemloft.net>
48358 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48359 HWCAP_* values only after the memory barriers have been defined.
48360 (atomic_full_barrier): Define.
48361 (atomic_read_barrier): Define.
48362 (atomic_write_barrier): Define.
48364 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48366 * shlib-versions: Add libgcc_s version information.
48367 * sysdeps/generic/libgcc_s.h: Remove.
48368 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48370 * sysdeps/gnu/unwind-resume.c: Likewise.
48371 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48373 2012-04-25 David S. Miller <davem@davemloft.net>
48375 * sysdeps/unix/sparc/brk.S: Delete.
48376 * sysdeps/unix/sparc/dl-brk.S: Delete.
48377 * sysdeps/unix/sparc/pipe.S: Delete.
48378 * sysdeps/unix/sparc/sysdep.S: Delete.
48379 * sysdeps/unix/sparc/sysdep.h: Delete.
48380 * sysdeps/unix/sparc/vfork.S: Delete.
48381 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48382 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48383 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48384 (ret_ERRVAL, r0, r1, MOVE): Define.
48385 (JUMPTARGET): Remove.
48386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48387 sysdeps/unix/sparc/sysdep.h
48388 (ENTRY, END): Remove.
48389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48391 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48393 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48394 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48397 * timezone/README: Update upstream location and email address for
48399 * timezone/zdump.c: Update from tzcode 2012b.
48400 * timezone/zic.c: Likewise.
48402 * configure.in (libc_cv_as_needed): Remove test.
48403 * configure: Regenerated.
48404 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48405 conditional definition.
48406 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48407 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48408 * config.make.in (have-as-needed): Remove variable.
48410 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48411 Paul Pluzhnikov <ppluzhnikov@google.com>
48413 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48416 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48418 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48419 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48420 * sysdeps/sh/strlen.S: Likewise.
48422 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48424 * sysdeps/unix/fork.S: Remove file.
48425 * sysdeps/unix/i386/fork.S: Likewise.
48426 * sysdeps/unix/sparc/fork.S: Likewise.
48428 * sysdeps/unix/system.c: Remove file.
48429 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48431 * sysdeps/unix/getegid.S: Remove file.
48432 * sysdeps/unix/geteuid.S: Likewise.
48434 2012-04-24 Roland McGrath <roland@hack.frob.com>
48436 * scripts/check-localplt.awk: New file.
48437 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48439 * scripts/data/localplt-generic.data: Add a comment.
48441 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48442 NODE when __dir_mkfile failed.
48443 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48444 Reported by Ludovic Courtès <ludo@gnu.org>.
48446 2012-04-24 Andreas Jaeger <aj@suse.de>
48448 * Makerules (common-clean): Also remove gen-as-const-headers
48451 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48453 * Makerules (native-compile): Do not change working directory for
48454 build. Use $(OUTPUT_OPTION) in command.
48455 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48457 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48460 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48461 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48462 * math/libm-test.inc (floor_test): Add more tests.
48463 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48465 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48467 * sysdeps/unix/getdents.c: Remove file.
48468 * sysdeps/unix/sysv/getdents.c: Likewise.
48469 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48471 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48472 sysdeps/unix/mman/syscalls.list.
48474 (mprotect): Likewise.
48476 (munmap): Likewise.
48477 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48478 * sysdeps/unix/mman/syscalls.list: Remove.
48479 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48481 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48482 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48483 * configure: Regenerated.
48484 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48485 $(libgcc_s_suffix).
48486 * config.make.in (libgcc_s_suffix): Remove variable.
48488 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48490 * sysdeps/unix/sysv/gethostname.c: Move to ...
48491 * sysdeps/posix/gethostname.c: ... here.
48493 * sysdeps/unix/execve.S: Remove file.
48495 * sysdeps/unix/_exit.S: Remove file.
48497 2012-04-23 Andreas Jaeger <aj@suse.de>
48500 * manual/Makefile: Remove make dist support, there's no
48501 need for a stand-alone documentation tar ball.
48502 (TEXI2DVI): Define always, it's not in Makeconfig.
48505 (edition): Removed.
48506 (glibc-doc-$(edition).tar): Removed
48510 (ETAGS): Remove, it's in Makeconfig.
48511 (move-if-change): Remove, it's in Makeconfig.
48513 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48516 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48517 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48518 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48519 (strtod_l, strtof_l, strtold_l): Remove __wur.
48520 It is not necessarily an error to ignore strtol's return value.
48521 One can reliably look at the stored endptr to decide whether
48522 the number had valid syntax.
48524 2012-04-21 Andreas Jaeger <aj@suse.de>
48527 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48529 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48531 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48532 * sysdeps/unix/sysv/Versions: Remove file.
48534 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48539 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48542 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48543 version from __vm86.
48545 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48547 * sysdeps/unix/common/lxstat.c: Remove file.
48548 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48550 * sysdeps/unix/sysv/Makefile: Remove file.
48552 * sysdeps/unix/sysv/direct.h: Remove file.
48554 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48555 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48556 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48557 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48558 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48559 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48560 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48562 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48564 * sysdeps/unix/xmknod.c: Remove file.
48565 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48567 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48569 * sysdeps/unix/sysv/i386/time.S: Remove file.
48571 * sysdeps/unix/fxstat.c: Remove file.
48572 * sysdeps/unix/xstat.c: Likewise.
48573 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48575 * sysdeps/unix/sysv/sigaction.c: Remove file.
48577 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48578 (sysdep_headers): Remove variable.
48579 [termio.h not in sysdep_headers] (generated): Likewise.
48580 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48581 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48582 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48583 * sysdeps/unix/sysv/tcflow.c: Likewise.
48584 * sysdeps/unix/sysv/tcflush.c: Likewise.
48585 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48586 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48587 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48588 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48589 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48591 * sysdeps/unix/siglist.c: Remove file.
48593 * sysdeps/unix/getppid.S: Remove file.
48595 * sysdeps/unix/mkdir.c: Remove file.
48596 * sysdeps/unix/rmdir.c: Likewise.
48598 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48600 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48602 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48603 errlist-compat value.
48605 2012-04-18 David S. Miller <davem@davemloft.net>
48607 * sysdeps/generic/memcopy.h (reg_char): Delete.
48608 * debug/strcat_chk.c: Use char, not reg_char.
48609 * debug/strcpy_chk.c: Likewise.
48610 * debug/strncat_chk.c: Likewise.
48611 * debug/strncpy_chk.c: Likewise.
48612 * string/memchr.c: Likewise.
48613 * string/memrchr.c: Likewise.
48614 * string/rawmemchr.c: Likewise.
48615 * string/strcat.c: Likewise.
48616 * string/strchr.c: Likewise.
48617 * string/strchrnul.c: Likewise.
48618 * string/strcmp.c: Likewise.
48619 * string/strcpy.c: Likewise.
48620 * string/strncat.c: Likewise.
48621 * string/strncmp.c: Likewise.
48622 * string/strncpy.c: Likewise.
48624 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48626 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48627 __builtin_memcopy is called when src and dest ranges are known to not
48630 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48632 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48633 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48634 fwd_align_merge macro call.
48635 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48636 bwd_align_merge macro call.
48637 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48639 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48641 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48642 bwd_align_merge macros.
48643 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48644 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48645 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48647 2012-04-18 David S. Miller <davem@davemloft.net>
48649 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48651 2012-04-18 Andreas Jaeger <aj@suse.de>
48654 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48655 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48656 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48658 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48659 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48660 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48662 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48663 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48664 Adjust for changed ldbl-128 files.
48666 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48667 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48668 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48670 2012-04-17 David S. Miller <davem@davemloft.net>
48672 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48674 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48676 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48677 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48678 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48679 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48680 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48681 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48683 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48686 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48687 * math/libm-test.inc: Add ilogb errno and exception tests.
48688 * math/w_ilogb.c: New file: ilogb wrapper.
48689 * math/w_ilogbf.c: New file: ilogbf wrapper.
48690 * math/w_ilogbl.c: New file: ilogbl wrapper.
48691 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48692 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48693 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48694 exception being thrown with 0.0 as argument.
48695 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48696 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48697 exception being thrown with 0.0 as argument.
48698 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48699 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48700 exception being thrown with 0.0 as argument.
48701 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48702 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48703 exception being thrown with 0.0 as argument.
48704 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48705 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48706 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48707 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48708 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48709 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48710 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48711 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48712 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48714 2012-04-17 Petr Baudis <pasky@ucw.cz>
48716 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48719 2012-04-16 Marek Polacek <polacek@redhat.com>
48721 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48723 2012-04-16 Marek Polacek <polacek@redhat.com>
48725 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48726 operands of fdivp instruction.
48728 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48730 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48731 * elf/tst-auditmod3b.c: Likewise.
48732 * elf/tst-auditmod4b.c: Likewise.
48733 * elf/tst-auditmod5b.c: Likewise.
48734 * elf/tst-auditmod6b.c: Likewise.
48735 * elf/tst-auditmod6c.c: Likewise.
48736 * elf/tst-auditmod7b.c: Likewise.
48737 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48738 * sysdeps/x86_64/preconfigure.in: Likewise.
48739 * sysdeps/x86_64/preconfigure: Regenerated.
48741 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48743 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48746 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
48748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48749 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48751 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48754 * locale/iso-639.def: Fix gl language name. Spotted by
48757 2012-04-12 Roland McGrath <roland@hack.frob.com>
48760 * libio/libio.h (__io_write_fn): Update comment.
48762 2012-04-12 Petr Baudis <pasky@ucw.cz>
48765 * stdio.texi (Hook Functions): The user provided writer function
48766 is not allowed to return -1.
48768 2012-04-11 David S. Miller <davem@davemloft.net>
48770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48772 2012-04-11 Mike Frysinger <vapier@gentoo.org>
48774 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48775 Add a leading slash to rtkaio.
48777 2012-04-11 Jim Meyering <meyering@redhat.com>
48780 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48781 It is not necessarily an error to ignore fwrite's return
48782 value. One can reliably use ferror to test for errors after
48785 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48787 * bits/types.h (__snseconds_t): New type.
48788 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48790 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48792 (__SNSECONDS_T_TYPE): Likewise.
48793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48794 (__SNSECONDS_T_TYPE): Likewise.
48795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48796 (__SNSECONDS_T_TYPE): Likewise.
48798 2012-04-10 Andreas Jaeger <aj@suse.de>
48801 * manual/time.texi (Processor Time): Return type of times is
48802 elapsed real time since an arbitrary point in the past.
48803 (CPU Time): Move CLK_TCK from here...
48804 (Processor Time): ...to here. Correct description.
48805 * manual/conf.texi (Constants for Sysconf): Correct description of
48808 2012-04-10 David S. Miller <davem@davemloft.net>
48811 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48812 where the is a gap between DT_REL(A) and DT_JMPREL.
48814 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48816 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48817 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48818 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48820 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48822 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48823 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48824 (dl_main): Handle --inhibit-cache.
48825 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48827 * elf/dl-load.c (_dl_map_object): Use it.
48828 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48830 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48833 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48834 (__ieee754_powl): Saturate large exponents rather than testing for
48835 overflow of y*log2(x).
48836 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48837 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48841 * math/s_ctan.c: Include <float.h>.
48842 (__ctan): Avoid internal overflow or cancellation in calculating
48844 * math/s_ctanf.c: Likewise.
48845 * math/s_ctanl.c: Likewise.
48846 * math/s_ctanh.c: Likewise.
48847 * math/s_ctanhf.c: Likewise.
48848 * math/s_ctanhl.c: Likewise.
48849 * math/libm-test.inc (ctan_test): Add more tests.
48850 (ctanh_test): Likewise.
48851 * sysdeps/i386/fpu/libm-test-ulps: Update.
48852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48854 2012-04-09 Andreas Jaeger <aj@suse.de>
48857 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48858 is an optional BSD extension.
48861 * manual/stdio.texi (Opening Streams): Document additional fopen
48864 2012-04-09 Roland McGrath <roland@hack.frob.com>
48866 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48867 %eax without telling the compiler.
48869 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48872 * manual/install.texi: Use sourceware.org.
48874 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48877 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48878 (__ieee754_pow): Generate overflow and underflow using huge*huge
48879 and tiny*tiny rather than just returning constant infinity or zero
48880 for large exponents.
48881 * math/libm-test.inc (pow_test): Require overflow exceptions for
48882 applicable cases of large exponents.
48885 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48886 (__ieee754_pow): Use iterative multiplication algorithm only for
48887 integer exponents with absolute value below 1024. Check for odd
48888 integer exponents when using algorithm for real exponents.
48889 * math/libm-test.inc (pow_test): Add more tests.
48890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48892 2012-04-08 Joseph Myers <joseph@codesourcery.com>
48895 * math/libm-test.inc (exp_test): Do not allow overflow exception
48898 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48901 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48902 instead of __kernel_standard_f.
48904 2012-04-08 Mike Frysinger <vapier@gentoo.org>
48906 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48907 * sysdeps/x86_64/memset_chk.S: Likewise.
48909 2012-04-08 Andreas Jaeger <aj@suse.de>
48912 * manual/startup.texi (Environment Access): Describe return value
48913 for putenv and setenv.
48916 * manual/filesys.texi (Directory Entries): Add description for
48920 * manual/filesys.texi (Directory Entries): Clarify that it's file
48921 system not operating system in the description of DT_UNKNOWN.
48924 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48926 2012-04-08 Stephen Compall <s11@member.fsf.org>
48929 * manual/llio.texi (Opening and Closing Files): Add cross
48930 reference to explain mode argument.
48932 2012-04-07 Mike Frysinger <vapier@gentoo.org>
48934 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48935 * sysdeps/x86_64/memset_chk.S: Likewise.
48937 2012-04-07 David S. Miller <davem@davemloft.net>
48939 * elf/elf.h (R_SPARC_WDISP10): Define.
48940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48942 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48943 R_SPARC_SIZE64 and R_SPARC_H34.
48945 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48947 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48948 conditions and remove no longer applicable assertion.
48950 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48952 * bits/byteswap.h: Include <features.h>.
48953 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48954 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48956 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48958 * bits/byteswap.h (__bswap_16): Removed.
48959 Include <bits/byteswap-16.h> to get __bswap_16.
48960 * sysdeps/i386/bits/byteswap.h: Likewise.
48961 * sysdeps/s390/bits/byteswap.h: Likewise.
48962 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48963 * bits/byteswap-16.h: New file.
48964 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48965 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48966 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48967 * string/Makefile (headers): Add bits/byteswap-16.h.
48969 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48972 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48974 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48975 * nss/tst-nss-static.c: New.
48977 2012-04-06 Robert Millan <rmh@gnu.org>
48980 * manual/llio.texi (File Position Primitive): lseek
48981 refers to WHENCE when it really means OFFSET.
48983 2012-04-06 Andreas Jaeger <aj@suse.de>
48985 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48986 strncmp declarations.
48988 * abilist/libc.abilist: Add __poll and __ppoll.
48990 2012-04-05 David S. Miller <davem@davemloft.net>
48992 * scripts/check-local-headers.sh: Accept a host triplet in the
48993 path matched by the exclude regexp.
48995 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48997 * sysdeps/powerpc/powerpc32/dl-machine.h
48998 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48999 * sysdeps/s390/s390-32/dl-machine.h
49000 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49001 * sysdeps/sparc/sparc32/dl-machine.h
49002 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49003 * sysdeps/sparc/sparc64/dl-machine.h
49004 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49006 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49008 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49009 undefined symbol errors.
49011 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49014 2012-04-05 Michael Matz <matz@suse.de>
49017 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49019 2012-04-05 Andreas Jaeger <aj@suse.de>
49022 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49025 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49027 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49028 which ROUND is no valid rounding mode.
49030 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49032 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49034 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49036 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49038 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49039 an exception using FPU order intentionally.
49041 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49043 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49044 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49045 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49046 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49048 2012-04-05 Simon Josefsson <simon@josefsson.org>
49051 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49052 EINVAL when BUFLEN is too smal.
49054 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
49057 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49058 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49060 2012-04-03 Andreas Jaeger <aj@suse.de>
49063 * manual/setjmp.texi (System V contexts): Fix sentence.
49066 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49067 New macro for this case.
49068 [!__GNUC__] (__bswap_64): New inline function for this case.
49069 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49070 * bits/byteswap.h: Likewise.
49071 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49072 ull, guard with __GLIBC_HAVE_LONG_LONG.
49074 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49075 __GLIBC_HAVE_LONG_LONG.
49077 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49078 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49080 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49083 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49084 inptr and inend, rather than using last_ch.
49086 2012-04-02 David S. Miller <davem@davemloft.net>
49088 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49089 * stdio-common/printf-parse.h (read_int): Change return type to
49090 'int', return -1 on INT_MAX overflow.
49091 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49092 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49093 overflows INT_MAX. Check for overflow of in-format-string precision
49094 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49095 SIZE_MAX not INT_MAX for integer overflow test.
49096 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49097 skip the construct in the format string but do not record anything.
49098 * stdio-common/bug22.c: Adjust to test both width/prevision
49099 INT_MAX overflow as well as total length INT_MAX overflow. Check
49100 explicitly for proper errno values.
49102 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49104 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49106 * string/test-strcmp.c [! WIDE]: Likewise.
49107 * time/tst-mktime2.c: Likewise for INT_MAX.
49108 * string/test-string.h: #include <sys/param.h> for MIN.
49110 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49111 * sysdeps/i386/init-first.c (init): Likewise.
49112 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49113 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49114 * sysdeps/sh/init-first.c (init): Likewise.
49116 2012-04-01 Ulrich Drepper <drepper@gmail.com>
49118 * po/ru.po: Update from translation team.
49119 * po/vi.po: Likewise.
49121 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49123 * resolv/nss_dns/dns-host.c: Merge copyright years.
49125 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49128 Optimize memcpy with prefetch if
49129 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
49130 src, dst pointers have unequal 16 byte alignments.
49132 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49135 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49136 from a CNAME entry and return the minimum ttl for the query.
49137 (gaih_getanswer_slice): Likewise.
49139 2012-03-30 Jeff Law <law@redhat.com>
49141 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49143 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49144 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49146 * resolv/nss_dns/dns-host.c: Update copyright year.
49148 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49150 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49151 requests to save a system call. Fix check that all bytes are sent.
49153 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49154 comments for sendmmsg.
49156 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49159 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49160 with only 1 character between 0x0041 and 0x01b0.
49161 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49162 * wcsmbs/tst-mbsnrtowcs.c: New file.
49164 2012-03-29 David S. Miller <davem@davemloft.net>
49166 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49167 small copies by hand.
49169 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49172 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49173 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49176 2012-03-28 David S. Miller <davem@davemloft.net>
49178 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49179 that branches into memcpy.
49180 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49183 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49184 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49186 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49187 implementation too.
49188 * sysdeps/sparc/mempcpy.S: New file.
49190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49191 the IFUNC routine in the libc case.
49192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49194 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49195 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49196 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49197 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49198 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49199 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49200 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49201 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49203 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49204 loop to 256 bytes instead of 64 bytes and fix test signedness.
49206 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49207 * sysdeps/sparc/sparc32/Makefile: rather than here...
49208 * sysdeps/sparc/sparc64/Makefile: and here.
49210 2012-03-28 Ulrich Drepper <drepper@gmail.com>
49212 * malloc/mallocbug.c: Avoid warnings about unused variables.
49214 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49217 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49218 in the right place. Discard and retry query if response is
49219 larger than input buffer size.
49221 2012-03-28 Joseph Myers <joseph@codesourcery.com>
49226 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49227 x for large integer exponent.
49228 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49229 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
49230 sign of result as needed afterwards.
49231 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49232 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49233 result for underflowing pow the same as for overflow.
49234 (__kernel_standard_l): Handle powl overflow and underflow here
49235 rather than calling __kernel_standard.
49236 * math/libm-test.inc (pow_test): Add more tests.
49251 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49252 * sysdeps/ieee754/k_standard.c: Include <float.h>.
49253 (__kernel_standard_l): New function.
49254 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49256 * math/w_acosl.c (__acosl): Likewise.
49257 * math/w_asinl.c (__asinl): Likewise.
49258 * math/w_atan2l.c (__atan2l): Likewise.
49259 * math/w_atanhl.c (__atanhl): Likewise.
49260 * math/w_coshl.c (__coshl): Likewise.
49261 * math/w_exp10l.c (__exp10l): Likewise.
49262 * math/w_exp2l.c (__exp2l): Likewise.
49263 * math/w_fmodl.c (__fmodl): Likewise.
49264 * math/w_hypotl.c (__hypotl): Likewise.
49265 * math/w_j0l.c (__j0l, __y0l): Likewise.
49266 * math/w_j1l.c (__j1l, __y1l): Likewise.
49267 * math/w_jnl.c (__jnl, __ynl): Likewise.
49268 * math/w_lgammal.c (__lgammal): Likewise.
49269 * math/w_log10l.c (__log10l): Likewise.
49270 * math/w_log2l.c (__log2l): Likewise.
49271 * math/w_logl.c (__logl): Likewise.
49272 * math/w_powl.c (__powl): Likewise.
49273 * math/w_remainderl.c (__remainderl): Likewise.
49274 * math/w_scalbl.c (sysv_scalbl): Likewise.
49275 * math/w_sinhl.c (__sinhl): Likewise.
49276 * math/w_sqrtl.c (__sqrtl): Likewise.
49277 * math/w_tgammal.c (__tgammal): Likewise.
49278 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49279 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49280 * math/libm-test.inc (acos_test): Add more tests.
49281 (acosh_test): Likewise.
49282 (asin_test): Likewise.
49283 (atanh_test): Likewise.
49284 (exp_test): Likewise.
49285 (exp10_test): Likewise.
49286 (exp2_test): Likewise.
49287 (expm1_test): Likewise.
49288 (lgamma_test): Likewise.
49289 (log_test): Likewise.
49290 (log10_test): Likewise.
49291 (log1p_test): Likewise.
49292 (log2_test): Likewise.
49293 (pow_test): Do not allow some spurious overflow exceptions.
49294 (sqrt_test): Add more tests.
49295 (tgamma_test): Likewise.
49296 (y0_test): Likewise.
49297 (y1_test): Likewise.
49298 (yn_test): Likewise.
49300 2012-03-27 Anton Blanchard <anton@samba.org>
49302 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49304 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49305 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49306 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49308 2012-03-27 David S. Miller <davem@davemloft.net>
49310 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49312 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49313 have-as-vis3 check.
49315 2012-03-27 Andreas Jaeger <aj@suse.de>
49317 * sysdeps/x86_64/elf/configure.in: Moved to ...
49318 * sysdeps/x86_64/configure.in: ... here.
49319 * sysdeps/x86_64/elf/start.S: Moved to ...
49320 * sysdeps/x86_64/start.S: ... here.
49321 * sysdeps/x86_64/elf/configure: Delete.
49323 * sysdeps/x86_64/configure.in: Merge contents from
49324 sysdeps/i386/configure.in (without i686 check).
49326 * sysdeps/i386/elf/Versions: Merge into ...
49327 * sysdeps/i386/Versions: ... this.
49328 * sysdeps/i386/elf/Versions: Delete file.
49329 * sysdeps/i386/elf/start.S: Moved to ...
49330 * sysdeps/i386/start.S: ...here.
49331 * sysdeps/i386/elf/configure.in: Merge into...
49332 * sysdeps/i386/configure.in: ...here.
49333 * sysdeps/i386/elf/configure.in: Delete file.
49334 * sysdeps/i386/elf/configure: Delete file.
49336 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49337 * debug/backtracesyms.c: ... here.
49338 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49339 * debug/backtracesymsfd.c: ... here.
49340 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49341 * sysdeps/generic/ifunc-sel.h: ... here.
49343 * sysdeps/unix/i386/start.c: Delete file.
49344 * sysdeps/unix/sparc/start.c: Delete file.
49345 * sysdeps/unix/start.c: Delete file.
49347 * sysdeps/sh/elf/configure.in: Moved to ...
49348 * sysdeps/sh/configure.in: ... here.
49349 * sysdeps/sh/elf/start.S: Moved to ...
49350 * sysdeps/sh/start.S: ... here.
49351 * sysdeps/sh/elf/configure: Delete file.
49353 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49354 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49355 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49356 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49357 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49358 * sysdeps/powerpc/powerpc64/start.S: here.
49359 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49360 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49361 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49362 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49363 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49365 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49366 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49367 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49368 * sysdeps/powerpc/powerpc32/start.S: ... here.
49369 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49370 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49371 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49373 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49374 * sysdeps/powerpc/ifunc-sel.h: ... here.
49375 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49376 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49378 * sysdeps/sparc/elf/configure.in: Moved to ...
49379 * sysdeps/sparc/configure.in: ... here.
49380 * sysdeps/sparc/elf/configure: Delete file.
49381 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49382 * sysdeps/sparc/sparc32/start.S: ... here.
49383 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49384 * sysdeps/sparc/sparc64/start.S: ... here.
49385 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49386 * sysdeps/sparc/sparc32/Makefile: ... this.
49387 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49388 * sysdeps/sparc/sparc64/Makefile: ... this.
49390 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49391 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49392 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49393 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49394 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49395 * sysdeps/s390/s390-32/setjmp.S: ... here.
49396 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49397 * sysdeps/s390/s390-32/configure.in: ... here.
49398 * sysdeps/s390/s390-32/elf/configure: Delete file.
49399 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49400 * sysdeps/s390/s390-32/start.S: ... here.
49402 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49403 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49404 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49405 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49406 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49407 * sysdeps/s390/s390-64/setjmp.S: ... here.
49408 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49409 * sysdeps/s390/s390-64/configure.in: ... here
49410 * sysdeps/s390/s390-64/elf/configure: Delete file.
49411 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49412 * sysdeps/s390/s390-64/start.S: ... here.
49413 * sysdeps/s390/s390-64/elf/configure: Delete.
49415 * configure.in: Remove support for elf directories in sysdeps.
49417 * configure: Regenerated.
49418 * sysdeps/i386/configure: Regenerated.
49419 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49420 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49421 * sysdeps/s390/s390-32/configure: Regenerated.
49422 * sysdeps/s390/s390-64/configure: Regenerated.
49423 * sysdeps/sh/configure: Regenerated.
49424 * sysdeps/sparc/configure: Regenerated.
49425 * sysdeps/x86_64/configure: Regenerated.
49427 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49432 denormal result into account.
49434 2012-03-25 Roland McGrath <roland@hack.frob.com>
49436 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49437 Reported by Allan McRae <allan@archlinux.org>.
49439 2012-03-23 Jeff Law <law@redhat.com>
49441 * nss/getnssent.c (__nss_getent): Fix typo.
49443 2012-03-23 David S. Miller <davem@davemloft.net>
49445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49447 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49449 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49450 to pad to uint64_t for each field.
49451 (dl_tls_index): Replace unsigned long with uint64_t.
49453 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49454 Paul Pluzhnikov <ppluzhnikov@google.com>
49457 * grp/Makefile (otherlibs): Don't set it.
49458 * inet/Makefile (otherlibs): Likewise.
49459 * login/Makefile (otherlibs): Likewise.
49460 * nscd/Makefile (otherlibs): Likewise.
49461 * posix/Makefile (otherlibs): Likewise.
49462 * pwd/Makefile (otherlibs): Likewise.
49463 * rt/Makefile (otherlibs): Likewise.
49464 * sunrpc/Makefile (otherlibs): Likewise.
49465 * nss/Makefile (otherlibs): Likewise.
49466 Add libnss_files to routines and static-only-routines.
49467 ($(objpfx)getent): Remove rule.
49468 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49469 static-only-routines.
49471 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49474 * math/s_cexp.c: Include <float.h>.
49475 (__cexp): Handle exp result overflowing not necessarily
49476 overflowing both real and imaginary parts of result.
49477 * math/s_cexpf.c: Likewise.
49478 * math/s_cexpl.c: Likewise.
49479 * math/libm-test.inc (cexp_test): Add more tests.
49480 * sysdeps/i386/fpu/libm-test-ulps: Update.
49481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49483 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49485 * include/link.h (ELFW): New macro.
49486 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49487 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49489 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49491 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49494 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49496 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49498 (struct La_x32_retval): Likewise.
49500 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49502 * sysdeps/x86_64/preconfigure.in: New file.
49503 * sysdeps/x86_64/preconfigure: New generated file.
49505 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49508 * math/e_exp2l.c: Include <float.h>.
49509 (__ieee754_exp2l): Handle overflow and underflow cases
49510 separately. Only pass fractional part of argument to
49512 * math/libm-test.inc (exp2_test): Add more tests.
49514 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49515 negating x to take absolute value.
49516 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49518 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49519 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49521 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49522 computing low part if x was negated.
49523 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49525 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49527 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49528 la_x32_gnu_pltexit.
49529 (pltexit): Cast int_retval to ptrdiff_t.
49530 * elf/tst-auditmod3b.c: Likewise.
49531 * elf/tst-auditmod4b.c: Likewise.
49532 * elf/tst-auditmod5b.c: Likewise.
49533 * elf/tst-auditmod6b.c: Likewise.
49534 * elf/tst-auditmod6c.c: Likewise.
49535 * elf/tst-auditmod7b.c: Likewise.
49537 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49538 and x32_gnu_pltexit.
49540 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49541 __ELF_NATIVE_CLASS.
49542 (La_x32_regs): New macro.
49543 (La_x32_retval): Likewise.
49544 (la_x32_gnu_pltenter): New function prototype.
49545 (la_x32_gnu_pltexit): Likewise.
49547 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49549 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49554 * configure.in (libc_cv_cc_nofma): Check for option to disable
49555 generation of FMA instructions.
49556 * configure: Regenerate.
49557 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49558 * sysdeps/ieee754/dbl-64/Makefile: New file.
49559 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49560 Remove brandred-fma4.
49561 (CFLAGS-brandred-fma4.c): Remove.
49562 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49563 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49565 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49568 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49570 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49571 LLONG_MAX != LONG_MAX.
49572 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49573 (_fitoa_word): Likewise.
49574 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49575 LLONG_MAX != LONG_MAX.
49576 * stdio-common/_itowa.h: Include <_itoa.h>.
49577 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49578 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49579 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49580 only if not defined.
49581 (_ITOA_WORD_TYPE): Likewise.
49582 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49583 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49585 2012-03-21 David S. Miller <davem@davemloft.net>
49587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49589 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49591 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49592 of x86_64 when setting libc_cv_slibdir, libdir and
49594 * sysdeps/unix/sysv/linux/configure: Regenerated.
49596 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49598 * manual/lang.texi (Old Varargs): Remove section.
49599 (How Variadic): Update menu.
49600 (va_start): Do not mention varargs.h.
49602 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49603 Joseph Myers <joseph@codesourcery.com>
49605 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49607 * configure: Regenerated.
49609 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49611 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49612 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49615 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49618 * Makefile (files-for-dist): Remove NOTES.
49619 (NOTES): Remove rule.
49620 * README: Don't refer to NOTES.
49621 * manual/creature.texi: Don't include macros.texi.
49622 * manual/intro.texi (creature.texi): Remove comment referring to
49625 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49626 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49627 * configure: Regenerated.
49628 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49629 LIBC_TRY_CC_OPTION.
49630 (libc_cv_as_i686): Likewise.
49631 (libc_cv_cc_avx): Likewise.
49632 (libc_cv_cc_sse2avx): Likewise.
49633 (libc_cv_cc_fma4): Likewise.
49634 (libc_cv_cc_novzeroupper): Likewise.
49635 * sysdeps/i386/configure: Regenerated.
49638 * sysdeps/i386/fpu/s_cexp.S: Remove.
49639 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49640 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49641 * math/libm-test.inc (cexp_test): Add more tests.
49642 * sysdeps/i386/fpu/libm-test-ulps: Update.
49643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49645 2012-03-21 Allan McRae <allan@archlinux.org>
49647 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49649 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49652 * math/w_exp2.c: Do not include <float.h>.
49653 (o_threshold, u_threshold): Remove.
49654 (__exp2): Calculate result before checking finiteness and calling
49656 * math/w_exp2f.c: Likewise.
49657 * math/w_exp2l.c: Likewise.
49658 * math/libm-test.inc (exp2_test): Require overflow exception for
49662 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49663 range of signed 64-bit integers before using fistpll. Remove
49664 checks for whether integers fit in mantissa bits.
49665 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49666 the range of signed 32-bit integers before using fistpl. Remove
49667 checks for whether integers fit in mantissa bits.
49668 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49669 (__ieee754_powl): Test for y outside the range of signed 64-bit
49670 integers before using fistpll. Reduce 64-bit values to 63-bit
49672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49673 divide-by-zero is raised for zero to large negative powers.
49674 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49675 (__ieee754_powl): Test for y outside the range of signed 64-bit
49676 integers before using fistpll. Reduce 64-bit values to 63-bit
49678 * math/libm-test.inc (pow_test): Add more tests.
49680 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49682 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49683 <stdio-common/_itoa.h>.
49684 * debug/segfault.c: Likewise.
49685 * elf/dl-cache.c: Likewise.
49686 * elf/dl-minimal.c: Likewise.
49687 * elf/dl-misc.c: Likewise.
49688 * elf/dl-sysdep.c: Likewise.
49689 * elf/dl-version.c: Likewise.
49690 * elf/rtld.c: Likewise.
49691 * hurd/hurdsock.c: Likewise.
49692 * hurd/lookup-retry.c: Likewise.
49693 * malloc/malloc.c: Likewise.
49694 * malloc/mtrace.c: Likewise.
49695 * nscd/nscd_getgr_r.c: Likewise.
49696 * nscd/nscd_getpw_r.c: Likewise.
49697 * nscd/nscd_getserv_r.c: Likewise.
49698 * posix/getopt_init.c: Likewise.
49699 * posix/wordexp.c: Likewise.
49700 * stdio-common/_itoa.c: Likewise.
49701 * stdio-common/printf_fphex.c: Likewise.
49702 * stdio-common/vfprintf.c: Likewise.
49703 * string/_strerror.c: Likewise.
49704 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49705 * sysdeps/i386/i686/hp-timing.h: Likewise.
49706 * sysdeps/mach/_strerror.c: Likewise.
49707 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49708 * sysdeps/mach/hurd/sethostid.c: Likewise.
49709 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49710 * sysdeps/mach/xpg-strerror.c: Likewise.
49711 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49712 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49713 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49714 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49715 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49716 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49717 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49718 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49719 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49720 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49721 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49722 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49723 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49724 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49725 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49726 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49727 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49728 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49729 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49730 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49731 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49733 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49735 * stdio-common/_itoa.h: Moved to ...
49736 * sysdeps/generic/_itoa.h: Here.
49738 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49740 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49741 instead of "_itoa.h" and "_itowa.h".
49742 * stdio-common/vfprintf.: Likewise.
49744 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49746 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49748 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49749 (__signbit): Likwise.
49750 (llrintf): Likwise.
49753 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49755 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49758 2012-03-20 Joseph Myers <joseph@codesourcery.com>
49760 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49761 OVERFLOW_EXCEPTION_OK.
49762 * math/libm-test.inc ("Philosophy"): Update comment about
49764 (OVERFLOW_EXCEPTION): Define.
49765 (OVERFLOW_EXCEPTION_OK): Likewise.
49766 (INVALID_EXCEPTION_OK): Renumber.
49767 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49768 (IGNORE_ZERO_INF_SIGN): Likewise.
49769 (test_exceptions): Handle FE_OVERFLOW.
49770 (exp10_test): Expect overflow exceptions.
49771 (exp2_test): Likewise.
49772 (expm1_test): Likewise.
49773 (nextafter_test): Likewise.
49774 (pow_test): Likewise.
49775 (scalbn_test): Likewise.
49776 (scalbln_test): Likewise.
49778 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49780 * sysdeps/x86_64/bits/atomic.h
49781 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49783 (atomic_exchange_acq): Likewise.
49784 (__arch_exchange_and_add_body): Likewise.
49785 (__arch_add_body): Likewise.
49786 (atomic_add_negative): Likewise.
49787 (atomic_add_zero): Likewise.
49789 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49791 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49792 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49794 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49796 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49797 Check __x86_64__ instead of __WORDSIZE.
49799 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49801 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49803 2012-03-19 David S. Miller <davem@davemloft.net>
49805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49807 * sysdeps/sparc/fpu/fenv_private.h: New file.
49808 * sysdeps/sparc/fpu/math_private.h: Use it.
49809 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49811 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49812 (libc_feholdexcept_setroundl): Remove.
49813 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49815 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49816 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49818 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49820 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49821 int64_t instead of long int.
49822 (INSERT_WORDS64): Likwise.
49824 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49826 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49827 _Unwind_GetCFA return to _Unwind_Ptr first.
49829 2012-03-19 Joseph Myers <joseph@codesourcery.com>
49832 * math/s_clog.c: Include <float.h>.
49833 (__clog): Scale large or subnormal inputs.
49834 * math/s_clogf.c: Likewise.
49835 * math/s_clogl.c: Likewise.
49836 * math/s_clog10.c: Include <float.h>.
49837 (M_LOG10_2): Define.
49838 (__clog10): Scale large or subnormal inputs.
49839 * math/s_clog10f.c: Likewise.
49840 * math/s_clog10l.c: Likewise.
49841 * math/libm-test.inc (clog_test): Add more tests.
49842 (clog10_test): Likewise.
49843 * sysdeps/i386/fpu/libm-test-ulps: Update.
49844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49847 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49849 * math/libm-test.inc (atan2_test): Add another test.
49851 * Makerules (common-objdir-compile): Remove.
49852 * sysdeps/unix/Makefile (config-generated): Do not add
49853 $(unix-generated) to variable.
49854 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49855 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49857 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49859 [generic bits/local_lim.h] (before-compile): Do not append to
49861 [generic bits/local_lim.h] (common-generated): Likewise.
49862 [generic sys/param.h] (before-compile): Do not append to variable.
49863 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49864 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49865 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49866 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49868 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49869 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49870 [generic sys/param.h] ($(addprefix
49871 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49872 [generic sys/param.h] (common-generated): Do not append to
49874 [generic sys/param.h] (sysdep_headers): Likewise.
49875 [generic bits/errno.h] (before-compile): Do not append to
49877 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49879 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49880 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49881 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49882 [generic bits/errno.h] (common-generated): Do not append to
49884 [generic bits/ioctls.h] (before-compile): Do not append to
49886 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49888 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49889 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49890 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49892 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49893 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49894 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49895 [generic bits/ioctls.h] (common-generated): Do not append to
49897 [generic sys/syscall.h] (syscall.h): Remove variable.
49898 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49900 [generic sys/syscall.h] (before-compile): Do not append to
49902 [generic sys/syscall.h] (common-generated): Likewise.
49903 * sysdeps/unix/errnos-tmpl.c: Remove file.
49904 * sysdeps/unix/errnos.awk: Likewise.
49905 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49906 * sysdeps/unix/ioctls.awk: Likewise.
49907 * sysdeps/unix/mk-local_lim.c: Likewise.
49908 * sysdeps/unix/snarf-ioctls: Likewise.
49910 2012-03-19 Richard Henderson <rth@twiddle.net>
49912 * sysdeps/i386/fpu/fenv_private.h: New file.
49913 * sysdeps/i386/fpu/math_private.h: Use it.
49914 (math_opt_barrier, math_force_eval): Remove.
49915 (libc_feholdexcept_setround_53bit): Remove.
49916 (libc_feupdateenv_53bit): Remove.
49917 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49918 (math_opt_barrier, math_force_eval): Remove.
49919 (libc_feholdexcept): Remove.
49920 (libc_feholdexcept_setround): Remove.
49921 (libc_fetestexcept, libc_fesetenv): Remove.
49922 (libc_feupdateenv_test): Remove.
49923 (libc_feupdateenv, libc_feholdsetround): Remove.
49924 (libc_feresetround): Remove.
49926 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49927 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49929 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49930 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49931 (libc_feupdateenv_testl): New.
49932 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49933 (libc_feupdateenv_testf): New.
49934 (libc_feupdateenv): Use libc_feupdateenv_test.
49935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49936 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49938 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49939 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49940 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49941 (libc_feresetround_noex): New.
49942 (libc_feresetround_noexf): New.
49943 (libc_feresetround_noexl): New.
49944 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49945 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49946 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49947 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49950 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49952 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49953 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49954 SET_RESTORE_ROUND_NOEX.
49955 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49956 SET_RESTORE_ROUND_NOEXF.
49957 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49958 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49959 (libc_feholdsetroundf): New.
49960 (libc_feresetround, libc_feresetroundf): New.
49962 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49963 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49964 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49966 * sysdeps/generic/math_private.h: Include <fenv.h>.
49967 (default_libc_feholdexcept): New.
49968 (default_libc_feholdexcept_setround): New.
49969 (default_libc_fesetenv, default_libc_feupdateenv): New.
49970 (libc_feholdexcept): Only define if undefined.
49971 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49972 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49973 (libc_feholdexcept_setroundl): Likewise.
49974 (libc_feholdexcept_setround_53bit): Likewise.
49975 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49976 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49977 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49978 (libc_feupdateenv_53bit): Likewise.
49979 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49980 (libc_feholdexcept): Convert from macro to inline function.
49981 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49982 (libc_fesetenv, libc_feupdateenv): Likewise.
49984 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49985 not previously defined.
49986 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49987 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49988 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49989 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49990 * sysdeps/ieee754/flt-32/math_private.h: New file.
49991 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49992 math_private.h below SET_FLOAT_WORD.
49993 (__isnan, __isinf_ns, __finite): Remove.
49994 (__isnanf, __isinf_nsf, __finitef): Remove.
49996 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50000 2012-03-17 David S. Miller <davem@davemloft.net>
50003 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50006 2012-03-16 David S. Miller <davem@davemloft.net>
50008 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50012 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50014 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50015 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50016 sysdep_routines when subdir is sysvipc.
50017 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50018 __getshmlba helper.
50020 * sysdeps/sparc/fpu/libm-test/ulps: Update.
50022 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50024 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50027 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50029 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50030 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50031 (__lround): Renamed to ...
50032 (__llround): This. Replace long int with long long int.
50033 Define lround functions as aliases of llround functions.
50034 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50036 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50038 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50039 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
50040 adresses to uintptr_t. Replace "long int" and "unsigned long
50041 int" with "greg_t" on va_arg.
50043 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50045 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50046 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50048 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50049 Move e_machine check before EI_CLASS check. Handle x32
50050 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50051 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50052 SKIP_EM_IA_64 and include
50053 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50055 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50056 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50057 (add_system_dir): New macro.
50059 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50060 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50062 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50073 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50075 * math/w_j0f.c (j0f): Likewise.
50077 * math/w_j0l.c (__j0l): Likewise.
50079 * math/w_j1.c (j1): Likewise.
50081 * math/w_j1f.c (j1f): Likewise.
50083 * math/w_j1l.c (__j1l): Likewise.
50085 * math/w_jn.c (jn): Likewise.
50087 * math/w_jnf.c (jnf): Likewise.
50089 * math/w_jnl.c (__jnl): Likewise.
50091 * math/libm-test.inc (j0_test): Add more tests.
50092 (j1_test): Likewise.
50093 (jn_test): Likewise. Add trailing semicolon to existing test.
50094 (y0_test): Likewise.
50095 (y1_test): Likewise.
50096 * sysdeps/i386/fpu/libm-test-ulps: Update.
50097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50101 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50102 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50103 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50104 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50105 (__tanl): Set errno for infinite argument.
50106 * sysdeps/i386/fpu/mptan.c: Remove.
50107 * sysdeps/i386/fpu/s_tan.S: Likewise.
50108 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50109 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50110 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50111 * math/libm-test.inc (tan_test): Add more tests and enable more
50112 tests for double and long double.
50113 * sysdeps/i386/fpu/libm-test-ulps: Update.
50114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50116 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
50118 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50119 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50121 2012-03-16 Roland McGrath <roland@hack.frob.com>
50123 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50124 * configure.in: Use it for both main tree and add-ons.
50125 * configure: Regenerated.
50127 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50129 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50131 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50133 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50137 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50138 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50139 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50140 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50141 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50143 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50144 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50145 != 0 for prec == 2.
50146 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50147 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50148 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50149 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50150 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50151 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50152 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50153 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50154 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50155 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50156 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50157 * math/libm-test.inc (cos_test): Add more tests and enable more
50158 tests for long double.
50159 (sin_test): Likewise.
50160 (sincos_test): Likewise.
50161 * sysdeps/i386/fpu/libm-test-ulps: Update.
50162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50164 2012-03-16 David S. Miller <davem@davemloft.net>
50166 * sysdeps/sparc/fpu/math_private.h: New file.
50168 2012-03-15 David S. Miller <davem@davemloft.net>
50170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50180 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50184 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50185 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50187 * sysdeps/sparc/sparc-ifunc.h: New file.
50188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50233 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50235 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50239 2012-03-15 Andreas Jaeger <aj@suse.de>
50242 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50243 ieee754/flt-32 implementation for sin, cos and sincos.
50244 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50245 * sysdeps/i386/fpu/s_cosf.S: Likewise.
50246 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50247 * sysdeps/i386/fpu/s_sinf.S: Likewise.
50248 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50249 ieee754/flt-32 implementation for tan.
50251 * math/libm-test.inc (cos_test): Enable some large input tests for
50253 (sin_test): Likewise.
50254 (sincos_test): Likewise.
50255 (tan_test): Add tests for large input.
50257 * sysdeps/i386/fpu/libm-test-ulps: Update.
50259 2012-03-15 Andreas Jaeger <aj@suse.de>
50262 * math/libm-test.inc (cos_test): Add more test cases.
50263 (sin_test): Likewise.
50264 (sincos_test): Likewise.
50266 2012-03-15 Andreas Jaeger <aj@suse.de>
50269 * math/libm-test.inc (cos_test): Add a test case for large input
50271 (sin_test): Likewise.
50272 (sincos_test): Likewise.
50274 2012-03-15 Andreas Jaeger <aj@suse.de>
50275 Joseph Myers <joseph@codesourcery.com>
50278 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50279 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50280 * sysdeps/i386/fpu/branred.c: Likewise.
50281 * sysdeps/i386/fpu/dosincos.c: Likewise.
50282 * sysdeps/i386/fpu/mpa.c: Likewise.
50283 * sysdeps/i386/fpu/s_cos.S: Likewise.
50284 * sysdeps/i386/fpu/s_sin.S: Likewise.
50285 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50286 * sysdeps/i386/fpu/sincos32.c: Likewise.
50288 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50290 (libc_feupdateenv_53bit): Define.
50291 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50293 (libc_feupdateenv_53bit): Define.
50295 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50296 53 bit (without extend i386 double precision).
50298 * math/libm-test.inc (sincos_test): Add tests for large input.
50302 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50304 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50308 2012-03-15 David S. Miller <davem@davemloft.net>
50310 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50311 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50312 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50313 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50338 fmin/fmax sysdep routines.
50339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50341 2012-03-14 David S. Miller <davem@davemloft.net>
50343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50347 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50348 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50363 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50364 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50366 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50367 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50368 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50415 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50420 * sysdeps/sparc/configure.in: New file.
50421 * sysdeps/sparc/configure: Generate.
50422 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50423 * configure: Regenerate.
50424 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50425 * config.make.in (have-as-vis3): New.
50426 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50427 available use -Av9d instead of -Av9a.
50428 * sysdeps/sparc/sparc64/Makefile: Likewise.
50429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50439 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50444 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50445 fzeros/fnegs to load 0x80000000 into a float register instead of
50447 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50449 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50453 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50454 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50455 ($(inst_includedir)/bits/syscall.h): Remove rule.
50456 ($(objpfx)bits/syscall.d): Include instead of
50457 $(objpfx)syscall-list.d.
50458 (generated): Change syscall-list.h and syscall-list.d to
50459 bits/syscall.h and bits/syscall.d.
50461 2012-03-14 Roland McGrath <roland@hack.frob.com>
50464 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50466 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50469 * math/s_csqrt.c: Include <float.h>.
50470 (__csqrt): Scale large or subnormal inputs.
50471 * math/s_csqrtf.c: Likewise.
50472 * math/s_csqrtl.c: Likewise.
50473 * math/libm-test.inc (csqrt_test): Add more tests.
50474 * sysdeps/i386/fpu/libm-test-ulps: Update.
50475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50478 * math/libm-test.inc (hypot_test): Add more tests.
50480 2012-03-13 David S. Miller <davem@davemloft.net>
50483 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50484 double-precision for the calculation instead of scaling.
50486 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50488 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50489 manipulate bits before adding and subtracting TWO52[sx].
50490 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50491 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50493 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50495 2012-03-13 David S. Miller <davem@davemloft.net>
50497 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50498 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50500 rtld-global-offsets.h
50501 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50503 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50506 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50508 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50509 'err' in the ifdef scope in which it is actually used.
50511 * nss/nss_db/db-init.c: Include string.h
50513 2012-03-12 David S. Miller <davem@davemloft.net>
50515 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50516 masking out of the most significant byte of random value used.
50517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50518 Fix coding style in previous change.
50520 * sysdeps/unix/sysv/linux/kernel-features.h
50521 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50522 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50524 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50527 2012-03-11 David S. Miller <davem@davemloft.net>
50529 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50530 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50531 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50532 for 'resultvar' otherwise things get truncated on 64-bit.
50534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50535 Fix masking out of the most significant byte of random value used.
50537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50539 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50543 2012-03-09 David S. Miller <davem@davemloft.net>
50545 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50546 variables with appropriate CPP guards.
50547 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50548 from the frame pointer, not the stack pointer. Correct layout
50549 comments. Fix test on resulting framesize and the management of
50550 the outregs buffer for pltexit. Preserve floating point return
50551 values across _dl_call_pltexit call.
50552 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50553 framesize and the management of the outregs buffer for pltexit.
50554 Preserve floating point return values across _dl_call_pltexit
50556 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50557 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50558 (la_sparc64_gnu_pltexit): New functions.
50559 (print_exit): Fix format string for return register value.
50561 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50563 * sunrpc/Makefile (others): Add rpcgen.
50564 ($(objpfx)rpcgen): Remove special build rule and dependency on
50566 * sunrpc/rpcgen.c: New file.
50568 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50571 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50572 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50573 * sysdeps/i386/crti.S: Likewise.
50574 * sysdeps/i386/crtn.S: Likewise.
50575 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50576 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50577 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50578 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50579 * sysdeps/sh/crti.S: Likewise.
50580 * sysdeps/sh/crtn.S: Likewise.
50581 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50584 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50586 * locale/programs/locfile-kw.gperf: Likewise.
50587 * locale/programs/charmap-kw.h: Regenerated.
50588 * locale/programs/locfile-kw.h: Likewise.
50591 * intl/plural.y: Replace FSF snail mail address with URL.
50592 * intl/plural.c: Regenerated.
50594 2012-03-09 Richard Henderson <rth@twiddle.net>
50596 * include/math_private.h: Remove file.
50597 * math/math_private.h: Move file ...
50598 * sysdeps/generic/math_private.h: ... here.
50600 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50601 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50602 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50604 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50605 and <math_private.h>.
50606 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50607 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50608 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50609 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50610 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50611 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50612 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50613 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50614 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50615 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50617 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50618 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50619 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50620 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50621 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50622 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50623 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50624 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50625 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50627 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50628 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50630 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50631 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50632 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50633 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50635 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50636 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50638 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50639 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50640 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50641 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50642 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50643 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50644 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50645 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50646 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50647 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50648 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50649 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50650 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50651 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50652 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50653 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50654 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50655 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50656 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50657 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50658 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50659 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50660 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50661 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50662 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50663 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50664 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50665 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50666 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50667 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50669 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50670 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50671 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50672 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50673 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50674 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50675 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50676 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50677 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50678 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50679 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50680 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50682 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50685 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50686 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50687 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50688 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50689 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50690 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50692 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50693 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50694 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50695 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50696 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50697 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50699 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50700 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50701 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50702 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50703 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50704 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50705 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50706 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50707 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50708 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50709 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50710 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50711 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50712 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50713 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50714 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50715 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50716 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50717 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50718 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50719 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50720 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50721 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50722 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50723 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50724 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50725 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50726 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50727 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50728 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50729 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50730 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50731 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50732 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50733 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50734 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50735 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50736 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50737 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50738 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50739 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50740 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50741 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50742 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50743 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50744 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50745 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50746 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50747 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50748 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50749 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50750 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50751 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50752 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50753 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50754 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50755 * sysdeps/ieee754/k_standard.c: Likewise.
50756 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50757 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50758 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50759 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50760 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50761 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50762 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50763 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50764 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50765 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50766 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50767 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50768 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50769 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50770 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50771 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50772 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50773 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50774 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50775 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50776 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50777 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50778 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50779 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50780 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50781 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50782 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50783 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50784 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50785 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50786 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50787 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50788 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50789 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50790 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50791 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50792 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50793 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50794 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50795 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50796 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50797 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50798 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50799 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50800 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50801 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50802 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50803 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50804 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50805 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50806 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50807 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50808 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50809 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50810 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50811 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50812 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50813 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50814 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50815 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50816 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50817 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50818 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50819 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50820 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50821 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50822 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50823 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50824 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50825 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50826 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50828 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50829 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50830 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50831 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50832 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50833 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50834 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50835 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50836 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50837 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50838 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50839 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50840 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50841 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50842 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50843 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50844 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50845 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50846 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50847 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50848 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50849 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50850 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50851 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50852 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50853 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50854 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50855 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50857 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50858 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50859 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50860 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50861 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50862 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50863 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50864 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50865 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50866 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50867 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50868 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50869 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50870 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50871 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50872 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50873 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50874 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50875 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50876 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50877 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50878 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50879 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50880 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50881 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50882 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50883 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50884 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50885 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50886 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50887 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50888 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50889 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50890 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50891 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50892 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50893 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50894 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50895 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50896 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50897 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50898 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50899 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50900 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50901 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50902 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50903 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50904 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50905 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50906 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50907 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50908 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50909 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50910 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50911 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50912 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50913 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50914 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50915 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50916 * sysdeps/ieee754/s_lib_version.c: Likewise.
50917 * sysdeps/ieee754/s_matherr.c: Likewise.
50918 * sysdeps/ieee754/s_signgam.c: Likewise.
50919 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50920 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50921 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50922 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50923 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50924 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50925 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50926 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50927 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50928 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50929 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50930 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50931 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50932 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50933 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50934 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50935 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50936 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50937 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50941 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50943 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50944 * sunrpc/rpc_main.c: Likewise.
50945 * sunrpc/rpc_svcout.c: Likewise.
50947 2012-03-09 David S. Miller <davem@davemloft.net>
50949 * include/math_private.h: New file.
50951 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50953 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50954 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50955 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50956 from <bits/socket_type.h>.
50957 (enum __socket_type): Don't define here.
50958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50960 bits/socket_type.h.
50963 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50964 checking __USE_GNU.
50966 * Makerules ($(inst_includedir)/%.h): New rule.
50967 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50968 (install-others): Remove variable setting.
50969 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50971 2012-03-08 Richard Henderson <rth@twiddle.net>
50973 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50974 from macro to inline function; merge with the
50975 !__LIBC_INTERNAL_MATH_INLINES version.
50976 (__ieee754_sqrtf): Likewise.
50978 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50979 to inline function.
50980 (__rintf, __floor, __floorf): Likewise.
50982 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50983 macro to inline function.
50984 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50986 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50987 not <math/math_private.h>.
50989 2012-03-08 David S. Miller <davem@davemloft.net>
50991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50993 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50995 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50997 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50999 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51000 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51002 2012-03-08 Ulrich Drepper <drepper@gmail.com>
51004 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
51005 be defined individually, they must be defined as a block. Define
51006 S for printing a string instead of hidint the different by using a
51007 macro for adding the 'l'.
51008 * stdio-common/tst-fphex-wide.c: Adjust.
51010 2012-03-07 Marek Polacek <polacek@redhat.com>
51012 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51014 2012-03-08 Marek Polacek <polacek@redhat.com>
51017 * stdio-common/Makefile (tests): Add tst-fphex-wide.
51018 * stdio-common/tst-fphex.c: Define a few macros to make the
51019 test reusable. Use them.
51020 * stdio-common/tst-fphex-wide.c: New file.
51022 2012-03-08 Joseph Myers <joseph@codesourcery.com>
51025 * manual/macros.texi (gnusystems): New macro.
51026 (nongnusystems): Likewise.
51027 (gnulinuxhurdsystems): Likewise.
51028 (gnuhurdsystems): Likewise..
51029 (gnulinuxsystems): Likewise.
51030 * manual/charset.texi: Use new macros or @theglibc{} to refer to
51031 variants of the GNU system, not "GNU system".
51032 * manual/conf.texi: Likewise.
51033 * manual/errno.texi: Likewise. Update example of errno macro
51035 * manual/filesys.texi: Likewise.
51036 (getumask): Document as specific to GNU/Hurd.
51037 * manual/install.texi: Likewise. Reword some references to
51039 * manual/intro.texi: Likewise.
51040 * manual/io.texi: Likewise.
51041 (File Name Portability): Detail which constraints are inapplicable
51042 to all GNU systems and which are only inapplicable to GNU/Hurd.
51043 * manual/job.texi: Likewise.
51044 * manual/llio.texi: Likewise.
51045 (O_NOCTTY): Document as present on GNU/Linux.
51046 * manual/maint.texi: Likewise.
51047 * manual/memory.texi: Likewise.
51048 * manual/pattern.texi: Likewise.
51049 * manual/pipe.texi: Likewise.
51050 * manual/process.texi: Likewise.
51051 * manual/resource.texi: Likewise.
51052 (RUSAGE_CHILDREN): Remove statement about specifying a particular
51054 * manual/setjmp.texi: Likewise.
51055 * manual/signal.texi: Likewise.
51056 * manual/startup.texi: Likewise.
51057 * manual/stdio.texi: Likewise.
51058 * manual/terminal.texi: Likewise.
51059 (ONLCR): Document as POSIX.
51060 (OXTABS): Document availability on GNU/Linux as XTABS.
51061 (ONOEOT): Document availability separately from other bits.
51062 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51063 * manual/time.texi: Likewise.
51064 * manual/users.texi: Likewise.
51065 * INSTALL: Regenerated.
51066 * sysdeps/gnu/errlist.c: Regenerated.
51068 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51069 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51070 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51072 * configure: Regenerated.
51074 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51076 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51077 default includes instead of AC_HEADER_CHECK.
51078 * sysdeps/i386/configure: Regenerated.
51081 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51082 * math/s_cacoshf.c (__cacoshf): Likewise.
51083 * math/s_cacoshl.c (__cacoshl): Likewise.
51084 * math/s_casinh.c (__casinh): Set signs of result from argument.
51085 * math/s_casinhf.c (__casinhf): Likewise.
51086 * math/s_casinhl.c (__casinhl): Likewise.
51087 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51088 (casinh_test): Add more tests.
51089 * sysdeps/i386/fpu/libm-test-ulps: Update.
51090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51092 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51094 * po/zh_TW.po: Update from translation team.
51096 * login/Makefile (distribute): Remove variable.
51097 * catgets/Makefile: Likewise.
51098 * mach/Makefile: Likewise.
51099 * malloc/Makefile: Likewise.
51100 * misc/Makefile: Likewise.
51101 * iconv/Makefile: Likewise.
51102 * nscd/Makefile: Likewise.
51103 * hurd/Makefile: Likewise.
51104 * manual/Makefile: Likewise.
51105 * locale/Makefile: Likewise.
51106 * intl/Makefile: Likewise.
51107 * conform/Makefile: Likewise.
51108 * nss/Makefile: Likewise.
51109 * time/Makefile: Likewise.
51110 * soft-fp/Makefile: Likewise.
51111 * dirent/Makefile: Likewise.
51112 * gmon/Makefile: Likewise.
51113 * po/Makefile: Likewise.
51114 * rt/Makefile: Likewise.
51115 * socket/Makefile: Likewise.
51116 * math/Makefile: Likewise.
51117 * signal/Makefile: Likewise.
51118 * debug/Makefile: Likewise.
51119 * elf/Makefile: Likewise.
51120 * timezone/Makefile: Likewise.
51121 * stdlib/Makefile: Likewise.
51122 * iconvdata/Makefile: Likewise.
51123 * sunrpc/Makefile: Likewise.
51124 * io/Makefile: Likewise.
51125 * argp/Makefile: Likewise.
51126 * inet/Makefile: Likewise.
51127 * hesiod/Makefile: Likewise.
51128 * grp/Makefile: Likewise.
51129 * csu/Makefile: Likewise.
51130 * wctype/Makefile: Likewise.
51131 * crypt/Makefile: Likewise.
51132 * libio/Makefile: Likewise.
51133 * string/Makefile: Likewise.
51134 * nis/Makefile: Likewise.
51135 * resolv/Makefile: Likewise.
51136 * stdio-common/Makefile: Likewise.
51137 * wcsmbs/Makefile: Likewise.
51138 * dlfcn/Makefile: Likewise.
51139 * posix/Makefile: Likewise.
51142 * timezone/Makefile: Don't install timezone files, just the programs
51145 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51147 * nss/databases.def: Add missing gshadow entry.
51149 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51151 2012-03-06 Marek Polacek <polacek@redhat.com>
51154 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51155 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51156 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51157 * stdio-common/tst-long-dbl-fphex.c: New file.
51159 2012-03-06 David S. Miller <davem@davemloft.net>
51161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51162 (set_obp_int): New function.
51163 (get_obp_int): New function.
51164 (__get_clockfreq_via_dev_openprom): Likewise.
51165 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51166 Avoid unused variable warnings on 'val' and use builtin_expect.
51167 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51169 (INLINE_CLONE_SYSCALL): Likewise.
51171 2012-03-05 David S. Miller <davem@davemloft.net>
51173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51175 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51179 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51180 only for |x| >= 40.
51181 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51183 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
51185 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51186 Replace gettimeofday with __vdso_gettimeofday.
51188 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51189 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51190 __vdso_clock_gettime and __vdso_getcpu.
51192 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51193 time with __vdso_time.
51195 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51197 * manual/lang.texi (size_t): Note types to which size_t may be
51198 equivalent with the GNU C Library, but do not describe when
51199 differences between them are significant.
51201 2012-03-05 Andreas Jaeger <aj@suse.de>
51203 * sysdeps/i386/fpu/libm-test-ulps: Update.
51205 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51208 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51209 (__ieee754_pow): Save and restore rounding mode and use
51210 round-to-nearest for main computations.
51211 * math/libm-test.inc (pow_test_tonearest): New function.
51212 (pow_test_towardzero): Likewise.
51213 (pow_test_downward): Likewise.
51214 (pow_test_upward): Likewise.
51215 (main): Call the new functions.
51216 * sysdeps/i386/fpu/libm-test-ulps: Update.
51217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51220 * math/libm-test.inc (cosh_test_tonearest): New function.
51221 (cosh_test_towardzero): Likewise.
51222 (cosh_test_downward): Likewise.
51223 (cosh_test_upward): Likewise.
51224 (sinh_test_tonearest): Likewise.
51225 (sinh_test_towardzero): Likewise.
51226 (sinh_test_downward): Likewise.
51227 (sinh_test_upward): Likewise.
51228 (main): Call the new functions.
51229 * sysdeps/i386/fpu/libm-test-ulps: Update.
51230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51232 2012-03-05 Tom de Vries <tom@codesourcery.com>
51234 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51235 default stack guard is set in last bytes.
51236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51238 2012-03-05 Kees Cook <keescook@chromium.org>
51240 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51243 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51244 possibly allocate from heap instead of stack.
51245 * stdio-common/bug-vfprintf-nargs.c: New file.
51246 * stdio-common/Makefile (tests): Add nargs overflow test.
51248 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
51250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51252 2012-03-03 Marek Polacek <polacek@redhat.com>
51254 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51255 * math/math_private.h: Likewise.
51256 * stdlib/tst-strtod.c: Likewise.
51257 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51258 * sysdeps/x86_64/bits/atomic.h: Likewise.
51260 2012-03-02 David S. Miller <davem@davemloft.net>
51262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51266 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51267 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51268 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51269 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51271 2012-03-02 Roland McGrath <roland@hack.frob.com>
51274 * manual/examples/README: New file, says the example source files
51275 can be used under GPL>=2.
51276 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51277 line containing just "*/".
51278 * manual/examples/add.c: Add copyright header (GPL>=2).
51279 * manual/examples/argp-ex1.c: Likewise.
51280 * manual/examples/argp-ex2.c: Likewise.
51281 * manual/examples/argp-ex3.c: Likewise.
51282 * manual/examples/argp-ex4.c: Likewise.
51283 * manual/examples/atexit.c: Likewise.
51284 * manual/examples/db.c: Likewise.
51285 * manual/examples/dir.c: Likewise.
51286 * manual/examples/dir2.c: Likewise.
51287 * manual/examples/execinfo.c: Likewise.
51288 * manual/examples/filecli.c: Likewise.
51289 * manual/examples/filesrv.c: Likewise.
51290 * manual/examples/fmtmsgexpl.c: Likewise.
51291 * manual/examples/genpass.c: Likewise.
51292 * manual/examples/inetcli.c: Likewise.
51293 * manual/examples/inetsrv.c: Likewise.
51294 * manual/examples/isockad.c: Likewise.
51295 * manual/examples/longopt.c: Likewise.
51296 * manual/examples/memopen.c: Likewise.
51297 * manual/examples/memstrm.c: Likewise.
51298 * manual/examples/mkfsock.c: Likewise.
51299 * manual/examples/mkisock.c: Likewise.
51300 * manual/examples/mygetpass.c: Likewise.
51301 * manual/examples/pipe.c: Likewise.
51302 * manual/examples/popen.c: Likewise.
51303 * manual/examples/rprintf.c: Likewise.
51304 * manual/examples/search.c: Likewise.
51305 * manual/examples/select.c: Likewise.
51306 * manual/examples/setjmp.c: Likewise.
51307 * manual/examples/sigh1.c: Likewise.
51308 * manual/examples/sigusr.c: Likewise.
51309 * manual/examples/stpcpy.c: Likewise.
51310 * manual/examples/strdupa.c: Likewise.
51311 * manual/examples/strftim.c: Likewise.
51312 * manual/examples/strncat.c: Likewise.
51313 * manual/examples/subopt.c: Likewise.
51314 * manual/examples/swapcontext.c: Likewise.
51315 * manual/examples/termios.c: Likewise.
51316 * manual/examples/testopt.c: Likewise.
51317 * manual/examples/testpass.c: Likewise.
51318 * manual/examples/timeval_subtract.c: Likewise.
51321 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51323 * manual/timeval_subtract.c.texi: ... here, new file.
51325 2012-03-02 David S. Miller <davem@davemloft.net>
51327 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51329 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51332 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51333 (__sin): Save and restore rounding mode and use round-to-nearest
51334 for all computations.
51335 (__cos): Save and restore rounding mode and use round-to-nearest
51336 for all computations.
51337 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51339 (tan): Save and restore rounding mode and use round-to-nearest for
51341 * math/libm-test.inc (cos_test_tonearest): New function.
51342 (cos_test_towardzero): Likewise.
51343 (cos_test_downward): Likewise.
51344 (cos_test_upward): Likewise.
51345 (sin_test_tonearest): Likewise.
51346 (sin_test_towardzero): Likewise.
51347 (sin_test_downward): Likewise.
51348 (sin_test_upward): Likewise.
51349 (tan_test_tonearest): Likewise.
51350 (tan_test_towardzero): Likewise.
51351 (tan_test_downward): Likewise.
51352 (tan_test_upward): Likewise.
51353 (main): Call the new functions.
51354 * sysdeps/i386/fpu/libm-test-ulps: Update.
51355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51358 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51359 small n, then large n, before computing and testing k+n.
51360 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51365 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51366 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51367 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51368 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51371 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51373 * math/libm-test.inc (scalbn_test): Add more tests.
51374 (scalbln_test): Likewise.
51376 * manual/filesys.texi (mode_t): Describe constraints on size and
51377 signedness, not exact equivalence to a particular type.
51379 (ino64_t): Likewise.
51381 (nlink_t): Likewise.
51382 (blkcnt_t): Likewise.
51383 (blkcnt64_t): Likewise.
51384 * manual/llio.texi (off_t): Likewise.
51387 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51388 (__ieee754_exp): Save and restore rounding mode and use
51389 round-to-nearest for all computations.
51390 * math/libm-test.inc (exp_test_tonearest): New function.
51391 (exp_test_towardzero): Likewise.
51392 (exp_test_downward): Likewise.
51393 (exp_test_upward): Likewise.
51394 (main): Call the new functions.
51395 * sysdeps/i386/fpu/libm-test-ulps: Update.
51396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51398 2012-03-01 Chris Demetriou <cgd@google.com>
51400 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51401 have predictable order.
51403 2012-03-01 David S. Miller <davem@davemloft.net>
51405 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51407 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51408 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51409 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51410 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51412 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51413 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51414 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51416 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51417 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51418 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51419 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51420 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51424 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51425 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51426 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51428 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51429 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51430 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51431 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51432 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51433 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51434 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51435 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51436 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51437 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51438 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51439 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51441 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51442 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51444 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51445 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51446 * sysdeps/sparc/elf/configure: Regenerated.
51448 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51450 * configure.in (AS, LD): Require binutils 2.20 or later.
51451 * configure: Regenerated.
51452 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51453 as required minimum version.
51454 * INSTALL: Regenerated.
51458 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51459 before squaring exponent.
51460 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51461 bottom long double and 27 bits of top long double before squaring
51463 * math/libm-test.inc (erfc_test): Add more tests.
51464 * sysdeps/i386/fpu/libm-test-ulps: Update.
51465 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51468 2012-03-01 Kai Tietz <ktietz@redhat.com>
51470 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51471 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51472 containing bit-fields.
51473 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51474 * soft-fp/single.h (_FP_UNION_S): Likewise.
51475 * soft-fp/double.h (_FP_UNION_D): Likewise.
51477 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51480 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51481 not include ../strcmp.S.
51482 [USE_AS_STRNCASECMP_L]: Likewise.
51483 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51484 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51485 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51486 (__strncasecmp_l_ia32): Define as alias to
51487 __strncasecmp_l_nonascii.
51490 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51491 * sysdeps/i386/fpu/libm-test-ulps: Update.
51492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51494 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51497 2012-02-29 Jeff Law <law@redhat.com>
51499 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51500 out of bounds read.
51502 2012-02-29 Marek Polacek <polacek@redhat.com>
51505 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51506 * elf/Makefile: Add rules to run tst-unused-dep.out.
51508 2012-02-28 David S. Miller <davem@davemloft.net>
51510 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51511 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51513 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51514 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51515 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51517 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51519 * math/libm-test.inc (llround_test): Move one test from
51520 lround_test. Use TEST_f_L in moved test.
51521 (lround_test): Move misplaced test to llround_test. Add testcase
51524 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51526 * sysdeps/x86_64/fpu/e_expf.S: New file.
51527 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51529 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51532 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51533 of remain_len that may cause incomplete multi-byte character and
51535 * posix/bug-regex33.c: New file.
51536 * posix/Makefile (tests): Add bug-regex33.
51538 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51540 * manual/macros.texi: New file.
51541 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51542 * manual/libc.texinfo: Include macros.texi.
51543 * manual/creatute.texi: Likewise.
51544 * manual/install.texi: Likewise.
51545 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51546 @glibcadj{} in references to the GNU C Library.
51547 * manual/charset.texi: Likewise.
51548 * manual/conf.texi: Likewise.
51549 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51550 when not using those macros.
51551 * manual/creature.texi: Likewise.
51552 * manual/crypt.texi: Likewise.
51553 * manual/errno.texi: Likewise.
51554 * manual/filesys.texi: Likewise.
51555 * manual/header.texi: Likewise.
51556 * manual/install.texi: Likewise.
51557 * manual/intro.texi: Likewise.
51558 * manual/io.texi: Likewise.
51559 * manual/job.texi: Likewise.
51560 * manual/lang.texi: Likewise.
51561 * manual/libc.texiinfo: Likewise.
51562 * manual/llio.texi: Likewise.
51563 * manual/locale.texi: Likewise.
51564 * manual/maint.texi: Likewise.
51565 * manual/math.texi: Likewise.
51566 * manual/memory.texi: Likewise.
51567 * manual/message.texi: Likewise.
51568 * manual/nss.texi: Likewise.
51569 * manual/pattern.texi: Likewise.
51570 * manual/process.texi: Likewise.
51571 * manual/resource.texi: Likewise.
51572 * manual/search.texi: Likewise.
51573 * manual/setjmp.texi: Likewise.
51574 * manual/signal.texi: Likewise.
51575 * manual/socket.texi: Likewise.
51576 * manual/startup.texi: Likewise.
51577 * manual/stdio.texi: Likewise.
51578 * manual/string.texi: Likewise.
51579 * manual/sysinfo.texi: Likewise.
51580 * manual/syslog.texi: Likewise.
51581 * manual/terminal.texi: Likewise.
51582 * manual/time.texi: Likewise.
51583 * manual/users.texi: Likewise.
51584 * INSTALL: Regenerated.
51585 * NOTES: Regenerated.
51586 * sysdeps/gnu/errlist.c: Regenerated.
51588 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51590 * include/dirent.h: Include <dirstream.h> before
51593 2012-02-28 David S. Miller <davem@davemloft.net>
51595 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51596 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51597 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51598 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51600 2012-02-27 David S. Miller <davem@davemloft.net>
51602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51604 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51605 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51608 frame pointer instead of stack pointer relative arg slot.
51609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51610 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51611 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51613 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51616 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51618 2012-02-27 David S. Miller <davem@davemloft.net>
51620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51624 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51625 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51626 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51627 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51629 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51631 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51632 later. Allow versions 5-9.
51633 * configure: Regenerated.
51634 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51635 required minimum version and 4.6 as recommended version. Do not
51636 mention bugs in GCC 2.7 and 2.8.
51637 * INSTALL: Regenerated.
51639 2012-02-27 David S. Miller <davem@davemloft.net>
51641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51645 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51646 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51647 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51648 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51651 manipulate bits before adding and subtracting TWO112[sx].
51652 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51654 2012-02-27 Roland McGrath <roland@hack.frob.com>
51657 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51658 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51659 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51660 being in POSIX, because they are in 1003.1-2008.
51662 * rt/tst-aio.c: Include <fcntl.h>.
51663 * rt/tst-aio7.c: Likewise.
51664 * rt/tst-aio64.c: Likewise.
51666 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51668 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51670 * manual/install.texi (--with-headers): Describe headers as
51671 interface headers, not private headers.
51672 (Specific advice for GNU/Linux systems): Describe use of headers
51673 from "make headers_install", not private headers from older
51675 * INSTALL: Regenerated.
51676 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51678 * sysdeps/unix/sysv/linux/configure: Regenerated.
51680 * manual/llio.texi (fclean): Remove documentation.
51682 * manual/Makefile (libc-texi-generated): New variable. Include
51684 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51685 $(libc-texi-generated), not duplicated list of files.
51686 (version.texi, stamp-version): New rules.
51687 (realclean): Remove $(libc-texi-generated), not individual files
51688 from that list. Do not remove dir-add.texinfo.
51689 * manual/libc.texinfo: Comment out uses of edition numbers and
51690 references to printed manual. Remove last-updated dates.
51691 (EDITION): Comment out.
51693 (VERSION, UPDATED): Remove.
51694 (version.texi): Include.
51696 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51698 * sysdeps/posix/spawni.c: Include <signal.h>.
51699 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51700 * sysdeps/pthread/aio_fsync.c: Likewise.
51702 2012-02-26 Ulrich Drepper <drepper@gmail.com>
51704 * conform/Makefile (tests): Run only when not cross-compiling and
51705 when fast-check is not defined.
51707 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51708 * conform/data/limits.h-data: Fixes for POSIX2008.
51709 * conform/run-conformtest.sh: Run all tests.
51710 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51712 * include/bits/dlfcn.h: Likewise.
51713 * include/langinfo.h: Likewise.
51714 * include/monetary.h: Likewise.
51715 * include/sys/poll.h: Likewise.
51717 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51719 * posix/spawn.h: Define __need_sigset_t.
51720 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51721 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51722 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51723 to get sigevent_t only.
51724 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51725 only for __USE_GNU.
51726 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51727 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51728 process_vm_writev only for __USE_GNU.
51729 * termios/termios.h: Declare tcgetsid also for POSIX2008.
51731 * conform/Makefile: For now ignore errors from run-conformtest.
51732 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51733 POSIX to avoid namespace pollution. Don't prepend headers.
51734 * conform/data/aio.h-data: Fixes for POSIX testing.
51735 * conform/data/fcntl.h-data: Likewise.
51736 * conform/data/glob.h-data: Likewise.
51737 * conform/data/grp.h-data: Likewise.
51738 * conform/data/pthread.h-data: Likewise.
51739 * conform/data/pwd.h-data: Likewise.
51740 * conform/data/signal.h-data: Likewise.
51741 * conform/data/spawn.h-data: Likewise.
51742 * conform/data/stdio.h-data: Likewise.
51743 * conform/data/stdlib.h-data: Likewise.
51744 * conform/data/stropts.h-data: Likewise.
51745 * conform/data/sys/mman.h-data: Likewise.
51746 * conform/data/sys/stat.h-data: Likewise.
51747 * conform/data/sys/types.h-data: Likewise.
51748 * conform/data/sys/wait.h-data: Likewise.
51749 * conform/data/time.h-data: Likewise.
51750 * conform/data/unistd.h-data: Likewise.
51751 * conform/data/utime.h-data: Likewise.
51753 * io/sys/stat.h: fchmod was always in POSIX.
51754 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51755 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51756 * rt/aio.h: Define __need_timespec before including <time.h>.
51757 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51758 struct. Add forward declaration of pthread_attr_t and use it in
51760 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51761 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51762 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51763 always remove CLK_TCK definition.
51765 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51767 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51769 2012-02-25 Ulrich Drepper <drepper@gmail.com>
51771 * conform/run-conformtest.sh: New file.
51772 * conform/Makefile: Run run-conformtest for tests.
51773 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51776 * conform/data/uchar.h-data: New file.
51777 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51778 * conform/data/arpa/inet.h-data: Likewise.
51779 * conform/data/assert.h-data: Likewise.
51780 * conform/data/complex.h-data: Likewise.
51781 * conform/data/cpio.h-data: Likewise.
51782 * conform/data/ctype.h-data: Likewise.
51783 * conform/data/dirent.h-data: Likewise.
51784 * conform/data/dlfcn.h-data: Likewise.
51785 * conform/data/errno.h-data: Likewise.
51786 * conform/data/fcntl.h-data: Likewise.
51787 * conform/data/float.h-data: Likewise.
51788 * conform/data/fmtmsg.h-data: Likewise.
51789 * conform/data/fnmatch.h-data: Likewise.
51790 * conform/data/ftw.h-data: Likewise.
51791 * conform/data/glob.h-data: Likewise.
51792 * conform/data/grp.h-data: Likewise.
51793 * conform/data/iconv.h-data: Likewise.
51794 * conform/data/inttypes.h-data: Likewise.
51795 * conform/data/langinfo.h-data: Likewise.
51796 * conform/data/libgen.h-data: Likewise.
51797 * conform/data/limits.h-data: Likewise.
51798 * conform/data/locale.h-data: Likewise.
51799 * conform/data/math.h-data: Likewise.
51800 * conform/data/monetary.h-data: Likewise.
51801 * conform/data/mqueue.h-data: Likewise.
51802 * conform/data/ndbm.h-data: Likewise.
51803 * conform/data/net/if.h-data: Likewise.
51804 * conform/data/netdb.h-data: Likewise.
51805 * conform/data/netinet/in.h-data: Likewise.
51806 * conform/data/nl_types.h-data: Likewise.
51807 * conform/data/poll.h-data: Likewise.
51808 * conform/data/pthread.h-data: Likewise.
51809 * conform/data/pwd.h-data: Likewise.
51810 * conform/data/regex.h-data: Likewise.
51811 * conform/data/sched.h-data: Likewise.
51812 * conform/data/search.h-data: Likewise.
51813 * conform/data/semaphore.h-data: Likewise.
51814 * conform/data/setjmp.h-data: Likewise.
51815 * conform/data/signal.h-data: Likewise.
51816 * conform/data/spawn.h-data: Likewise.
51817 * conform/data/stdarg.h-data: Likewise.
51818 * conform/data/stdio.h-data: Likewise.
51819 * conform/data/stdlib.h-data: Likewise.
51820 * conform/data/string.h-data: Likewise.
51821 * conform/data/strings.h-data: Likewise.
51822 * conform/data/stropts.h-data: Likewise.
51823 * conform/data/sys/ipc.h-data: Likewise.
51824 * conform/data/sys/mman.h-data: Likewise.
51825 * conform/data/sys/msg.h-data: Likewise.
51826 * conform/data/sys/resource.h-data: Likewise.
51827 * conform/data/sys/select.h-data: Likewise.
51828 * conform/data/sys/sem.h-data: Likewise.
51829 * conform/data/sys/shm.h-data: Likewise.
51830 * conform/data/sys/socket.h-data: Likewise.
51831 * conform/data/sys/stat.h-data: Likewise.
51832 * conform/data/sys/statvfs.h-data: Likewise.
51833 * conform/data/sys/time.h-data: Likewise.
51834 * conform/data/sys/timeb.h-data: Likewise.
51835 * conform/data/sys/times.h-data: Likewise.
51836 * conform/data/sys/types.h-data: Likewise.
51837 * conform/data/sys/uio.h-data: Likewise.
51838 * conform/data/sys/un.h-data: Likewise.
51839 * conform/data/sys/utsname.h-data: Likewise.
51840 * conform/data/sys/wait.h-data: Likewise.
51841 * conform/data/syslog.h-data: Likewise.
51842 * conform/data/tar.h-data: Likewise.
51843 * conform/data/termios.h-data: Likewise.
51844 * conform/data/utime.h-data: Likewise.
51845 * conform/data/utmpx.h-data: Likewise.
51846 * conform/data/varargs.h-data: Likewise.
51847 * conform/data/wchar.h-data: Likewise.
51848 * conform/data/wctype.h-data: Likewise.
51849 * conform/data/wordexp.h-data: Likewise.
51851 * include/stropts.h: New file.
51852 * include/uchar.h: New file.
51853 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51854 * include/assert.h: Likewise.
51855 * include/ctype.h: Likewise.
51856 * include/dirent.h: Likewise.
51857 * include/dlfcn.h: Likewise.
51858 * include/fcntl.h: Likewise.
51859 * include/fnmatch.h: Likewise.
51860 * include/glob.h: Likewise.
51861 * include/grp.h: Likewise.
51862 * include/libio.h: Likewise.
51863 * include/locale.h: Likewise.
51864 * include/math.h: Likewise.
51865 * include/net/if.h: Likewise.
51866 * include/netdb.h: Likewise.
51867 * include/netinet/in.h: Likewise.
51868 * include/pthread.h: Likewise.
51869 * include/pwd.h: Likewise.
51870 * include/regex.h: Likewise.
51871 * include/sched.h: Likewise.
51872 * include/search.h: Likewise.
51873 * include/setjmp.h: Likewise.
51874 * include/signal.h: Likewise.
51875 * include/stdio.h: Likewise.
51876 * include/stdlib.h: Likewise.
51877 * include/string.h: Likewise.
51878 * include/sys/cdefs.h: Likewise.
51879 * include/sys/mman.h: Likewise.
51880 * include/sys/msg.h: Likewise.
51881 * include/sys/resource.h: Likewise.
51882 * include/sys/select.h: Likewise.
51883 * include/sys/socket.h: Likewise.
51884 * include/sys/stat.h: Likewise.
51885 * include/sys/statvfs.h: Likewise.
51886 * include/sys/time.h: Likewise.
51887 * include/sys/times.h: Likewise.
51888 * include/sys/uio.h: Likewise.
51889 * include/sys/utsname.h: Likewise.
51890 * include/sys/wait.h: Likewise.
51891 * include/termios.h: Likewise.
51892 * include/time.h: Likewise.
51893 * include/ulimit.h: Likewise.
51894 * include/unistd.h: Likewise.
51895 * include/utime.h: Likewise.
51896 * include/wchar.h: Likewise.
51897 * include/wctype.h: Likewise.
51898 * include/wordexp.h: Likewise.
51900 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51902 * time/time.h: TIME_UTC must be a macro.
51903 Make timespec_get available for ISO C11 only as well.
51905 2012-02-24 Ulrich Drepper <drepper@gmail.com>
51907 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51908 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51910 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51912 * configure.in: Use -o not -a in test for unsupported multi-arch.
51914 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51916 * manual/texinfo.tex: Update to version 2012-01-19.16.
51918 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51920 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51922 2012-02-24 Roland McGrath <roland@hack.frob.com>
51925 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51926 * manual/fdl-1.3.texi: New file.
51927 * manual/fdl-1.1.texi: File removed.
51930 * manual/libc.texinfo (FDL_VERSION): New @set.
51931 Use it for mention of FDL in cover text.
51932 (Documentation License): Use it in @include file name.
51934 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51935 Roland McGrath <roland@hack.frob.com>
51938 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51939 (not LONG_LONG_MAX and LONG_LONG_MIN.
51940 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51941 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51943 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51945 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51949 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51950 manipulate bits before adding and subtracting TWO23[sx].
51951 * math/libm-test.inc (nearbyint_test): Add more tests.
51953 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51956 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51957 bits before adding and subtracting TWO23[sx].
51958 * math/libm-test.inc (rint_test): Add more tests.
51959 (rint_test_tonearest): Likewise.
51960 (rint_test_towardzero): Likewise.
51961 (rint_test_downward): Likewise.
51962 (rint_test_upward: Likewise.
51964 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51967 * include/stdc-predef.h: New file. Extracted from features.h.
51968 * include/features.h: Include stdc-predef.h.
51969 * Makefile (headers): Add stdc-predef.h.
51970 * CONFORMANCE (Compiler limitations): Update.
51972 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51974 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51976 2012-02-21 David S. Miller <davem@davemloft.net>
51978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51979 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51981 2012-02-20 David S. Miller <davem@davemloft.net>
51983 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51984 using a normal save/restore sequence, rather than allocating a
51985 dummy stack frame just to store a frame pointer and restore.
51986 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51988 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51990 * manual/install.texi: Fix stray word in line-wrapped comment.
51992 2012-02-20 David S. Miller <davem@davemloft.net>
51994 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51995 both binutils and gcc support GOTDATA.
51997 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51998 "rd %pc" in the PIC register setup sequences.
52000 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52001 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52002 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52003 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52004 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52006 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52007 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52009 (SYSCALL_ERROR_HANDLER): Likewise.
52010 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52011 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52013 (SYSCALL_ERROR_HANDLER): Likewise.
52015 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52016 (HAVE_GCC_GOTDATA): New.
52017 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52018 relocation support in both binutils and gcc.
52019 * sysdeps/sparc/elf/configure: Regenerate.
52021 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52022 * sysdeps/sparc/sparc32/elf/configure: Delete.
52023 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52024 * sysdeps/sparc/sparc64/elf/configure: Delete.
52025 * sysdeps/sparc/elf/configure.in: New file.
52026 * sysdeps/sparc/elf/configure: Generate.
52028 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52029 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52030 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52031 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52032 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52034 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52036 * manual/install.texi: Do not mention specific glibc version
52038 * manual/libc.texinfo (VERSION, UPDATED): Update.
52039 (@copying): Use @copyright{} and range of years.
52041 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52044 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52045 [crti.S not in sysdirs] (generated): Do not append.
52046 [crti.S not in sysdirs] (omit-deps): Likewise.
52047 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52048 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52049 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52050 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52051 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52053 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52054 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52055 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52056 * csu/defs.awk: Remove file.
52057 * sysdeps/generic/initfini.c: Likewise.
52058 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52060 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52063 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52065 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52066 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52067 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52068 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52069 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52070 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52072 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52073 (__EPOLL_PACKED): Define to empty if not defined by
52075 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52079 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52081 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52082 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52083 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52084 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52086 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52090 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52092 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52094 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52095 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52099 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52101 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52102 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52104 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52106 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52107 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52109 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52111 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52114 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52116 * math/w_acos.c: Use non-signaling floating-point comparisons.
52117 * math/w_acosf.c: Likewise.
52118 * math/w_acosh.c: Likewise.
52119 * math/w_acoshf.c: Likewise.
52120 * math/w_acoshl.c: Likewise.
52121 * math/w_acosl.c: Likewise.
52122 * math/w_asin.c: Likewise.
52123 * math/w_asinf.c: Likewise.
52124 * math/w_asinl.c: Likewise.
52125 * math/w_atanh.c: Likewise.
52126 * math/w_atanhf.c: Likewise.
52127 * math/w_atanhl.c: Likewise.
52128 * math/w_exp2.c: Likewise.
52129 * math/w_exp2f.c: Likewise.
52130 * math/w_exp2l.c: Likewise.
52131 * math/w_j0.c: Likewise.
52132 * math/w_j0f.c: Likewise.
52133 * math/w_j0l.c: Likewise.
52134 * math/w_j1.c: Likewise.
52135 * math/w_j1f.c: Likewise.
52136 * math/w_j1l.c: Likewise.
52137 * math/w_jn.c: Likewise.
52138 * math/w_jnf.c: Likewise.
52139 * math/w_log.c: Likewise.
52140 * math/w_log10.c: Likewise.
52141 * math/w_log10f.c: Likewise.
52142 * math/w_log10l.c: Likewise.
52143 * math/w_log2.c: Likewise.
52144 * math/w_log2f.c: Likewise.
52145 * math/w_log2l.c: Likewise.
52146 * math/w_logf.c: Likewise.
52147 * math/w_logl.c: Likewise.
52148 * math/w_sqrt.c: Likewise.
52149 * math/w_sqrtf.c: Likewise.
52150 * math/w_sqrtl.c: Likewise.
52151 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52152 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52153 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52154 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52155 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52157 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52160 * manual/string.texi (strnlen): Use correct parameter name in
52161 equivalent expression.
52163 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52166 * manual/users.texi (seteuid): Consistently use neweuid for
52169 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52172 * manual/nss.texi (Services in the NSS configuration): Correct
52173 list of services in example configuration file.
52175 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52178 * manual/arith.texi: Remove statements about negative zero
52179 behaving identically to zero.
52181 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52184 * manual/install.texi: Do not document upgrading from libc5.
52186 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52189 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52191 2012-02-18 David S. Miller <davem@davemloft.net>
52193 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52194 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52195 %o7 across the call.
52196 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52199 SETUP_PIC_REG_LEAF.
52200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52201 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52202 * sysdeps/sparc/crtn.S: Likewise.
52204 2012-02-17 Ulrich Drepper <drepper@gmail.com>
52206 * aout/Makefile: Remove.
52208 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
52211 * manual/examples/argp-ex1.c (main): Format definition in GNU
52213 * manual/examples/argp-ex2.c (main): Likewise.
52214 * manual/examples/argp-ex3.c (main): Likewise.
52215 * manual/examples/argp-ex4.c (main): Likewise.
52216 * manual/examples/longopt.c (main): Use new-style prototype
52218 * manual/examples/strncat.c (main): Specify return type and use
52219 (void) for arguments.
52220 * manual/examples/subopt.c (main): Use char **argv argument.
52222 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52225 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52228 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
52231 * manual/string.texi (strchr): Change when strchrnul is
52234 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
52237 * manual/locale.texi (setlocale): Document LOCPATH.
52239 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52242 * manual/process.texi (execle): Move @dots{} before last argument.
52244 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
52247 * manual/charset.texi (Generic Charset Conversion): Fix typo
52248 (LC_TYPE -> LC_CTYPE).
52250 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
52253 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52254 (scalbnf): Likewise.
52255 (scalbnl): Likewise.
52256 (scalbln): Likewise.
52257 (scalblnf): Likewise.
52258 (scalblnl): Likewise.
52259 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52260 (vwarnx): Likewise.
52263 * manual/filesys.texi (telldir): Use braces around return type.
52264 * manual/llio.texi (mmap): Add space after comma.
52265 (mmap64): Likewise.
52266 * manual/math.texi (jn): Use @var{} on parameter names.
52272 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52274 * manual/resource.texi (ulimit): Use @dots{} instead of literal
52276 (sched_get_priority_min): Remove semicolon on @deftypefun line.
52277 (sched_get_priority_max): Likewise.
52278 * manual/signal.texi (sigvec): Add space after comma.
52279 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52281 (if_indextoname): Likewise.
52282 (if_freenameindex): Likewise.
52283 (sendto): Use ',' instead of '.' in prototype.
52284 * manual/startup.texi (syscall): Use @dots{} instead of literal
52286 * manual/stdio.texi (__fpending): Separate initial words of
52287 paragraph from @deftypefun line.
52288 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52290 (vsyslog): Use @var{} on parameter names.
52291 * manual/terminal.texi (stty): Use @var{} on parameter names.
52292 * manual/users.texi (getutmp): Use @var{} on parameter names.
52293 (getutmpx): Likewise.
52295 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52298 * manual/stdio.texi (fopen): Fix typos in description of
52301 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52304 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52305 get clock_id definition.
52307 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52310 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52311 (madvise): Cast every argument to void on its own.
52313 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52316 * manual/startup.texi (Exit Status): Fix typo.
52318 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52321 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52322 * manual/examples/argp-ex2.c: Likewise.
52323 * manual/examples/argp-ex3.c: Likewise.
52325 2012-02-16 Richard Henderson <rth@redhat.com>
52327 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52328 * sysdeps/s390/s390-32/initfini.c: Remove.
52329 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52330 * sysdeps/s390/s390-64/initfini.c: Remove.
52332 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52334 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52335 compiler output for sysdeps/generic/initfini.c.
52336 * sysdeps/sh/elf/initfini.c: Remove file.
52338 2012-02-16 David S. Miller <davem@davemloft.net>
52341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52343 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52344 * sysdeps/sparc/crti.S: New file.
52345 * sysdeps/sparc/crtn.S: New file.
52346 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52347 * sysdeps/sparc/sparc64/Makefile: Likewise.
52349 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52352 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52354 2012-02-15 Roland McGrath <roland@hack.frob.com>
52357 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52359 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52360 (write, read, close): Likewise.
52361 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52363 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52365 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52366 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52367 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52368 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52370 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52374 2012-02-14 Marek Polacek <polacek@redhat.com>
52376 * sysdeps/x86_64/crti.S: New file.
52377 * sysdeps/x86_64/crtn.S: New file.
52378 * sysdeps/x86_64/elf/initfini.c: Remove file.
52380 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52382 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52383 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52384 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52385 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52387 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52391 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52393 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52394 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52395 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52396 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52398 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52402 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52404 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52405 __feraiseexcept instead of feraiseexcept.
52407 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52408 nanosleep invocations.
52409 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52410 strings, and add error checking for a nanosleep invocations.
52412 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52414 Replace FSF snail mail address with URLs, as per GNU coding standards.
52415 Most of the snail mail addresses were wrong anyway, and omitting
52416 them makes the source code easier to maintain. Almost all of the
52417 changes are to license notices and to locale LC_IDENTIFICATION
52418 addresses, except for this one:
52419 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52420 not its snail mail address.
52422 2012-02-09 Richard Henderson <rth@twiddle.net>
52424 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52425 of kernel-features.h.
52427 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52429 2012-02-08 Marek Polacek <polacek@redhat.com>
52431 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52432 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52433 * sysdeps/gnu/_G_config.h: Likewise.
52434 * sysdeps/generic/_G_config.h: Likewise.
52436 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52438 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52442 * sysdeps/powerpc/powerpc32/crti.S: New file.
52443 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52444 * sysdeps/powerpc/powerpc64/crti.S: New file.
52445 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52447 * Makeconfig (have-initfini): Don't set.
52448 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52449 * configure.in (nopic_initfini): Don't substitute.
52450 * config.h.in (HAVE_INITFINI): Don't #undef.
52451 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52452 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52454 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52456 Support crti.S and crtn.S provided directly by architectures.
52457 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52458 [crti.S in sysdirs] (omit-deps): Likewise.
52459 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52460 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52461 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52462 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52463 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52464 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52465 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52466 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52467 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52468 compiler output for sysdeps/generic/initfini.c.
52469 * sysdeps/i386/elf/Makefile: Remove file.
52470 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52472 2012-02-07 Marek Polacek <polacek@redhat.com>
52474 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52475 * sysdeps/gnu/_G_config.h: Likewise.
52476 * sysdeps/mach/hurd/_G_config.h: Likewise.
52478 2012-02-07 Marek Polacek <polacek@redhat.com>
52480 * math/Makefile (tests): Add tst-CMPLX2.
52481 * math/tst-CMPLX2.c: New file.
52483 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52485 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52487 * math/libm-test.inc (jn_test): Add missing L suffix.
52489 2012-02-06 Marek Polacek <polacek@redhat.com>
52491 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52492 * sysdeps/i386/fpu/e_powf.S: Likewise.
52493 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52494 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52495 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52496 * sysdeps/i386/fpu/e_pow.S: Likewise.
52497 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52498 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52499 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52500 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52501 * sysdeps/i386/fpu/e_log2.S: Likewise.
52502 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52503 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52504 * sysdeps/i386/fpu/e_powl.S: Likewise.
52505 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52506 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52507 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52508 * sysdeps/i386/fpu/e_logl.S: Likewise.
52509 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52510 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52511 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52512 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52513 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52514 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52515 * sysdeps/i386/fpu/e_log.S: Likewise.
52516 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52517 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52518 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52519 * sysdeps/i386/fpu/e_logf.S: Likewise.
52520 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52521 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52522 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52523 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52524 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52525 * sysdeps/i386/fpu/e_log10.S: Likewise.
52526 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52527 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52528 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52529 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52530 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52531 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52532 * sysdeps/i386/asm-syntax.h: Likewise.
52533 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52534 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52535 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52536 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52537 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52538 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52539 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52540 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52541 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52542 * sysdeps/powerpc/sysdep.h: Likewise.
52543 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52544 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52546 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52549 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52551 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52553 * sysdeps/i386/sysdep.h: Include <features.h>.
52554 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52557 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52559 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52561 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52564 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52566 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52567 (SETUP_PIC_REG): Use GET_PC_THUNK.
52568 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52571 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52573 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52574 for non-PIC compilation.
52575 (SETUP_PIC_REG): Add .p2align directive.
52576 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52577 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52578 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52579 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52580 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52581 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52582 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52583 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52584 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52585 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52586 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52587 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52588 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52589 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52590 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52591 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52592 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52593 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52594 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52595 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52596 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52597 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52598 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52599 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52600 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52602 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52603 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52604 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52605 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52606 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52608 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52609 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52610 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52611 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52612 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52613 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52614 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52615 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52616 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52618 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52620 * math/tst-CMPLX.c: Include <stdio.h>.
52622 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52624 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52626 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52627 * sysdeps/sparc/bits/mathdef.h: Likewise.
52629 2012-01-31 Marek Polacek <polacek@redhat.com>
52631 * libio/libio.h: Don't define _PARAMS.
52632 * locale/programs/config.h: Don't define PARAMS.
52633 * stdlib/strtol_l.c: Likewise.
52634 (__strtol_l): Remove PARAMS from the prototype.
52636 2012-01-31 Ulrich Drepper <drepper@gmail.com>
52638 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52639 names. Just use the correct names. Remove unnecessary wrapper
52641 * malloc/arena.c: Likewise.
52642 * malloc/hooks.c: Likewise.
52644 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52645 ARENA_TEST says not to. Simplify test for creation of a new arena.
52646 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52648 2012-01-30 Ulrich Drepper <drepper@gmail.com>
52650 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52652 (update_get_addr): New function.
52653 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52654 GET_ADDR_MODULE parameter.
52656 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52658 * crypt/cert.c: Remove __STDC__ conditionals.
52659 * crypt/crypt-entry.c: Likewise.
52660 * crypt/crypt_util.c: Likewise.
52661 * libio/filedoalloc.c: Likewise.
52662 * libio/fileops.c: Likewise.
52663 * libio/genops.c: Likewise.
52664 * libio/iofclose.c: Likewise.
52665 * libio/iofdopen.c: Likewise.
52666 * libio/iofopen.c: Likewise.
52667 * libio/iofopen64.c: Likewise.
52668 * libio/iogetdelim.c: Likewise.
52669 * libio/iopopen.c: Likewise.
52670 * libio/obprintf.c: Likewise.
52671 * libio/oldfileops.c: Likewise.
52672 * libio/oldiofclose.c: Likewise.
52673 * libio/oldiofdopen.c: Likewise.
52674 * libio/oldiofopen.c: Likewise.
52675 * libio/oldiopopen.c: Likewise.
52676 * libio/wfiledoalloc.c: Likewise.
52677 * libio/wgenops.c: Likewise.
52678 * locale/programs/xmalloc.c: Likewise.
52679 * misc/syslog.c: Likewise.
52680 * stdio-common/xbug.c: Likewise.
52681 * string/memchr.c: Likewise.
52682 * string/memcmp.c: Likewise.
52683 * string/memrchr.c: Likewise.
52684 * string/rawmemchr.c: Likewise.
52685 * sysdeps/posix/getcwd.c: Likewise.
52686 * time/strftime_l.c: Likewise.
52688 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52690 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52691 * config.make.in (config-cflags-sse2avx): Define.
52692 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52695 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52697 * scripts/config.guess: Update from upstream config git repository.
52698 * scripts/config.sub: Likewise.
52700 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52702 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52704 (R_TILEPRO_*, R_TILEGX_*): New macros.
52706 * scripts/firstversions.awk: Fix bug in version range handling.
52708 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52710 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52712 * include/sys/epoll.h: New file.
52713 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52716 2012-01-28 Ulrich Drepper <drepper@gmail.com>
52718 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52719 Avoid unnecessary __WORDSIZE == 64 test.
52720 (fmaxf): Use VEX format if possible.
52725 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52726 * math/math_private.h: Remove libc_fegetround* and
52728 * sysdeps/i386/configure.in: Check for -msse2avx.
52729 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52730 also if SSE2AVX is defined.
52731 Remove libc_fegetround* and libc_fesetround*.
52732 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52733 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52734 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52736 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52737 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52738 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52739 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52740 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52742 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52744 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52746 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52748 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52750 2012-01-27 Ulrich Drepper <drepper@gmail.com>
52753 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52755 * Makeconfig (libm): Define.
52756 * elf/Makefile: Add rules to build and run tst-relsort1.
52757 * elf/tst-relsort1.c: New file.
52758 * elf/tst-relsort1mod1.c: New file.
52759 * elf/tst-relsort1mod2.c: New file.
52761 2012-01-27 Joseph Myers <joseph@codesourcery.com>
52763 * math/s_ldexp.c: Remove __STDC__ conditionals.
52764 * math/s_ldexpf.c: Likewise.
52765 * math/s_ldexpl.c: Likewise.
52766 * math/s_nextafter.c: Likewise.
52767 * math/s_nexttowardf.c: Likewise.
52768 * math/s_significand.c: Likewise.
52769 * math/s_significandf.c: Likewise.
52770 * math/s_significandl.c: Likewise.
52771 * math/w_jnl.c: Likewise.
52772 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52773 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52774 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52775 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52776 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52777 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52778 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52779 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52780 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52781 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52782 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52783 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52784 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52785 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52786 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52787 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52788 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52789 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52791 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52792 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52793 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52794 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52795 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52796 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52797 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52798 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52799 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52800 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52801 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52802 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52803 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52804 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52805 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52806 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52807 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52808 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52809 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52810 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52811 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52812 * sysdeps/ieee754/k_standard.c: Likewise.
52813 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52814 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52815 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52816 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52817 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52818 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52819 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52820 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52821 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52822 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52823 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52824 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52825 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52826 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52827 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52829 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52830 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52831 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52832 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52833 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52834 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52835 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52836 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52837 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52838 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52840 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52842 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52843 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52844 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52845 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52846 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52847 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52848 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52849 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52850 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52851 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52852 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52853 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52855 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52856 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52857 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52858 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52859 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52861 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52862 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52863 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52866 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52867 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52868 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52869 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52870 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52871 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52872 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52873 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52874 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52875 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52876 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52877 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52878 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52879 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52880 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52881 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52882 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52883 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52884 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52885 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52886 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52887 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52888 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52889 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52890 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52891 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52892 * sysdeps/ieee754/s_matherr.c: Likewise.
52893 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52894 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52898 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52900 * crypt/md5.h: Remove __STDC__ conditionals.
52901 * libio/libioP.h: Likewise.
52902 * locale/programs/config.h: Likewise.
52903 * sysdeps/generic/sysdep.h: Likewise.
52904 * sysdeps/i386/asm-syntax.h: Likewise.
52905 * sysdeps/s390/asm-syntax.h: Likewise.
52906 * sysdeps/unix/sysdep.h: Likewise.
52907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52910 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52912 * libio/libio.h: Remove __STDC__ conditionals.
52913 * malloc/obstack.h: Likewise.
52914 * math/complex.h: Likewise.
52915 * math/math.h: Likewise.
52916 * sysdeps/generic/_G_config.h: Likewise.
52917 * sysdeps/gnu/_G_config.h: Likewise.
52918 * sysdeps/mach/hurd/_G_config.h: Likewise.
52919 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52920 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52921 * sysdeps/sparc/bits/mathdef.h: Likewise.
52923 2012-01-26 Ulrich Drepper <drepper@gmail.com>
52926 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52927 Clean up HAS_* macros.
52928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52929 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52934 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52937 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52939 2012-01-25 Joseph Myers <joseph@codesourcery.com>
52941 * elf/tst-unique3.cc (gets): Remove declaration.
52942 * elf/tst-unique3lib.cc (gets): Likewise.
52943 * elf/tst-unique3lib2.cc (gets): Likewise.
52944 * elf/tst-unique4.cc (gets): Likewise.
52946 2012-01-24 Ulrich Drepper <drepper@gmail.com>
52948 * include/stdio.h: Add C++ protection. Add gets declarations and
52950 * debug/tst-chk1.c: Don't declare gets here.
52951 * stdio-common/tst-gets.c: Likewise.
52953 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52955 * posix/glob: Remove directory.
52957 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52959 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52961 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52963 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52964 of the non-standard EPFNOSUPPORT.
52966 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52968 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52969 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52970 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52972 2012-01-21 Ulrich Drepper <drepper@gmail.com>
52974 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52976 2012-01-20 Ulrich Drepper <drepper@gmail.com>
52978 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52980 * nscd/grpcache.c (cache_addgr): Likewise.
52981 * nscd/hstcache.c (cache_addhst): Likewise.
52982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52983 * nscd/pwdcache.c (cache_addpw): Likewise.
52984 * nscd/servicescache.c (cache_addserv): Likewise.
52986 2012-01-16 Ulrich Drepper <drepper@gmail.com>
52988 * malloc/malloc.c: Various cleanups.
52989 * malloc/hooks.c: Likewise.
52991 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52992 * stdlib/bug-fmtmsg1.c: New file.
52994 * stdlib/fmtmsg.c (init): Add missing unlock.
52995 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52997 2012-01-12 Marek Polacek <polacek@redhat.com>
52999 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53002 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53004 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53005 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53006 macro to ensure uniqueness of label name.
53007 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53008 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53010 2012-01-11 Ulrich Drepper <drepper@gmail.com>
53012 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53014 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53015 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53016 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53017 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53019 2012-01-10 Ulrich Drepper <drepper@gmail.com>
53021 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53023 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53024 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53025 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53027 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53029 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53030 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53031 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53034 * math/bits/math-finite.h: Add ldexp support.
53036 2012-01-10 Marek Polacek <polacek@redhat.com>
53038 * locale/programs/localedef.h (show_archive_content): Add noreturn
53041 2012-01-09 Ulrich Drepper <drepper@gmail.com>
53043 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53045 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53047 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53049 * io/Makefile (headers): Add bits/poll2.h.
53051 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
53053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53054 typo #include statement.
53056 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53058 * include/sys/cdefs.h: Define __attribute_alloc_size.
53059 * catgets/gencat.c: Add alloc_size attribute and apply consistently
53060 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53061 * elf/pldd.c: Likewise.
53062 * iconv/iconv_charmap.c: Likewise.
53063 * iconv/iconvconfig.c: Likewise.
53064 * iconv/strtab.c: Likewise.
53065 * locale/programs/locale.c: Likewise.
53066 * locale/programs/localedef.h: Likewise.
53067 * locale/programs/simple-hash.c: Likewise.
53068 * nscd/nscd.h: Likewise.
53069 * nss/makedb.c: Likewise.
53070 * sysdeps/generic/ldconfig.h: Likewise.
53071 * locale/programs/localedef.c: Remove xmalloc prototype.
53072 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53074 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53076 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53079 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53081 * math/Makefile (tests): Add tst-CMPLX.
53082 * math/tst-CMPLX.c: New file.
53084 * math/complex.h (CMPLXL): Fix typo.
53086 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53087 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53089 * debug/tst-chk1.c: Add poll and ppoll tests.
53090 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53091 * include/sys/poll.h: Add hidden proto for ppoll.
53092 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53093 * sysdeps/mach/hurd/ppoll.c: Likewise.
53094 * io/ppoll.c: Likewise.
53095 * debug/poll_chk.c: New file.
53096 * debug/ppoll_chk.c: New file.
53097 * include/bits/poll2.h: New file.
53098 * io/bits/poll2.h: New file.
53101 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53103 * configure.in: static is always set to yes. Remove.
53104 * config.make.in: Don't set build-static.
53105 * Makeconfig: Remove use of build-static.
53106 * dlfcn/Makefile: Likewise.
53107 * elf/Makefile: Likewise.
53108 * math/Makefile: Likewise.
53109 * misc/Makefile: Likewise.
53110 * nptl/Makefile: Likewise.
53111 * sysdeps/mach/hurd/Makefile: Likewise.
53113 * configure.in: PWD_P is not used anymore.
53114 * config.make.in: Remove PWD_P entry.
53116 * configure.in: Remove last remnants of RANLIB.
53117 No need to check for signed size_t anymore.
53118 Don't set libc_commonpagesize and libc_relro_required here for Alpha
53120 Remove __builtin_expect test because we require at least gcc 3.4.
53121 * aclocal.m4: Likewise.
53123 * wcsmbs/mbrtoc16.c: Implement using towc function.
53124 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53125 * wcsmbs/wcsmbsload.c: Likewise.
53126 * iconv/gconv_simple.c: Likewise.
53127 * iconv/gconv_int.h: Likewise.
53128 * iconv/gconv_builtin.h: Likewise.
53129 * iconv/iconv_prog.c: Remove CHAR16 handling.
53131 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53133 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53135 * configure.in: Remove --with-elf and --enable-bounded options.
53136 Dont set base_machine for ia64. More non-ELF conditions removed.
53137 Remove testing and setting of leading underscore information.
53138 * config.make.in (build-bounded): Set to no.
53139 * config.h.in: Remove NO_UNDERSCORES entry.
53140 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
53142 * csu/start.c: Remove !NO_UNDERSCORE code.
53143 * locale/localeinfo.h: Likewise.
53144 * sysdeps/generic/machine-gmon.h: Likewise.
53145 * sysdeps/generic/sysdep.h: Likewise.
53146 * sysdeps/i386/sysdep.h: Likewise.
53147 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53148 * sysdeps/mach/sysdep.h: Likewise.
53149 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53150 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53151 * sysdeps/sh/sysdep.h: Likewise.
53152 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53153 * sysdeps/unix/i386/sysdep.S: Likewise.
53154 * sysdeps/unix/sparc/start.c: Likewise.
53155 * sysdeps/unix/sparc/sysdep.S: Likewise.
53156 * sysdeps/unix/sparc/sysdep.h: Likewise.
53157 * sysdeps/unix/start.c: Likewise.
53158 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53159 * sysdeps/x86_64/sysdep.h: Likewise.
53161 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53164 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53166 * argp/argp-fmtstream.h: Use const instead __const.
53167 * argp/argp.h: Likewise.
53168 * assert/assert.h: Likewise.
53169 * bits/fenv.h: Likewise.
53170 * bits/sched.h: Likewise.
53171 * bits/sigset.h: Likewise.
53172 * bits/sigthread.h: Likewise.
53173 * catgets/nl_types.h: Likewise.
53174 * conform/data/pthread.h-data: Likewise.
53175 * crypt/crypt-private.h: Likewise.
53176 * crypt/crypt.h: Likewise.
53177 * crypt/crypt_util.c: Likewise.
53178 * ctype/ctype.h: Likewise.
53179 * debug/execinfo.h: Likewise.
53180 * debug/mbsnrtowcs_chk.c: Likewise.
53181 * debug/mbsrtowcs_chk.c: Likewise.
53182 * debug/wcsnrtombs_chk.c: Likewise.
53183 * debug/wcsrtombs_chk.c: Likewise.
53184 * debug/wcstombs_chk.c: Likewise.
53185 * dirent/dirent.h: Likewise.
53186 * dlfcn/dlfcn.h: Likewise.
53187 * elf/neededtest4.c: Likewise.
53188 * grp/grp.h: Likewise.
53189 * gshadow/gshadow.h: Likewise.
53190 * iconv/gconv.h: Likewise.
53191 * iconv/gconv_int.h: Likewise.
53192 * iconv/gconv_simple.c: Likewise.
53193 * iconv/iconv.h: Likewise.
53194 * iconv/loop.c: Likewise.
53195 * iconv/skeleton.c: Likewise.
53196 * include/aio.h: Likewise.
53197 * include/aliases.h: Likewise.
53198 * include/argz.h: Likewise.
53199 * include/arpa/inet.h: Likewise.
53200 * include/assert.h: Likewise.
53201 * include/dirent.h: Likewise.
53202 * include/dlfcn.h: Likewise.
53203 * include/execinfo.h: Likewise.
53204 * include/fcntl.h: Likewise.
53205 * include/fenv.h: Likewise.
53206 * include/glob.h: Likewise.
53207 * include/grp.h: Likewise.
53208 * include/libintl.h: Likewise.
53209 * include/mntent.h: Likewise.
53210 * include/netdb.h: Likewise.
53211 * include/pwd.h: Likewise.
53212 * include/rpc/netdb.h: Likewise.
53213 * include/sched.h: Likewise.
53214 * include/search.h: Likewise.
53215 * include/shadow.h: Likewise.
53216 * include/signal.h: Likewise.
53217 * include/stdio.h: Likewise.
53218 * include/stdlib.h: Likewise.
53219 * include/string.h: Likewise.
53220 * include/sys/socket.h: Likewise.
53221 * include/sys/stat.h: Likewise.
53222 * include/sys/statfs.h: Likewise.
53223 * include/sys/statvfs.h: Likewise.
53224 * include/sys/syslog.h: Likewise.
53225 * include/sys/time.h: Likewise.
53226 * include/sys/uio.h: Likewise.
53227 * include/time.h: Likewise.
53228 * include/unistd.h: Likewise.
53229 * include/utmp.h: Likewise.
53230 * include/wchar.h: Likewise.
53231 * include/wctype.h: Likewise.
53232 * inet/aliases.h: Likewise.
53233 * inet/arpa/inet.h: Likewise.
53234 * inet/netinet/ether.h: Likewise.
53235 * inet/netinet/in.h: Likewise.
53236 * intl/libintl.h: Likewise.
53237 * io/bits/fcntl2.h: Likewise.
53238 * io/fcntl.h: Likewise.
53239 * io/ftw.h: Likewise.
53240 * io/sys/poll.h: Likewise.
53241 * io/sys/stat.h: Likewise.
53242 * io/sys/statfs.h: Likewise.
53243 * io/sys/statvfs.h: Likewise.
53244 * io/utime.h: Likewise.
53245 * libio/bits/stdio.h: Likewise.
53246 * libio/bits/stdio2.h: Likewise.
53247 * libio/libio.h: Likewise.
53248 * libio/libioP.h: Likewise.
53249 * libio/stdio.h: Likewise.
53250 * locale/lc-ctype.c: Likewise.
53251 * locale/locale.h: Likewise.
53252 * login/utmp.h: Likewise.
53253 * malloc/arena.c: Likewise.
53254 * malloc/malloc.c: Likewise.
53255 * malloc/malloc.h: Likewise.
53256 * malloc/mcheck.c: Likewise.
53257 * malloc/mtrace.c: Likewise.
53258 * math/bits/mathcalls.h: Likewise.
53259 * math/fenv.h: Likewise.
53260 * math/math_private.h: Likewise.
53261 * misc/bits/error.h: Likewise.
53262 * misc/bits/syslog.h: Likewise.
53263 * misc/err.h: Likewise.
53264 * misc/error.h: Likewise.
53265 * misc/fstab.h: Likewise.
53266 * misc/mntent.h: Likewise.
53267 * misc/regexp.h: Likewise.
53268 * misc/search.h: Likewise.
53269 * misc/sgtty.h: Likewise.
53270 * misc/sys/mman.h: Likewise.
53271 * misc/sys/syslog.h: Likewise.
53272 * misc/sys/uio.h: Likewise.
53273 * misc/sys/xattr.h: Likewise.
53274 * misc/ttyent.h: Likewise.
53275 * nis/rpcsvc/ypclnt.h: Likewise.
53276 * nss/nss.h: Likewise.
53277 * posix/bits/unistd.h: Likewise.
53278 * posix/fnmatch.h: Likewise.
53279 * posix/glob.h: Likewise.
53280 * posix/sched.h: Likewise.
53281 * posix/spawn.h: Likewise.
53282 * posix/sys/wait.h: Likewise.
53283 * posix/unistd.h: Likewise.
53284 * posix/wordexp.h: Likewise.
53285 * pwd/pwd.h: Likewise.
53286 * resolv/netdb.h: Likewise.
53287 * resource/sys/resource.h: Likewise.
53288 * rt/aio.h: Likewise.
53289 * rt/bits/mqueue2.h: Likewise.
53290 * rt/mqueue.h: Likewise.
53291 * shadow/shadow.h: Likewise.
53292 * signal/signal.h: Likewise.
53293 * socket/send.c: Likewise.
53294 * socket/sendto.c: Likewise.
53295 * socket/sys/socket.h: Likewise.
53296 * stdio-common/printf.h: Likewise.
53297 * stdlib/bits/stdlib.h: Likewise.
53298 * stdlib/fmtmsg.h: Likewise.
53299 * stdlib/monetary.h: Likewise.
53300 * stdlib/stdlib.h: Likewise.
53301 * stdlib/ucontext.h: Likewise.
53302 * streams/stropts.h: Likewise.
53303 * string/argz.h: Likewise.
53304 * string/bits/string2.h: Likewise.
53305 * string/string.h: Likewise.
53306 * string/strings.h: Likewise.
53307 * sunrpc/rpc/auth.h: Likewise.
53308 * sunrpc/rpc/auth_des.h: Likewise.
53309 * sunrpc/rpc/clnt.h: Likewise.
53310 * sunrpc/rpc/netdb.h: Likewise.
53311 * sunrpc/rpc/pmap_clnt.h: Likewise.
53312 * sunrpc/rpc/xdr.h: Likewise.
53313 * sysdeps/generic/inttypes.h: Likewise.
53314 * sysdeps/generic/net/if.h: Likewise.
53315 * sysdeps/generic/sys/swap.h: Likewise.
53316 * sysdeps/gnu/net/if.h: Likewise.
53317 * sysdeps/gnu/utmpx.h: Likewise.
53318 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53319 * sysdeps/i386/i486/bits/string.h: Likewise.
53320 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53321 * sysdeps/s390/bits/string.h: Likewise.
53322 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53323 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53324 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53325 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53326 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53327 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53328 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53329 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53330 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53331 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53332 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53333 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53334 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53335 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53336 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53337 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53338 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53340 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53341 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53342 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53343 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53344 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53345 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53346 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53347 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53348 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53349 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53350 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53351 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53352 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53353 * sysvipc/sys/ipc.h: Likewise.
53354 * sysvipc/sys/msg.h: Likewise.
53355 * sysvipc/sys/sem.h: Likewise.
53356 * sysvipc/sys/shm.h: Likewise.
53357 * termios/termios.h: Likewise.
53358 * time/sys/time.h: Likewise.
53359 * time/time.h: Likewise.
53360 * wcsmbs/bits/wchar2.h: Likewise.
53361 * wcsmbs/uchar.h: Likewise.
53362 * wcsmbs/wchar.h: Likewise.
53363 * wctype/wctype.h: Likewise.
53366 * Makeconfig: Remove all but ELF support including AIX support.
53367 * Makerules: Likewise.
53368 * config.h.in: Likewise.
53369 * config.make.in: Likewise.
53370 * configure: Likewise.
53371 * configure.in: Likewise.
53372 * csu/Makefile: Likewise.
53373 * csu/version.c: Likewise.
53374 * debug/Makefile: Likewise.
53375 * dlfcn/Makefile: Likewise.
53376 * elf/Makefile: Likewise.
53377 * extra-lib.mk: Likewise.
53378 * iconv/Makefile: Likewise.
53379 * include/libc-symbols.h: Likewise.
53380 * include/shlib-compat.h: Likewise.
53381 * resolv/Makefile: Likewise.
53382 * resolv/res_libc.c: Likewise.
53383 * rt/Makefile: Likewise.
53384 * sysdeps/i386/asm-syntax.h: Likewise.
53385 * sysdeps/i386/sysdep.h: Likewise.
53386 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53387 * sysdeps/mach/sysdep.h: Likewise.
53388 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53389 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53390 * sysdeps/s390/asm-syntax.h: Likewise.
53391 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53392 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53393 * sysdeps/sh/sysdep.h: Likewise.
53394 * sysdeps/unix/sparc/sysdep.h: Likewise.
53395 * sysdeps/wordsize-32/divdi3.c: Likewise.
53396 * sysdeps/x86_64/sysdep.h: Likewise.
53398 * argp/Versions: Remove _argp_unlock_xxx.
53401 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53402 * abilist/libBrokenLocale.abilist: Likewise.
53403 * abilist/libanl.abilist: Likewise.
53404 * abilist/libc.abilist: Likewise.
53405 * abilist/libcrypt.abilist: Likewise.
53406 * abilist/libdl.abilist: Likewise.
53407 * abilist/libm.abilist: Likewise.
53408 * abilist/libnsl.abilist: Likewise.
53409 * abilist/libpthread.abilist: Likewise.
53410 * abilist/libresolv.abilist: Likewise.
53411 * abilist/librt.abilist: Likewise.
53412 * abilist/libthread_db.abilist: Likewise.
53413 * abilist/libutil.abilist: Likewise.
53414 * abilist/libnss_db.abilist: New file.
53416 * scripts/abilist.awk: Add support for indirect functions.
53418 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53420 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53422 * shlib-versions: Remove entries for ports architectures.
53424 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53426 * elf/stackguard-macros.h: Remove support for IA-64.
53427 * elf/tst-auditmod1.c: Likewise.
53428 * sysdeps/generic/ldsodefs.h: Likewise.
53430 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53431 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53435 * configure.in: Remove --enable-omitfp support.
53437 * config.make.in: Likewise.
53438 * Makeconfig: Likewise.
53439 * manual/install.texi: Likewise.
53441 In case anyone cares, the IA-64 architecture could move to ports.
53442 * sysdeps/ia64/*: Removed.
53443 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53444 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53447 * configure.in: Remove entries for unsupported architectures.
53450 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53451 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53453 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53454 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53455 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53456 fall back to using wcrtomb.
53457 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53458 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53460 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53461 * wcsmbs/tst-c16c32-1.c: New file.
53463 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53466 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53468 * elf/tst-unique3.cc: Add explicit declaration of gets.
53469 * elf/tst-unique3lib.cc: Likewise.
53470 * elf/tst-unique3lib2.cc: Likewise.
53471 * elf/tst-unique4.cc: Likewise.
53473 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53475 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53478 * assert/assert.h (static_assert): Don't define for C++.
53479 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53480 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53482 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53484 * iconv/loop.c (single loop): Fix assertion in storing of
53487 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53489 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53491 * posix/getconf.c: Update copyright year.
53492 * nss/getent.c: Likewise.
53493 * nss/makedb.c: Likewise.
53494 * iconv/iconvconfig.c: Likewise.
53495 * iconv/iconv_prog.c: Likewise.
53496 * elf/ldconfig.c: Likewise.
53497 * elf/pldd.c: Likewise.
53498 * elf/sotruss.ksh: Likewise.
53499 * catgets/gencat.c: Likewise.
53500 * csu/version.c: Likewise.
53501 * elf/ldd.bash.in: Likewise.
53502 * elf/sprof.c (print_version): Likewise.
53503 * locale/programs/locale.c: Likewise.
53504 * locale/programs/localedef.c: Likewise.
53505 * login/programs/pt_chown.c: Likewise.
53506 * nscd/nscd.c (print_version): Likewise.
53507 * debug/xtrace.sh: Likewise.
53508 * malloc/memusage.sh: Likewise.
53509 * malloc/mtrace.pl: Likewise.
53510 * debug/catchsegv.sh: Likewise.
53512 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53514 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53517 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53520 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53521 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53523 * iconv/gconv_int.h: Likewise.
53524 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53525 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53526 from libc for GLIBC_2.16.
53527 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53528 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53529 * wcsmbs/uchar.h: Really define mbstate_t.
53530 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53531 * wcsmbs/c16rtomb.c: New file.
53532 * wcsmbs/mbrtoc16.c: New file.
53533 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53534 for C/POSIX locale.
53535 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53536 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53538 * wcsmbs/wchar.h: Add missing __restrict.
53540 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53543 * time/Makefile (routines): Add timespec_get.
53544 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53545 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53546 timespec for ISO C11.
53547 * time/timespec_get.c: New file.
53548 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53549 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53552 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53553 * stdlib/stdlib.h: Declare aligned_alloc.
53554 * Versions.def: Add GLIBC_2.16 for libc.
53555 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53558 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53561 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53565 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53568 * assert/assert.h (static_assert): Define.
53570 * version.h: Update for 2.16 development version.
53573 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53576 * version.h (RELEASE): Bump for 2.15 release.
53577 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53579 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53580 Patch by Marek Polacek <mpolacek@redhat.com>.
53582 * bits/byteswap.h: Protect long long constants with __extension__.
53583 * sysdeps/i386/bits/byteswap.h: Likewise.
53584 * sysdeps/ia64/bits/byteswap.h: Likewise.
53585 * sysdeps/s390/bits/byteswap.h: Likewise.
53586 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53588 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53591 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53592 destination buffer.
53593 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53595 2011-12-23 Marek Polacek <polacek@redhat.com>
53597 * elf/dl-addr.c (determine_info): Add inline keyword.
53598 * elf/tst-auditmod4b.c (check_avx): Likewise.
53599 * elf/tst-auditmod6b.c (check_avx): Likewise.
53600 * elf/tst-auditmod6c.c (check_avx): Likewise.
53601 * elf/tst-auditmod7b.c (check_avx): Likewise.
53603 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53605 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53608 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53611 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53612 processing for last bytes.
53614 2011-08-06 Bruno Haible <bruno@clisp.org>
53617 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53618 U+0385, not to U+1FEE.
53621 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53622 entry for U+00A5 U+0301.
53624 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53627 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53628 buffer for the output is too small.
53630 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53634 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53635 SSE flags if possible.
53637 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53640 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53641 processing for last bytes.
53643 2011-12-22 Joseph Myers <joseph@codesourcery.com>
53645 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53646 (syscall-list-default-options, syscall-list-default-condition)
53647 (syscall-list-includes): Define.
53648 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53649 list of ABIs and options and #if conditions for each ABI. Do not
53650 handle common syscalls between ABIs specially.
53651 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53653 (syscall-list-variants, syscall-list-32bit-options)
53654 (syscall-list-32bit-condition, syscall-list-64bit-options)
53655 (syscall-list-64bit-condition): Define.
53656 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53657 (syscall-list-variants, syscall-list-32bit-options)
53658 (syscall-list-32bit-condition, syscall-list-64bit-options)
53659 (syscall-list-64bit-condition): Define.
53660 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53662 (syscall-list-variants, syscall-list-32bit-options)
53663 (syscall-list-32bit-condition, syscall-list-64bit-options)
53664 (syscall-list-64bit-condition): Define.
53665 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53667 (syscall-list-variants, syscall-list-32bit-options)
53668 (syscall-list-32bit-condition, syscall-list-64bit-options)
53669 (syscall-list-64bit-condition): Define.
53671 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53673 * locale/iso-639.def: Add brx entry.
53676 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53677 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53679 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53680 __feraiseexcept_renamed.
53682 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53685 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53686 EPOLLET with unsigned values.
53687 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53690 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53691 to large cancellation.
53692 * math/s_cacoshf.c: Likewise.
53693 * math/s_cacoshl.c: Likewise.
53695 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53699 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53700 * math/s_cacoshf.c: Likewise.
53701 * math/s_cacoshl.c: Likewise.
53703 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53706 * iconv/gconv.h: Define __GCONV_SWAP.
53707 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53708 * iconvdata/utf-16.c: Likewise.
53709 * iconvdata/utf-32.c: Likewise.
53711 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53714 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53715 numerator after shifting it by one limb.
53717 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53719 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53720 under [__USE_EXTERN_INLINES].
53722 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53725 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53727 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53729 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53730 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53732 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53733 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53734 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53735 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53736 for strncasecmp/strncasecmp_l compilation.
53737 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53738 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53740 2011-12-08 Marek Polacek <mpolacek@redhat.com>
53743 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53746 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53749 * time/tzfile.c (__tzfile_read): Check values from file header.
53751 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53753 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53754 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53755 * powerpc/powerpc32/dl-start.S: Likewise.
53756 * powerpc/powerpc32/elf/start.S: Likewise.
53757 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53758 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53759 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53760 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53761 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53762 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53763 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53764 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53765 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53766 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53767 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53768 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53769 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53770 * powerpc/powerpc32/memset.S: Likewise.
53771 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53772 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53773 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53774 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53775 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53776 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53777 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53778 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53779 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53780 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53781 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53782 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53783 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53785 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53787 * math/libm-test.inc: Added more nearbyint tests.
53788 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53790 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53791 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53793 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53795 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53798 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53800 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53801 Add wcscpy-ssse3 wcscpy-c.
53802 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53803 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53804 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53805 * sysdeps/x86_64/wcschr.S: New file.
53806 * sysdeps/x86_64/wcsrchr.S: New file.
53807 * string/test-strcmp.c: Remove checking of wcscmp function for
53809 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53810 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53811 wcsrchr-sse2 wcsrchr-c.
53812 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53813 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53814 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53815 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53816 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53817 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53818 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53819 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53820 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53821 * wcsmbc/wcschr.c (WCSCHR): New macro.
53823 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53825 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53826 * wcsmbs/test-wcsrchr.c: New file.
53827 * string/test-strrchr.c: Add wcsrchr support.
53829 * wcsmbs/test-wcscpy.c: New file.
53830 * string/test-strcpy.c: Add wcscpy support.
53833 2011-12-10 Ulrich Drepper <drepper@gmail.com>
53835 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53838 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53841 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53843 2011-12-04 Ulrich Drepper <drepper@gmail.com>
53845 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53846 Minor optimizations.
53848 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53849 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53850 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53852 2011-12-03 Ulrich Drepper <drepper@gmail.com>
53854 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53855 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53856 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53857 for gcc to avoid warnings.
53858 * inet/Makefile (tests): Add tst-checks.
53859 * inet/tst-checks.c: New file.
53861 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53864 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53867 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53868 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53870 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53872 2011-12-02 Ulrich Drepper <drepper@gmail.com>
53874 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53877 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53879 2011-11-29 Joseph Myers <joseph@codesourcery.com>
53881 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53882 conditional on GCC version.
53883 (__arch_compare_and_exchange_val_8_acq)
53884 (__arch_compare_and_exchange_val_16_acq)
53885 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53886 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53887 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53889 2011-12-02 Joseph Myers <joseph@codesourcery.com>
53891 * sysdeps/sh/backtrace.c: New file.
53893 2011-12-02 Andreas Schwab <schwab@redhat.com>
53895 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53898 2011-12-01 Andreas Schwab <schwab@redhat.com>
53900 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53901 falling back to utime.
53903 2011-11-30 Andreas Schwab <schwab@redhat.com>
53905 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53906 expectations for float.
53908 2011-11-29 Andreas Schwab <schwab@redhat.com>
53910 * locale/weight.h (findidx): Add parameter len.
53911 * locale/weightwc.h (findidx): Likewise.
53912 * posix/fnmatch_loop.c (FCT): Adjust caller.
53913 * posix/regcomp.c (build_equiv_class): Likewise.
53914 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53915 * posix/regexec.c (check_node_accept_bytes): Likewise.
53916 * string/strcoll_l.c (STRCOLL): Likewise.
53917 * string/strxfrm_l.c (STRXFRM): Likewise.
53919 2011-11-17 Ulrich Drepper <drepper@gmail.com>
53921 * Makefile.in: Remove CVSOPT handling.
53922 * configure.in: Remove use of AC_REVISION.
53923 * iconvdata/Makefile (distribute): No need to filter out CVS.
53924 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53927 2011-11-16 Andreas Schwab <schwab@redhat.com>
53929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53930 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53931 [USE_AS_STRNCASECMP_L]: Likewise.
53932 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53933 NO_TLS_DIRECT_SEG_REFS.
53934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53935 Fix argument offsets for non-PIC.
53936 [USE_AS_STRNCASECMP_L]: Likewise.
53937 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53938 NO_TLS_DIRECT_SEG_REFS.
53940 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53942 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53944 * locale/loadlocale.c (_nl_load_locale): Likewise.
53946 2011-11-15 Andreas Schwab <schwab@redhat.com>
53948 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53949 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53950 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53951 (SYSCALL_GETTIME): Set errno on error.
53953 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53954 count references to noai6ai_cached.
53956 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53958 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53960 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53961 FD_CLOEXEC for /proc/self/maps.
53963 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53964 FD_CLOEXEC for /proc/meminfo.
53966 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53969 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53970 FD_CLOEXEC for given file.
53972 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53974 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53975 FD_CLOEXEC for /etc/hosts.
53976 (_gethtent): Likewise.
53978 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53980 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53981 cancellation and set FD_CLOEXEC for /etc/netgroup.
53983 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53984 reading /etc/publickey.
53986 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53987 allow cancellation when reading /etc/group.
53989 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53991 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53993 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53994 when using data file.
53996 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53998 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53999 (write_nis_obj): Use "c" and "e" in fopen.
54001 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54003 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54005 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54007 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54009 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54012 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54014 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54016 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54018 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54019 file parsing and set FD_CLOEXEC.
54021 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54023 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54025 2011-11-14 Andreas Schwab <schwab@redhat.com>
54027 * malloc/arena.c (arena_get2): Don't call reused_arena when
54028 _int_new_arena failed.
54030 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54032 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54033 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54034 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54035 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54037 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54038 to compile strcasecmp and strncasecmp.
54039 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54040 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54042 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54044 2011-11-13 Ulrich Drepper <drepper@gmail.com>
54046 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54047 locale-defines.sym to gen-as-const-headers.
54048 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54049 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54051 to compile strcasecmp and strncasecmp.
54052 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54053 strcasecmp_l and strncasecmp_l.
54054 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54055 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54056 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54057 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54058 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54059 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54060 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54061 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54062 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54063 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54064 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54066 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54068 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54069 result of SYSDEP_GETTIME_CPU to retval.
54070 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54071 parameter list to macro. Remove trailing semicolon. Adjust users.
54073 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54076 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54078 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54080 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54081 from unused variable.
54083 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54085 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54088 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54091 * sunrpc/rpc_prot.c (rejected): Fix case value.
54093 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54094 unsigned long long int to avoid warnings in shift.
54096 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54098 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54101 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54102 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54103 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54105 * nis/nis_table.c (nis_list): Use variable of correct type for
54106 result of __follow_path call.
54108 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54110 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54111 of math functions ceil, trunc, floor, round, and sqrt, when
54112 avaliable on the platform.
54113 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54115 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54116 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54117 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54119 2011-10-30 Marek Polacek <mpolacek@redhat.com>
54121 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54122 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54124 2011-11-11 Roland McGrath <roland@hack.frob.com>
54126 * include/unistd.h: Fix __readlink return type.
54127 Reported by Chris Metcalf <cmetcalf@tilera.com>.
54129 2011-11-11 Ulrich Drepper <drepper@gmail.com>
54131 * stdlib/ucontext.h: Undo last change for makecontext.
54133 2011-11-11 Andreas Schwab <schwab@redhat.com>
54135 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54137 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54138 * setjmp/setjmp.h: Mark functions as non-leaf.
54139 * setjmp/bits/setjmp2.h: Likewise.
54140 * stdlib/ucontext.h: Likewise.
54142 2011-11-10 Andreas Schwab <schwab@redhat.com>
54144 * malloc/arena.c (_int_new_arena): Don't increment narenas.
54145 (reused_arena): Don't check arena limit.
54146 (arena_get2): Atomically check arena limit.
54148 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54150 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54151 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54156 2011-11-07 Andreas Schwab <schwab@redhat.com>
54158 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54159 handler when locking.
54161 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54162 Fix size of allocated buffer.
54164 2011-11-04 Andreas Schwab <schwab@redhat.com>
54167 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54168 declarations for long double functions.
54169 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54171 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54173 2011-11-03 Andreas Schwab <schwab@redhat.com>
54175 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54178 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54181 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
54183 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54185 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
54187 * include/alloca.h (stackinfo_alloca_round): Define.
54188 (extend_alloca): Use it.
54189 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54190 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54193 * scripts/check-local-headers.sh: Ignore libaudit.h.
54195 * nscd/Makefile (extra-objs): Make recursively expanded.
54197 2011-11-01 Ulrich Drepper <drepper@gmail.com>
54199 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54202 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54203 * posix/tst-rfc3484-2.c: Likewise.
54204 * posix/tst-rfc3484-3.c: Likewise.
54206 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54208 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54210 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54211 process_vm_writev from libc using GLIBC_2.15 version.
54213 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54215 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
54217 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54220 2011-10-31 Ulrich Drepper <drepper@gmail.com>
54223 * nss/getent.c (initgroups_keys): Show error message in case no group
54226 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54227 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54228 __bump_nl_timestamp.
54229 * nscd/connections (nscd_init): When host database is served open
54230 netlink socket and request notification about configuration changes.
54231 (main_loop_poll): Track netlink file descriptor and bump timestamp
54232 in case data becomes available.
54233 (main_loop_epoll): Likewise.
54234 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54235 (database_pers_head): Add extra_data fileds.
54236 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54237 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54238 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54240 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54241 in6ai data, call __free_in6ai.
54242 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54243 Add -DHAVE_NETLINK.
54244 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
54245 interface information. Reuse previous data if netlink timestamp
54247 (__bump_nl_timestamp): New function.
54248 (__free_in6ai): New function.
54250 2011-10-30 Ulrich Drepper <drepper@gmail.com>
54252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54253 close_not_cancel_no_status here.
54254 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54256 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54259 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54262 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54263 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54264 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54266 2011-07-03 Andreas Jaeger <aj@suse.de>
54269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54270 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54271 * math/libm-test.inc (sin_test): Add test case.
54273 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54276 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54277 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54279 * elf/chroot_canon.c (chroot_canon): Cleanups.
54281 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54284 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54285 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54287 * string/test-strchr.c: Make usable for strchrnul testing.
54288 * string/test-strchrnul.c: New file.
54289 * string/Makefile (strop-tests): Add strchrnul.
54291 * po/it.po: Update from translation team.
54292 * po/es.po: Likewise.
54294 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54296 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54297 the three constants needed as parameters. Drop the others.
54298 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54299 __m128i_strloadu_tolower.
54300 Create and initialize variable zero and use it in all the places
54301 where _mm_setzero_si128 was used.
54303 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54304 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54305 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54306 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54308 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54309 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54310 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54311 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54312 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54313 __mpranred, __mptan.
54314 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54315 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54316 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54317 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54318 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54319 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54320 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54321 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54322 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54324 2011-10-28 Andreas Schwab <schwab@redhat.com>
54326 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54327 redefine if SHARED.
54328 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54331 wide char related routines to wcsmbs subdir.
54333 2011-10-27 Andreas Schwab <schwab@redhat.com>
54336 * misc/sys/cdefs.h (__THROWNL): Define.
54337 * posix/unistd.h: Use __THREADNL instead of __THREAD
54338 for memory synchronization functions.
54340 2011-10-26 Roland McGrath <roland@hack.frob.com>
54343 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54345 * manual/stdio.texi (Obstack Streams): Node removed.
54347 2011-10-26 Andreas Schwab <schwab@redhat.com>
54349 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54350 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54351 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54353 * math/math_private.h (math_force_eval): Allow non-addressable
54355 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54357 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54359 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54360 file is not needed.
54362 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54363 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54364 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54365 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54366 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54367 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54368 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54369 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54371 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54372 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54373 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54374 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54375 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54376 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54377 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54378 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54379 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54380 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54381 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54382 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54384 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54385 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54386 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54387 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54388 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54389 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54391 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54392 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54394 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54395 place. Use VEX encoding when compiling for AVX.
54397 2011-10-25 Andreas Schwab <schwab@redhat.com>
54399 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54400 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54402 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54404 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54406 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54407 useless if() expression.
54408 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54409 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54410 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54411 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54412 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54413 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54414 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54415 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54416 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54417 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54418 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54419 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54420 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54421 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54422 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54423 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54424 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54425 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54426 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54428 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54430 2011-10-25 Andreas Schwab <schwab@redhat.com>
54432 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54434 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54436 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54438 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54439 .text section. Avoid duplicate constants.
54440 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54442 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54444 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54448 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54449 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54450 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54451 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54452 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54453 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54454 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54455 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54456 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54457 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54458 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54459 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54460 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54461 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54462 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54463 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54464 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54465 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54466 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54467 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54468 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54469 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54470 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54471 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54472 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54473 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54474 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54475 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54476 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54477 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54478 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54479 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54480 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54482 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54483 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54484 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54486 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54488 * sysdeps/x86_64/dla.h: Move to ...
54489 * sysdeps/x86_64/fpu/dla.h: ...here.
54490 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54491 situations. Use __builtin_fma only for gcc 4.6 and up.
54493 * config.make.in: Add have-mfma4 entry.
54494 * configure.in: Substitute libc_cv_cc_fma4.
54495 * math/Makefile (dbl-only-routines): Add sincostab.
54496 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54497 Use __sincostab not sincos.
54498 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54500 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54505 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54506 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54507 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54508 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54510 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54511 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54513 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54514 define aliases when function name is a macro.
54515 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54516 sysdeps/ieee754/dbl-64/sincos.tbl.
54517 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54518 fma4-enabled routines.
54519 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54520 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54521 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54522 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54523 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54524 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54525 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54526 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54527 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54528 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54529 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54530 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54531 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54532 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54533 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54534 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54535 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54536 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54537 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54538 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54539 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54540 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54541 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54542 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54543 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54544 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54545 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54546 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54547 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54548 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54550 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54561 2011-10-24 Andreas Schwab <schwab@redhat.com>
54563 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54565 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54567 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54569 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54571 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54573 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54574 Remove unused variable magic_bits.
54575 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54577 * string/strnlen.c: Define and use STRNLEN macro.
54578 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54579 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54581 * wcsmbs/wcslen.c: Define and use WCSLEN.
54582 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54583 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54584 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54585 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54586 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54587 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54588 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54590 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54593 strnlen-sse2-no-bsf.
54594 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54595 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54596 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54597 Add strnlen support.
54598 (USE_AS_STRNLEN): New macro.
54599 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54600 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54601 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54602 * sysdeps/x86_64/wcslen.S: New file.
54604 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54606 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54607 XMM-moves are used for copying on small sizes.
54609 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54611 * wcsmbs/Makefile (strop-tests): Add wcschr.
54612 * wcsmbs/test-wcschr.c: New file.
54613 * string/test-strchr.c: Update.
54614 Add wcschr support.
54617 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54619 * wcsmbs/Makefile (strop-tests): Add wcslen.
54620 * wcsmbs/test-wcslen.c: New file.
54621 * string/test-strlen.c: Update.
54622 Add wcslen support.
54625 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54627 * po/it.po: Update from translation team.
54629 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54631 * sysdeps/x86_64/wcscmp.S: Update.
54632 Fix wrong comparison semantics.
54633 wcscmp shall use signed comparison not unsigned.
54634 Don't use substraction to avoid overflow bug.
54635 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54636 * wcsmbc/wcscmp.c: Likewise.
54637 * string/test-strcmp.c: Likewise.
54638 Add new tests to check cases with negative values.
54640 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54642 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54643 * sysdeps/x86_64/dla.h: ...here. New file.
54644 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54649 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54651 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54654 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54657 __ynl_finite aliases.
54659 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54663 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54665 [DLA_FMA] (EMULV): Use DLA_FMA.
54666 [DLA_FMA] (MUL12): Use EMULV.
54667 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54668 that are not needed.
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/halfulp.c: Likewise.
54674 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54677 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54679 * math/s_nan.c: Undef __nan.
54680 * math/s_nanf.c: Undef __nanf.
54681 * math/s_nanl.c: Undef __nanl.
54682 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54685 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54687 * math/s_catan.c: Add branch predictions.
54688 * math/s_catanf.c: Likewise.
54689 * math/s_catanh.c: Likewise.
54690 * math/s_catanhf.c: Likewise.
54691 * math/s_catanhl.c: Likewise.
54692 * math/s_catanl.c: Likewise.
54693 * math/s_cexp.c: Likewise.
54694 * math/s_cexpf.c: Likewise.
54695 * math/s_cexpl.c: Likewise.
54696 * math/s_clog.c: Likewise.
54697 * math/s_clog10.c: Likewise.
54698 * math/s_clog10f.c: Likewise.
54699 * math/s_clog10l.c: Likewise.
54700 * math/s_clogf.c: Likewise.
54701 * math/s_clogl.c: Likewise.
54702 * math/s_csqrt.c: Likewise.
54703 * math/s_csqrtf.c: Likewise.
54704 * math/s_csqrtl.c: Likewise.
54705 * math/s_ctanf.c: Likewise.
54706 * math/s_ctanh.c: Likewise.
54707 * math/s_ctanhf.c: Likewise.
54708 * math/s_ctanhl.c: Likewise.
54709 * math/s_ctanl.c: Likewise.
54711 * math/math_private.h: Define __nan, __nanf, __nanl.
54712 * math/s_cacosh.c: Include <math_private.h>.
54713 * math/s_cacoshl.c: Likewise.
54714 * math/s_casinh.c: Likewise.
54715 * math/s_casinhf.c: Likewise.
54716 * math/s_casinhl.c: Likewise.
54717 * math/s_ccos.c: Rely entire on ccosh.
54718 * math/s_ccosf.c: Rely entire on ccoshf.
54719 * math/s_ccosl.c: Rely entirely on ccoshl.
54720 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54721 Remove tests for FE_INVALID.
54722 * math/s_ccoshf.c: Likewise.
54723 * math/s_ccoshl.c: Likewise.
54724 * math/s_csin.c: Likewise.
54725 * math/s_csinf.c: Likewise.
54726 * math/s_csinh.c Likewise.
54727 * math/s_csinhf.c: Likewise.
54728 * math/s_csinhl.c: Likewise.
54729 * math/s_csinl.c: Likewise.
54730 * math/s_ctan.c: Likewise.
54731 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54732 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54733 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54735 2011-10-21 Ulrich Drepper <drepper@gmail.com>
54737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54738 compilation problems.
54740 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54743 2011-10-20 Ulrich Drepper <drepper@gmail.com>
54745 * sysdeps/i386/configure.in: Test for -mfma4 option.
54746 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54747 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54748 COMMON_CPUID_INDEX_80000001.
54749 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54750 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54751 use it if FMA3 is not supported.
54752 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54754 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54755 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54757 2011-10-20 Andreas Schwab <schwab@redhat.com>
54760 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54761 it would create a cycle with a link time dependency.
54763 2011-10-19 Ulrich Drepper <drepper@gmail.com>
54765 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54767 * string/Makefile (strop-tests): Add rawmemchr.
54768 * string/test-rawmemchr.c: New file.
54770 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54772 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54773 when compiling str{,n}casecmp and when AVX is available. Hook up
54774 new optimized code in initializers.
54776 2011-10-19 Andreas Schwab <schwab@redhat.com>
54778 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54779 __feraiseexcept instead of feraiseexcept.
54781 2011-10-18 Ulrich Drepper <drepper@gmail.com>
54783 * math/math_private.h: Define defaults for libc_fetestexcept and
54785 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54786 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54787 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54788 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54789 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54790 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54791 libc_fetestexcept and libc_feupdateenv.
54793 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54794 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54795 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54796 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54797 libc_feholdexcept_setround.
54799 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54800 Add s_nearbyint-c and s_nearbyintf-c.
54801 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54802 nearbyintf inlines.
54803 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54804 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54805 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54806 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54808 * math/math_private.h: Define defaults for libc_fegetround,
54809 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54810 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54811 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54812 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54813 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54814 standard functions.
54815 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54816 Remove comments and hacks for old compiler versions.
54817 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54818 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54819 libc_feholdexceptl.
54821 2011-10-18 Andreas Schwab <schwab@redhat.com>
54823 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54824 (__feraiseexcept_renamed): Add __NTH.
54825 (feraiseexcept): Add __NTH. Rename local variables to fix
54826 namespace violations.
54828 2011-10-17 Ulrich Drepper <drepper@gmail.com>
54830 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54832 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54834 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54835 recently added interfaces.
54836 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54838 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54839 about macro parameter expansion.
54841 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54842 __NO_MATH_INLINES is defined. Cleanups.
54844 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54845 and __floorf is target has SSE4.1.
54846 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54847 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54848 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54849 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54851 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54853 (floorf): Likewise.
54855 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54857 2011-10-17 Andreas Schwab <schwab@redhat.com>
54859 * misc/sys/cdefs.h: Fix last change.
54861 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54864 2011-10-16 Ulrich Drepper <drepper@gmail.com>
54866 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54868 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54869 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54870 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54871 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54872 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54873 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54874 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54875 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54876 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54877 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54878 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54879 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54880 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54881 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54882 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54883 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54884 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54885 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54886 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54887 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54888 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54889 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54891 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54892 ceil, ceilf, floor, floorf.
54894 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54895 Perform IRELATIVE relocations last.
54897 * elf/do-rel.h: Add another parameter nrelative, replacing the
54898 local variable with the same name. Change name of the function
54899 to end in Rel or Rela (uppercase).
54900 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54901 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54902 elf_dynamic_do_##reloc function.
54904 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54906 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54907 is sufficient, at least on modern CPUs.
54909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54911 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54912 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54914 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54916 * math/bits/math-finite.h: Add entries for exp.
54917 * math/e_expl.c: Add __*_finite alias.
54918 * sysdeps/i386/fpu/e_exp.S: Likewise.
54919 * sysdeps/i386/fpu/e_expf.S: Likewise.
54920 * sysdeps/i386/fpu/e_expl.c: Likewise.
54921 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54922 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54923 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54925 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54926 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54927 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54929 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54930 is sufficient, at least on modern CPUs.
54932 * ctype/ctype-info.c (__ctype_init): Define.
54933 * include/ctype.h (__ctype_init): Declare.
54934 (__ctype_b_loc): The variable is always initialized.
54935 (__ctype_toupper_loc): Likewise.
54936 (__ctype_tolower_loc): Likewise.
54937 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54938 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54940 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54942 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54944 * configure.in: Also look in $cxxmachine/include for C++ system
54947 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54949 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54950 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54951 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54952 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54953 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54954 (USE_AS_WMEMCMP): New macro.
54956 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54957 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54958 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54959 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54961 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54962 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54963 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54964 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54965 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54966 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54967 (USE_AS_WMEMCMP): New macro.
54968 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54969 * sysdeps/string/test-memcmp.c: Update.
54970 Fix simple_wmemcmp.
54972 * wcsmbs/wmemcmp.c: Update.
54973 (WMEMCMP): New macro.
54976 2011-10-12 Andreas Jaeger <aj@suse.de>
54979 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54981 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54983 * libio/iofwide.c (do_length): Avoid warning.
54985 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54987 2011-10-14 Ulrich Drepper <drepper@gmail.com>
54989 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54991 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54992 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54993 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54994 * sysdeps/i386/i686/fpu/e_log.S: New file.
54995 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54996 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54998 * ctype/ctype.h: Add support for inlined isXXX functions when
54999 compiling C++ code.
55001 2011-10-14 Andreas Schwab <schwab@redhat.com>
55003 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55005 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55007 2011-10-13 Roland McGrath <roland@hack.frob.com>
55010 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55012 2011-10-13 Andreas Schwab <schwab@redhat.com>
55014 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55015 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55018 * sysdeps/x86_64/memrchr.S: Check for zero size.
55020 * string/stratcliff.c: Add memrchr tests.
55022 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55025 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55026 rawmemchr-sse2 rawmemchr-sse2-bsf.
55027 * sysdeps/i386/i686/multiarch/memchr.S: New file.
55028 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55029 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55030 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55031 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55032 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55033 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55034 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55035 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55036 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55037 * string/memrchr.c (MEMRCHR): New macro.
55039 2011-10-12 Ulrich Drepper <drepper@gmail.com>
55041 Add integration with gcc's -ffinite-math-only and optimize wrapper
55043 * Versions.def: Define GLIBC_2.15 version for libm.
55044 * math/Makefile (headers): Add bits/math-finite.h.
55045 * math/bits/math-finite.h: New file.
55046 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55047 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55048 * math/e_acoshl.c: Add __*_finite alias.
55049 * math/e_acosl.c: Likewise.
55050 * math/e_asinl.c: Likewise.
55051 * math/e_atan2l.c: Likewise.
55052 * math/e_atanhl.c: Likewise.
55053 * math/e_coshl.c: Likewise.
55054 * math/e_exp10.c: Likewise.
55055 * math/e_exp10f.c: Likewise.
55056 * math/e_exp10l.c: Likewise.
55057 * math/e_exp2l.c: Likewise.
55058 * math/e_fmodl.c: Likewise.
55059 * math/e_gammal_r.c: Likewise.
55060 * math/e_hypotl.c: Likewise.
55061 * math/e_j0l.c: Likewise.
55062 * math/e_j1l.c: Likewise.
55063 * math/e_jnl.c: Likewise.
55064 * math/e_lgammal_r.c: Likewise.
55065 * math/e_log10l.c: Likewise.
55066 * math/e_log2l.c: Likewise.
55067 * math/e_logl.c: Likewise.
55068 * math/e_powl.c: Likewise.
55069 * math/e_sinhl.c: Likewise.
55070 * math/e_sqrtl.c: Likewise.
55071 * math/e_scalb.c: Completely rewritten and optimized.
55072 * math/e_scalbf.c: Likewise.
55073 * math/e_scalbl.c: Likewise.
55074 * math/w_acos.c: Likewise.
55075 * math/w_acosf.c: Likewise.
55076 * math/w_acosl.c: Likewise.
55077 * math/w_acosh.c: Likewise.
55078 * math/w_acoshf.c: Likewise.
55079 * math/w_acoshl.c: Likewise.
55080 * math/w_asin.c: Likewise.
55081 * math/w_asinf.c: Likewise.
55082 * math/w_asinl.c: Likewise.
55083 * math/w_atan2.c: Likewise.
55084 * math/w_atan2f.c: Likewise.
55085 * math/w_atan2l.c: Likewise.
55086 * math/w_atanh.c: Likewise.
55087 * math/w_atanhf.c: Likewise.
55088 * math/w_atanhl.c: Likewise.
55089 * math/w_exp10.c: Likewise.
55090 * math/w_exp10f.c: Likewise.
55091 * math/w_exp10l.c: Likewise.
55092 * math/w_fmod.c: Likewise.
55093 * math/w_fmodf.c: Likewise.
55094 * math/w_fmodl.c: Likewise.
55095 * math/w_j0.c: Likewise.
55096 * math/w_j0f.c: Likewise.
55097 * math/w_j0l.c: Likewise.
55098 * math/w_j1.c: Likewise.
55099 * math/w_j1f.c: Likewise.
55100 * math/w_j1l.c: Likewise.
55101 * math/w_jn.c: Likewise.
55102 * math/w_jnf.c: Likewise.
55103 * math/w_log.c: Likewise.
55104 * math/w_logf.c: Likewise.
55105 * math/w_logl.c: Likewise.
55106 * math/w_log10.c: Likewise.
55107 * math/w_log10f.c: Likewise.
55108 * math/w_log10l.c: Likewise.
55109 * math/w_log2.c: Likewise.
55110 * math/w_log2f.c: Likewise.
55111 * math/w_log2l.c: Likewise.
55112 * math/w_pow.c: Likewise.
55113 * math/w_powf.c: Likewise.
55114 * math/w_powl.c: Likewise.
55115 * math/w_remainder.c: Likewise.
55116 * math/w_remainderf.c: Likewise.
55117 * math/w_remainderl.c: Likewise.
55118 * math/w_scalb.c: Likewise.
55119 * math/w_scalbf.c: Likewise.
55120 * math/w_scalbl.c: Likewise.
55121 * math/w_sqrt.c: Likewise.
55122 * math/w_sqrtf.c: Likewise.
55123 * math/w_sqrtl.c: Likewise.
55124 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55125 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
55127 * math/math_private.h: Declare __kernel_standard_f.
55128 * math/w_cosh.c: Remove cruft and optimize a bit.
55129 * math/w_coshf.c: Likewise.
55130 * math/w_coshl.c: Likewise.
55131 * math/w_exp2.c: Likewise.
55132 * math/w_exp2f.c: Likewise.
55133 * math/w_exp2l.c: Likewise.
55134 * math/w_hypot.c: Likewise.
55135 * math/w_hypotf.c: Likewise.
55136 * math/w_hypotl.c: Likewise.
55137 * math/w_lgamma.c: Likewise.
55138 * math/w_lgamma_r.c: Likewise.
55139 * math/w_lgammaf.c: Likewise.
55140 * math/w_lgammaf_r.c: Likewise.
55141 * math/w_lgammal.c: Likewise.
55142 * math/w_lgammal_r.c: Likewise.
55143 * math/w_sinh.c: Likewise.
55144 * math/w_sinhf.c: Likewise.
55145 * math/w_sinhl.c: Likewise.
55146 * math/w_tgamma.c: Likewise.
55147 * math/w_tgammaf.c: Likewise.
55148 * math/w_tgammal.c: Likewise.
55149 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55150 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55151 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55152 Minor optimizations. Pretty printing. Remove cruft.
55153 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55154 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55155 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55156 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55157 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55158 * sysdeps/i386/fpu/e_asin.S: Likewise.
55159 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55160 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55161 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55162 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55163 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55164 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55165 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55166 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55167 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55168 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55169 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55170 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55171 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55172 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55173 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55174 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55175 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55176 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55177 * sysdeps/i386/fpu/e_log.S: Likewise.
55178 * sysdeps/i386/fpu/e_log10.S: Likewise.
55179 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55180 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55181 * sysdeps/i386/fpu/e_log2.S: Likewise.
55182 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55183 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55184 * sysdeps/i386/fpu/e_logf.S: Likewise.
55185 * sysdeps/i386/fpu/e_logl.S: Likewise.
55186 * sysdeps/i386/fpu/e_pow.S: Likewise.
55187 * sysdeps/i386/fpu/e_powf.S: Likewise.
55188 * sysdeps/i386/fpu/e_powl.S: Likewise.
55189 * sysdeps/i386/fpu/e_remainder.S: Likewise.
55190 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55191 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55192 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55193 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55194 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55195 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55196 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55197 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55198 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55199 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55201 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55202 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55203 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55204 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55205 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55206 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55207 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55208 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55209 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55211 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55212 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55214 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55215 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55218 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55219 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55220 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55221 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55222 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55223 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55224 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55225 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55226 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55227 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55229 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55230 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55231 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55232 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55233 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55234 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55235 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55236 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55237 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55238 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55239 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55240 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55241 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55242 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55243 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55244 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55245 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55246 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55247 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55248 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55249 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55250 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55251 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55252 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55253 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55254 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55255 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55256 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55257 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55258 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55259 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55262 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55263 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55264 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55265 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55266 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55267 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55268 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55269 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55270 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55272 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55273 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55274 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55275 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55276 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55277 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55278 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55279 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55280 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55281 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55282 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55283 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55284 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55285 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55286 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55287 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55288 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55289 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55290 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55291 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55292 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55293 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55294 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55295 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55296 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55297 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55298 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55299 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55300 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55301 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55302 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55303 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55304 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55305 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55306 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55307 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55308 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55309 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55310 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55311 (__isnanf): Likewise.
55312 (__isinf_ns): Likewise.
55313 (__isinf_nsf): Likewise.
55314 (__finite): Likewise.
55315 (__finitef): Likewise.
55316 (__ieee754_sqrt): Define as macro.
55317 (__ieee754_sqrtf): Define as macro.
55318 (__ieee754_sqrtl): Define as macro.
55319 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55321 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55322 __FINITE_MATH_ONLY__ consistent.
55323 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55325 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55327 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55330 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55332 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55334 * po/ja.po: Update from translation team.
55336 2011-10-08 Roland McGrath <roland@hack.frob.com>
55338 * locale/programs/locarchive.c (prepare_address_space): New function.
55339 (create_archive, enlarge_archive, open_archive): Use it.
55341 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55342 inside [SHARED], where it is used.
55344 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55346 * nss/getent.c (netgroup_keys): Remove unused variable.
55347 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55349 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55351 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55352 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55354 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55355 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55356 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55357 * math/Makefile (libm-calls): Add s_isinf_ns.
55358 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55359 * math/multc3.c: Likewise.
55360 * math/s_casin.c: Likewise.
55361 * math/s_casinf.c: Likewise.
55362 * math/s_casinl.c: Likewise.
55363 * math/s_ccos.c: Likewise.
55364 * math/s_ccosf.c: Likewise.
55365 * math/s_ccosl.c: Likewise.
55366 * math/s_ctan.c: Likewise.
55367 * math/s_ctanf.c: Likewise.
55368 * math/s_ctanh.c: Likewise.
55369 * math/s_ctanhf.c: Likewise.
55370 * math/s_ctanhl.c: Likewise.
55371 * math/s_ctanl.c: Likewise.
55372 * math/w_fmod.c: Likewise.
55373 * math/w_fmodf.c: Likewise.
55374 * math/w_fmodl.c: Likewise.
55375 * math/w_remainder.c: Likewise.
55376 * math/w_remainderf.c: Likewise.
55377 * math/w_remainderl.c: Likewise.
55378 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55379 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55380 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55382 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55383 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55384 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55385 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55387 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55389 * stdio-common/printf_fphex.c: Likewise.
55390 * stdio-common/printf_size.c: Likewise.
55392 * math/e_exp10.c: Include math_private.h using <...> not "...".
55393 * math/e_exp10f.c: Likewise.
55394 * math/e_exp10l.c: Likewise.
55395 * math/e_exp2l.c: Likewise.
55396 * math/e_j0l.c: Likewise.
55397 * math/e_j1l.c: Likewise.
55398 * math/e_jnl.c: Likewise.
55399 * math/e_lgammal_r.c: Likewise.
55400 * math/e_rem_pio2l.c: Likewise.
55401 * math/e_scalb.c: Likewise.
55402 * math/e_scalbf.c: Likewise.
55403 * math/e_scalbl.c: Likewise.
55404 * math/k_cosl.c: Likewise.
55405 * math/k_sinl.c: Likewise.
55406 * math/k_tanl.c: Likewise.
55407 * math/s_cacoshf.c: Likewise.
55408 * math/s_catan.c: Likewise.
55409 * math/s_catanf.c: Likewise.
55410 * math/s_catanh.c: Likewise.
55411 * math/s_catanhf.c: Likewise.
55412 * math/s_catanhl.c: Likewise.
55413 * math/s_catanl.c: Likewise.
55414 * math/s_ccosh.c: Likewise.
55415 * math/s_ccoshf.c: Likewise.
55416 * math/s_ccoshl.c: Likewise.
55417 * math/s_cexp.c: Likewise.
55418 * math/s_cexpf.c: Likewise.
55419 * math/s_cexpl.c: Likewise.
55420 * math/s_clog.c: Likewise.
55421 * math/s_clog10.c: Likewise.
55422 * math/s_clog10f.c: Likewise.
55423 * math/s_clog10l.c: Likewise.
55424 * math/s_clogf.c: Likewise.
55425 * math/s_clogl.c: Likewise.
55426 * math/s_csin.c: Likewise.
55427 * math/s_csinf.c: Likewise.
55428 * math/s_csinh.c: Likewise.
55429 * math/s_csinhf.c: Likewise.
55430 * math/s_csinhl.c: Likewise.
55431 * math/s_csinl.c: Likewise.
55432 * math/s_csqrt.c: Likewise.
55433 * math/s_csqrtf.c: Likewise.
55434 * math/s_csqrtl.c: Likewise.
55435 * math/s_ctan.c: Likewise.
55436 * math/s_ctanf.c: Likewise.
55437 * math/s_ctanh.c: Likewise.
55438 * math/s_ctanhf.c: Likewise.
55439 * math/s_ctanhl.c: Likewise.
55440 * math/s_ctanl.c: Likewise.
55441 * math/s_ldexp.c: Likewise.
55442 * math/s_ldexpf.c: Likewise.
55443 * math/s_ldexpl.c: Likewise.
55444 * math/s_significand.c: Likewise.
55445 * math/s_significandf.c: Likewise.
55446 * math/s_significandl.c: Likewise.
55447 * math/w_acos.c: Likewise.
55448 * math/w_acosf.c: Likewise.
55449 * math/w_acosh.c: Likewise.
55450 * math/w_acoshf.c: Likewise.
55451 * math/w_acoshl.c: Likewise.
55452 * math/w_acosl.c: Likewise.
55453 * math/w_asin.c: Likewise.
55454 * math/w_asinf.c: Likewise.
55455 * math/w_asinl.c: Likewise.
55456 * math/w_atan2.c: Likewise.
55457 * math/w_atan2f.c: Likewise.
55458 * math/w_atan2l.c: Likewise.
55459 * math/w_atanh.c: Likewise.
55460 * math/w_atanhf.c: Likewise.
55461 * math/w_atanhl.c: Likewise.
55462 * math/w_cosh.c: Likewise.
55463 * math/w_coshf.c: Likewise.
55464 * math/w_coshl.c: Likewise.
55465 * math/w_dremf.c: Likewise.
55466 * math/w_exp10.c: Likewise.
55467 * math/w_exp10f.c: Likewise.
55468 * math/w_exp10l.c: Likewise.
55469 * math/w_exp2.c: Likewise.
55470 * math/w_exp2f.c: Likewise.
55471 * math/w_fmod.c: Likewise.
55472 * math/w_fmodf.c: Likewise.
55473 * math/w_fmodl.c: Likewise.
55474 * math/w_hypot.c: Likewise.
55475 * math/w_hypotf.c: Likewise.
55476 * math/w_hypotl.c: Likewise.
55477 * math/w_j0.c: Likewise.
55478 * math/w_j0f.c: Likewise.
55479 * math/w_j0l.c: Likewise.
55480 * math/w_j1.c: Likewise.
55481 * math/w_j1f.c: Likewise.
55482 * math/w_j1l.c: Likewise.
55483 * math/w_jn.c: Likewise.
55484 * math/w_jnf.c: Likewise.
55485 * math/w_jnl.c: Likewise.
55486 * math/w_lgamma.c: Likewise.
55487 * math/w_lgamma_r.c: Likewise.
55488 * math/w_lgammaf.c: Likewise.
55489 * math/w_lgammaf_r.c: Likewise.
55490 * math/w_lgammal.c: Likewise.
55491 * math/w_lgammal_r.c: Likewise.
55492 * math/w_log.c: Likewise.
55493 * math/w_log10.c: Likewise.
55494 * math/w_log10f.c: Likewise.
55495 * math/w_log10l.c: Likewise.
55496 * math/w_log2.c: Likewise.
55497 * math/w_log2f.c: Likewise.
55498 * math/w_log2l.c: Likewise.
55499 * math/w_logf.c: Likewise.
55500 * math/w_logl.c: Likewise.
55501 * math/w_pow.c: Likewise.
55502 * math/w_powf.c: Likewise.
55503 * math/w_powl.c: Likewise.
55504 * math/w_remainder.c: Likewise.
55505 * math/w_remainderf.c: Likewise.
55506 * math/w_remainderl.c: Likewise.
55507 * math/w_scalb.c: Likewise.
55508 * math/w_scalbf.c: Likewise.
55509 * math/w_scalbl.c: Likewise.
55510 * math/w_sinh.c: Likewise.
55511 * math/w_sinhf.c: Likewise.
55512 * math/w_sinhl.c: Likewise.
55513 * math/w_sqrt.c: Likewise.
55514 * math/w_sqrtf.c: Likewise.
55515 * math/w_sqrtl.c: Likewise.
55516 * math/w_tgamma.c: Likewise.
55517 * math/w_tgammaf.c: Likewise.
55518 * math/w_tgammal.c: Likewise.
55520 * po/ja.po: Update from translation team.
55522 2011-09-29 Andreas Jaeger <aj@suse.de>
55525 * sunrpc/netname.c (netname2host): Fix logic.
55529 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55531 * math/w_remainder.c (__remainder): Likewise.
55532 * math/w_remainderf.c (__remainderf): Likewise.
55533 * math/libm-test.inc (remainder_test): Add test cases.
55535 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55537 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55540 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55542 * string/test-memcmp.c: Avoid unncessary #defines.
55543 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55545 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55547 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55548 Use new sse2 version for core i3 - i7 as it's faster
55549 than sse42 version.
55550 (bit_Prefer_PMINUB_for_stringop): New.
55551 * sysdeps/x86_64/rawmemchr.S: Update.
55552 Replace with faster SSE2 version.
55553 * sysdeps/x86_64/memrchr.S: New file.
55554 * sysdeps/x86_64/memchr.S: Update.
55555 Replace with faster SSE2 version.
55557 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55559 * elf/dl-load.c (lose): Add cast to avoid warning.
55561 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55563 * po/ca.po: Update from translation team.
55565 * inet/getnetgrent_r.c: Hook up nscd.
55566 * nscd/Makefile (routines): Add nscd_netgroup.
55567 (nscd-modules): Add netgroupcache.
55568 (CFLAGS-netgroupcache.c): Define.
55569 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55570 (cache_search): Add const to second parameter.
55571 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55573 (dbs): Add netgrdb entry.
55574 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55575 (verify_persistent_db): Handle netgrdb.
55576 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55577 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55579 (netgroup_response_header): Define.
55580 (innetgroup_response_header): Define.
55581 (datahead): Add netgroup_response_header and innetgroup_response_header
55583 * nscd/nscd.conf: Add entries for netgroup cache.
55584 * nscd/nscd.h (dbtype): Add netgrdb.
55585 (_PATH_NSCD_NETGROUP_DB): Define.
55586 (netgroup_iov_disabled): Declare.
55587 (xmalloc, xcalloc, xrealloc): Move declarations here.
55588 (cache_search): Adjust prototype.
55589 Add netgroup-related prototypes.
55590 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55591 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55592 (__nscd_innetgr): Declare.
55593 * nscd/selinux.c (perms): Use access_vector_t as element type and
55594 add netgroup-related initializers.
55595 * nscd/netgroupcache.c: New file.
55596 * nscd/nscd_netgroup.c: New file.
55597 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55598 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55599 For four parameters use innetgr.
55600 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55601 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55602 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55603 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55605 * nscd/connections.c (register_traced_file): Don't register file
55606 for disabled databases.
55608 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55610 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55612 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55613 from tree and freeing node.
55615 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55617 * nss/nsswitch.c (__nss_database_lookup): Handle
55618 nss_parse_service_list out of memory case.
55620 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55622 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55623 out of memory case.
55625 2011-10-04 Andreas Schwab <schwab@redhat.com>
55627 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55628 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55630 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55631 elf_machine_rela, elf_machine_lazy_rel.
55632 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55633 (ELF_DYNAMIC_DO_REL): Likewise.
55634 (ELF_DYNAMIC_DO_RELA): Likewise.
55635 (ELF_DYNAMIC_RELOCATE): Likewise.
55636 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55637 to ELF_DYNAMIC_DO_REL.
55638 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55639 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55640 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55642 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55643 skip_ifunc, don't call ifunc function if non-zero.
55644 (elf_machine_rela): Likewise.
55645 (elf_machine_lazy_rel): Likewise.
55646 (elf_machine_lazy_rela): Likewise.
55647 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55648 (elf_machine_lazy_rel): Likewise.
55649 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55651 (elf_machine_lazy_rel): Likewise.
55652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55654 (elf_machine_lazy_rel): Likewise.
55655 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55656 (elf_machine_lazy_rel): Likewise.
55657 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55658 (elf_machine_lazy_rel): Likewise.
55659 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55660 (elf_machine_lazy_rel): Likewise.
55661 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55662 (elf_machine_lazy_rel): Likewise.
55663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55664 (elf_machine_lazy_rel): Likewise.
55665 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55666 (elf_machine_lazy_rel): Likewise.
55668 2011-09-28 Ulrich Drepper <drepper@gmail.com>
55670 * nss/nss_files/files-init.c (_nss_files_init): Use static
55671 initialization for all the *_traced_file variables.
55673 2011-09-28 Andreas Schwab <schwab@redhat.com>
55675 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55677 2011-09-27 Roland McGrath <roland@hack.frob.com>
55680 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55682 2011-09-27 Andreas Schwab <schwab@redhat.com>
55684 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55685 Reread the line before reparsing it.
55687 2011-09-26 Andreas Schwab <schwab@redhat.com>
55689 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55691 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55692 Maxim Kuvyrkov <maxim@codesourcery.com>
55693 Joseph Myers <joseph@codesourcery.com>
55695 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55696 if needed for __stack_chk_guard.
55698 2011-09-19 Roland McGrath <roland@hack.frob.com>
55700 * sysdeps/posix/spawni.c (script_execute): Always define it.
55701 It will be optimized away if unused.
55702 (maybe_script_execute): New function.
55703 (__spawni): Call it.
55705 * Makerules: Don't include tls.make.
55706 (config-tls): Always set to thread.
55707 * tls.make.c: File removed.
55709 2011-09-19 Mike Frysinger <vapier@gentoo.org>
55711 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55712 * config.make.in (CPPFLAGS-config): New substituted variable.
55714 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55716 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55719 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55720 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55722 2011-09-15 Roland McGrath <roland@hack.frob.com>
55724 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55725 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55727 (CALL_FAIL): Likewise.
55728 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55729 (CALL_FAIL): Macro removed.
55730 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55732 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55734 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55735 for __FINITE_MATH_ONLY__ == 1.
55737 2011-09-15 Andreas Schwab <schwab@redhat.com>
55739 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55740 __ieee754_sqrt instead of sqrt.
55741 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55742 __ieee754_sqrtf instead of sqrtf.
55743 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55744 __floorf instead of floorf.
55745 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55746 __floorf, __truncf instead of floorf, truncf.
55748 2011-09-14 Ulrich Drepper <drepper@gmail.com>
55750 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55752 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55753 __extern_always_inline.
55754 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55757 2011-09-14 Andreas Schwab <schwab@redhat.com>
55759 * elf/rtld.c (dl_main): Also relocate in dependency order when
55760 doing symbol dependency testing.
55762 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55764 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55765 Always define `refsym'.
55767 2011-09-13 Andreas Schwab <schwab@redhat.com>
55769 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55770 (__FD_ELT): Renamed from __FDELT.
55771 * misc/bits/select2.h (__FD_ELT): Likewise.
55772 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55773 __FD_MASK instead of __FDELT, __FDMASK.
55774 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55776 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55779 * elf/Makefile (gen-ldd): Fix pattern.
55781 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55782 (init_tls): Likewise.
55784 2011-09-12 Ulrich Drepper <drepper@gmail.com>
55786 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55788 2011-09-12 Andreas Schwab <schwab@redhat.com>
55790 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55791 `struct cmsghdr *' instead of `void *'.
55792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55795 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55797 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55799 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55800 ldd_rewrite_script.
55802 2011-09-11 Ulrich Drepper <drepper@gmail.com>
55804 * configure.in: Remove --with-tls option.
55805 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55806 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55807 out in case it is missing.
55808 * sysdeps/ia64/elf/configure.in: Likewise.
55809 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55810 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55811 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55812 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55813 * sysdeps/sh/elf/configure.in: Likewise.
55814 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55815 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55816 * sysdeps/x86_64/elf/configure.in: Likewise.
55817 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55818 * sysdeps/mach/hurd/tls.h: Likewise.
55821 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55824 * configure.in: Fix use of AC_INIT.
55826 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55828 2011-09-10 Ulrich Drepper <drepper@gmail.com>
55830 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55832 * malloc/hooks.c: Likewise.
55835 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55836 variables statically.
55837 (narenas): Initialize.
55838 (list_lock): Initialize.
55839 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55840 initializtion of main_arena and list_lock. Small cleanups.
55841 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55842 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55843 Add initializers to main_arena and mp_.
55844 (malloc_state): Remove pagesize member. Change all users to use
55847 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55848 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55849 is always initialized.
55851 * malloc/malloc.c: Removed unused configurations and dead code.
55852 * malloc/arena.c: Likewise.
55853 * malloc/hooks.c: Likewise.
55854 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55856 * include/tls.h: Removed. USE___THREAD must always be defined.
55857 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55858 * elf/dl-libc.c: Likewise.
55859 * elf/dl-tsd.c: Likewise.
55860 * include/errno.h: Likewise.
55861 * include/netdb.h: Likewise.
55862 * include/resolv.h: Likewise.
55863 * inet/herrno-loc.c: Likewise.
55864 * inet/herrno.c: Likewise.
55865 * malloc/arena.c: Likewise.
55866 * malloc/hooks.c: Likewise.
55867 * malloc/malloc.c: Likewise.
55868 * resolv/res-state.c: Likewise.
55869 * resolv/res_libc.c: Likewise.
55870 * sysdeps/i386/dl-machine.h: Likewise.
55871 * sysdeps/ia64/dl-machine.h: Likewise.
55872 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55873 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55874 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55875 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55876 * sysdeps/sh/dl-machine.h: Likewise.
55877 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55878 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55879 * sysdeps/unix/i386/sysdep.S: Likewise.
55880 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55881 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55883 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55886 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55890 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55891 * sysdeps/x86_64/dl-machine.h: Likewise.
55892 * tls.make.c: Likewise.
55894 * configure.in: Remove --with-__thread option. Make tests for
55895 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55896 tls_model attribute fail if no support is available. Remove
55898 * Makeconfig: Adjust for dropped configure option. All features are
55900 * Makerules: Likewise.
55901 * Versions.def: Likewise.
55902 * argp/argp-fmtstream.c: Likewise.
55903 * argp/argp-fmtstream.h: Likewise.
55904 * argp/argp-help.c: Likewise.
55905 * assert/assert.c: Likewise.
55906 * config.h.in: Likewise.
55907 * config.make.in: Likewise.
55908 * configure: Likewise.
55909 * configure.in: Likewise.
55910 * csu/Versions: Likewise.
55911 * csu/init.c: Likewise.
55912 * elf/tst-audit2.c: Likewise.
55913 * elf/tst-tls10.c: Likewise.
55914 * elf/tst-tls10.h: Likewise.
55915 * elf/tst-tls11.c: Likewise.
55916 * elf/tst-tls12.c: Likewise.
55917 * elf/tst-tls14.c: Likewise.
55918 * elf/tst-tlsmod11.c: Likewise.
55919 * elf/tst-tlsmod12.c: Likewise.
55920 * elf/tst-tlsmod13.c: Likewise.
55921 * elf/tst-tlsmod13a.c: Likewise.
55922 * elf/tst-tlsmod14a.c: Likewise.
55923 * elf/tst-tlsmod15b.c: Likewise.
55924 * elf/tst-tlsmod16a.c: Likewise.
55925 * elf/tst-tlsmod16b.c: Likewise.
55926 * elf/tst-tlsmod7.c: Likewise.
55927 * elf/tst-tlsmod8.c: Likewise.
55928 * elf/tst-tlsmod9.c: Likewise.
55929 * gmon/gmon.c: Likewise.
55930 * grp/fgetgrent_r.c: Likewise.
55931 * grp/putgrent.c: Likewise.
55932 * hurd/fopenport.c: Likewise.
55933 * include/libc-symbols.h: Likewise.
55934 * include/tls.h: Likewise.
55935 * intl/gettextP.h: Likewise.
55936 * intl/loadinfo.h: Likewise.
55937 * locale/global-locale.c: Likewise.
55938 * locale/localeinfo.h: Likewise.
55939 * mach/devstream.c: Likewise.
55940 * malloc/arena.c: Likewise.
55941 * malloc/set-freeres.c: Likewise.
55942 * misc/err.c: Likewise.
55943 * misc/getttyent.c: Likewise.
55944 * misc/mntent_r.c: Likewise.
55945 * posix/getopt.c: Likewise.
55946 * posix/wordexp.c: Likewise.
55947 * pwd/fgetpwent_r.c: Likewise.
55948 * resolv/Versions: Likewise.
55949 * resolv/res_hconf.c: Likewise.
55950 * shadow/fgetspent_r.c: Likewise.
55951 * shadow/putspent.c: Likewise.
55952 * stdio-common/printf_fphex.c: Likewise.
55953 * stdio-common/tmpfile.c: Likewise.
55954 * stdlib/abort.c: Likewise.
55955 * stdlib/fmtmsg.c: Likewise.
55956 * sunrpc/auth_unix.c: Likewise.
55957 * sunrpc/clnt_perr.c: Likewise.
55958 * sunrpc/clnt_tcp.c: Likewise.
55959 * sunrpc/clnt_udp.c: Likewise.
55960 * sunrpc/clnt_unix.c: Likewise.
55961 * sunrpc/openchild.c: Likewise.
55962 * sunrpc/svc_simple.c: Likewise.
55963 * sunrpc/svc_tcp.c: Likewise.
55964 * sunrpc/svc_udp.c: Likewise.
55965 * sunrpc/svc_unix.c: Likewise.
55966 * sunrpc/xdr.c: Likewise.
55967 * sunrpc/xdr_array.c: Likewise.
55968 * sunrpc/xdr_rec.c: Likewise.
55969 * sunrpc/xdr_ref.c: Likewise.
55970 * sunrpc/xdr_stdio.c: Likewise.
55972 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55974 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55976 2011-07-03 Andreas Jaeger <aj@suse.de>
55978 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55979 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55980 regenerate with gen-libm-tests.pl.
55982 2010-05-12 Petr Baudis <pasky@suse.cz>
55985 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55986 around j0() zero points by switching to j1().
55987 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55988 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55989 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55990 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55992 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55994 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55996 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55998 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55999 Patch in part by Pavel Roskin <proski@gnu.org>.
56002 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56004 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
56005 Free memory block if necessary.
56008 * libio/genops.c (INTDEF): For string streams the _lock pointer can
56009 be NULL. Don't lock in this case.
56011 2011-09-09 Roland McGrath <roland@hack.frob.com>
56013 * elf/elf.h (ELFOSABI_GNU): New macro.
56014 (ELFOSABI_LINUX): Define to that.
56016 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
56018 * string/strncat.c (strncat): Undef the symbol in case it has been
56019 defined in bits/string.h.
56021 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56023 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56025 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56028 2011-08-17 Andreas Jaeger <aj@suse.de>
56030 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56032 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
56033 Ian Lance Taylor <iant@google.com>
56035 * math/libm-test.inc (lround_test): New testcase.
56036 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56038 2011-09-08 Ulrich Drepper <drepper@gmail.com>
56040 * Makefile: Remove support for automatic cvs check-ins.
56041 * Makerules: Likewise.
56042 * config.make.in: Likewise.
56043 * configure.in: Likewise.
56044 * intl/Makefile: Likewise.
56045 * locale/Makefile: Likewise.
56046 * po/Makefile: Likewise.
56047 * posix/Makefile: Likewise.
56048 * sysdeps/gnu/Makefile: Likewise.
56049 * sysdeps/mach/hurd/Makefile: Likewise.
56050 * sysdeps/sparc/sparc32/Makefile: Likewise.
56053 * posix/Makefile (bug-regex32-ENV): Define.
56054 Patch by John Stanley <jpsinthemix@verizon.net>.
56056 * misc/Makefile (headers): Add bits/select2.h.
56057 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56058 * misc/bits/select2.h: New file.
56059 * include/bits/select2.h: New file.
56060 * debug/Makefile (routines): Add fdelt_chk.
56061 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56062 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56064 * debug/fdelt_chk.c: New file.
56066 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56067 * wcsmbs/test-wmemcmp.c: Likewise.
56068 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56069 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56071 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56073 * string/Makefile (strop-tests): Add memcmp.
56074 * string/test-wmemcmp.c: New file.
56075 * string/test-memcmp.c: Add wmemcmp support.
56077 2011-09-08 Roland McGrath <roland@hack.frob.com>
56080 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56083 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56084 garbage value in a __mach_port_mod_refs call in the cases of the
56085 task-self and thread-self ports.
56087 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56089 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56091 2011-09-08 Andreas Schwab <schwab@redhat.com>
56093 * elf/dl-load.c (lose): Check for non-null L.
56095 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56097 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56099 * elf/dl-libc.c (dlerror_run): Pass back error code from
56103 * elf/dl-load.c (lose): Free l_origin if it is valid.
56105 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56107 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56108 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56109 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56110 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56111 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56112 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56114 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56116 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56117 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56118 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56119 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56120 * sysdeps/powerpc/fpu/k_cosf.c: New file.
56121 * sysdeps/powerpc/fpu/k_sinf.c: New file.
56122 * sysdeps/powerpc/fpu/s_cosf.c: New file.
56123 * sysdeps/powerpc/fpu/s_sinf.c: New file.
56124 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56125 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56127 2011-08-15 Alan Modra <amodra@gmail.com>
56130 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56131 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56132 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
56133 ppc_mcount to static-only-routines.
56134 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56136 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56137 __mcount_internal with usual JUMPTARGET. Remove useless nop.
56139 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
56141 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56142 for finite and infinity parameters.
56144 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56146 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56147 and add nop instructions for throughput optimization.
56148 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56150 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56152 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56153 aligned copy for power7 with vector-scalar instructions.
56154 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56156 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56161 2011-09-07 Andreas Schwab <schwab@redhat.com>
56164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56167 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56169 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56170 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56171 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56172 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56175 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56177 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56178 Forgot to demangle the pointer.
56180 * sysdeps/i386/sysdep.h: Define atom_text_section.
56181 * sysdeps/x86_64/sysdep.h: Likewise.
56182 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56183 section with atom_text_section.
56184 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56185 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56186 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56188 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56190 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56191 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56192 already be defined. Change to take two parameters and don't assign
56193 result to variable. Adjust all users.
56194 Define INTERNAL_GETTIME if not already defined.
56195 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56198 HAVE_CLOCK_GETTIME_VSYSCALL.
56199 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56202 gettimeofday vsyscall, just use time.
56204 2011-09-06 Andreas Schwab <schwab@redhat.com>
56206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56209 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56211 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56215 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56216 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56217 syscall if possible.
56219 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56221 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56222 e_ident. Don't pass to find_mapsXX.
56223 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56225 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56228 strchr-sse2-no-bsf strrchr-sse2-no-bsf
56229 * sysdeps/x86_64/multiarch/strchr.S: Update.
56230 Check bit_slow_BSF bit.
56231 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56232 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56233 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56235 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56238 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56240 (tryshell): Define.
56241 (__spawni): Change last parameter to be flag. Test
56242 SPAWN_XFLAGS_USE_PATH flag to use path or not.
56243 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56244 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56245 * posix/spawni.c: Likewise.
56246 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56247 * posix/spawnp.c: Likewise. Change normal version to use
56248 SPAWN_XFLAGS_USE_PATH.
56249 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56250 SPAWN_XFLAGS_TRY_SHELL.
56253 * posix/glob.h: Remove gcc 1.x support.
56256 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56258 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56261 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56263 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56264 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56265 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56266 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56267 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56268 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56270 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56272 * sysdeps/x86_64/wcscmp.S: New file.
56274 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56275 wcscmp-c wcscmp-sse2
56276 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56277 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56278 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56279 * wcsmbs/wcscmp.c: Allow renaming.
56281 2011-09-05 David S. Miller <davem@davemloft.net>
56283 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56284 stack slot, rather than the struct return pointer slot.
56285 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56286 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56288 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56290 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56292 * po/ja.po: Update from translation team.
56295 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56296 kernel in 64-bit binaries.
56298 2011-09-01 David S. Miller <davem@davemloft.net>
56300 * elf/elf.h (HWCAP_SPARC_*): Move to..
56301 * sysdeps/sparc/sysdep.h: this new file and add new values.
56302 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56303 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56304 _DL_HWCAP_COUNT to 24.
56305 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56307 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56308 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56309 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56311 instead of magic constants.
56312 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56314 2011-08-31 David S. Miller <davem@davemloft.net>
56316 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56318 Reimplement to do errno handling inline.
56319 (SYSCALL_ERROR_HANDLER): New macro.
56320 (__SYSCALL_STRING): Do not do errno handling in asm.
56321 (__CLONE_SYSCALL_STRING): Delete.
56322 (__INTERNAL_SYSCALL_STRING): Delete.
56323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56324 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56325 (PSEUDO): Reimplement to do errno handling inline.
56326 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56327 (SYSCALL_ERROR_HANDLER): New macro.
56328 (__SYSCALL_STRING): Do not do errno handling in asm.
56329 (__CLONE_SYSCALL_STRING): Delete.
56330 (__INTERNAL_SYSCALL_STRING): Delete.
56331 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56332 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56334 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56335 (inline_syscall*): Add 'err' argument.
56336 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56337 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56338 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56339 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56341 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56342 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56344 2011-08-30 Andreas Schwab <schwab@redhat.com>
56346 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56348 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56350 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56353 2011-08-24 David S. Miller <davem@davemloft.net>
56355 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56357 2011-08-24 Andreas Schwab <schwab@redhat.com>
56359 * elf/Makefile: Add rules to build and run unload8 test.
56360 * elf/unload8.c: New file.
56361 * elf/unload8mod1.c: New file.
56362 * elf/unload8mod1x.c: New file.
56363 * elf/unload8mod2.c: New file.
56364 * elf/unload8mod3.c: New file.
56366 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56369 2011-08-23 David S. Miller <davem@davemloft.net>
56371 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56372 subtract stack bias.
56373 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56374 %sp not %fp in calculations.
56375 (_JMPBUF_UNWINDS_ADJ): Likewise.
56377 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56378 (aio_suspend): Call it to force an exception region around the
56379 AIO_MISC_WAIT() invocation.
56381 2011-08-23 Andreas Schwab <schwab@redhat.com>
56383 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56386 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56388 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56390 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56391 and <dl-machine.h>.
56392 (Elf64_FuncDesc): Remove.
56394 2011-08-22 David S. Miller <davem@davemloft.net>
56396 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56397 sigaltstack check, add missing cfi directives.
56398 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56399 missing cfi directives, and sigaltstack handling.
56401 2011-08-16 Andreas Schwab <schwab@redhat.com>
56404 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56405 object is seen twice.
56406 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56408 * elf/Makefile (distribute): Add tst-initorder2.c.
56409 (tests): Add tst-initorder2.
56410 (modules-names): Add tst-initorder2a tst-initorder2b
56411 tst-initorder2c tst-initorder2d. Add rules to build them.
56412 ($(objpfx)tst-initorder2.out): New rule.
56413 * elf/tst-initorder2.c: New file.
56414 * elf/tst-initorder2.exp: New file.
56416 2011-08-22 Andreas Schwab <schwab@redhat.com>
56418 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56420 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56421 dependencies back to end of function.
56423 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56424 $(elfobjdir)/ld.so.
56426 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56428 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56429 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56430 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56431 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56432 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56433 of __vdso_gettimeofday.
56434 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56435 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56437 (_libc_vdso_platform_setup): Remove initialization of
56438 __vdso_gettimeofday and __vdso_time.
56440 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56442 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56443 and fgetc_unlocked.
56444 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56447 * elf/dl-open.c (add_to_global): Report additions to the global scope
56448 for LD_DEBUG=scopes.
56449 (dl_open_worker): Also print scope of newly loaded dependencies.
56450 (_dl_show_scope): Indicate if there is no scope.
56453 * stdio-common/Makefile (tests): Add bug24.
56454 * stdio-common/bug24.c: New file.
56456 2011-08-19 Andreas Jaeger <aj@suse.de>
56459 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56460 non-existant file when using close-on-exec mode.
56462 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56464 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56465 the very first instruction.
56467 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56468 the CFI state in the end.
56469 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56470 inclusion of dl-trampoline.h.
56471 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56473 2011-08-19 Andreas Schwab <schwab@redhat.com>
56475 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56476 expectations for long double.
56478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56479 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56481 2011-08-14 David S. Miller <davem@davemloft.net>
56483 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56484 artificual limit depends upon the system page size.
56486 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56488 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56489 * resolv/Makefile: Define CFLAGS-libresolv.
56491 2011-08-17 Andreas Schwab <schwab@redhat.com>
56493 * nss/makedb.c (compute_tables): Make variables used in nested
56496 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56498 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56499 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56500 if buffer was too small.
56502 * elf/pldd.c (main): Attach to all threads in the process.
56503 Rewrite /proc handling to use *at functions.
56505 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56507 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56508 specifies first scope to show.
56509 (dl_open_worker): Update callers. Move printing scope of new
56510 object to before the relocation.
56511 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56512 * sysdeps/generic/ldsodefs.h: Update declaration.
56514 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56515 string for the scope number.
56517 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56519 * nscd/servicescache.c (cache_addserv): Make sure written is always
56522 2011-08-14 Roland McGrath <roland@hack.frob.com>
56524 * sysdeps/i386/i486/bits/atomic.h
56525 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56526 statement expression, so as to suppress "set but not used" warning.
56527 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56529 * string/strncat.c (STRNCAT): Use prototype definition.
56531 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56532 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56534 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56535 (localedef-modules): Add localedef.
56536 (locale-modules): Add locale.
56538 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56539 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56540 to avoid a warning.
56542 2011-08-14 David S. Miller <davem@davemloft.net>
56544 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56545 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56547 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56549 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56550 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56551 * elf/rtld.c (dl_main): Set l_name of vDSO.
56552 Call _dl_show_scope when DL_DEBUG_SCOPES.
56553 (process_dl_debug): Recognize scopes flag and also set it for all.
56554 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56555 Declare _dl_show_scope.
56557 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56558 (do_dlopen): Pass caller_dlopen to dl_open.
56559 (__libc_dlopen_mode): Initialize caller_dlopen.
56561 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56562 of libc. Make tolower call locale-independent. Optimize a bit by
56563 using isdigit instead of isalnum.
56564 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56566 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56568 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56569 was a dependency or dynamically loaded.
56571 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56573 * intl/l10nflist.c: Allow architecture-specific pop function.
56574 * sysdeps/x86_64/l10nflist.c: New file.
56576 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56579 2011-08-10 Andreas Schwab <schwab@redhat.com>
56581 * include/dirent.h: Add libc_hidden_proto for scandirat and
56582 scandirat64. Don't declare __scandirat64.
56583 * dirent/scandirat.c: Add libc_hidden_def.
56584 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56585 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56587 2011-08-10 David S. Miller <davem@davemloft.net>
56589 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56591 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56593 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56595 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56597 * Versions.def [libc]: Add GLIBC_2.15.
56598 * dirent/Makefile (routines): Add scandirat and scandirat64.
56599 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56601 * dirent/dirent.h: Declare scandirat and scandirat64.
56602 * dirent/scandirat.c: New file.
56603 * dirent/scandirat64.c: New file.
56604 * sysdeps/wordsize-64/scandirat.c: New file.
56605 * sysdeps/wordsize-64/scandirat64.c: New file.
56606 * dirent/opendir.c: Define opendirat.
56607 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56609 * dirent/scandir64.c: Adjust for scandir.c change.
56610 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56611 __scandirat64, and __scandir_cancel_handler.
56612 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56613 additional parameter and use openat instead of open (outside of ld.so).
56614 Add new __opendir as wrapper around __opendirat.
56615 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56616 here without requiring old scandirat implementation.
56618 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56620 * dirent/scandir.c (cancel_handler): Renamed to
56621 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56622 defined. Adjust users.
56623 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56624 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56626 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56628 * string/test-string.h (IMPL): Use __STRING to expand name and then
56631 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56634 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56636 * string/Makefile: Update.
56637 (strop-tests): Append strncat.
56638 * string/test-wcscmp.c: New file.
56639 New comprehensive test for wcscmp.
56640 * string/test-strcmp.c: Update.
56641 (WIDE): New define.
56643 2011-07-22 Andreas Schwab <schwab@redhat.com>
56645 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56648 2011-07-26 Andreas Schwab <schwab@redhat.com>
56650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56651 encoding to ACE if AI_IDN.
56653 2011-08-01 Jakub Jelinek <jakub@redhat.com>
56655 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56656 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56658 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56660 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56661 Fix overflow bug in strncat.
56662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56664 * string/test-strncat.c: Update.
56665 Add new tests for checking overflow bugs.
56667 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56670 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56671 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56672 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56673 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56674 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56675 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56676 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56677 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56679 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56680 (USE_AS_STRCAT): Define.
56681 Add strcat and strncat support.
56682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56684 2011-07-25 Andreas Schwab <schwab@redhat.com>
56686 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56687 __n bigger than INT_MAX+1.
56688 (__strncmp_g): Likewise.
56690 2011-07-23 Ulrich Drepper <drepper@gmail.com>
56692 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56693 * libio/stido.h: Likewise.
56695 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56700 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56701 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56702 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56703 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56704 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56707 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56712 (_dl_x86_64_save_sse): Likewise.
56714 2011-07-22 Ulrich Drepper <drepper@gmail.com>
56716 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56718 (_dl_x86_64_save_sse): Likewise.
56720 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56722 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56724 2011-07-21 Andreas Schwab <schwab@redhat.com>
56726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56728 (_dl_x86_64_save_sse): Use correct AVX check.
56730 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56732 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56733 bug in strncpy/strncat.
56734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56736 2011-07-21 Ulrich Drepper <drepper@gmail.com>
56738 * string/tester.c (test_strcat): Add tests for different alignments
56739 of source and destination.
56740 (test_strncat): Likewise.
56742 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56745 * posix/glob.c (glob): Check passed in values before using them in
56746 expressions to avoid some overflows.
56747 (glob_in_dir): Likewise.
56750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56751 check for AVX enablement so that we don't crash with old kernels and
56753 * elf/tst-audit4.c: Add same checks here.
56754 * elf/tst-audit6.c: Likewise.
56756 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56758 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56760 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56762 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56764 * po/cs.po: Update from translation team.
56765 * po/bg.po: Likewise.
56767 2011-07-12 Marek Polacek <mpolacek@redhat.com>
56769 * misc/sys/cdefs.h: Add support for const attribute.
56770 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56771 to gnu_dev_{major,minor,makedev} functions.
56773 2011-07-20 Marek Polacek <mpolacek@redhat.com>
56775 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56777 2011-07-20 Andreas Schwab <schwab@redhat.com>
56779 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56782 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56785 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56786 register in order to avoid conflicts with the soft frame pointer
56787 being held in r11 when necessary.
56788 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56789 (INTERNAL_VSYSCALL_NCS): Likewise.
56791 2011-07-14 Marek Polacek <mpolacek@redhat.com>
56793 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56794 * elf/dl-fini.c (_dl_fini): Adjust caller.
56795 * elf/dl-close.c (_dl_close_worker): Likewise.
56796 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56798 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56800 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56801 "aux_cache->nlibs < 0".
56803 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56804 in the reload-count case.
56806 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56809 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56810 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56811 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56812 * sysdeps/x86_64/multiarch/strcat.S: New file.
56813 * sysdeps/x86_64/multiarch/strncat.S: New file.
56814 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56815 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56816 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56817 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56818 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56819 (USE_AS_STRCAT): Define.
56820 Add strcat and strncat support.
56821 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56822 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56823 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56824 * string/strncat.c: Update.
56825 (USE_AS_STRNCAT): Define.
56826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56827 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56829 * sysdeps/x86_64/multiarch/init-arch.h
56830 (bit_Prefer_PMINUB_for_stringop): New.
56831 (index_Prefer_PMINUB_for_stringop): Likewise.
56832 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56833 bit_Prefer_PMINUB_for_stringop.
56835 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56837 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56839 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56840 of casting of buffer.
56841 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56842 buffer32 and buffer64.
56843 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56844 writes instead of casting of buffer.
56845 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56847 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56850 2011-07-19 Andreas Schwab <schwab@redhat.com>
56852 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56854 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56856 * nscd/nscd.c (termination_handler): Don't do anything for a database
56857 if it has not yet been initialized.
56859 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56861 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56863 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56865 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56867 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56869 * po/nl.po: Update from translation team.
56870 * po/sv.po: Likewise.
56872 2011-07-16 Roland McGrath <roland@hack.frob.com>
56874 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56875 now disallowed by GCC.
56877 * configure.in (use-default-link): Default to yes if a test -shared
56878 link meets our qualifications.
56879 * configure: Regenerated.
56881 * config.make.in (output-format): New variable.
56882 * configure.in: Check for ld --print-output-format support.
56883 * configure: Regenerated.
56884 * Makerules ($(common-objpfx)format.lds)
56885 [$(output-format) != unknown]: Just use $(output-format),
56886 instead of the linker-script munging.
56888 2011-07-14 Roland McGrath <roland@hack.frob.com>
56890 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56891 of $(common-objpfx)shlib.lds.
56892 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56894 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56895 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56897 * configure.in (-z relro check): Adjust test code to add a large
56898 writable data section after it.
56899 * configure: Regenerated.
56901 2011-07-11 Roland McGrath <roland@hack.frob.com>
56903 * configure.in (-z relro check): Fix test code to make the variable
56905 * configure: Regenerated.
56907 2011-07-11 Ulrich Drepper <drepper@gmail.com>
56909 * nscd/nscd.h (struct traced_file): Define.
56910 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56911 elements. Add traced_files.
56912 (inotify_fd): Declare.
56913 (register_traced_file): Declare.
56914 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56915 (inotify_fd): Export.
56916 (resolv_conf_descr): Remove.
56917 (nscd_init): Move inotify descriptor creation to main.
56918 Don't register files for notification here.
56919 (register_traced_file): New function.
56920 (invalidate_cache): Don't use reset_res to determine whether to call
56921 res_init, go through the list of registered files.
56922 (main_loop_poll): The inotify descriptors are now stored in the
56923 structures for the traced files.
56924 (main_loop_epoll): Likewise
56925 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56926 to __nss_disable_nscd.
56927 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56928 for a database anymore. Check the records for all the registered
56930 * nss/Makefile (libnss_files-routines): Add files-init.
56931 (libnss_db-routines): Add db-init.
56932 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56933 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56934 * nss/nss_db/db-init.c: New file.
56935 * nss/nss_files/files-init.c: New file.
56936 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56937 __nss_lookup_function.
56938 (__nss_lookup_function): Call nss_load_library.
56939 (nss_load_all_libraries): New function.
56940 (__nss_disable_nscd): Take parameter with callback function for files
56941 to register. Set is_nscd. Load all the DSOs for the NSS modules
56942 used for the cached services.
56943 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56944 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56945 options for features to all the files in nscd.
56947 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56949 2011-07-10 Roland McGrath <roland@hack.frob.com>
56951 * csu/elf-init.c (__libc_csu_init): Comment typo.
56953 2011-07-09 Ulrich Drepper <drepper@gmail.com>
56955 * po/pl.po: Update from translation team.
56956 * po/ja.po: Likewise.
56957 * po/ru.po: Likewise.
56958 * po/ko.po: Likewise.
56959 * po/fr.po: Likewise.
56961 2011-07-09 Roland McGrath <roland@hack.frob.com>
56963 * configure.in (.ctors/.dtors header and trailer check):
56964 Use an empirical test on a built program.
56965 * configure: Regenerated.
56967 * configure.in (-z relro check): Use an empirical test on a built DSO.
56968 Detect, but do not require, on ia64.
56969 * configure: Regenerated.
56971 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56972 Update tests that use readelf to use $READELF instead.
56973 * configure: Regenerated.
56975 2011-07-08 Ulrich Drepper <drepper@gmail.com>
56977 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56978 if the result is not used.
56980 2011-07-05 Andreas Jaeger <aj@suse.de>
56983 * stdlib/tst-strtod.c: Add testcase.
56985 2011-07-07 Ulrich Drepper <drepper@gmail.com>
56987 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56988 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56989 The latter has a higher limit. Take additional parameter to pass to
56991 (__pathconf): Pass file to __statfs_link_max.
56992 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56994 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56998 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56999 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57001 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57002 (__statfs_filesize_max): Likewise.
57003 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57005 2011-07-05 Andreas Jaeger <aj@suse.de>
57007 * resolv/res_comp.c (dn_skipname): Remove unused variable.
57009 2011-07-06 Marek Polacek <mpolacek@redhat.com>
57011 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57013 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57016 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
57018 * Makefile (strop-tests): Add strncat.
57019 * string/test-strncat.c: New file.
57021 2011-06-30 Marek Polacek <mpolacek@redhat.com>
57023 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57025 2011-06-21 Andreas Jaeger <aj@suse.de>
57027 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57028 Copy rule from iconvdata/Makefile.
57030 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57033 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57034 but no long options are defined, just return 'W'.
57036 2011-06-22 Marek Polacek <mpolacek@redhat.com>
57039 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57041 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57043 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57045 (innetgr): Likewise.
57047 2011-07-05 Roland McGrath <roland@hack.frob.com>
57049 * config.make.in (install_root): Default to $(DESTDIR).
57051 2011-07-05 Ulrich Drepper <drepper@gmail.com>
57053 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57055 2011-07-02 Roland McGrath <roland@hack.frob.com>
57057 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57059 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57060 containing directory rather than embedding absolute directory names.
57062 * scripts/check-local-headers.sh: Rewritten using awk.
57063 Match by word, not by line. Print error messages for matches.
57064 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57066 * Makerules [shlib-lds-flags empty]:
57067 ($(common-objpfx)libc_pic.opts): New target.
57068 ($(common-objpfx)libc_pic.os.clean): New target.
57069 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57071 * config.make.in (OBJCOPY): New variable.
57072 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57073 * configure: Regenerated.
57075 * config.make.in (use-default-link): New variable.
57076 * configure.in (use_default_link): Grok --with-default-link to set it.
57077 * configure: Regenerated.
57078 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57079 (shlib-lds, shlib-lds-flags): Define to empty.
57081 * Makerules (shlib-lds): New variable.
57082 (shlib-lds-flags): New variable.
57083 (build-shlib, build-moduile, build-module-asneeded): Use it.
57084 ($(common-objpfx)libc.so): Use $(shlib-lds).
57085 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57086 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57088 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57089 DT_FLAGS/DT_FLAGS_1 with zero flags.
57091 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57092 linker script munging.
57094 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57096 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57098 * crypt/sha512.c (sha512_process_block): Perform total addition using
57099 128-bit if possible.
57100 (__sha512_finish_ctx): Likewise.
57101 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57103 * crypt/sha256.c (SWAP64): Define.
57104 (sha256_process_block): Perform total addition using 64-bit if
57106 (__sha256_finish_ctx): Likewise.
57108 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57110 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57111 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57112 * nscd/hstcache.c (cache_addhst): Likewise.
57113 * nscd/grpcache.c (cache_addgr): Likewise.
57114 * nscd/aicache.c (addhstaiX): Likewise
57115 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57117 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
57119 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57120 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57121 * nscd/hstcache.c (cache_addhst): Likewise.
57122 * nscd/grpcache.c (cache_addgr): Likewise.
57123 * nscd/aicache.c (addhstaiX): Likewise
57125 2011-07-01 Andreas Schwab <schwab@redhat.com>
57127 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57128 domain only when needed.
57130 2011-06-30 Andreas Schwab <schwab@redhat.com>
57132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57133 is always restored.
57135 2011-06-29 Ulrich Drepper <drepper@gmail.com>
57137 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57138 are re-adding the entry.
57139 * nscd/servicescache.c (cache_addserv): Likewise.
57141 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
57143 * sysdeps/generic/dl-irel.h: fix protection against multiple
57145 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57147 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57150 * malloc/memusage.sh: Fix quoting in message.
57151 * debug/xtrace.sh: Likewise.
57153 * configure.in: Remove support for --experimental-malloc option, make
57155 * config.make.in: Likewise.
57156 * malloc/Makefile: Likewise.
57158 2011-06-27 Andreas Schwab <schwab@redhat.com>
57160 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57161 two-byte characters.
57163 2011-06-27 Roland McGrath <roland@hack.frob.com>
57165 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57166 AC_CACHE_CHECK invocation.
57167 * configure: Regenerated.
57169 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57171 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57174 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57175 bit from old_res_options.
57177 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57179 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57180 value type for setfct.
57182 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
57184 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57185 __gettimeofday instead of gettimeofday.
57187 2011-06-26 Ulrich Drepper <drepper@gmail.com>
57189 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57191 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
57193 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57195 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57198 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57201 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57202 strcpy-sse2-unaligned strncpy-sse2-unaligned
57203 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57204 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57205 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57206 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57207 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57208 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57209 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57210 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57211 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57212 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57213 (STRCPY): Support SSE2 and SSSE3 versions.
57215 2011-06-24 Ulrich Drepper <drepper@gmail.com>
57218 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57219 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57220 kernels which artificially limit size of requests.
57222 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57225 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57226 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57227 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57228 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57229 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57230 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57231 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57232 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57234 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57235 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57236 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57237 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57238 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57240 Enable unaligned load optimization for Intel Core i3, i5 and i7
57242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57244 (index_Fast_Unaligned_Load): Define.
57245 (HAS_FAST_UNALIGNED_LOAD): Define.
57247 2011-06-23 Marek Polacek <mpolacek@redhat.com>
57249 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57251 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57254 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57255 until it is clear that the information is realy needed.
57256 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57258 2011-06-22 Andreas Schwab <schwab@redhat.com>
57260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57262 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57264 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57265 /sys/devices/system/cpu/online if it is usable.
57267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57268 reading the information from the /proc filesystem to once a second.
57270 2011-06-21 Andreas Jaeger <aj@suse.de>
57272 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57273 NULL after inclusion of kernel headers.
57275 2011-06-21 Ulrich Drepper <drepper@gmail.com>
57277 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57278 calls to internal_setent.
57281 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57282 addresses using gethostbyname4_r ignore IPv4 addresses.
57284 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57285 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57287 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57289 2011-06-20 David S. Miller <davem@davemloft.net>
57291 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57293 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57295 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57296 (elf_irel): Use it.
57297 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57298 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57299 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57300 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57301 * sysdeps/x86_64/dl-irel.h: Likewise.
57303 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57304 * elf/dl-sym.c: Likewise.
57306 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57308 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57309 need to dereference resplen2.
57311 2011-06-14 Andreas Schwab <schwab@redhat.com>
57313 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57315 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57317 * Makeconfig: Define vardbdir and inst_vardbdir.
57318 * nss/Makefile: Add rules to install db-Makefile.
57320 * nss/nss_db/db-XXX.c: Cleanup.
57322 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57323 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57325 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57326 * nss/makedb.c: Implement -g option to specify that value strings
57327 are generated and should not be added to table iterated over for
57329 * nss/nss_db/db-initgroups.c: New file.
57331 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57334 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57335 (internal_getgrouplist): Adjust to name change.
57336 Update use_initgroups_entry if this is not the first call.
57337 * nss/databases.def: Add initgroups entry.
57339 * nss/makedb.c (compute_tables): Check result of multiple hash table
57340 sizes to minimize maximum chain length.
57342 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57344 * Versions.def: Add entry for libnss_db.
57345 * shlib-versions: Likewise.
57346 * nss/Makefile: Add rules to build libnss_db.
57347 * nss/Versions: Add libnss_db information. Organize libnss_files
57349 * nss/db-Makefile: Add gshadow support. Change rules for the new
57350 makedb progra. Some minor improvements to generate smaller files.
57351 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57353 * nss/makedb.c: ...here.
57354 Improve database format to be smaller and require less memory at
57356 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57358 * nss/nss_db/db-netgrp.c: Likewise.
57359 * nss/nss_db/db-open.c: Likewise.
57360 * nss/nss_files/flies-XXX.x: Adjust comments.
57361 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57362 * nss/nss_files/files-grp.c: Likewise.
57363 * nss/nss_files/files-hosts.c: Likewise.
57364 * nss/nss_files/files-network.c: Likewise.
57365 * nss/nss_files/files-proto.c: Likewise.
57366 * nss/nss_files/files-pwd.c: Likewise.
57367 * nss/nss_files/files-rpc.c: Likewise.
57368 * nss/nss_files/files-service.c: Likewise.
57369 * nss/nss_files/files-sgrp.c: Likewise.
57370 * nss/nss_files/files-spwd.c: Likewise.
57371 * nss/nss_db/db-alias.c: Removed.
57372 * nss/nss_db/dummy-db.h: Removed.
57374 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57376 * nss/makedb.c: Rewritten to not use database library.
57377 * nss/Makefile: Update to build new makedb program.
57379 2011-06-14 Andreas Jaeger <aj@suse.de>
57381 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57382 memset declaration.
57384 2011-06-10 Andreas Schwab <schwab@redhat.com>
57386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57389 2011-06-10 Roland McGrath <roland@hack.frob.com>
57391 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57392 * elf/Makefile ($(objpfx)ld.so): Likewise.
57394 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57395 Don't list ld.so twice in dependencies.
57397 * posix/bug-regex31.c: Include <stdlib.h>.
57399 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57401 * nis/nss_compat/compat-spwd.c
57402 (getspent_next_nss_netgr): Remove unused variable.
57403 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57405 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57406 nonmembers" output to use the right array.
57408 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57410 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57412 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57413 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57414 * catgets/gencat.c (read_input_file): Likewise.
57415 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57417 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57418 variable definition inside #if's controlling its use.
57420 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57422 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57424 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57426 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57429 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57431 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57432 * configure: Regenerated.
57434 * Makerules: Revert last change.
57435 * elf/Makefile: Likewise.
57437 2011-06-09 Roland McGrath <roland@hack.frob.com>
57439 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57440 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57441 (reloc-link): Likewise.
57443 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57445 * elf/Makefile: Add rules to build pldd.
57446 * elf/pldd.c: New file.
57447 * elf/pldd-xx.c: New file.
57449 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57451 * version.h: Update for 2.15 development version.
57453 2011-06-07 David S. Miller <davem@davemloft.net>
57455 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57457 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57458 elf_machine_lazy_rel): Likewise.
57459 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57460 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57461 elf_machine_lazy_rel): Likewise.
57462 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57463 dl_hwcap via passed in argument.
57464 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57467 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57469 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57471 2011-06-06 Roland McGrath <roland@hack.frob.com>
57474 * manual/fdl-1.1.texi: New file, verbatim from:
57475 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57476 * manual/lgpl-2.1.texi: New file, verbatim from:
57477 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57478 * manual/Makefile (licenses): New variable, list those new file names.
57480 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57482 * manual/fdl.texi: File removed.
57483 * manual/lesser.texi: File removed.
57484 * manual/libc.texinfo (Copying, Documentation License):
57485 Use new @include file names, put @appendix directive before @include.
57487 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57490 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57491 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57492 (mq_open): Add __NTH.
57494 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57497 Assume Intel Core i3/i5/i7 processor if AVX is available.
57499 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57504 2011-05-31 Andreas Schwab <schwab@redhat.com>
57506 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57507 memory. Use alloca_account. Fix memory leak when retrying.
57509 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57511 * version.h (RELEASE): Bump for 2.14 release.
57512 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57514 * config.make.in (RANLIB): Remove entry.
57516 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57518 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57519 (libc.pot): Work around missing support for .ksh extension in xgettext.
57522 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57523 if both request failed.
57524 (send_dg): In case of server errors clear resplen or *resplen2.
57527 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57528 when there are multiple maps.
57529 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57530 (_dl_fini): Remove test here.
57532 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57534 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57537 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57538 bit from old_res_options.
57539 (gaih_inet): Likewise.
57542 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57545 * resolv/res_init.c (res_setoptions): Make the code more compact.
57548 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57552 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57554 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57557 * malloc/malloc.h: Declare malloc hook variables as volatile.
57559 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57563 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57564 raise in the comment.
57565 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57566 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57567 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57569 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57572 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57573 grow the buffers more if it already has to be sufficient.
57574 (build_wcs_upper_buffer): Likewise.
57575 * posix/regexec.c (check_matching): Likewise.
57576 (clean_state_log_if_needed): Likewise.
57577 (extend_buffers): Don't enlarge buffers beyond size of the input
57579 Patches mostly by Emil Wojak <emil@wojak.eu>.
57580 * posix/bug-regex32.c: New file.
57581 * posix/Makefile (tests): Add bug-regex32.
57583 * locale/findlocale.c (_nl_find_locale): Return right away if
57584 _nl_explode_name failed.
57585 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57587 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57589 * debug/xtrace.sh: Unify messages.
57590 * malloc/memusage.sh: Likewise.
57593 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57594 time symbol from vDSO. Substitute with vsyscall if not available.
57595 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57598 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57599 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57600 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57601 Add sendmmsg and internal_sendmmsg.
57602 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57603 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57604 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57606 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57607 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57608 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57610 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57613 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57614 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57620 * iconvdata/Makefile (tests): Add bug-iconv9.
57621 * iconvdata/bug-iconv9.c: New file.
57623 2011-05-27 Andreas Schwab <schwab@redhat.com>
57626 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57628 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57630 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57631 (struct user_regs_struct): Change intcs field back to cs.
57633 2011-05-25 Ulrich Drepper <drepper@gmail.com>
57635 * po/ja.po: Update from translation team.
57637 2011-05-23 Ulrich Drepper <drepper@gmail.com>
57640 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57641 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57643 2011-05-20 Andreas Schwab <schwab@redhat.com>
57645 * stdlib/longlong.h: Update from GCC.
57647 2011-05-23 Andreas Schwab <schwab@redhat.com>
57649 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57651 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57652 Add parameter name.
57653 (__sysconf): Pass it down.
57655 2011-05-22 Ulrich Drepper <drepper@gmail.com>
57658 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57660 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57661 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57662 add in in __libc_use_alloca calls. Adjust callers.
57663 (glob): Use malloc in some situations.
57665 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57666 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57669 2011-05-21 Ulrich Drepper <drepper@gmail.com>
57671 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57672 and CLOCK_BOOTTIME_ALARM.
57675 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57678 * string/_strerror.c (__strerror_r): Print negative errors as signed
57682 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57683 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57684 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57686 * configure.in: Fix typo in redirection and correct removal of test
57687 files in two cases.
57690 * locale/setlocale.c (new_composite_name): Fix test to check for
57691 identical name of all categories.
57694 * libio/filedoalloc.c (local_isatty): New function.
57695 (_IO_file_doallocate): Use local_isatty.
57696 * stdio-common/perror.c (perror): In case a new stream is used
57697 forward the stream error.
57698 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57701 2011-05-20 Ulrich Drepper <drepper@gmail.com>
57704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57706 * include/alloca.h (extend_alloca_account): Define.
57709 * posix/regex.h: Fix comments with documentation of user-accessible
57710 fields after compilation and describe correct free'ing of pattern
57711 after re_compile_pattern.
57712 Patch by Reuben Thomas <rrt@sc3d.org>.
57714 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57716 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57717 and -mno-altivec to prevent the compiler from using Altivec and/or
57718 VSX instructions when the corresponding registers are not available.
57720 2011-05-19 Andreas Schwab <schwab@redhat.com>
57722 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57724 2011-05-19 Ulrich Drepper <drepper@gmail.com>
57726 * libio/freopen.c (freopen): Use __dup2, not dup2.
57727 * libio/freopen64.c (freopen64): Likewise.
57729 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57732 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57733 * math/Makefile (tests): Add test-powl.
57734 (CFLAGS-test-powl.c): Define.
57735 * math/test-powl.c: New file.
57737 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57739 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57741 2011-05-17 Ulrich Drepper <drepper@gmail.com>
57744 * iconvdata/gb18030.c: Update to GB18020-2005.
57746 2011-05-16 Ulrich Drepper <drepper@gmail.com>
57748 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57749 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57750 Patch by Aharon Robbins <arnold@skeeve.com>.
57753 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57757 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57758 through underflows.
57761 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57762 point to strings before performing equality test for error_one_per_line
57766 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57769 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57770 (struct user_fpregs_struct): Avoid __uint*_t types.
57773 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57774 symbol info. Use it instead of calling _dl_addr locally.
57775 (lock_and_info): New function.
57776 (tr_freehook): Call lock_and_info and pass symbol info as additional
57777 parameter to tr_where.
57778 (tr_mallochook): Likewise.
57779 (tr_reallochook): Likewise.
57780 (tr_memalignhook): Likewise.
57782 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57783 used and couldn't be at all thread-safe.
57785 2011-05-15 Ulrich Drepper <drepper@gmail.com>
57787 * libio/freopen.c (freopen): Don't close old file descriptor
57788 before the new one is opened. Instead dup the new file descriptor
57789 to the old one after the new stream is created.
57790 * libio/freopen64.c (freopen64): Likewise.
57791 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57792 * libio/fileops.c (_IO_new_file_close_it): Handle new
57793 _IO_FLAGS2_NOCLOSE flag.
57794 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57795 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57796 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57797 _IO_FLAGS2_NOCLOSE flag.
57798 * include/unistd.h: Add hidden_proto for dup3.
57799 Define __have_dup3.
57800 * io/dup3.c: Define hidden symbol.
57801 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57804 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57805 when an incomplete long option is used.
57806 * posix/tst-getopt_long1.c: New file.
57807 * posix/Makefile (tests): Add tst-getopt_long1.
57810 * scripts/config.guess: Update from autoconf-2.68.
57811 * scripts/config.sub: Likewise.
57814 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57816 (has_cpuclock): ...this. New function.
57817 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57818 macro here based on has_cpuclock code.
57821 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57822 First byte (not low byte) is now always NUL.
57823 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57825 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57826 Use non-cancelable interfaces.
57829 * locale/iso-639.def: Add entry for Sorani.
57832 * include/stdlib.h: Move include protection to the right place.
57833 Define abort_msg_s. Declare __abort_msg with it.
57834 * stdlib/abort.c (__abort_msg): Adjust type.
57835 * assert/assert.c (__assert_fail_base): New function. Majority
57836 of code from __assert_fail. Allocate memory for __abort_msg with
57838 (__assert_fail): Now call __assert_fail_base.
57839 * assert/assert-perr.c: Remove bulk of implementation. Use
57840 __assert_fail_base.
57841 * include/assert.hL Declare __assert_fail_base.
57842 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57844 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57846 2011-05-14 Ulrich Drepper <drepper@gmail.com>
57850 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57851 until all modules are registered in the DTV.
57852 * elf/Makefile: Add rules to build and run tst-tls19.
57853 * elf/tst-tls19.c: New file.
57854 * elf/tst-tls19mod1.c: New file.
57855 * elf/tst-tls19mod2.c: New file.
57856 * elf/tst-tls19mod3.c: New file.
57857 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57860 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57864 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57865 two-byte sequence errors.
57866 * iconvdata/Makefile (tests): Add bug-iconv8.
57867 * iconvdata/bug-iconv8.c: New file.
57870 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57873 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57876 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57877 (dummy_getcfa): New function.
57878 (init): Get _Unwind_GetCFA address, use dummy if not found.
57879 (backtrace_helper): In recursion check, also check whether CFA changes.
57880 (__backtrace): Completely initialize arg.
57882 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57883 storing incomplete byte sequence in state object. Avoid testing for
57884 guaranteed too small input if we know there is enough data available.
57886 2011-05-11 Andreas Schwab <schwab@redhat.com>
57888 * Makeconfig (+link-pie): Indent.
57889 * Rules (binaries-pie): Define if $(have-fpie) and
57891 (binaries-shared): Also filter out $(binaries-pie).
57892 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57893 * nscd/Makefile (others-pie): Add nscd.
57894 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57895 ($(objpfx)nscd): Remove command override.
57896 * login/Makefile (others-pie): Add pt_chown.
57897 ($(objpfx)pt_chown): Remove command override.
57898 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57899 remove command overrides.
57901 2011-05-13 Ulrich Drepper <drepper@gmail.com>
57903 * libio/tst_putwc.c: Fix error messages.
57906 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57907 currently writing and seek to current position when not.
57908 * libio/Makefile (tests): Add bug-fclose1.
57909 * libio/bug-fclose1.c: New file.
57911 2011-05-12 Ulrich Drepper <drepper@gmail.com>
57914 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57915 don't set DF_1_NODELETE here.
57916 (do_lookup_x): When entering new entry test for copy relocation
57917 and if necessary set DF_1_NODELETE flag.
57918 * elf/tst-unique4.cc: New file.
57919 * elf/tst-unique4.h: New file.
57920 * elf/tst-unique4lib.cc: New file.
57921 * elf/Makefile: Add rules to build and run tst-unique4.
57922 Patch by Piotr Bury <pbury@goahead.com>.
57924 2011-05-11 Ulrich Drepper <drepper@gmail.com>
57927 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57930 * misc/mntent_r.c (addmntent): Flush the stream after the output
57933 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57934 (is_trusted_path_normalize): Skip initial colon. Append slash
57935 to empty buffer. Duplicate is_trusted_path code but allow
57936 constructed patch to be prefix.
57937 (is_dst): Allow $ORIGIN followed by /.
57938 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57939 Correct testing of result of is_trusted_path_normalize
57940 (decompose_rpath): Fix warning.
57942 2011-05-10 Ulrich Drepper <drepper@gmail.com>
57945 * grp/initgroups.c (internal_getgrouplist): When we found the service
57946 list through the initgroups entry in nsswitch.conf do not always
57947 continue on a successful lookup. Don't always use the
57948 __nss_group_database value if it is set.
57949 * nss/nsswitch.conf (initgroups): Change action for successful db
57950 lookup to continue for compatibility.
57952 2011-05-09 Ulrich Drepper <drepper@gmail.com>
57955 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57957 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57959 * iconvdata/tst-tables.sh: Likewise.
57960 * iconvdata/cp770.c: New file.
57961 * iconvdata/cp771.c: New file.
57962 * iconvdata/cp772.c: New file.
57963 * iconvdata/cp773.c: New file.
57964 * iconvdata/cp774.c: New file.
57965 * iconvdata/testdata/CP770: New file.
57966 * iconvdata/testdata/CP770..UTF8: New file.
57967 * iconvdata/testdata/CP771: New file.
57968 * iconvdata/testdata/CP771..UTF8: New file.
57969 * iconvdata/testdata/CP772: New file.
57970 * iconvdata/testdata/CP772..UTF8: New file.
57971 * iconvdata/testdata/CP773: New file.
57972 * iconvdata/testdata/CP773..UTF8: New file.
57973 * iconvdata/testdata/CP774: New file.
57974 * iconvdata/testdata/CP774..UTF8: New file.
57976 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57978 * iconvdata/gen-8bit-gap.sh: Likewise.
57979 * iconvdata/gen-8bit.sh: Likewise.
57981 * locale/iso-639.def: Add ary entry.
57984 * locale/C-translit.h.in: Add U20A1 transliteration.
57987 * locale/iso-639.def: Add wae entry.
57988 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57991 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57995 * locale/C-translit.h.in: Add entry for U20B9.
57996 Patch by pravin.d.s@gmail.com.
57998 2011-05-08 Ulrich Drepper <drepper@gmail.com>
58001 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58002 ENAMETOOLONG use generic getcwd.
58003 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
58004 in rtld. Use *stat64.
58005 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58006 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58007 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58008 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58009 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58010 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58011 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58012 __fstatat64 macros.
58013 * include/dirent.h: Add libc_hidden_proto for rewinddir.
58014 * dirent/rewinddir.c: Add libc_hidden_def.
58015 * sysdeps/mach/hurd/rewinddir.c: Likewise.
58016 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
58018 * include/dirent.h (__alloc_dir): Add flags parameter.
58019 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58020 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58022 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
58023 from fdopendir if O_CLOEXEC is already set.
58025 2011-03-15 Alan Modra <amodra@gmail.com>
58027 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58028 l_tls_firstbyte_offset non-zero. Save padding offset in
58029 l_tls_firstbyte_offset for later use.
58030 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58031 freeing static tls block.
58033 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
58035 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58036 where #ifdef was intended. The intent is to prevent ARG_MAX from
58037 being defined by the kernel headers.
58039 2011-05-07 Ulrich Drepper <drepper@gmail.com>
58042 * resolv/resolv.h: Define RES_NOTLDQUERY.
58043 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58044 no-tld-query and set RES_NOTLDQUERY.
58045 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58046 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58047 modern BIND to search name as TLD unless forbidden.
58049 2011-05-07 Petr Baudis <pasky@suse.cz>
58050 Ulrich Drepper <drepper@gmail.com>
58053 * elf/dl-load.c (fillin_rpath): Move trusted path check...
58054 (is_trusted_path): ...to here.
58055 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58056 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58057 using is_trusted_path_normalize() in setuid scripts.
58059 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58061 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58062 __BEGIN/__END_DECLS.
58064 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58066 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58067 NSS_STATUS_NOTFOUND if no record was found.
58069 2011-05-05 Andreas Schwab <schwab@redhat.com>
58071 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58072 (headers-not-in-tirpc): Remove rpc/netdb.h
58073 * resolv/netdb.h: Revert last change.
58075 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58077 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58078 circular dependency between libgcc.a and libc.a.
58080 2011-05-05 Andreas Schwab <schwab@redhat.com>
58082 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58083 * nis/Makefile: Don't install rpcsvc/*.
58084 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58085 instead of <rpc/types.h>.
58086 (MAXHOSTNAMELEN): Define.
58088 2011-05-03 Andreas Schwab <schwab@redhat.com>
58090 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58092 2011-04-28 Maciej Babinski <mbabinski@google.com>
58095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58096 gethostbyname4_r when IPv6 results are possible.
58098 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58101 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58102 _PC_PIPE_BUF handling.
58104 2011-04-30 Bruno Haible <bruno@clisp.org>
58107 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58108 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58110 * inet/getnameinfo.c (getnameinfo): Likewise.
58112 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58114 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58115 to groups setting in database lookup.
58116 * nss/nsswitch.conf: Add initgroups entry.
58118 2011-04-22 Ulrich Drepper <drepper@gmail.com>
58121 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58123 Patch by Eric Blake <eblake@redhat.com>.
58125 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
58127 * sunrpc/Makefile (need-export-routines): Add svc_run.
58128 (routines): Remove svc_run.
58129 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58130 * sunrpc/clnt_perr.c (clnt_perrno): Export.
58131 * sunrpc/svc_run.c (svc_run): Likewise.
58132 * sunrpc/svc_udp.c (svcudp_create): Likewise.
58134 2011-04-21 Ulrich Drepper <drepper@gmail.com>
58136 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58137 problem in reallocation in last patch.
58139 2011-04-20 Ulrich Drepper <drepper@gmail.com>
58141 * sunrpc/Makefile: Move inclusion of Rules.
58143 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58145 * nss/nss_files/files-initgroups.c: New file.
58146 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58147 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58148 _nss_files_initgroups_dyn.
58150 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58152 * elf/elf.h (R_ARM_IRELATIVE): Define.
58154 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58156 * po/ru.po: Update from translation team.
58158 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58160 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58163 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58166 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58167 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58168 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58170 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58172 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58174 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58176 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58178 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58180 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58183 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58185 * stdlib/bug-getcontext.c: New file.
58186 * stdlib/Makefile: Add rules to build and run bug-getcontext.
58188 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58190 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58191 instructions into .machine "z9-109".
58192 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58193 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58195 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58197 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58198 between environment variables and auxiliary vector.
58200 2011-04-16 Ulrich Drepper <drepper@gmail.com>
58202 * Makefile: Add rules to build linkobj/libc.so.
58203 * include/libc-symbols.h: Define libc_hidden_nolink.
58204 * include/rpc/auth.h: Mark functions which are to be hidden.
58205 * include/rpc/auth_des.h: Likewise.
58206 * include/rpc/auth_unix.h: Likewise.
58207 * include/rpc/clnt.h: Likewise.
58208 * include/rpc/des_crypt.h: Likewise.
58209 * include/rpc/key_prot.h: Likewise.
58210 * include/rpc/pmap_clnt.h: Likewise.
58211 * include/rpc/pmap_prot.h: Likewise.
58212 * include/rpc/pmap_rmt.h: Likewise.
58213 * include/rpc/rpc_msg.h: Likewise.
58214 * include/rpc/svc.h: Likewise.
58215 * include/rpc/svc_auth.h: Likewise.
58216 * include/rpc/xdr.h: Likewise.
58217 * nis/Makefile: Link all DSOs against linkobj/libc.so.
58218 * nss/Makefile: Likewise.
58219 * sunrpc/Makefile: Don't install headers. Build library with normal
58220 entry points. Don't build rpcinfo. Link RPC tests appropriately.
58221 * sunrpc/auth_des.c: Hide exported symbols by default, export some
58222 for the compat linking library. Remove use of INTDEF/INTUSE.
58223 * sunrpc/auth_none.c: Likewise.
58224 * sunrpc/auth_unix.c: Likewise.
58225 * sunrpc/authdes_prot.c: Likewise.
58226 * sunrpc/authuxprot.c: Likewise.
58227 * sunrpc/clnt_gen.c: Likewise.
58228 * sunrpc/clnt_perr.c: Likewise.
58229 * sunrpc/clnt_raw.c: Likewise.
58230 * sunrpc/clnt_simp.c: Likewise.
58231 * sunrpc/clnt_tcp.c: Likewise.
58232 * sunrpc/clnt_udp.c: Likewise.
58233 * sunrpc/clnt_unix.c: Likewise.
58234 * sunrpc/des_crypt.c: Likewise.
58235 * sunrpc/des_soft.c: Likewise.
58236 * sunrpc/get_myaddr.c: Likewise.
58237 * sunrpc/key_call.c: Likewise.
58238 * sunrpc/key_prot.c: Likewise.
58239 * sunrpc/netname.c: Likewise.
58240 * sunrpc/pm_getmaps.c: Likewise.
58241 * sunrpc/pm_getport.c: Likewise.
58242 * sunrpc/pmap_clnt.c: Likewise.
58243 * sunrpc/pmap_prot.c: Likewise.
58244 * sunrpc/pmap_prot2.c: Likewise.
58245 * sunrpc/pmap_rmt.c: Likewise.
58246 * sunrpc/publickey.c: Likewise.
58247 * sunrpc/rpc_cmsg.c: Likewise.
58248 * sunrpc/rpc_common.c: Likewise.
58249 * sunrpc/rpc_dtable.c: Likewise.
58250 * sunrpc/rpc_prot.c: Likewise.
58251 * sunrpc/rpc_thread.c: Likewise.
58252 * sunrpc/rtime.c: Likewise.
58253 * sunrpc/svc.c: Likewise.
58254 * sunrpc/svc_auth.c: Likewise.
58255 * sunrpc/svc_authux.c: Likewise.
58256 * sunrpc/svc_raw.c: Likewise.
58257 * sunrpc/svc_run.c: Likewise.
58258 * sunrpc/svc_simple.c: Likewise.
58259 * sunrpc/svc_tcp.c: Likewise.
58260 * sunrpc/svc_udp.c: Likewise.
58261 * sunrpc/svc_unix.c: Likewise.
58262 * sunrpc/svcauth_des.c: Likewise.
58263 * sunrpc/xcrypt.c: Likewise.
58264 * sunrpc/xdr.c: Likewise.
58265 * sunrpc/xdr_array.c: Likewise.
58266 * sunrpc/xdr_float.c: Likewise.
58267 * sunrpc/xdr_intXX_t.c: Likewise.
58268 * sunrpc/xdr_mem.c: Likewise.
58269 * sunrpc/xdr_rec.c: Likewise.
58270 * sunrpc/xdr_ref.c: Likewise.
58271 * sunrpc/xdr_sizeof.c: Likewise.
58272 * sunrpc/xdr_stdio.c: Likewise.
58274 2011-04-10 Ulrich Drepper <drepper@gmail.com>
58277 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58278 * sysdeps/ia64/dl-tls.h: Likewise.
58279 * sysdeps/powerpc/dl-tls.h: Likewise.
58280 * sysdeps/s390/dl-tls.h: Likewise.
58281 * sysdeps/sh/dl-tls.h: Likewise.
58282 * sysdeps/sparc/dl-tls.h: Likewise.
58283 * sysdeps/x86_64/dl-tls.h: Likewise.
58284 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58286 2011-03-14 Andreas Schwab <schwab@redhat.com>
58288 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58289 rpath element also skip the following colon.
58290 (expand_dynamic_string_token): Add is_path parameter and pass
58291 down to DL_DST_REQUIRED and _dl_dst_substitute.
58292 (decompose_rpath): Call expand_dynamic_string_token with
58293 non-zero is_path. Ignore empty rpaths.
58294 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58297 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58302 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58305 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58306 Patch by Filipe David Manana <fdmanana@apache.org>.
58308 2011-04-07 Andreas Schwab <schwab@redhat.com>
58310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58311 Maintain aligned stack.
58312 (CHECK_RSP): Remove unused macro.
58314 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58316 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58317 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58319 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58321 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58323 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58325 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58328 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58329 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58330 * sysdeps/x86_64/memmove.c: New file.
58331 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58332 (memcpy): Renamed to ...
58333 (__new_memcpy): This.
58334 (memcpy): Provide GLIBC_2_14 memcpy.
58335 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58336 (memcpy): Provide GLIBC_2_2_5 memcpy.
58338 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58341 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58343 2011-03-30 Andreas Schwab <schwab@redhat.com>
58345 * misc/syncfs.c: New file.
58346 * misc/Makefile (routines): Add syncfs.
58347 * posix/unistd.h: Declare syncfs.
58348 * sysdeps/unix/syscalls.list: Add syncfs.
58350 2011-04-01 Andreas Schwab <schwab@redhat.com>
58352 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58354 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58355 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58357 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58359 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58360 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58362 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58365 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58366 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58370 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58372 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58373 sync_file_range.c with -fexceptions.
58374 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58375 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58376 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58377 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58378 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58379 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58381 sync_file_range as cancellation point
58382 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58383 now a wrapper around __call_sync_file_range with cancellation handling.
58384 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58385 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58386 function name to __call_sync_file_range.
58387 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58388 Add call_sync_file_range.
58390 2011-04-01 Andreas Schwab <schwab@redhat.com>
58392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58395 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58397 * iconv/iconv.h: Fix typo in comment.
58398 * io/fcntl.h: Likewise.
58399 * libio/stdio.h: Likewise.
58400 * posix/spawn.h: Likewise.
58401 * posix/unistd.h: Likewise.
58402 * stdlib/stdlib.h: Likewise.
58403 * time/time.h: Likewise.
58404 * wcsmbs/wchar.h: Likewise.
58406 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58407 open_by_handle): Add.
58408 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58409 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58410 Augment a few comments.
58411 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58415 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58416 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58419 * io/fcntl.h (AT_EMPTY_PATH): Define.
58421 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58423 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58424 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58425 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58427 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58428 * Versions.def: Add GLIBC_2.14.
58429 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58432 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58434 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58436 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58438 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58441 * string/test-strncmp.c (do_page_test): New function.
58442 (check2): Likewise.
58443 (test_main): Call check2.
58444 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58446 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58449 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58450 Handle cache information in CPU leaf 4.
58451 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58453 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58456 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58457 character representation.
58458 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58460 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58462 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58463 END(__isnan) to END(__isnanf) to match function entry point/label
58464 EALIGN(__isnanf,...).
58466 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58468 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58470 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58473 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58474 copy from the symbol referenced in the relocation to initialize the
58476 Patch by Piotr Bury <pbury@goahead.com>.
58477 * elf/Makefile: Add rules to build and tst-unique3.
58478 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58479 * elf/tst-unique3.cc: New file.
58480 * elf/tst-unique3.h: New file.
58481 * elf/tst-unique3lib.cc: New file.
58482 * elf/tst-unique3lib2.cc: New file.
58484 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58486 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58488 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58489 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58492 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58494 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58495 to-be-loaded object along a path to loader is ld.so.
58497 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58498 Ulrich Drepper <drepper@gmail.com>
58500 * sysdeps/x86_64/memset.S: After aligning destination, code
58501 branches to different locations depending on the value of
58502 misalignment, when multiarch is enabled. Fix this.
58504 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58506 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58507 Set _x86_64_preferred_memory_instruction for AMD processsors.
58508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58509 Set bit_Prefer_SSE_for_memop for AMD processors.
58511 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58513 * libio/fmemopen.c (fmemopen): Optimize a bit.
58515 2011-03-03 Andreas Schwab <schwab@redhat.com>
58517 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58519 2011-03-03 Roland McGrath <roland@redhat.com>
58521 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58523 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58525 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58526 __bzero_ultra1 instead of __memset_ultra1.
58528 2011-02-23 Andreas Schwab <schwab@redhat.com>
58529 Ulrich Drepper <drepper@gmail.com>
58532 * include/link.h (struct link_map): Add l_orig_initfini.
58533 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58534 returning unsuccessfully.
58535 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58536 close of a file loaded at startup, restore the original l_initfini
58538 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58539 list, store the pointer.
58540 * elf/Makefile ($(objpfx)noload-mem): New rule.
58541 (noload-ENV): Define.
58542 (tests): Add $(objpfx)noload-mem.
58543 * elf/noload.c: Include <memcheck.h>.
58544 (main): Call mtrace. Close all opened handles.
58546 2011-02-17 Andreas Schwab <schwab@redhat.com>
58549 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58550 dependencies are missing.
58552 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58554 Fix __if_freereq crash: Unlike the generic version which uses free,
58556 * sysdeps/mach/hurd/ifreq.h: New file.
58558 2011-01-27 Petr Baudis <pasky@suse.cz>
58559 Ulrich Drepper <drepper@gmail.com>
58562 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58563 to extend_alloca().
58564 * stdio-common/bug23.c: New file.
58565 * stdio-common/Makefile (tests): Add bug23.
58567 2010-09-28 Andreas Schwab <schwab@redhat.com>
58568 Ulrich Drepper <drepper@gmail.com>
58571 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58572 before performing relro protection. At old place add assertion
58573 to make sure nothing changed.
58575 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58576 Glauber de Oliveira Costa <glommer@gmail.com>
58578 * elf/elf.h: Add new ARM TLS relocs.
58580 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58583 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58585 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58587 * sysdeps/wordsize-64/tst-writev.c: New file.
58589 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58591 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58592 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58593 insns in _dl_start to prevent a TOC reference before relocs are
58596 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58599 * Makeconfig: Remove RANLIB definition.
58600 * Makerules: Don't use RANLIB.
58601 * aclocal.m4: Remove ranlib test.
58602 * configure.in: No need to check for ranlib.
58603 * elf/rtld-Rules: Don't use RANLIB.
58605 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58607 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58609 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58610 inclusion protection macro.
58612 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58613 SIGRTMIN and SIGRTMAX and print information in that case only when
58614 SIGRTMIN is defined.
58616 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58618 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58619 arginfo fn returning -1.
58621 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58622 and thousands string is zero terminated.
58624 2011-02-03 Andreas Schwab <schwab@redhat.com>
58626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58627 sysdeps/unix/sysv/linux/bits/socket.h.
58629 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58631 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58632 (__CPU_COUNT): Remove old macros.
58633 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58634 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58635 (__CPU_ALLOC, __CPU_FREE): Add macros.
58636 (__sched_cpualloc, __sched_cpufree): Add declarations.
58638 2011-02-05 Ulrich Drepper <drepper@gmail.com>
58640 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58641 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58642 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58643 (readdhstai): Return value of addhstaiX call.
58644 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58645 (addgrbyX): Return value returned by cache_addgr.
58646 (readdgrbyname): Return value returned by addgrbyX.
58647 (readdgrbygid): Likewise.
58648 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58649 (addpwbyX): Return value returned by cache_addpw.
58650 (readdpwbyname): Return value returned by addhstbyX.
58651 (readdpwbyuid): Likewise.
58652 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58653 (addservbyX): Return value returned by cache_addserv.
58654 (readdservbyname): Return value returned by addservbyX:
58655 (readdservbyport): Likewise.
58656 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58657 (addhstbyX): Return value returned by cache_addhst.
58658 (readdhstbyname): Return value returned by addhstbyX.
58659 (readdhstbyaddr): Likewise.
58660 (readdhstbynamev6): Likewise.
58661 (readdhstbyaddrv6): Likewise.
58662 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58663 (readdinitgroups): Return value returned by addinitgroupsX.
58664 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58665 (prune_cache): Keep track of timeout value of re-added entries.
58666 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58667 * nscd/nscd.h: Adjust prototypes of readd* functions.
58669 2011-02-04 Roland McGrath <roland@redhat.com>
58671 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58672 (nis_stats): Likewise.
58673 * nis/nis_modify.c (nis_modify): Likewise.
58674 * nis/nis_remove.c (nis_remove): Likewise.
58675 * nis/nis_add.c (nis_add): Likewise.
58677 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58679 * posix/fnmatch_loop.c: Add some consts.
58681 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58683 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58686 * config.make.in (config-cflags-novzeroupper): Define.
58687 * configure.in: Substitute libc_cv_cc_novzeroupper.
58688 * elf/Makefile (AVX-CFLAGS): Define.
58689 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58690 (CFLAGS-tst-auditmod4a.c): Likewise.
58691 (CFLAGS-tst-auditmod4b.c): Likewise.
58692 (CFLAGS-tst-auditmod6b.c): Likewise.
58693 (CFLAGS-tst-auditmod6c.c): Likewise.
58694 (CFLAGS-tst-auditmod7b.c): Likewise.
58695 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58697 2011-02-02 Ulrich Drepper <drepper@gmail.com>
58699 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58700 function to the callback.
58701 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58703 2011-02-02 Andreas Schwab <schwab@redhat.com>
58705 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58708 2011-01-19 Ulrich Drepper <drepper@gmail.com>
58711 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58713 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58715 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58718 * elf/Makefile: Add rules to build and run new test.
58719 * elf/tst-initorder.c: New file.
58720 * elf/tst-initorder.exp: New file.
58721 * elf/tst-initordera1.c: New file.
58722 * elf/tst-initordera2.c: New file.
58723 * elf/tst-initordera3.c: New file.
58724 * elf/tst-initordera4.c: New file.
58725 * elf/tst-initorderb1.c: New file.
58726 * elf/tst-initorderb2.c: New file.
58727 * elf/tst-order-a1.c: New file.
58728 * elf/tst-order-a2.c: New file.
58729 * elf/tst-order-a3.c: New file.
58730 * elf/tst-order-a4.c: New file.
58731 * elf/tst-order-b1.c: New file.
58732 * elf/tst-order-b2.c: New file.
58733 * elf/tst-order-main.c: New file.
58734 New test case by George Gensure <werkt0@gmail.com>.
58736 2010-10-01 Andreas Schwab <schwab@redhat.com>
58738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58739 decoding ACE if AI_CANONIDN.
58741 2011-01-18 Ulrich Drepper <drepper@gmail.com>
58743 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58745 2011-01-17 Ulrich Drepper <drepper@gmail.com>
58747 * version.h (RELEASE): Bump for 2.13 release.
58748 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58750 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58752 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58754 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58755 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58756 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58757 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58758 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58759 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58761 * posix/getconf.c: Update copyright year.
58762 * catgets/gencat.c: Likewise.
58763 * csu/version.c: Likewise.
58764 * debug/catchsegv.sh: Likewise.
58765 * debug/xtrace.sh: Likewise.
58766 * elf/ldconfig.c: Likewise.
58767 * elf/ldd.bash.in: Likewise.
58768 * elf/sprof.c (print_version): Likewise.
58769 * iconv/iconv_prog.c: Likewise.
58770 * iconv/iconvconfig.c: Likewise.
58771 * locale/programs/locale.c: Likewise.
58772 * locale/programs/localedef.c: Likewise.
58773 * malloc/memusage.sh: Likewise.
58774 * malloc/mtrace.pl: Likewise.
58775 * nscd/nscd.c (print_version): Likewise.
58776 * nss/getent.c: Likewise.
58778 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58779 PF_CAIF, and PF_ALG.
58780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58782 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58784 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58785 (modules-names): Use them.
58786 (ifunc-test-modules, ifunc-pie-tests): Define.
58787 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58788 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58789 (test-extras): Likewise.
58790 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58791 $(compile-command.c).
58792 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58793 (all-built-dso): Define.
58794 (check-textrel.out, check-execstack.out): Depend on it.
58796 * configure.in: Don't override --enable-multi-arch.
58798 2011-01-15 Ulrich Drepper <drepper@gmail.com>
58801 * nscd/hstcache.c (tryagain): Define.
58802 (cache_addhst): Return tryagain not notfound for temporary errors.
58803 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58806 2011-01-14 Ulrich Drepper <drepper@gmail.com>
58809 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58810 to make the syscall.
58811 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58814 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58815 and fall back to matching as normal character if the string ends before
58816 the matching ']' is found. This is what POSIX requires.
58817 * posix/testfnm.c: Adjust test result.
58818 * posix/globtest.sh: Adjust test result. Add new test.
58819 * posix/tst-fnmatch.input: Likewise.
58820 * posix/tst-fnmatch2.c: Add new test.
58822 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58824 * elf/Makefile (check-execstack): Revert last change. Depend on
58826 (check-execstack.h): New target.
58827 (generated): Add check-execstack.h.
58828 * elf/check-execstack.c: Include "check-execstack.h".
58829 (main): Revert last change.
58830 (handle_file): Return zero if GNU_STACK is absent and
58831 DEFAULT_STACK_PERMS doesn't include PF_X.
58833 2011-01-13 Ulrich Drepper <drepper@gmail.com>
58835 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58836 in child fails because the descriptor is already closed.
58837 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58838 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58839 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58842 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58846 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58847 temporary buffer used to handle multi lookups locally.
58848 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58850 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58852 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58855 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58857 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58858 alignment for SSE2.
58860 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58863 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58864 characters. When rounding increased number of integer digits recompute
58866 * stdio-common/tst-grouping.c: New file.
58867 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58869 2011-01-09 Ulrich Drepper <drepper@gmail.com>
58871 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58872 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58874 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58876 * bits/select.h: Likewise.
58878 2011-01-08 Ulrich Drepper <drepper@gmail.com>
58880 * po/ja.po: Update from translation team.
58882 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
58885 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58886 implementation just like for lxstat, fxstatat, et al.
58888 2010-12-27 Jim Meyering <meyering@redhat.com>
58891 * posix/regexec.c (build_trtable): Return failure indication upon
58892 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58894 2010-12-25 Ulrich Drepper <drepper@gmail.com>
58897 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58898 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58899 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58900 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58903 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58906 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58907 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58909 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58911 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58912 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58913 script has SORT_BY_INIT_PRIORITY.
58914 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58915 NO_CTORS_DTORS_SECTIONS is defined.
58916 * elf/soinit.c: Likewise.
58917 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58918 NO_CTORS_DTORS_SECTIONS is defined.
58919 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58920 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58921 * sysdeps/sh/init-first.c: Likewise.
58922 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58924 2010-12-24 Ulrich Drepper <drepper@gmail.com>
58926 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58927 always use the slow path.
58929 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58931 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58932 similar rule which adds the sysdep directories to the header search in
58933 order to pick up the correct platform stackinfo.h.
58934 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58935 perform test if it is, otherwise return successfully without testing.
58936 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58937 DEFAULT_STACK_PERMS define in stackinfo.h.
58938 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58939 defined in stackinfo.h.
58940 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58941 DEFAULT_STACK_PERMS defined in stackinfo.h.
58942 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58943 * sysdeps/ia64/stackinfo.h: Likewise.
58944 * sysdeps/s390/stackinfo.h: Likewise.
58945 * sysdeps/sh/stackinfo.h: Likewise.
58946 * sysdeps/sparc/stackinfo.h: Likewise.
58947 * sysdeps/x86_64/stackinfo.h: Likewise.
58948 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58949 PF_X for powerpc64. Retain PF_X for powerpc32.
58951 2010-12-19 Ulrich Drepper <drepper@gmail.com>
58953 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58955 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58956 GETDENTS_64BIT_ALIGNED.
58958 2010-12-14 Ulrich Drepper <dreper@gmail.com>
58960 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58962 2010-12-10 Andreas Schwab <schwab@redhat.com>
58964 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58967 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58968 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58970 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58971 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58973 2010-12-09 Ulrich Drepper <drepper@gmail.com>
58976 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58979 2010-12-09 Jakub Jelinek <jakub@redhat.com>
58981 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58983 2010-12-03 Ulrich Drepper <drepper@gmail.com>
58985 * po/it.po: Update from translation team.
58987 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58992 2010-11-30 Ulrich Drepper <drepper@gmail.com>
58994 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58996 2010-11-24 Andreas Schwab <schwab@redhat.com>
58998 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59000 (gaih_getanswer_slice): Likewise.
59002 2010-10-20 Jakub Jelinek <jakub@redhat.com>
59004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59006 2010-05-31 Petr Baudis <pasky@suse.cz>
59009 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59010 silently even in the chroot mode.
59012 2010-11-22 Ulrich Drepper <drepper@gmail.com>
59014 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59015 last patch a bit. Pretty printing
59017 2010-05-31 Petr Baudis <pasky@suse.cz>
59020 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59021 initialization of skip_initgroups_dyn.
59023 2010-11-19 Ulrich Drepper <drepper@gmail.com>
59025 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59026 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59028 2010-11-16 Ulrich Drepper <drepper@gmail.com>
59030 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59032 2010-11-11 Andreas Schwab <schwab@redhat.com>
59034 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59035 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59036 (tst-fnmatch-ENV): Set MALLOC_TRACE.
59037 ($(objpfx)tst-fnmatch-mem): New rule.
59038 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59039 * posix/tst-fnmatch.c (main): Call mtrace.
59041 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
59043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59044 Support Intel processor model 6 and model 0x2c.
59046 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
59048 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59051 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
59054 * string/test-strncasecmp.c (check_result): New function.
59055 (do_one_test): Use it.
59056 (check1): New function.
59057 (test_main): Use it.
59058 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59059 Support strcasecmp and strncasecmp.
59061 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59064 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59065 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59067 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59069 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59073 * sysdeps/x86_64/multiarch/bzero.S: New file.
59074 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59075 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59076 * sysdeps/x86_64/multiarch/memset.S: New file.
59077 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59079 Set bit_Prefer_SSE_for_memop for Intel processors.
59080 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59082 (index_Prefer_SSE_for_memop): Define.
59083 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59085 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59087 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59088 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59090 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59093 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59094 (__x86_64_raw_data_cache_size_half): Likewise.
59095 (__x86_64_raw_shared_cache_size): Likewise.
59096 (__x86_64_raw_shared_cache_size_half): Likewise.
59098 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59099 (__x86_64_raw_data_cache_size_half): Likewise.
59100 (__x86_64_raw_shared_cache_size): Likewise.
59101 (__x86_64_raw_shared_cache_size_half): Likewise.
59102 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59103 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59104 and __x86_64_raw_shared_cache_size_half. Round
59105 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59106 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59107 to multiple of 256 bytes.
59109 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59112 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59113 of inacessible symlinks. Verify result of symlink before returning it.
59114 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59115 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59117 2010-10-28 Erich Ritz <erichritz@gmail.com>
59119 * math/math.h (isinf): Fix typo in comment.
59121 2010-11-01 Ulrich Drepper <drepper@gmail.com>
59123 * po/da.po: Update from translation team.
59125 2010-10-26 Ulrich Drepper <drepper@gmail.com>
59127 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59128 is added to the list.
59130 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59131 Ulrich Drepper <drepper@gmail.com>
59133 * elf/dl-object.c (_dl_new_object): Don't append the new object to
59134 the global list here. Move code to...
59135 (_dl_add_to_namespace_list): ...here. New function.
59136 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59137 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59138 * elf/dl-load.c (lose): Don't remove the element from the list.
59139 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59140 (_dl_map_object): Likewise.
59142 2010-10-25 Ulrich Drepper <drepper@gmail.com>
59145 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59146 into all bytes of SSE register.
59147 Patch by Richard Li <richardpku@gmail.com>.
59149 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59152 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59155 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59157 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59158 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59159 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59160 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59165 2010-10-22 Andreas Schwab <schwab@redhat.com>
59167 * include/dlfcn.h (__RTLD_SECURE): Define.
59168 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59169 mode & __RTLD_SECURE instead.
59170 (open_path): Rename preloaded parameter to secure.
59171 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59172 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59173 * elf/dl-deps.c (openaux): Likewise.
59174 * elf/rtld.c (struct map_args): Remove is_preloaded.
59175 (map_doit): Don't use it.
59176 (dl_main): Likewise.
59177 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59178 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59180 2010-09-09 Andreas Schwab <schwab@redhat.com>
59182 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59183 (sysd-rules-targets): Remove duplicates.
59184 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59185 rtld-%.$o dependency.
59187 2010-10-18 Andreas Schwab <schwab@redhat.com>
59189 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59190 _dl_map_object do it.
59192 2010-10-19 Ulrich Drepper <drepper@gmail.com>
59194 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59195 fast fma builtins, define the macros in the C99 standard.
59196 (FP_FAST_FMAF): Likewise.
59197 (FP_FAST_FMAL): Likewise.
59198 * sysdeps/x86_64/bits/mathdef.h: Likewise.
59200 * bits/mathdef.h: Update copyright year.
59201 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59203 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
59205 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59206 builtins, define the macros in the C99 standard.
59207 (FP_FAST_FMAF): Likewise.
59208 (FP_FAST_FMAL): Likewise.
59209 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59211 (FP_FAST_FMAF): Likewise.
59213 2010-10-15 Jakub Jelinek <jakub@redhat.com>
59216 * math/libm-test.inc (fma_test): Some new testcases.
59217 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59218 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59219 y and infinite z. Do multiplication by C already in long double.
59220 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59222 y and infinite z. Do bitwise or of inexact bit into u.d.
59223 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59224 * sysdeps/i386/fpu/s_fmaf.S: Removed.
59225 * sysdeps/i386/fpu/s_fma.S: Removed.
59226 * sysdeps/i386/fpu/s_fmal.S: Removed.
59228 2010-10-16 Jakub Jelinek <jakub@redhat.com>
59231 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59233 computation is not scheduled after fetestexcept. Fix value
59234 of minimum denormal long double.
59236 2010-10-14 Jakub Jelinek <jakub@redhat.com>
59239 * math/libm-test.inc (fma_test): Add some more tests.
59240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59243 2010-10-15 Andreas Schwab <schwab@redhat.com>
59245 * scripts/data/localplt-s390-linux-gnu.data: New file.
59246 * scripts/data/localplt-s390x-linux-gnu.data: New file.
59248 2010-10-13 Jakub Jelinek <jakub@redhat.com>
59251 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59252 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59254 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59256 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59258 if one of x and y is very large and the other is subnormal.
59259 * sysdeps/s390/fpu/s_fmaf.c: New file.
59260 * sysdeps/s390/fpu/s_fma.c: New file.
59261 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59262 * sysdeps/powerpc/fpu/s_fma.S: New file.
59263 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59264 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59265 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59267 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59270 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59273 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59274 * sysdeps/i386/i686/multiarch/s_fma.c: Include
59275 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59276 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59277 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59278 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59280 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59283 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59284 * posix/bug-regex31.input: Add test case.
59286 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59288 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59289 * posix/bug-regex31.input: New file.
59292 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59293 (parse_sub_exp): Fix last change, use postorder.
59295 * posix/bug-regex31.c: New file.
59296 * posix/Makefile: Add rules to build and run bug-regex31.
59298 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59301 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59304 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59305 to have entries in sys_siglist.
59308 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59311 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59314 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59315 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59316 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59317 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59318 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59319 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59320 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59321 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59322 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59323 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59324 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59325 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59326 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59327 * math/ftestexcept.c (fetestexcept): Likewise.
59328 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59329 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59330 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59331 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59332 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59333 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59334 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59336 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59339 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59342 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59344 * string/bug-strstr1.c: New file.
59345 * string/Makefile: Add rules to build and run bug-strstr1.
59347 2010-10-05 Eric Blake <eblake@redhat.com>
59350 * string/str-two-way.h (two_way_long_needle): Always clear memory
59351 when skipping input due to the shift table.
59353 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59356 * malloc/mcheck.c: Handle large requests.
59359 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59360 for strncmp and strncasecmp.
59361 * string/stratcliff.c: Add tests for strcmp and strncmp.
59362 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59364 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59366 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59369 2010-09-30 Andreas Jaeger <aj@suse.de>
59371 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59372 (CGROUP_SUPER_MAGIC): Define.
59373 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59374 Handle btrfs and cgroup file systems.
59375 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59378 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59380 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59381 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59383 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59386 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59387 trying to locate the ELF header.
59389 2010-09-27 Andreas Schwab <schwab@redhat.com>
59392 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59393 Mask out sign-bit copies when constructing f_fsid.
59395 2010-09-24 Petr Baudis <pasky@suse.cz>
59397 * debug/stack_chk_fail_local.c: Add missing licence exception.
59398 * debug/warning-nop.c: Likewise.
59400 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59402 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59403 implementing getdents64 using getdents syscall, set d_type if
59404 __ASSUME_GETDENTS32_D_TYPE.
59406 2010-09-16 Andreas Schwab <schwab@redhat.com>
59408 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59409 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59411 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59414 * posix/unistd.h: Undo change of feature selection for ftruncate from
59417 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59419 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59422 2010-09-20 Andreas Schwab <schwab@redhat.com>
59424 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59426 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59428 2010-09-14 Andreas Schwab <schwab@redhat.com>
59430 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59431 variables after CHECK_SP call.
59432 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59434 2010-09-13 Andreas Schwab <schwab@redhat.com>
59435 Ulrich Drepper <drepper@redhat.com>
59437 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59438 re-relocationg ld.so.
59439 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59440 _dl_init_paths call.
59441 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59444 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59446 * resolv/res_init.c (__res_vinit): Count the default server we added.
59448 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59449 Ulrich Drepper <drepper@redhat.com>
59452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59453 (____longjmp_chk): Use %ebx for saving value across system call.
59456 2010-09-06 Andreas Schwab <schwab@redhat.com>
59458 * manual/Makefile: Don't mix pattern rules with normal rules.
59460 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59462 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59464 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59465 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59466 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59467 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59468 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59471 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59474 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59475 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59477 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59479 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59480 * sysdeps/x86_64/addmul_1.S: Likewise.
59481 * sysdeps/x86_64/lshift.S: Likewise.
59482 * sysdeps/x86_64/mul_1.S: Likewise.
59483 * sysdeps/x86_64/rshift.S: Likewise.
59484 * sysdeps/x86_64/sub_n.S: Likewise.
59485 * sysdeps/x86_64/submul_1.S: Likewise.
59487 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59489 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59490 Define __sched_param instead of SCHED_* and sched_param when
59491 <bits/sched.h> is included with __need_schedparam defined.
59492 * bits/sched.h [__need_schedparam]
59493 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59494 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59495 (__defined_schedparam): Define to 1.
59496 (__sched_param): New structure, identical to sched_param.
59497 (__need_schedparam): Undefine.
59499 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59501 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59502 (epoll_create1): Declare.
59504 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59506 2010-08-31 Andreas Schwab <schwab@redhat.com>
59509 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59510 shifting retval into place.
59512 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59514 * nis/rpcsvc/nis.h: Update copyright notice.
59515 * nis/rpcsvc/nis.x: Likewise.
59516 * nis/rpcsvc/nis_callback.h: Likewise.
59517 * nis/rpcsvc/nis_callback.x: Likewise.
59518 * nis/rpcsvc/nis_object.x: Likewise.
59519 * nis/rpcsvc/nis_tags.h: Likewise.
59520 * nis/rpcsvc/yp.h: Likewise.
59521 * nis/rpcsvc/yp.x: Likewise.
59522 * nis/rpcsvc/ypupd.h: Likewise.
59523 * nis/yp_xdr.c: Likewise.
59524 * nis/ypupdate_xdr.c: Likewise.
59526 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59527 mainly the body of pmap_getport. Add parameters to specify timeouts.
59528 (pmap_getport): Use __libc_rpc_getport.
59529 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59530 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59531 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59533 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59538 2010-08-27 Roland McGrath <roland@redhat.com>
59540 * sysdeps/i386/i686/multiarch/Makefile
59541 (CFLAGS-varshift.c): New variable.
59543 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59545 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59546 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59550 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59552 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59554 * sysdeps/x86_64/strlen.S: Unroll the loop.
59555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59556 strlen-sse2 strlen-sse2-bsf.
59557 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59558 __strlen_no_bsf if bit_Slow_BSF is set.
59559 (__strlen_sse42): Removed.
59560 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59561 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59563 2010-08-25 Roland McGrath <roland@redhat.com>
59565 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59566 * sysdeps/x86_64/multiarch/varshift.c: New file.
59567 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59568 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59569 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59570 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59572 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59575 strlen-sse2 strlen-sse2-bsf.
59576 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59577 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59578 (__strlen_sse2): Removed.
59579 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59582 bit_Slow_BSF for Atom.
59583 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59584 (index_Slow_BSF): Define.
59585 (HAS_SLOW_BSF): Define.
59587 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59590 * resolv/res_init.c (__res_vinit): When no server address at all
59591 is given default to loopback.
59593 2010-08-24 Roland McGrath <roland@redhat.com>
59595 * configure.in: Remove config-name.h generation.
59596 * configure: Regenerated.
59597 * config-name.in: File removed.
59598 * scripts/config-uname.sh: New file.
59599 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59600 ($(objdir)config-name.h): New target.
59602 * sunrpc/rpc_parse.h: Avoid nested comment.
59604 2010-08-24 Richard Henderson <rth@redhat.com>
59605 Ulrich Drepper <drepper@redhat.com>
59606 H.J. Lu <hongjiu.lu@intel.com>
59608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59610 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59611 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59612 _mm_alignr_epi8 with _mm_loadu_si128.
59613 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59614 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59615 (__m128i_shift_right): Removed.
59616 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59617 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59618 * sysdeps/x86_64/multiarch/varshift.h: New file.
59619 * sysdeps/x86_64/multiarch/varshift.S: New file.
59621 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59623 * configure.in: Move assembler checks to before sysdep dir checking.
59625 2010-08-20 Petr Baudis <pasky@suse.cz>
59627 * LICENSES: Sync the sunrpc license.
59629 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59631 * sunrpc/auth_des.c: Update copyright notice once again.
59632 * sunrpc/auth_none.c: Likewise.
59633 * sunrpc/auth_unix.c: Likewise.
59634 * sunrpc/authdes_prot.c: Likewise.
59635 * sunrpc/authuxprot.c: Likewise.
59636 * sunrpc/bindrsvprt.c: Likewise.
59637 * sunrpc/clnt_gen.c: Likewise.
59638 * sunrpc/clnt_perr.c: Likewise.
59639 * sunrpc/clnt_raw.c: Likewise.
59640 * sunrpc/clnt_simp.c: Likewise.
59641 * sunrpc/clnt_tcp.c: Likewise.
59642 * sunrpc/clnt_udp.c: Likewise.
59643 * sunrpc/clnt_unix.c: Likewise.
59644 * sunrpc/des_crypt.c: Likewise.
59645 * sunrpc/des_soft.c: Likewise.
59646 * sunrpc/get_myaddr.c: Likewise.
59647 * sunrpc/getrpcport.c: Likewise.
59648 * sunrpc/key_call.c: Likewise.
59649 * sunrpc/key_prot.c: Likewise.
59650 * sunrpc/openchild.c: Likewise.
59651 * sunrpc/pm_getmaps.c: Likewise.
59652 * sunrpc/pm_getport.c: Likewise.
59653 * sunrpc/pmap_clnt.c: Likewise.
59654 * sunrpc/pmap_prot.c: Likewise.
59655 * sunrpc/pmap_prot2.c: Likewise.
59656 * sunrpc/pmap_rmt.c: Likewise.
59657 * sunrpc/rpc/auth.h: Likewise.
59658 * sunrpc/rpc/auth_unix.h: Likewise.
59659 * sunrpc/rpc/clnt.h: Likewise.
59660 * sunrpc/rpc/des_crypt.h: Likewise.
59661 * sunrpc/rpc/key_prot.h: Likewise.
59662 * sunrpc/rpc/netdb.h: Likewise.
59663 * sunrpc/rpc/pmap_clnt.h: Likewise.
59664 * sunrpc/rpc/pmap_prot.h: Likewise.
59665 * sunrpc/rpc/pmap_rmt.h: Likewise.
59666 * sunrpc/rpc/rpc.h: Likewise.
59667 * sunrpc/rpc/rpc_des.h: Likewise.
59668 * sunrpc/rpc/rpc_msg.h: Likewise.
59669 * sunrpc/rpc/svc.h: Likewise.
59670 * sunrpc/rpc/svc_auth.h: Likewise.
59671 * sunrpc/rpc/types.h: Likewise.
59672 * sunrpc/rpc/xdr.h: Likewise.
59673 * sunrpc/rpc_clntout.c: Likewise.
59674 * sunrpc/rpc_cmsg.c: Likewise.
59675 * sunrpc/rpc_common.c: Likewise.
59676 * sunrpc/rpc_cout.c: Likewise.
59677 * sunrpc/rpc_dtable.c: Likewise.
59678 * sunrpc/rpc_hout.c: Likewise.
59679 * sunrpc/rpc_main.c: Likewise.
59680 * sunrpc/rpc_parse.c: Likewise.
59681 * sunrpc/rpc_parse.h: Likewise.
59682 * sunrpc/rpc_prot.c: Likewise.
59683 * sunrpc/rpc_sample.c: Likewise.
59684 * sunrpc/rpc_scan.c: Likewise.
59685 * sunrpc/rpc_scan.h: Likewise.
59686 * sunrpc/rpc_svcout.c: Likewise.
59687 * sunrpc/rpc_tblout.c: Likewise.
59688 * sunrpc/rpc_util.c: Likewise.
59689 * sunrpc/rpc_util.h: Likewise.
59690 * sunrpc/rpcinfo.c: Likewise.
59691 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59692 * sunrpc/rpcsvc/key_prot.x: Likewise.
59693 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59694 * sunrpc/rpcsvc/mount.x: Likewise.
59695 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59696 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59697 * sunrpc/rpcsvc/rex.x: Likewise.
59698 * sunrpc/rpcsvc/rstat.x: Likewise.
59699 * sunrpc/rpcsvc/rusers.x: Likewise.
59700 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59701 * sunrpc/rpcsvc/spray.x: Likewise.
59702 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59703 * sunrpc/rtime.c: Likewise.
59704 * sunrpc/svc.c: Likewise.
59705 * sunrpc/svc_auth.c: Likewise.
59706 * sunrpc/svc_authux.c: Likewise.
59707 * sunrpc/svc_raw.c: Likewise.
59708 * sunrpc/svc_run.c: Likewise.
59709 * sunrpc/svc_simple.c: Likewise.
59710 * sunrpc/svc_tcp.c: Likewise.
59711 * sunrpc/svc_udp.c: Likewise.
59712 * sunrpc/svc_unix.c: Likewise.
59713 * sunrpc/svcauth_des.c: Likewise.
59714 * sunrpc/xcrypt.c: Likewise.
59715 * sunrpc/xdr.c: Likewise.
59716 * sunrpc/xdr_array.c: Likewise.
59717 * sunrpc/xdr_float.c: Likewise.
59718 * sunrpc/xdr_mem.c: Likewise.
59719 * sunrpc/xdr_rec.c: Likewise.
59720 * sunrpc/xdr_ref.c: Likewise.
59721 * sunrpc/xdr_sizeof.c: Likewise.
59722 * sunrpc/xdr_stdio.c: Likewise.
59724 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59727 2010-08-19 Andreas Schwab <schwab@redhat.com>
59729 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59731 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
59733 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59734 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59735 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59736 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59737 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59738 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59739 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59740 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59741 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59742 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59743 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59744 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59745 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59746 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59748 2010-07-26 Anton Blanchard <anton@samba.org>
59750 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59751 * malloc/arena.c (heap_trim): Likewise.
59753 2010-08-16 Ulrich Drepper <drepper@redhat.com>
59755 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59758 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59760 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59762 * sysdeps/i386/elf/Makefile: New file.
59764 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59766 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59767 from fanotify_init.
59768 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59771 2010-08-15 Ulrich Drepper <drepper@redhat.com>
59773 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59775 * sysdeps/multiarch/strcmp.S: Likewise.
59777 2010-08-14 Ulrich Drepper <drepper@redhat.com>
59779 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59780 strncase_l-nonascii.
59781 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59782 Add strncase_l-ssse3.
59783 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59784 * sysdeps/x86_64/strcmp.S: Likewise.
59785 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59786 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59787 * sysdeps/x86_64/strncase.S: New file.
59788 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59789 * sysdeps/x86_64/strncase_l.S: New file.
59790 * string/Makefile (strop-tests): Add strncasecmp.
59791 * string/test-strncasecmp.c: New file.
59793 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59796 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59797 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59799 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59801 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59803 2010-08-12 Ulrich Drepper <drepper@redhat.com>
59805 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59806 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59807 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59809 2010-05-01 Alan Modra <amodra@gmail.com>
59811 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59812 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59813 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59814 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59815 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59816 tidying. Don't tail-call __sigjmp_save for static lib.
59817 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59819 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59820 (CALL_MCOUNT): Add eh info, and nop after bl.
59821 (TAIL_CALL_SYSCALL_ERROR): New macro.
59822 (PSEUDO_RET): Use it.
59823 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59824 Correct save location of integer regs and cr.
59825 (_dl_profile_resolve): Correct cr save location. Delete nops
59826 after bl when SHARED. Reduce cfi size a little by better
59827 placement of cfi directives.
59828 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59829 make a stack frame. Instead use parm save area as a temp.
59830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59831 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59833 Don't make a stack frame for parent, use parm save area.
59834 Increase child stack frame to 112 bytes. Don't save unused reg,
59835 and adjust reg usage. Set up cfi on error recovery and
59836 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59838 (__makecontext): Add dummy nop after jump to exit.
59839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59840 Use correct parm save area and cr save, reduce stack frame.
59841 Correct cfi for possible PSEUDO_RET frame setup.
59842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59843 Branch to local label emitted by PSEUDO_RET rather than
59846 2010-08-12 Andreas Schwab <schwab@redhat.com>
59849 * locale/programs/locale.c (print_assignment): New function.
59850 (show_locale_vars): Use it.
59852 2010-08-11 Ulrich Drepper <drepper@redhat.com>
59854 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59856 (struct statfs64): Likewise.
59857 (_STATFS_F_FLAGS): Define.
59858 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59859 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59860 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59861 (ST_VALID): Define locally.
59862 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59863 __statvfs_getflags, use the provided value.
59864 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59865 __ASSUME_STATFS_F_FLAGS.
59867 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59869 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59870 Add sys/fanotify.h.
59871 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59872 fanotify_mask for GLIBC_2.13.
59873 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59874 fanotify_init and fanotify_mark.
59875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59876 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59878 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59880 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59881 prlimit64 for GLIBC_2.13.
59882 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59887 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59888 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59889 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59892 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59895 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59896 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59898 * nss/Makefile: Add rules to build and run tst-nss-test1.
59899 * shlib-versions: Add entry for libnss_test1.
59900 * nss/nss_test1.c: New file.
59901 * nss/tst-nss-test1.c: New file.
59903 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59904 (__nss_configure_lookup): Set appropriate entry in
59905 __nss_configure_lookup to true.
59906 * nss/nsswitch.h: Define enum with indeces of databases in
59907 databases and __nss_database_custom arrays. Declare
59908 __nss_database_custom.
59909 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59910 to avoid using nscd when custom rules are installed.
59911 * nss/getXXbyYY_r.c: Likewise.
59912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59914 * nss/nss_files/files-parse.c: Whitespace fixes.
59916 2010-08-09 Ulrich Drepper <drepper@redhat.com>
59919 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59920 * posix/fnmatch_loop.c: Likewise.
59922 2010-07-17 Andi Kleen <ak@linux.intel.com>
59924 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59925 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59926 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59927 * Versions.def [GLIBC_2.13]: Add.
59929 2010-08-06 Ulrich Drepper <drepper@redhat.com>
59931 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59932 Also fail if tpwd after pwuid call is NULL.
59934 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59936 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59937 when converting to ms.
59939 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59941 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59942 EOPNOTSUPP errors with ENOTTY.
59943 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59944 EOPNOTSUPP errors with ENOTTY.
59946 2010-07-31 Ulrich Drepper <drepper@redhat.com>
59948 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59949 Add strcasecmp_l-ssse3.
59950 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59952 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59953 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59954 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59956 2010-07-30 Ulrich Drepper <drepper@redhat.com>
59958 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59960 * string/Makefile (strop-tests): Add strcasecmp.
59961 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59962 strcasecmp_l-nonascii.
59963 (gen-as-const-headers): Add locale-defines.sym.
59964 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59965 * sysdeps/x86_64/strcasecmp.S: New file.
59966 * sysdeps/x86_64/strcasecmp_l.S: New file.
59967 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59968 * sysdeps/x86_64/locale-defines.sym: New file.
59969 * string/test-strcasecmp.c: New file.
59971 * string/test-strcasestr.c: Test both ends of the range of characters.
59972 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59974 2010-07-29 Roland McGrath <roland@redhat.com>
59977 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59979 2010-07-27 Ulrich Drepper <drepper@redhat.com>
59981 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59984 2010-07-27 Andreas Schwab <schwab@redhat.com>
59986 * manual/memory.texi (Malloc Tunable Parameters): Document
59989 2010-07-26 Roland McGrath <roland@redhat.com>
59992 * configure.in (-fgnu89-inline check): Set and substitute
59993 gnu89_inline, not libc_cv_gnu89_inline.
59994 * configure: Regenerated.
59995 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59997 2010-07-26 Ulrich Drepper <drepper@redhat.com>
59999 * string/test-strnlen.c: New file.
60000 * string/Makefile (strop-tests): Add strnlen.
60001 * string/tester.c (test_strnlen): Add a few more test cases.
60002 * string/tst-strlen.c: Better error reporting.
60004 * sysdeps/x86_64/strnlen.S: New file.
60006 2010-07-24 Ulrich Drepper <drepper@redhat.com>
60008 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60009 lower-latency instructions.
60011 2010-07-23 Ulrich Drepper <drepper@redhat.com>
60013 * string/test-strcasestr.c: New file.
60014 * string/test-strstr.c: New file.
60015 * string/Makefile (strop-tests): Add strstr and strcasestr.
60016 * string/str-two-way.h: Don't undefine MAX.
60017 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60019 2010-07-21 Andreas Schwab <schwab@redhat.com>
60021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60022 strcasestr-nonascii.
60023 (CFLAGS-strcasestr-nonascii.c): Define.
60024 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60025 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60026 Remove unused attribute.
60028 2010-07-20 Roland McGrath <roland@redhat.com>
60030 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60031 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
60032 ld.so.cache was broken. With it, there is no way to disable dsocaps
60033 like LD_HWCAP_MASK can disable hwcaps.
60035 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60037 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60039 2010-07-16 Ulrich Drepper <drepper@redhat.com>
60041 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60042 call in strcasestr.
60043 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60044 __strcasestr_sse42_nonascii.
60045 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60046 strcasestr-nonascii.c.
60047 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60049 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
60051 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60052 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60054 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60056 2010-07-09 Ulrich Drepper <drepper@redhat.com>
60058 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60061 2010-07-06 Andreas Schwab <schwab@redhat.com>
60064 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60067 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60069 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60070 _PC_PIPE_BUF using F_GETPIPE_SZ.
60072 2010-07-05 Roland McGrath <roland@redhat.com>
60074 * manual/arith.texi (Rounding Functions): Fix rint description
60075 implicit in round description.
60077 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60079 * elf/Makefile: Fix linking for a few tests to make recent linker
60082 2010-06-30 Andreas Schwab <schwab@redhat.com>
60084 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60085 $(common-objpfx)libc_nonshared.a.
60087 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60089 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60090 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60091 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60092 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60093 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60094 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60095 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60096 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60111 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60112 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60113 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60114 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60115 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60116 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60117 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60118 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60119 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60120 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60121 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60122 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60138 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
60140 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60141 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
60142 * string/memmove.c (memmove): Renamed to ...
60143 (MEMMOVE): ...this. Default to memmove.
60144 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60145 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60148 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60149 mempcpy-ssse3-back memmove-ssse3-back.
60150 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60151 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60152 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60153 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60154 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60155 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60156 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60157 * sysdeps/x86_64/multiarch/memmove.c: New file.
60158 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60159 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60160 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60161 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60162 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60163 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60165 (index_Fast_Copy_Backward): Define.
60166 (HAS_ARCH_FEATURE): Define.
60167 (HAS_FAST_REP_STRING): Define.
60168 (HAS_FAST_COPY_BACKWARD): Define.
60170 2010-06-21 Andreas Schwab <schwab@redhat.com>
60172 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60173 Restore proper fallback handling.
60175 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60178 * posix/group_member.c (__group_member): Correct checking loop.
60180 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60181 OOM in getpwuid_r correctly. Return error number when the caller
60182 should return, otherwise -1.
60183 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60184 call returning > 0 value.
60185 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60187 2010-06-07 Andreas Schwab <schwab@redhat.com>
60189 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60190 libc_nonshared.a from targets in modules-names.
60192 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
60194 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60197 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
60199 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60200 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60201 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60202 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60204 2010-06-02 Andreas Schwab <schwab@redhat.com>
60206 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60208 2010-06-14 Ulrich Drepper <drepper@redhat.com>
60210 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60213 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60219 2010-06-14 Roland McGrath <roland@redhat.com>
60221 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60223 2010-06-07 Jakub Jelinek <jakub@redhat.com>
60225 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60226 __REDIRECT followed by __THROW.
60227 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60228 * posix/getopt.h (getopt): Likewise.
60230 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60232 * hurd/lookup-at.c (__file_name_lookup_at): Accept
60233 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
60234 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60236 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60237 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60239 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
60241 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60243 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
60246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60247 Properly check family and model.
60249 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
60251 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60253 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60255 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60257 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60259 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60262 2010-05-19 Andreas Schwab <schwab@redhat.com>
60264 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60267 2010-05-21 Andreas Schwab <schwab@redhat.com>
60269 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60270 and internal_recvmmsg.
60271 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60272 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60273 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60274 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60276 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60277 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60278 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60280 2010-05-20 Andreas Schwab <schwab@redhat.com>
60282 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60284 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60286 POWER7 optimizations.
60287 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60288 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60290 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60292 * version.h: Update for 2.13 development version.
60294 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60296 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60297 exceptions. Return 0.
60299 2010-05-07 Roland McGrath <roland@redhat.com>
60301 * elf/ldconfig.c (main): Add a const.
60303 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60305 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60306 (args_options): Add no-idn option.
60307 (ahosts_keys_int): Add idn_flags to ai_flags.
60308 (parse_option): Handle 'i' option to clear idn_flags.
60310 * malloc/malloc.c (_int_free): Possible race in the most recently
60311 added check. Only act on the data if no current modification
60314 See ChangeLog.17 for earlier changes.