1 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
3 * configure.ac: More strict check for AVX512 assembler support.
4 * configure: Regenerated.
6 2015-06-11 Florian Weimer <fweimer@redhat.com>
8 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
14 * nptl/pt-interp.c: New file.
15 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
18 $(common-objpfx)runtime-linker.h.
20 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
22 * Makeconfig (+interp): Remove unused variable.
23 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24 only. Depend on $(common-objpfx)runtime-linker.h instead of
25 $(elf-objpfx)runtime-linker.h.
26 ($(elf-objpfx)runtime-linker.h): Rename to
27 $(common-objpfx)runtime-linker.h and move ...
28 * Makerules [$(build-shared) = yes]: ... here.
29 * elf/interp.c: Include <runtime-linker.h> instead of
30 <elf/runtime-linker.h>.
32 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
35 (__gettimeofday_syscall): Remove vsyscall fallback.
36 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
37 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
38 Add syscall fallback function.
39 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
40 if vDSO is not present.
41 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
43 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
45 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
46 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48 2015-06-09 Joseph Myers <joseph@codesourcery.com>
51 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
53 (wcscmp): Define as weak alias of WCSCMP.
54 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
56 (USE_HIDDEN_DEF): Define.
57 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
58 __wcscoll. Don't use libc_hidden_weak.
59 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
61 * sysdeps/i386/i686/multiarch/wcscmp-c.c
62 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
64 (weak_alias): Undefine and redefine.
65 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
66 __wcscmp and define as weak alias of __wcscmp.
67 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
68 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
69 (__wcscoll): Likewise.
70 (wcscmp): Don't use libc_hidden_proto.
72 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
74 * posix/regexec.c (check_node_accept_bytes): Likewise.
75 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
77 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
78 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
81 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
82 __fstatvfs and define as weak alias of __fstatvfs. Use
84 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
85 and define as weak alias of __statvfs. Use libc_hidden_weak.
86 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
87 Define as alias of __fstatvfs, not fstatvfs.
88 (fstatvfs64): Likewise.
89 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
90 Define as alias of __statvfs, not statvfs.
91 (statvfs64): Likewise.
92 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
95 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
98 (HAVE_GETCPU_VSYSCALL): Define.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
100 (HAVE_GETCPU_VSYSCALL): Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
102 * sysdeps/unix/sysv/linux/sched_getcpu.c
103 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
104 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
105 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
107 * sysdeps/unix/sysv/linux/x86_64/init-first.c
108 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
109 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
112 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
113 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
114 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
117 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
119 * sysdeps/x86_64/fpu/Makefile: New file.
120 * sysdeps/x86_64/fpu/Versions: New file.
121 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
122 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
123 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
124 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
125 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
126 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
127 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
128 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
129 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
130 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
131 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
132 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
133 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
134 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
135 build of SSE, AVX2 and AVX512 IFUNC versions.
136 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
137 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
138 * sysdeps/x86_64/configure.ac: Options for libmvec build.
139 * sysdeps/x86_64/configure: Regenerated.
140 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
141 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
142 * manual/install.texi (Configuring and compiling): Document
144 * INSTALL: Regenerated.
145 * NEWS: Mention addition of libmvec and x86_64 vector cos.
147 * math/Makefile: Added rules for vector tests.
148 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
149 declaration under condition.
150 * math/test-double-vlen2.h: New file.
151 * math/test-double-vlen4.h: New file.
152 * math/test-double-vlen8.h: New file.
153 * math/test-vec-loop.h: Added initialization macro.
154 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
155 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
156 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
157 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
158 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
159 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
160 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
161 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
162 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
163 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
164 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
166 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
167 * sysdeps/x86_64/fpu/Versions: New versions added.
168 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
169 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
170 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
171 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
172 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
173 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
174 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
175 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
176 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
177 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
178 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
179 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
180 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
181 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
182 build of SSE, AVX2 and AVX512 IFUNC versions.
183 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
184 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
185 * NEWS: Mention addition of x86_64 vector cosf.
187 * math/Makefile: Added CFLAGS for new tests.
188 * math/test-float-vlen16.h: New file.
189 * math/test-float-vlen4.h: New file.
190 * math/test-float-vlen8.h: New file.
191 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
192 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
193 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
194 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
195 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
196 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
197 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
198 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
199 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
200 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
201 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
203 2015-06-09 Marko Myllynen <myllynen@redhat.com>
205 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
206 * locale/programs/ld-ctype.c: Likewise.
208 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
210 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
211 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
212 bit_ZMM16_31_state): New macro.
213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
214 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
216 2015-06-08 Joseph Myers <joseph@codesourcery.com>
218 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
220 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
222 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
224 2015-06-05 Joseph Myers <joseph@codesourcery.com>
227 * libio/memstream.c (open_memstream): Rename to __open_memstream
228 and define as weak alias of __open_memstream.
229 * include/stdio.h (__open_memstream): Declare. Use
231 (open_memstream): Don't use libc_hidden_proto.
232 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
234 * posix/getopt.c (_getopt_internal_r): Likewise.
235 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
237 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
238 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
239 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
242 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
246 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
247 [__USE_XOPEN2K8]. Remove redundant #endif.
248 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
249 Remove redundant #if.
250 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
252 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
253 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
256 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
257 (__iswlower): Likewise.
258 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
259 (__iswlower): Likewise.
260 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
262 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
263 instead of iswlower. Call __towupper instead of towupper.
264 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
267 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
269 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
272 2015-06-05 Florian Weimer <fweimer@redhat.com>
276 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
277 Check for overflow properly. Check for O_APPEND. Ignore large
278 file system block sizes. Add comments about problems.
279 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
280 * manual/filesys.texi (Storage Allocation): New node.
282 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
284 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
285 cancellable syscalls.
286 (SYS_ify): Add guard to no redefine it.
287 (INLINE_SYSCALL): Likewise.
288 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
289 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
290 SYSCALL_CANCEL instead.
291 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
292 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
293 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
294 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
295 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
296 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
297 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
298 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
299 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
300 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
301 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
302 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
303 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
304 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
305 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
306 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
308 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
309 (__libc_pread64): Likewise.
310 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
311 (__libc_preadv): Likewise.
312 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
313 (__libc_readv64): Likewise.
314 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
315 (__libc_pwrite): Likewise.
316 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
317 (__libc_pwrite64): Likewise.
318 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
319 (__libc_pwritev): Likewise.
320 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
321 (__libc_pwritev64): Likewise.
322 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
323 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
324 (sync_file_range): Likewise.
325 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
327 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
329 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
330 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
331 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
332 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
333 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
334 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
335 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
336 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
340 (__libc_read64): Likewise.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
350 (__libc_pread64): Likewise.
351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
354 (__libc_pwrite64): Likewise.
355 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
356 (sync_file_range): Likewise.
357 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
358 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
359 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
360 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
361 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
362 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
363 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
364 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
365 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
366 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
367 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
368 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
369 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
370 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
371 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
372 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
373 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
374 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
375 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
377 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
379 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
380 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
382 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
383 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
384 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
385 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
387 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
388 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
389 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
390 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
391 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
393 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
395 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
397 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
398 Use VDSO routines for gettimeofday, clock_gettime if
400 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
401 Declare VDSO symbols.
402 * sysdeps/unix/sysv/linux/arm/sysdep.h:
403 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
404 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
405 * sysdeps/unix/sysv/linux/arm/Versions: Add
406 __vdso_clock_gettime.
408 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
410 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
411 be an inline implementation regardless of library is built within.
412 (open_not_cancel_2): Likewise.
413 (__read_nocancel): Likewise.
414 (__write_nocancel): Likewise.
415 (openat_not_cancel): Likewise.
416 (openat_not_cancel_3): Likewise.
417 (openat64_not_cancel): Likewise.
418 (openat64_not_cancel_3): Likewise.
419 (__close_nocancel): Likewise.
420 (pause_not_cancel): Likewise.
421 (nanosleep_not_cancel): Likewise.
422 (sigsuspend_not_cancel): Likewise.
424 2015-06-04 Torvald Riegel <triegel@redhat.com>
427 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
429 (__pthread_rwlock_rdlock_slow): Likewise.
430 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
432 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
434 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
435 * nptl/tst-rwlock16.c: New file.
436 * nptl/Makefile (tests): Add new test.
438 2015-06-04 Torvald Riegel <triegel@redhat.com>
441 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
442 missing wake-up of readers.
443 * nptl/tst-rwlock15.c: New file.
444 * nptl/Makefile (tests): Add new test.
446 2015-06-03 Roland McGrath <roland@hack.frob.com>
448 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
449 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
450 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
451 and __nacl_supply_interface_rtld.
452 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
453 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
454 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
455 Add __nacl_supply_interface_rtld.
456 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
458 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
460 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
462 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
463 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
465 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
467 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
468 __signbit* with standard C99 macros.
469 * math/e_exp10l.c: Likewise.
470 * math/e_exp2l.c: Likewise.
471 * math/e_scalb.c: Likewise.
472 * math/e_scalbf.c: Likewise.
473 * math/e_scalbl.c: Likewise.
474 * math/s_ldexp.c: Likewise.
475 * math/s_ldexpf.c: Likewise.
476 * math/s_ldexpl.c: Likewise.
477 * math/w_atan2.c: Likewise.
478 * math/w_atan2f.c: Likewise.
479 * math/w_atan2l.c: Likewise.
480 * math/w_cosh.c: Likewise.
481 * math/w_coshf.c: Likewise.
482 * math/w_coshl.c: Likewise.
483 * math/w_exp10.c: Likewise.
484 * math/w_exp10f.c: Likewise.
485 * math/w_exp10l.c: Likewise.
486 * math/w_exp2.c: Likewise.
487 * math/w_exp2f.c: Likewise.
488 * math/w_exp2l.c: Likewise.
489 * math/w_fmod.c: Likewise.
490 * math/w_fmodf.c: Likewise.
491 * math/w_fmodl.c: Likewise.
492 * math/w_hypot.c: Likewise.
493 * math/w_hypotf.c: Likewise.
494 * math/w_hypotl.c: Likewise.
495 * math/w_jnl.c: Likewise.
496 * math/w_lgamma.c: Likewise.
497 * math/w_lgamma_r.c: Likewise.
498 * math/w_lgammaf.c: Likewise.
499 * math/w_lgammaf_r.c: Likewise.
500 * math/w_lgammal.c: Likewise.
501 * math/w_lgammal_r.c: Likewise.
502 * math/w_pow.c: Likewise.
503 * math/w_powf.c: Likewise.
504 * math/w_powl.c: Likewise.
505 * math/w_remainder.c: Likewise.
506 * math/w_remainderf.c: Likewise.
507 * math/w_remainderl.c: Likewise.
508 * math/w_scalb.c: Likewise.
509 * math/w_scalbf.c: Likewise.
510 * math/w_scalbl.c: Likewise.
511 * math/w_scalbln.c: Likewise.
512 * math/w_scalblnf.c: Likewise.
513 * math/w_scalblnl.c: Likewise.
514 * math/w_sinh.c: Likewise.
515 * math/w_sinhf.c: Likewise.
516 * math/w_sinhl.c: Likewise.
517 * math/w_tgamma.c: Likewise.
518 * math/w_tgammaf.c: Likewise.
519 * math/w_tgammal.c: Likewise.
520 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
521 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
522 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
524 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
526 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
527 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
528 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
529 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
530 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
531 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
532 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
533 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
534 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
535 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
536 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
537 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
538 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
539 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
540 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
541 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
542 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
544 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
545 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
546 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
547 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
548 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
549 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
550 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
551 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
552 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
553 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
554 * stdio-common/printf_fp.c: Likewise.
555 * stdio-common/printf_fphex.c: Likewise.
556 * stdio-common/printf_size.c: Likewise.
558 2015-06-03 Joseph Myers <joseph@codesourcery.com>
561 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
563 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
565 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
566 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
567 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
568 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
569 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
570 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
571 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
572 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
573 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
574 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
577 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
578 weak alias of __wmemchr. Use libc_hidden_weak.
579 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
580 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
583 2015-06-02 Roland McGrath <roland@hack.frob.com>
586 * elf/tst-tlsalign-extern.c: New file.
587 * elf/tst-tlsalign-extern-static.c: New file.
588 * elf/tst-tlsalign-vars.c: New file.
589 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
590 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
591 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
592 ($(objpfx)tst-tlsalign-extern-static): Likewise.
593 (test-xfail-tst-tlsalign-extern-static): New variable.
595 2015-06-02 Joseph Myers <joseph@codesourcery.com>
597 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
598 Use variable name _sc_err instead of err.
599 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
601 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
602 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
603 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
604 (INLINE_SYSCALL): Likewise.
606 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
607 * include/string.h (__strnlen): Use libc_hidden_proto.
608 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
609 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
610 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
611 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
612 (libc_hidden_def): Undefine and redefine.
613 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
614 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
616 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
618 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
621 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
622 weak alias of __towlower. Use libc_hidden_weak.
623 (towupper): Rename to __towupper and define as weak alias of
624 __towupper. Use libc_hidden_weak.
625 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
626 (__towupper): Likewise.
627 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
628 __towlower instead of towlower.
630 2015-06-02 Roland McGrath <roland@hack.frob.com>
632 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
633 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
635 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
637 * sysdeps/aarch64/libm-test-ulps: Update.
639 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
641 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
643 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
645 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
646 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
647 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
648 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
649 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
651 2015-06-01 Martin Sebor <msebor@redhat.com>
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
655 (__setcontext): Use extended four-operand version of mtsf whenever
657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
658 (__novec_swapcontext): Likewise.
660 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
662 * benchtests/scripts/compare_bench.py: New file.
663 * benchtests/scripts/import_bench.py (mean): New function.
664 (split_list): Likewise.
665 (do_for_all_timings): Likewise.
666 (compress_timings): Likewise.
668 * benchtests/scripts/import_bench.py: New file.
669 * benchtests/scripts/validate_benchout.py: Import import_bench
670 instead of jsonschema.
671 (validate_bench): Remove function.
672 (main): Use import_bench.
674 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
676 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
677 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
679 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
683 2015-05-28 Roland McGrath <roland@hack.frob.com>
685 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
686 set THREAD_SELF->tid to a magic value and futex-wake it.
687 Pass its address to the thread_exit system call.
688 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
690 * sysdeps/nacl/lowlevellock.h: New file.
691 * sysdeps/nacl/lll_timedwait_tid.c: New file.
693 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
694 Add TIMEOUT to current time, don't subtract it.
696 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
699 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
700 ($(objpfx)tst-audit2.out): Also depend on
701 $(objpfx)tst-auditmod9b.so.
702 * elf/tst-audit2.c: Include <dlfcn.h>.
703 (calloc_called): New.
704 (calloc): Allow to be called more than once.
705 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
707 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
709 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
710 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
712 2015-05-27 Marko Myllynen <myllynen@redhat.com>
714 * stdlib/monetary.h: Fix comment.
716 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
718 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
719 Avoid using variables in #defines that might cause shadowing.
720 (INTERNAL_VSYSCALL_CALL): Likewise.
722 2015-05-26 Roland McGrath <roland@hack.frob.com>
724 * sysdeps/nacl/lll_timedlock_wait.c: New file.
726 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
727 * nptl/lll_timedlock_wait.c: ... to this new file.
728 * nptl/Makefile (libpthread-routines): Add it.
729 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
730 * nptl/lll_timedwait_tid.c: ... to this new file.
731 * nptl/Makefile (libpthread-routines): Add it.
732 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
733 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
734 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
735 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
736 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
737 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
738 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
739 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
740 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
741 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
743 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
745 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
746 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
747 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
748 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
749 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
750 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
751 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
752 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
753 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
754 * sysdeps/unix/sysv/linux/tile/sysdep.h
755 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
756 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
757 using vDSO syscall macro.
759 2015-05-26 Andriy Rysin <arysin@gmail.com>
762 * uk_UA: Fix sorting order for Ukrainian locale
764 2015-05-26 Marko Myllynen <myllynen@redhat.com>
766 * stdlib/monetary.h: Fix comment.
768 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
771 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
772 st_mtim and st_ctim members.
773 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
774 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
775 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
776 (struct stat64): Likewise.
777 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
778 (struct stat64): Likewise.
779 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
780 (struct stat64): Likewise.
782 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
784 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
785 Define and include sysdep-vdso.h.
786 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
788 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
790 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
791 Define with VDSO_SYMBOL and use PTR_MANGLE.
792 (__vdso_clock_gettime): Likewise.
793 (__vdso_clock_getres): Likewise.
794 (_libc_vdso_platform_setup): Likewise.
795 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
797 (_libc_vdso_platform_setup): Likewise.
798 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
800 (__vdso_clock_gettime): Likewise.
801 (__vdso_clock_getres): Likewise.
802 (__vdso_get_tbfreq): Likewise.
803 (__vdso_getcpu): Likewise.
804 (__vdso_time): Likewise.
805 (__vdso_sigtramp_rt64): Likewise.
806 (__vdso_signtramp32): Likewise.
807 (__vdso_sigtramp_rt32): Likewise.
808 (_libc_vdso_platform_setup): Likewise.
809 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
811 (__vdso_clock_gettime): Likewise.
812 (__vdso_clock_getres): Likewise.
813 (_libc_vdso_platform_setup): Likewise.
814 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
816 (__vdso_clock_gettime): Likewise.
817 (_libc_vdso_platform_setup): Likewise.
818 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
820 (__vdso_getcpu): Likewise.
821 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
822 Use VDSO_SYMBOL macro to define.
823 (__vdso_clock_gettime): Likewise.
824 (__vdso_clock_getres): Likewise.
825 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
827 (__vdso_clock_gettime): Likewise.
828 (__vdso_clock_getres): Likewise.
829 (__vdso_get_tbfreq): Likewise.
830 (__vdso_getcpu): Likewise.
831 (__vdso_time): Likewise.
832 (__vdso_sigtramp_rt64): Likewise.
833 (__vdso_signtramp32): Likewise.
834 (__vdso_sigtramp_rt32): Likewise.
835 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
837 (__vdso_clock_gettime): Likewise.
838 (__vdso_clock_getres): Likewise.
839 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
841 (__vdso_clock_gettime): Likewise.
842 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
844 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
846 (INTERNAL_VSYSCALL): Likewise.
847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
849 (INTERNAL_VSYSCALL): Likewise.
850 (INTERNAL_VSYSCALL_NCS): Likewise.
851 (INTERNAL_VSYSCALL_CALL): New macro.
852 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
853 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
855 (INTERNAL_VSYSCALL): Likewise.
856 (INTERNAL_VSYSCALL_NCS): Likewise.
857 (INTERNAL_VSYSCALL_CALL): New macro.
858 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
860 (INLINE_VSYSCALL): Remove macro.
861 (INTERNAL_VSYSCALL): Remove macro.
862 (INTERNAL_VSYSCALL_NCS): Remove macro.
863 (INTERNAL_VSYSCALL_CALL): New macro.
864 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
865 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
866 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
867 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
868 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
870 (INLINE_VSYSCALL): Remove macro.
871 (INTERNAL_VSYSCALL): Likewise.
872 (INTERNAL_VSYSCALL_NCS): Likewise.
873 (INTERNAL_VSYSCALL_CALL): New macro.
874 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
875 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
876 PTR_DEMANGLE on vDSO pointer.
877 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
878 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
880 (INTERNAL_SYSCALL): Likewise.
881 (INTERNAL_VSYSCALL_NCS): Remove macro.
882 (INTERNAL_VSYSCALL_CALL): New macro.
883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
885 (INTERNAL_VSYSCALL): Likewise.
886 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
887 sysdep-vdso.h instead of libc-vdso.h.
888 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
890 (INLINE_VSYSCALL): Likewise.
891 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
892 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
894 (INLINE_VSYSCALL): Likewise.
895 (INTERNAL_VSYSCALL): Likewise.
896 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
897 * sysdeps/unix/sysv/linux/timespec_get.c
898 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
899 (timespec_get): Use ANSI prototype.
900 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
901 and definition for Linux.
903 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
905 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
906 * include/libc-symbols.h: libmvec_hidden_* macro series added.
908 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
911 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
912 for missing DT_PLTRELSZ.
914 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
916 Remove obsolete aliases that broke 'locale -a'
918 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
919 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
920 breaking some applications that use 'locale -a' output.
921 Change the encoding of this file from Latin-1 to ASCII to avoid
922 other potential problems with people grepping this file.
924 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
926 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
927 -fasynchronous-unwind-tables.
928 (CFLAGS-sendto.c): Likewise.
929 (CFLAGS-sendmsg.c): Likewise.
930 (CFLAGS-connect.c): Likewise.
931 (CFLAGS-recvmsg.c): Likewise.
932 (CFLAGS-recvfrom.c): Likewise.
933 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
934 (SOCKETCALL): New macro: non-cancellable socketcall.
935 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
936 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
937 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
938 * sysdeps/unix/sysv/linux/accept.c: New file.
939 * sysdeps/unix/sysv/linux/bind.c: Likewise.
940 * sysdeps/unix/sysv/linux/connect.c: Likewise.
941 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
942 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
943 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
944 * sysdeps/unix/sysv/linux/listen.c: Likewise.
945 * sysdeps/unix/sysv/linux/recv.c: Likewise.
946 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
947 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
948 * sysdeps/unix/sysv/linux/send.c: Likewise.
949 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
950 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
951 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
952 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
953 * sysdeps/unix/sysv/linux/socket.c: Likewise.
954 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
955 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
957 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
958 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
959 instead of __internal_xxx function.
960 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
962 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
963 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
964 instead of __internal_xxx function.
965 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
967 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
968 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
969 instead of __internal_xxx function.
970 * sysdeps/unix/sysv/linux/accept.S: Remove file.
971 * sysdeps/unix/sysv/linux/bind.S: Likewise.
972 * sysdeps/unix/sysv/linux/connect.S: Likewise.
973 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
974 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
975 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
976 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
977 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
978 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
979 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
980 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
981 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
982 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
983 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
984 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
985 * sysdeps/unix/sysv/linux/listen.S: Likewise.
986 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
987 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
988 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
989 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
992 * sysdeps/unix/sysv/linux/recv.S: Likewise.
993 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
994 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
995 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
996 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
997 * sysdeps/unix/sysv/linux/send.S: Likewise.
998 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
999 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1000 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1001 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1002 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1003 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1004 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1005 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1006 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1007 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1008 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1009 socketcall is implemented in GLIBC.
1011 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1013 * soft-fp/fmadf4.c: Include <libc-internal.h>.
1014 (__fma): Ignore uninitialized warnings around packing.
1015 * soft-fp/fmasf4.c: Include <libc-internal.h>.
1016 (__fmaf): Ignore uninitialized warnings around packing.
1017 * soft-fp/fmatf4.c: Include <libc-internal.h>.
1018 (__fmal): Ignore uninitialized warnings around packing.
1020 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1021 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1022 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1023 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1025 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1026 switch statement into default case.
1027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1029 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1030 a conditional in forcing "inexact".
1031 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1034 2015-05-22 Roland McGrath <roland@hack.frob.com>
1036 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1037 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1038 for each INTERNAL_SYSCALL use.
1040 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1043 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1044 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1048 * string/basename.c (basename): Rename to __basename and define as
1049 weak alias of __basename. Use libc_hidden_weak.
1050 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1051 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1052 __basename instead of basename.
1053 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1055 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1057 2015-05-18 Florian Weimer <fweimer@redhat.com>
1059 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1060 (_IO_JUMPS_FILE_plus): New.
1061 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1062 _IO_CAST_FIELD_ACCESS.
1063 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1064 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1065 * libio/freopen.c (freopen): Likewise.
1066 * libio/freopen64.c (freopen64): Likewise.
1067 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1068 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1069 * libio/iofwide.c (_IO_fwide): Likewise.
1070 * libio/memstream.c (open_memstream): Likewise.
1071 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1072 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1073 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1075 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1077 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1078 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1080 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1081 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1083 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1084 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1087 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1090 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1091 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1093 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1094 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1095 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1097 2015-05-21 Florian Weimer <fweimer@redhat.com>
1099 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1100 Adjust jump table label generation macros.
1102 2015-05-21 Florian Weimer <fweimer@redhat.com>
1104 * stdio-common/vfprintf.c (vfprintf): Move local variables
1105 args_malloced, specs, specs_malloced, and the code after
1106 do_positional to the printf_positional function.
1107 (printf_positional): New function.
1109 2015-05-21 Florian Weimer <fweimer@redhat.com>
1111 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1113 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1114 STEP4_TABLE, process_arg): Move macro definitions
1115 out of the vfprintf function. (Cosmetic change only.)
1117 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1119 * benchtests/Makefile (stdio-common-bench): Define.
1120 (benchset): Add stdio-common-bench.
1121 * sprintf-inputs: New file.
1122 * sprintf-source.c: New file.
1124 2015-05-21 Andreas Schwab <schwab@suse.de>
1128 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1129 of struct __res_state.
1130 * resolv/res_send.c (__libc_res_nsend): Likewise.
1131 (get_nsaddr): New function.
1132 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1135 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1137 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1138 -D_POSIX_C_SOURCE=199506L.
1140 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1142 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1143 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1144 Do not mention otherwise.
1145 [POSIX] (_XOPEN_VERSION): Do not expect.
1146 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1147 [POSIX] (_POSIX2_C_BIND): Likewise.
1148 [POSIX] (_POSIX2_VERSION): Likewise.
1149 [POSIX] (_XOPEN_XPG2): Likewise.
1150 [POSIX] (_XOPEN_XPG3): Likewise.
1151 [POSIX] (_XOPEN_XPG4): Likewise.
1152 [POSIX] (_XOPEN_UNIX): Likewise.
1153 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1154 [POSIX] (_POSIX_BARRIERS): Likewise.
1155 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1156 [POSIX] (_POSIX_CPUTIME): Likewise.
1157 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1158 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1159 [POSIX] (_POSIX_SHELL): Likewise.
1160 [POSIX] (_POSIX_SPAWN): Likewise.
1161 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1162 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1163 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1164 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1165 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1166 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1167 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1168 [POSIX] (_XBS5_LP64_OFF64): Likewise.
1169 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1170 [POSIX] (_POSIX_TIMEOUTS): Likewise.
1171 [POSIX] (_POSIX2_PBS): Likewise.
1172 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1173 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1174 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1175 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1176 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1177 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1178 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1179 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1180 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1181 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1182 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1183 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1184 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1185 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1186 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1187 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1188 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1189 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1190 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1191 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1192 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1193 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1194 [POSIX] (_SC_2_C_BIND): Likewise.
1195 [POSIX] (_SC_2_C_VERSION): Likewise.
1196 [POSIX] (_SC_2_PBS): Likewise.
1197 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1198 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1199 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1200 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1201 [POSIX] (_SC_2_PBS_TRACK): Likewise.
1202 [POSIX] (_SC_ATEXIT_MAX): Likewise.
1203 [POSIX] (_SC_BARRIERS): Likewise.
1204 [POSIX] (_SC_BASE): Likewise.
1205 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1206 [POSIX] (_SC_DEVICE_IO): Likewise.
1207 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1208 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1209 [POSIX] (_SC_FD_MGMT): Likewise.
1210 [POSIX] (_SC_FIFO): Likewise.
1211 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1212 [POSIX] (_SC_FILE_LOCKING): Likewise.
1213 [POSIX] (_SC_FILE_SYSTEM): Likewise.
1214 [POSIX] (_SC_IOV_MAX): Likewise.
1215 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1216 [POSIX] (_SC_NETWORKING): Likewise.
1217 [POSIX] (_SC_PAGE_SIZE): Likewise.
1218 [POSIX] (_SC_PASS_MAX): Likewise.
1219 [POSIX] (_SC_PIPE): Likewise.
1220 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1221 [POSIX] (_SC_REGEXP): Likewise.
1222 [POSIX] (_SC_SHELL): Likewise.
1223 [POSIX] (_SC_SIGNALS): Likewise.
1224 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1225 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1226 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1227 [POSIX] (_SC_USER_GROUPS): Likewise.
1228 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1229 [POSIX] (_SC_STREAMS): Likewise.
1230 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1231 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1232 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1233 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1234 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1235 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1236 [POSIX] (_PC_FILESIZEBITS): Likewise.
1237 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1238 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1239 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1240 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1241 [POSIX] (uid_t): Likewise.
1242 [POSIX] (gid_t): Likewise.
1243 [POSIX] (off_t): Likewise.
1244 [POSIX] (pid_t): Likewise.
1245 [POSIX] (cuserid): Allow.
1246 (_SC_2_CHAR_TERM): Require constant.
1247 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1248 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1251 2015-05-20 Roland McGrath <roland@hack.frob.com>
1253 * sysdeps/nacl/pthread-pids.h: New file.
1254 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1255 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1257 * nptl/pthread-pids.h: New file.
1258 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1259 * nptl/nptl-init.c: Include <pthread-pids.h>.
1260 (__pthread_initialize_minimal_internal):
1261 Call __pthread_initialize_pids instead of set_tid_address syscall.
1263 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1264 * sysdeps/posix/usleep.c: ... here.
1266 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1268 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1269 call_pselect6 object.
1270 [$(subdir) = io]: Remove call_sync_file_range object.
1271 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1272 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1273 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1274 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1276 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1278 * math/s_cproj.c: Add include "math_private.h".
1279 * math/s_cprojf.c: Likewise.
1280 * math/s_cprojl.c: Likewise.
1282 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1285 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1286 high mantissa bit when testing whether P is a NaN.
1287 * math/libm-test.inc (remainder_test_data): Add more tests.
1288 (remquo_test_data): Likewise.
1291 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1292 below -32, return the argument, with underflow if subnormal.
1293 * math/auto-libm-test-in: Add more tests of atanh.
1294 * math/auto-libm-test-out: Regenerated.
1296 2015-05-19 Roland McGrath <roland@hack.frob.com>
1299 * nptl/tst-sem15.c: New file.
1300 * nptl/Makefile (tests): Add it.
1301 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1302 s/<</>>/ to fix typo in EOVERFLOW check.
1303 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1305 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1307 * manual/strings.texi (envz_remove): Fix typo in safety
1310 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1311 Steve Ellcey <sellcey@imgtec.com>
1313 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1314 in order to avoid strict alias warnings.
1315 (iruserok_af): Ditto for ra.
1317 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1321 (magicbyte): Convert to a function and avoid returning 0x01.
1322 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1323 (mem2chunk_check): Fix unsigned comparisons to zero.
1324 Hoist defs of sz and magic.
1326 2015-05-19 Richard Henderson <rth@redhat.com>
1328 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1330 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1332 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1335 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1336 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1337 (reused_arena): Find a non-corrupt arena.
1338 (heap_trim): Pass arena to unlink.
1339 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1341 (top_check): Likewise.
1342 (free_check): Likewise.
1343 (realloc_check): Likewise.
1344 * malloc/malloc.c (malloc_printerr): Add arena argument.
1346 (munmap_chunk): Adjust.
1347 (ARENA_CORRUPTION_BIT): New macro.
1348 (arena_is_corrupt): Likewise.
1349 (set_arena_corrupt): Likewise.
1350 (sysmalloc): Use mmap if there are no usable arenas.
1351 (_int_malloc): Likewise.
1352 (__libc_malloc): Don't fail if arena_get returns NULL.
1353 (_mid_memalign): Likewise.
1354 (__libc_calloc): Likewise.
1355 (__libc_realloc): Adjust for additional argument to
1357 (_int_free): Likewise.
1358 (malloc_consolidate): Likewise.
1359 (_int_realloc): Likewise.
1360 (_int_memalign): Don't touch corrupt arenas.
1361 * malloc/tst-malloc-backtrace.c: New test case.
1363 * Makefile (summarize-tests): Fix return value on success.
1365 * manual/string.texi (Envz Functions): Add envz_remove.
1367 2015-05-18 Roland McGrath <roland@hack.frob.com>
1369 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1370 (invalid_name): New function, broken out of ...
1371 (__opendirat): ... here. Call it.
1372 (need_isdir_precheck): New function, broken out of ...
1373 (__opendirat): ... here. Call it.
1374 Use __fxstatat64, not __xstatat64.
1375 (opendir_oflags): New function, broken out of ...
1376 (__opendirat): ... here. Call it.
1377 (opendir_tail): New function, broken out of ...
1378 (__opendirat): ... here. Call it.
1379 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1380 opendir_tail, rather than punting to __opendirat.
1381 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1383 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1385 * .gitignore: Ignore generated *.pyc.
1387 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1389 * include/stdio.h: Define __need_wint_t.
1390 * test-skeleton.c: Avoid `for' loop initial declaration.
1391 * nptl/tst-initializers1.c: Use test-skeleton.c.
1393 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1396 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1398 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1401 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1402 (__ieee754_atanh): Force underflow exception for results with
1403 small absolute value.
1404 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1405 (__ieee754_atanhf): Force underflow exception for results with
1406 small absolute value.
1407 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1408 (__ieee754_atanh): Force underflow exception for results with
1409 small absolute value.
1410 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1411 (__ieee754_atanhf): Force underflow exception for results with
1412 small absolute value.
1413 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1414 (__ieee754_atanhl): Force underflow exception for results with
1415 small absolute value.
1416 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1417 (__ieee754_atanhl): Force underflow exception for results with
1418 small absolute value.
1419 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1420 (__ieee754_atanhl): Force underflow exception for results with
1421 small absolute value.
1422 * math/auto-libm-test-in: Do not allow missing underflow
1423 exceptions from atanh.
1424 * math/auto-libm-test-out: Regenerated.
1427 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1428 2**-28 as threshold for returning x or +/- 1/x.
1429 * math/auto-libm-test-in: Add more tests of tan.
1430 * math/auto-libm-test-out: Regenerated.
1433 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1434 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1435 * math/auto-libm-test-in: Add another test of lgamma.
1436 * math/auto-libm-test-out: Regenerated.
1438 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1440 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1441 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1442 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1443 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1444 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1445 (ADD2A): Use fabs. (SUB2A): Use fabs.
1446 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1447 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1449 (log1): Use fabs. (my_log2): Use fabs.
1450 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1451 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1452 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1453 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1454 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1455 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1456 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1457 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1458 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1459 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1460 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1462 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1465 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1466 as threshold for returning 1 - x.
1467 * math/auto-libm-test-in: Add more tests of erfc.
1468 * math/auto-libm-test-out: Regenerated.
1470 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1473 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1474 threshold for large arguments.
1475 * math/auto-libm-test-in: Add another test of atan.
1476 * math/auto-libm-test-out: Regenerated.
1479 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1480 (__log1p): Force underflow exception for results with small
1482 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1483 (__log1pf): Force underflow exception for results with small
1485 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1486 (__log1p): Force underflow exception for results with small
1488 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1489 (__log1pf): Force underflow exception for results with small
1491 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1492 (__log1pl): Force underflow exception for results with small
1494 * math/auto-libm-test-in: Do not allow missing underflow
1495 exceptions from log1p.
1496 * math/auto-libm-test-out: Regenerated.
1498 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1499 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1502 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1504 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1506 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1507 (libmvec): New variable.
1508 * configure.ac: Added option for mathvec build.
1509 * configure: Regenerated.
1510 * mathvec/Depend: New file.
1511 * mathvec/Makefile: New file.
1512 * shlib-versions: Added libmvec.
1513 * math/Makefile: Added rule for libm.so installation.
1515 * bits/math-vector.h: New file.
1516 * bits/libm-simd-decl-stubs.h: New header.
1517 * math/Makefile (headers): Added new header
1518 libm-simd-decl-stubs.h.
1519 * math/math.h (__MATHCALL_VEC): New macro.
1521 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1522 for conditions in testing functions.
1523 * math/Makefile: Added call of libm-have-vector-test.sh.
1524 * math/libm-test.inc (HAVE_VECTOR): New macros.
1526 * math/libm-test.inc: START refactored.
1527 * math/test-double.c (TEST_MATHVEC): Add define.
1528 * math/test-float.c: Likewise.
1529 * math/test-idouble.c: Likewise.
1530 * math/test-ifloat.c: Likewise.
1531 * math/test-ildoubl.c: Likewise.
1532 * math/test-ldouble.c: Likewise.
1533 * sysdeps/generic/math-tests-arch.h
1534 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1537 * math/test-double.c (FUNC_TEST): New macro.
1538 * math/test-float.c: Likewise.
1539 * math/test-idouble.c: Likewise.
1540 * math/test-ifloat.c: Likewise.
1541 * math/test-ildoubl.c: Likewise.
1542 * math/test-ldouble.c: Likewise.
1543 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1545 2015-05-13 Roland McGrath <roland@hack.frob.com>
1547 * sysdeps/nacl/fdopendir.c: New file.
1549 * dirent/scandir-tail.c: New file.
1550 * dirent/scandir64-tail.c: New file.
1551 * dirent/Makefile (routines): Add them.
1552 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1553 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1554 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1555 [!SCANDIR] (SCANDIR_TAIL): New macro.
1556 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1557 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1558 (SCANDIRAT): Macro removed.
1559 (SCANDIR_TAIL): New macro.
1560 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1561 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1562 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1563 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1564 (READDIR): Macro removed.
1565 (SCANDIR_TAIL): New macro.
1566 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1567 (SCANDIR_TAIL): New macro.
1569 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1570 * dirent/scandir-cancel.c: ... to this new file.
1571 * dirent/Makefile (routines): Add it.
1572 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1573 * sysdeps/unix/sysv/linux/i386/scandir64.c
1574 (SKIP_SCANDIR_CANCEL): Macro removed.
1575 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1577 * dirent/tst-scandir.c: New file.
1578 * dirent/tst-scandir64.c: New file.
1579 * dirent/Makefile (tests): Add them.
1581 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1584 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1586 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1588 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1591 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1593 * benchtests/bench-strcoll.c: New benchmark.
1594 * benchtests/Makefile: Generate locales and run benchmark.
1595 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1596 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1597 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1598 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1599 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1600 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1601 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1602 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1603 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1604 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1605 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1606 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1607 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1608 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1609 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1610 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1611 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1612 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1613 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1614 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1615 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1616 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1617 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1618 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1620 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
1622 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1623 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1625 2015-05-12 Roland McGrath <roland@hack.frob.com>
1627 * posix/uname-values.h: New file.
1628 * posix/uname.c: Include that instead of <config-name.h>.
1629 * sysdeps/nacl/uname-values.h: New file.
1630 * sysdeps/arm/nacl/uname-values.h: New file.
1632 2015-05-12 Joseph Myers <joseph@codesourcery.com>
1634 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1635 splitting into fields.
1637 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
1639 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1640 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1641 * locale/localeinfo.h: Add enum collation_encoding_type.
1642 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1643 * programs/ld-collate.c (collate_output): Add encoding type info.
1644 * string/strcoll_l.c (STRDIFF): New function.
1645 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1646 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1648 2015-05-11 Joseph Myers <joseph@codesourcery.com>
1651 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1652 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1653 <fpu_control.h> instead of <math/fpu_control.c>.
1654 * sysdeps/mips/mips32/fpu/Makefile: New file.
1656 2015-05-11 Andreas Schwab <schwab@suse.de>
1659 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1661 (_nss_compat_endgrent): Call nss_endgrent.
1662 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1664 (_nss_compat_endpwent): Call nss_endpwent.
1665 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1666 needent, call nss_setspent only if non-zero.
1667 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1668 (internal_endspent): Don't call nss_endspent.
1669 (_nss_compat_endspent): Call nss_endspent.
1670 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1671 Remove. All uses removed.
1672 (internal_setent): Remove parameter stayopen, add parameter
1673 stream. Use it instead of global variable.
1674 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1675 (internal_endent, internal_getent): Add parameter stream. Use it
1676 instead of global variable.
1677 (CONCAT(_nss_files_end,ENTNAME))
1678 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1679 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1680 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1682 (internal_setent, internal_endent): Add parameter stream. Use it
1683 instead of global variable.
1684 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1686 (get_next_alias): Add parameter stream.
1687 (_nss_files_getaliasent_r): Pass global stream.
1688 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1689 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1690 (_nss_files_gethostbyname4_r): Pass local stream to
1691 internal_setent, internal_getent and internal_endent. Remove
1694 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1696 * tst-strfmon1.c (tests): Update expected currency symbol.
1698 2015-05-08 Roland McGrath <roland@hack.frob.com>
1700 * sysdeps/nacl/gethostname.c: New file.
1702 2015-05-08 Joseph Myers <joseph@codesourcery.com>
1704 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1706 * math/auto-libm-test-out: Regenerated.
1707 * sysdeps/i386/fpu/libm-test-ulps: Update.
1708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1710 2015-05-08 Carlos O'Donell <carlos@redhat.com>
1713 * stdlib/tst-setcontext3.c: New file.
1714 * stdlib/tst-setcontext3.sh: New file.
1715 * stdlib/Makefile (tests): Add tst-setcontext3.
1716 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1717 to verify test program created output file.
1718 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1719 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1720 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1721 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1723 2015-05-06 Roland McGrath <roland@hack.frob.com>
1726 * elf/tst-tlsalign.c: New file.
1727 * elf/tst-tlsalign-static.c: New file.
1728 * elf/tst-tlsalign-lib.c: New file.
1729 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1730 (tests-static): Add tst-tlsalign-static.
1731 (modules-names): Add tst-tlsalign-lib.
1732 (test-xfail-tst-tlsalign): New variable.
1733 (test-xfail-tst-tlsalign-static): New variable.
1735 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1736 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1738 2015-05-06 Joseph Myers <joseph@codesourcery.com>
1740 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1741 csqrt, erfc, sin and sincos.
1742 * math/auto-libm-test-out: Regenerated.
1743 * sysdeps/i386/fpu/libm-test-ulps: Update.
1744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1746 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1748 * sysdeps/aarch64/libm-test-ulps: Update.
1750 2015-05-05 Joseph Myers <joseph@codesourcery.com>
1752 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1753 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1754 * math/auto-libm-test-out: Regenerated.
1755 * sysdeps/i386/fpu/libm-test-ulps: Update.
1756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1758 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1761 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1762 (wcsncpy): Likewise.
1764 2015-05-05 Florian Weimer <fweimer@redhat.com>
1766 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1767 Assume __ASSUME_FALLOCATE is always true.
1768 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1769 (__posix_fallocate64_l64): Likweise.
1770 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1771 (posix_fallocate): Likewise.
1772 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1773 (__posix_fallocate64_l64): Likewise.
1774 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1775 [!__ASSUME_FALLOCATE]: Add comment.
1777 2015-05-05 Florian Weimer <fweimer@redhat.com>
1779 * sysdeps/unix/sysv/linux/i386/Makefile
1780 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1781 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1782 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1783 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1784 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1785 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1786 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1788 2015-05-02 Joseph Myers <joseph@codesourcery.com>
1790 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1791 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1793 * math/auto-libm-test-out: Regenerated.
1794 * sysdeps/i386/fpu/libm-test-ulps: Update.
1795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1797 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1799 * math/auto-libm-test-in: Add more tests of tgamma.
1800 * math/auto-libm-test-out: Regenerated.
1801 * sysdeps/i386/fpu/libm-test-ulps: Update.
1802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1804 * math/auto-libm-test-in: Add more tests of tanh.
1805 * math/auto-libm-test-out: Regenerated.
1806 * sysdeps/i386/fpu/libm-test-ulps: Update.
1807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1809 * math/auto-libm-test-in: Add more tests of tan.
1810 * math/auto-libm-test-out: Regenerated.
1811 * sysdeps/i386/fpu/libm-test-ulps: Update.
1812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1814 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1815 * math/auto-libm-test-out: Regenerated.
1816 * sysdeps/i386/fpu/libm-test-ulps: Update.
1817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1819 * math/auto-libm-test-in: Add another test of pow.
1820 * math/auto-libm-test-out: Regenerated.
1821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1823 * math/auto-libm-test-in: Add more tests of lgamma.
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 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1830 * math/auto-libm-test-out: Regenerated.
1831 * sysdeps/i386/fpu/libm-test-ulps: Update.
1832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1834 2015-05-01 Mark Wielaard <mjw@redhat.com>
1836 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1837 Elf64_Chdr structs and ELFCOMPRESS constants.
1839 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1841 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1843 * math/auto-libm-test-out: Regenerated.
1844 * sysdeps/i386/fpu/libm-test-ulps: Update.
1845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1847 * math/auto-libm-test-in: Add more tests of erf and erfc.
1848 * math/auto-libm-test-out: Regenerated.
1849 * sysdeps/i386/fpu/libm-test-ulps: Update.
1850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1852 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1854 * config.h.in (HAVE_AARCH64_BE): Add.
1856 2015-04-30 Joseph Myers <joseph@codesourcery.com>
1858 * math/auto-libm-test-in: Add more tests of csqrt.
1859 * math/auto-libm-test-out: Regenerated.
1860 * sysdeps/i386/fpu/libm-test-ulps: Update.
1861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1863 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1864 * math/auto-libm-test-out: Regenerated.
1865 * sysdeps/i386/fpu/libm-test-ulps: Update.
1866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1868 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1870 2015-04-29 Roland McGrath <roland@hack.frob.com>
1872 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1873 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1875 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1876 (euidaccess, eaccess): Define as weak aliases.
1878 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1879 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1880 but __suseconds_t is often 'long int' so some sources assume that
1881 type is being used (e.g. they use %ld to print tv_usec).
1883 2015-04-29 Florian Weimer <fweimer@redhat.com>
1886 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1888 * nss/tst-nss-getpwent.c: New file.
1889 * nss/Makefile (tests): Add new test.
1891 2015-04-28 Joseph Myers <joseph@codesourcery.com>
1894 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1895 exponents less than 48 as cases where high part of mantissa needs
1896 examining to determine whether argument is integral.
1897 * math/libm-test.inc (round_test_data): Add more tests.
1899 2015-04-28 Mark Wielaard <mjw@redhat.com>
1901 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1903 2015-04-27 David S. Miller <davem@davemloft.net>
1905 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1907 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1909 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1912 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1914 2015-04-27 Florian Weimer <fweimer@redhat.com>
1917 * time/tzset.c (parse_tzname): Return error on memory allocation
1919 * test-skeleton.c (struct temp_name_list): Change type of name
1920 member to non-const.
1921 (add_temp_file): Create a copy of the file name.
1922 (delete_temp_files): Deallocate memory.
1923 (create_temp_file): Add comment.
1925 2015-04-24 Florian Weimer <fweimer@redhat.com>
1927 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1928 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1930 2015-04-24 Roland McGrath <roland@hack.frob.com>
1932 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1933 * sysdeps/arm/configure: Regenerated.
1935 2015-04-24 Florian Weimer <fweimer@redhat.com>
1938 * time/tzfile.c (__tzfile_read): Check for large values of
1939 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1940 * time/tzset.c (__tzstring_len): New function, based on the old
1941 __tzstring function.
1942 (__tzstring): Call __tzstring_len.
1943 (parse_tzname): New helper function extracted from
1944 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1946 (parse_offset): New helper function extracted from
1947 __tzset_parse_tz. Replace switch with fallthrough with
1948 initialization before sscanf.
1949 (parse_rule): Likewise.
1950 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1951 new-style function definition.
1952 * timezone/Makefile (tests): Add tst-tzset.
1953 (tst-tzset.out): Dependencies on time zone files.
1954 (tst-tzset-ENV): Set TZDIR.
1955 (testdata/XT%): Copy crafted time zone files.
1956 * timezone/README: Mention crafted time zone files.
1957 * timezone/testdata/XT1, timezone/testdata/XT2,
1958 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1960 * timezone/tst-tzset.c: New test.
1962 2015-04-24 Florian Weimer <fweimer@redhat.com>
1964 * Makeconfig (+gccwarn): Remove -Winline.
1966 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1968 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1970 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1972 * NEWS: Mention sysconf() cache information support for s390.
1973 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1975 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
1977 * math/k_casinh.c (__kernel_casinh): Use __copysign.
1978 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1979 (__nearbyint): Likewise.
1980 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1981 (copysignl): Likewise.
1983 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
1986 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1987 based on padding. (CVE-2015-1781)
1989 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1991 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1993 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1994 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1995 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1996 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1997 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1998 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1999 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2000 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2001 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2002 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2003 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2004 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2005 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2006 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2007 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2008 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2009 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2010 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2011 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2012 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2013 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2014 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2015 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2017 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2019 * stdlib/setenv.c (__add_to_environ):
2020 Dump core quickly if setenv (..., NULL, ...) is called.
2021 This time, do it the right way, and pacify GCC with a pragma.
2023 2015-04-17 Roland McGrath <roland@hack.frob.com>
2025 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2026 IMAP->l_prev cannot be null, and #if out the code for the contrary
2027 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2028 believe that NS (&_dl_ns[NSID]) could point outside the array.
2030 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2031 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2032 before using NSID as an index.
2034 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2037 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2038 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2039 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2041 2015-04-17 Roland McGrath <roland@hack.frob.com>
2043 Add preliminary port to Google Native Client on ARM.
2044 * abi-tags (.*-.*-nacl.*): New entry.
2045 * sysdeps/arm/nacl: New directory.
2046 * sysdeps/nacl: New directory.
2048 2015-04-16 David S. Miller <davem@davemloft.net>
2050 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2051 lowlevellock-futex.h
2053 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2055 * sysdeps/tile/configure.ac: New file.
2056 * sysdeps/tile/configure: Regenerated.
2058 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2060 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2061 conditionals for weak_alias and libc_hidden_weak.
2062 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2063 libc_hidden_weak and weak_alias.
2064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2065 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2066 and weak_alias for static one.
2068 2015-04-15 David S. Miller <davem@davemloft.net>
2070 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2072 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2075 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2076 Use signed comparision instead of substraction to avoid
2078 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2079 Take the sign of ret.
2080 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2081 Do not expect precise return values. Only the sign matters.
2082 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2083 * wcsmbs/test-wcsncmp.c: New File.
2084 * string/test-strncmp.c: Add wcsncmp support.
2086 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2089 * math/w_log1p.c: New file.
2090 * math/w_log1pf.c: Likewise.
2091 * math/w_log1pl.c: Likewise.
2092 * math/Makefile (libm-calls): Add w_log1p.
2093 * math/s_log1pl.c (log1pl): Remove weak_alias.
2094 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2095 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2096 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2097 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2098 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2099 [NO_LONG_DOUBLE] (log1pl): Likewise.
2100 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2101 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2102 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2103 (log1p): Remove long_double_symbol.
2104 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2105 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2106 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2107 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2108 remove weak_alias for corresponding log1p function.
2109 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2110 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2111 * sysdeps/ia64/fpu/w_log1p.c: New file.
2112 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2113 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2114 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2116 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2120 decimal exponent by 1.
2121 * stdlib/tst-strtod-round-data: Add more tests.
2122 * stdlib/tst-strtod-round.c (tests): Regenerated.
2124 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2126 * math/auto-libm-test-in: Add more tests of clog and clog10.
2127 * math/auto-libm-test-out: Regenerated.
2128 * sysdeps/i386/fpu/libm-test-ulps: Update.
2129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2131 2015-04-09 Roland McGrath <roland@hack.frob.com>
2133 * Makeconfig (module-cppflags): Exclude all .v.i files.
2134 (skip-module-cppflags): Variable removed.
2136 * configure.ac (libc_config_ok): Initialize before reading
2137 preconfigure scripts, not after.
2138 * configure: Regenerated.
2140 * test-skeleton.c (TIMEOUT): Move #define to top level.
2141 (main): Grok environment variable TEST_DIRECT. If set, print
2142 test expectation details into that file and then behave as if
2145 2015-04-09 Florian Weimer <fweimer@redhat.com>
2147 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2150 2015-04-08 David S. Miller <davem@davemloft.net>
2152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2154 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2156 * math/auto-libm-test-in: Add more tests of atanh.
2157 * math/auto-libm-test-out: Regenerated.
2158 * sysdeps/i386/fpu/libm-test-ulps: Update.
2159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2161 * math/auto-libm-test-in: Add more tests of atan.
2162 * math/auto-libm-test-out: Regenerated.
2163 * sysdeps/i386/fpu/libm-test-ulps: Update.
2164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2166 2015-04-08 Florian Weimer <fweimer@redhat.com>
2168 * elf/pldd.c (main): Rewrite to use struct
2169 scratch_buffer instead of extend_alloca.
2170 * elf/pldd-xx.c (find_maps): Likewise.
2171 * grp/initgroups.c: Include <scratch_buffer.h> instead of
2173 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2174 scratch_buffer instead of extend_alloca.
2175 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2176 grp/compat-initgroups.c.
2177 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2178 Rewrite to use struct scratch_buffer instead of extend_alloca.
2179 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2180 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2182 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2184 * math/auto-libm-test-in: Add more tests of cbrt.
2185 * math/auto-libm-test-out: Regenerated.
2186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2188 * math/auto-libm-test-in: Add more tests of cabs.
2189 * math/auto-libm-test-out: Regenerated.
2190 * sysdeps/i386/fpu/libm-test-ulps: Update.
2191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2195 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2196 (__ieee754_atan2): Set FE_TONEAREST mode for internal
2198 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2200 * math/auto-libm-test-out: Regenerated.
2201 * sysdeps/i386/fpu/libm-test-ulps: Update.
2202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2205 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2206 (atan): Set FE_TONEAREST mode for internal computations.
2207 * math/auto-libm-test-in: Add more tests of atan.
2208 * math/auto-libm-test-out: Regenerated.
2210 2015-04-07 James Cowgill <james410@cowgill.org.uk>
2213 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2215 2015-04-07 Florian Weimer <fweimer@redhat.com>
2217 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2219 2015-04-07 Florian Weimer <fweimer@redhat.com>
2221 * include/scratch_buffer.h: New file.
2222 * malloc/scratch_buffer_grow.c: Likewise.
2223 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2224 * malloc/scratch_buffer_set_array_size.c: Likewise.
2225 * malloc/tst-scratch_buffer.c: Likewise.
2226 * malloc/Makefile (routines): Add scratch_buffer_grow.
2227 (tests): Add test case.
2228 * malloc/Versions (GLIBC_PRIVATE): Export
2229 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2230 __libc_scratch_buffer_set_array_size.
2232 2015-04-06 Richard Henderson <rth@redhat.com>
2234 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2235 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2237 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2238 unsigned int before printing.
2240 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2243 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2244 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2246 2015-04-02 Florian Weimer <fweimer@redhat.com>
2248 * include/libc-internal.h (libc_max_align_t): Define.
2250 2015-04-02 Andreas Schwab <schwab@suse.de>
2253 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2255 2015-04-02 Mel Gorman <mgorman@suse.de>
2258 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2259 as well as the main arena.
2261 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2264 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2265 sharing L2 cache to 2 for Silvermont/Knights Landing.
2267 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2270 * config.make.in (have-protected-data): New.
2271 * configure.ac: Check linker support for protected data symbol.
2272 * configure: Regenerated.
2273 * elf/Makefile (modules-names): Add tst-protected1moda and
2274 tst-protected1modb if $(have-protected-data) is yes.
2275 (tests): Add tst-protected1a and tst-protected1b if
2276 $(have-protected-data) is yes.
2277 ($(objpfx)tst-protected1a): New.
2278 ($(objpfx)tst-protected1b): Likewise.
2279 (tst-protected1modb.so-no-z-defs): Likewise.
2280 * elf/tst-protected1a.c: New file.
2281 * elf/tst-protected1b.c: Likewise.
2282 * elf/tst-protected1mod.h: Likewise.
2283 * elf/tst-protected1moda.c: Likewise.
2284 * elf/tst-protected1modb.c: Likewise.
2286 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2289 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2290 indicates it is called from do_lookup_x on relocation against
2291 protected data, skip the data definion in the executable from
2293 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2294 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2295 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2296 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2297 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2299 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2300 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2301 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2302 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2303 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2304 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2306 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2308 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2309 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2311 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2313 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2315 * sysdeps/x86_64/nptl/tls.h: Ditto.
2317 2015-03-27 Roland McGrath <roland@hack.frob.com>
2319 * dlfcn/tststatic.c (main): Converted to ...
2320 (do_test): ... this.
2321 (TEST_FUNCTION): New macro.
2322 Include test-skeleton.c.
2324 2015-03-26 Alan Modra <amodra@gmail.com>
2326 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2327 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2328 zero for undefined weak.
2329 (elf_machine_plt_conflict): Similarly.
2331 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2333 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2335 * math/auto-libm-test-out: Regenerated.
2336 * sysdeps/i386/fpu/libm-test-ulps: Update.
2337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2339 * math/auto-libm-test-in: Add another test of asin.
2340 * math/auto-libm-test-out: Regenerated.
2341 * sysdeps/i386/fpu/libm-test-ulps: Update.
2342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2344 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2346 (LLL_EBX_REG): Likewise.
2347 (LLL_ENTER_KERNEL): Likewise.
2349 * math/auto-libm-test-in: Add more tests of asin.
2350 * math/auto-libm-test-out: Regenerated.
2351 * sysdeps/i386/fpu/libm-test-ulps: Update.
2352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2355 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2356 libc_do_syscall_args): New structure.
2357 (INTERNAL_SYSCALL_MAIN_0): New macro.
2358 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2359 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2360 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2361 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2362 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2363 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2364 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2365 Replace conditional definitions by conditional definitions of ....
2366 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2367 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2368 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2369 (libpthread-sysdep_routines): Add libc-do-syscall.
2370 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2371 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2372 to __NR_futex not 240.
2374 2015-03-25 Alan Modra <amodra@gmail.com>
2376 * NEWS: Advertise TLS optimization.
2377 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2378 (DT_PPC_NUM): Increment.
2379 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2380 (CHECK_STATIC_TLS): Use here.
2381 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2384 * sysdeps/powerpc/dl-tls.c: New file.
2385 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2386 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2387 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2388 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2393 2015-03-25 Alan Modra <amodra@gmail.com>
2395 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2396 for overlapping .opd entries" to "support...".
2397 * sysdeps/powerpc/powerpc64/configure: Regenerate
2399 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2401 * math/auto-libm-test-in: Add more tests of acos.
2402 * math/auto-libm-test-out: Regenerated.
2403 * sysdeps/i386/fpu/libm-test-ulps: Update.
2404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2406 * math/auto-libm-test-in: Add more tests of expm1.
2407 * math/auto-libm-test-out: Regenerated.
2408 * sysdeps/i386/fpu/libm-test-ulps: Update.
2409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2411 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2413 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2414 * math/auto-libm-test-out: Regenerated.
2415 * sysdeps/i386/fpu/libm-test-ulps: Update.
2416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2418 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2421 * math/auto-libm-test-in: Add more tests of log2.
2422 * math/auto-libm-test-out: Regenerated.
2423 * sysdeps/i386/fpu/libm-test-ulps: Update.
2424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2426 2015-03-23 Roland McGrath <roland@hack.frob.com>
2428 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2429 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2430 _IO_IS_APPENDING bit in READ_WRITE instead.
2432 2015-03-23 Florian Weimer <fweimer@redhat.com>
2434 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2435 (__determine_cpumask_size): Replace extend_alloca with a
2436 variable-length array. Do not treat res == 0 as an error.
2438 2015-03-23 Florian Weimer <fweimer@redhat.com>
2441 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2442 and integer overflow.
2443 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2444 (main): Add integer overflow tests.
2445 * manual/pattern.texi (Calling Wordexp): Document additional use
2448 2015-03-23 Alan Modra <amodra@gmail.com>
2450 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2451 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2452 and false branch of conditional.
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2456 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2458 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2460 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2461 unused declaration of _hurd_intr_rpc_msg_in_trap.
2462 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2463 defined instead of whether it is non-zero.
2464 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2465 input constraint instead of both input and output constraint. Use ecx
2466 clobber instead of %ecx.
2467 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2468 mutex_unlock): Use a statement expression instead of an expression list.
2469 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2470 type to vm_size_t instead of vm_address_t.
2471 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2472 defined instead of whether it is non-zero.
2473 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2474 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2475 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2476 comparisons with mapaddr.
2477 * nscd/nscd-client.h: Include <time.h>.
2478 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2479 9th parameter to __vm_region instead of int.
2480 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2481 * scripts/check-local-headers.sh (exclude): Add device/,
2482 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2485 2015-03-19 Roland McGrath <roland@hack.frob.com>
2487 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2488 to account for alignment padding.
2489 * sysdeps/arm/memmove.S: Likewise.
2491 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2493 * sysdeps/unix/sysv/linux/generic/README: New file.
2495 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2498 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2499 (futex_abstimed_wait)
2500 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2501 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2502 of lll_futex_timed_wait.
2504 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2507 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2509 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2516 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2517 entries with Static TLS too. Skip entries past the end of the
2518 allocated DTV, from Alan Modra.
2519 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2520 Static TLS DTV entry set up from...
2521 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2522 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2523 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2524 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2526 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2527 that the slot we find is associated with the given map before
2528 using its generation count.
2529 * nptl_db/db_info.c: Include ldsodefs.h.
2530 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2531 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2532 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2533 (link_map::l_tls_offset): New struct field.
2534 (dtv_t::counter): Likewise.
2535 (rtld_global): New struct.
2536 (_rtld_global): New rtld variable.
2537 (dl_tls_dtv_slotinfo_list): New rtld global field.
2538 (dtv_slotinfo_list): New struct.
2539 (dtv_slotinfo): Likewise.
2540 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2541 (td_lookup): Rename to...
2542 (td_mod_lookup): ... this. Use new mod parameter instead of
2544 * nptl_db/td_thr_tlsbase.c: Include link.h.
2545 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2546 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2547 addresses even if the DTV is out of date or missing them.
2548 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2549 index zero-length arrays.
2550 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2551 (td_lookup): Make it a macro implemented in terms of...
2552 (td_mod_lookup): ... this declaration.
2553 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2554 (DB_MAIN_VARIABLE): Likewise.
2556 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2559 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2561 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2563 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2565 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2568 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2569 (atomic_add, atomic_increment_and_test)
2570 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2572 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2574 * stdlib/setenv.c (__add_to_environ):
2575 Dump core quickly if setenv (..., NULL, ...) is called.
2577 2015-03-13 Roland McGrath <roland@hack.frob.com>
2579 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2580 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2581 all the necessary asm magic in one place.
2582 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2585 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2588 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2589 traced file mtime. Use consistent log message.
2590 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2591 (register_traced_file): Call install_watches. Always set mtime.
2592 (invalidate_cache): Iterate over all trace files. Call install_watches.
2593 (inotify_check_files): Don't inline. Handle watching parent
2594 directories and configuration file movement in and out.
2595 (handle_inotify_events): New function.
2596 (main_loop_poll): Call handle_inotify_events.
2597 (main_loop_epoll): Likewise.
2598 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2599 (struct traced_file): Use array of inotify fds. Add parent directory,
2601 (struct database_dyn): Remove unused file_mtime.
2602 (init_traced_file): New inline function.
2603 (define_traced_file): New macro.
2604 * nss/nss_db/db-init.c: Use define_traced_file.
2605 (_nss_db_init): Use init_traced_file.
2606 * nss/nss_files/files-init.c: Use define_traced_file.
2607 (_nss_files_init): Use init_traced_file.
2609 2015-03-12 Joseph Myers <joseph@codesourcery.com>
2611 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2612 [_LIBC]: Do not include <stdlib.h>.
2613 [!_LIBC] (abort): Remove declaration.
2614 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2615 _FP_STATIC_ASSERT instead of conditionally calling abort.
2616 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2617 (_FP_EXTEND_CNAN): Likewise.
2618 (FP_TRUNC): Likewise.
2619 (__FP_CLZ): Likewise.
2620 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2622 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2624 * manual/string.texi (XPG basename): Fix prototype.
2626 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2629 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2630 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2631 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2632 (__setcontext): Likewise.
2633 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2634 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2635 Call rt_sigprocmask syscall one time to set new signal mask
2636 and retrieve the current signal mask instead of two calls.
2637 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2638 (__swapcontext): Likewise.
2639 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2640 * stdlib/tst-setcontext2.c: New file.
2642 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2644 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2646 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2649 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2652 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2655 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2657 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2659 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2660 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2662 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2663 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2664 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2665 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2666 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2667 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2669 * nptl_db/td_symbol_list.c (td_lookup): Remove
2670 HAVE_ASM_GLOBAL_DOT_NAME code.
2671 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2672 HAVE_ASM_GLOBAL_DOT_NAME check.
2673 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2674 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2675 (DOT_LABEL): Remove define.
2676 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2677 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2678 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2679 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2680 (__TLS_GET_ADDR): Likewise.
2681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2682 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2684 2015-03-11 Carlos O'Donell <carlos@redhat.com>
2687 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2688 (_FPU_SETCW): Initialize cw from fpsr before storing.
2689 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2690 (fesetexceptflag): Rewrite using fpu_control.h.
2691 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2693 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
2696 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2698 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2700 2015-03-11 Joseph Myers <joseph@codesourcery.com>
2702 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2703 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2705 (_FP_FMA): Likewise.
2706 (_FP_DIV): Likewise.
2708 2015-03-10 Roland McGrath <roland@hack.frob.com>
2710 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2711 with 0 in that case.
2712 * Makefile (summarize-tests): New canned sequence, factored out of
2713 commands for targets tests and xtests. Display summary lines that
2714 don't start with PASS: or XFAIL: rather than ones that do start with
2715 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2716 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2717 do start with ERROR: or FAIL:.
2718 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2719 (except for [$(build-shared) = yes]).
2720 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2721 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2722 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2723 * nptl/Makefile: Revert 2015-03-04 changes.
2724 [$(CXX) empty] (tests-unsupported): New variable.
2725 * debug/Makefile: Likewise.
2727 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2728 gnulib file. Replace __attribute with __attribute__ throughout.
2730 2015-03-10 Carlos O'Donell <carlos@redhat.com>
2732 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2734 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2737 * math/auto-libm-test-in: Add another test of pow.
2738 * math/auto-libm-test-out: Regenerated.
2740 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2742 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2743 $(config-cflags-nofma).
2745 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2747 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2748 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2749 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2750 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2751 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2752 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2753 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2754 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2755 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2756 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2757 Add comment on closing #endif.
2759 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2761 * posix/wordexp.c (CHAR_IN_SET): New macro.
2762 (parse_param): Use it.
2764 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2766 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2768 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2771 * posix/wordexp.c (parse_param): Fix buffer overflow.
2772 * posix/wordexp-test.c (test_case): Add test case.
2774 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2777 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2778 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2780 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2783 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2784 (do_bz18043): Delete.
2786 (testit): Refactor to have words at the edge of unreadable page.
2788 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2791 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2792 Cleanup read-only streams as well.
2793 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2795 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2797 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2800 2015-03-07 Joseph Myers <joseph@codesourcery.com>
2802 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2804 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2805 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2806 * soft-fp/op-common.h (_FP_DECL): Likewise.
2808 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2810 * elf/ifuncdep2.c (global): Replace
2811 __attribute__((visibility("protected"))) with
2812 asm (".protected global").
2813 * elf/ifuncmod1.c (global): Likewise.
2814 * elf/ifuncmod5.c (global): Likewise.
2816 2015-03-06 Joseph Myers <joseph@codesourcery.com>
2818 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2819 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2821 2015-03-06 Roland McGrath <roland@hack.frob.com>
2823 * manual/install.texi (Configuring and compiling):
2824 Document test-wrapper-env-only.
2825 * INSTALL: Regenerated.
2827 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2830 * posix/wordexp.c (parse_param): Fix buffer overflow.
2831 * posix/wordexp-test.c (do_bz18043): Add test case.
2833 2015-03-06 Vincent Bernat <vincent@bernat.im>
2835 * time/tst-strptime2.c (do_test): Ensure failing tests are
2837 * time/tst-strptime3.c (do_test): Likewise.
2839 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2841 Fix aio_error thread-safety.
2842 * sysdeps/pthread/aio_error.c: New file
2843 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2846 2015-03-06 Florian Weimer <fweimer@redhat.com>
2848 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2849 (group_number, vfprintf): Use it.
2850 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2851 (JUMP, REF): Use it.
2852 (WORK_BUFFER_SIZE): New enum constant.
2853 (process_arg, vfprintf): Use it.
2855 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
2857 * manual/errno.texi (Error Messages): Complete example function
2858 by adding missing #define.
2859 (program_invocation_name): Add statement indicating GNU
2860 extension and reference which header file declares the variable.
2861 (program_invocation_short_name): Likewise.
2863 2015-03-06 Mike Frysinger <vapier@gentoo.org>
2865 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2868 2015-03-05 Roland McGrath <roland@hack.frob.com>
2870 * Makeconfig (test-wrapper-env-only): New variable.
2871 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2872 then use that with $(test-wrapper-env-only) rather than using
2873 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2875 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2878 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2879 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2880 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2881 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2882 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2883 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2884 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2885 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2887 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2888 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2892 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2894 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2896 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2899 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2901 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2902 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2904 2015-03-04 Roland McGrath <roland@hack.frob.com>
2906 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2907 (ETH_ALEN): New macro.
2908 (struct ether_addr): Use it for length of ether_addr_octet.
2910 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2911 (setdb): Don't call __nss_configure_lookup for "rpc".
2912 (do_test): Don't call test_rpc.
2913 (output_rpcent, test_rpc): Functions moved ...
2914 * sunrpc/test-rpcent.c: ... to this new file.
2915 * sunrpc/Makefile (tests): Add it.
2917 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2919 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2920 * nptl/tst-signal6.c: Likewise.
2921 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2922 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2924 * configure.ac (libc_cv_cxx_link_ok): New check.
2925 Reset CXX to empty if it fails to link.
2926 * configure: Regenerated.
2927 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2928 bug-atexit3-lib only if $(CXX) is nonempty.
2929 * nptl/Makefile (tests): Likewise for tst-cancel24.
2930 (tests, tests-static): Likewise for tst-cancel24-static.
2931 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2932 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2933 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2934 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2936 2015-03-04 Andreas Schwab <schwab@suse.de>
2939 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2940 for non-GCC compilers.
2941 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2944 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2947 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2948 integer before bitwise and assembly operations.
2949 (feclearexcept): Likewise.
2950 * math/test-fenvinline.c: New file.
2951 * math/Makefile: Add test-fenvinline test.
2953 2015-03-03 Alan Modra <amodra@gmail.com>
2956 * scripts/localplt.awk: Strip off symbol version.
2957 * NEWS: Mention bug fix.
2959 2015-03-02 Roland McGrath <roland@hack.frob.com>
2961 * sysdeps/pthread/timer_routines.c
2962 (timer_free_list, thread_free_list, thread_active_list): Make static.
2964 2015-03-02 Joseph Myers <joseph@codesourcery.com>
2967 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2968 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2970 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2971 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2973 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2974 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2977 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2980 * posix/fnmatch_loop.c (END): Detect invalid pattern.
2981 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2983 2015-03-02 Andreas Schwab <schwab@suse.de>
2985 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2988 2015-03-02 Florian Weimer <fweimer@redhat.com>
2990 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2991 Return error status.
2993 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
2996 * locale/findlocale.c (_nl_find_locale): Introduce const
2997 version of loc_name and drop unsafe type casts.
2999 2015-02-27 Roland McGrath <roland@hack.frob.com>
3001 * dlfcn/tststatic2.c (main): Converted to ...
3002 (do_test): ... this.
3003 (TEST_FUNCTION): New macro.
3004 Include test-skeleton.c.
3006 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
3009 * elf/Makefile (tests): Add vismain only if PIE is enabled.
3010 (tests-pie): Add vismain.
3011 (CFLAGS-vismain.c): New.
3012 * elf/vismain.c: Add comments for PIE requirement.
3014 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3018 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3019 0x1p-56L as threshold for just returning the argument.
3020 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3021 0x1p-32L as threshold for just returning the argument.
3022 * math/auto-libm-test-in: Add more tests of atanh.
3023 * math/auto-libm-test-out: Regenerated.
3024 * sysdeps/i386/fpu/libm-test-ulps: Update.
3025 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3027 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3029 * string/bcopy.c (bcopy): Call memmove for performance.
3031 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3033 * string/bzero.c (__bzero): Call memset for performance.
3035 2015-02-27 John David Anglin <dave.anglin@bell.net>
3038 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3041 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3043 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3045 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3047 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3048 (__kernel_standard): Use CSTR macro when setting exc.name.
3049 * sysdeps/ieee754/Makefile [$(subdir) = math]
3050 (CFLAGS-k_standard.c): Remove variable.
3052 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3053 setting p and q from "else if" to "else".
3055 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3057 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3059 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3061 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3063 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3068 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3069 return pi/2 for arguments below 0x1p-113L.
3070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3071 return pi/2 for arguments below 0x1p-106L.
3072 * math/auto-libm-test-in: Add more tests of acos.
3073 * math/auto-libm-test-out: Regenerated.
3076 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3078 (__ieee754_asin): Force underflow exception for results with small
3080 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3082 (__ieee754_asinf): Force underflow exception for results with
3083 small absolute value.
3084 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3085 (__ieee754_asin): Force underflow exception for results with small
3087 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3088 (__ieee754_asinf): Force underflow exception for results with
3089 small absolute value.
3090 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3091 (__ieee754_asinl): Force underflow exception for results with
3092 small absolute value.
3093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3094 (__ieee754_asinl): Force underflow exception for results with
3095 small absolute value.
3096 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3097 (__ieee754_asinl): Force underflow exception for results with
3098 small absolute value.
3099 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3101 * math/auto-libm-test-in: Do not mark underflow exceptions as
3102 possibly missing for bug 16351.
3103 * math/auto-libm-test-out: Regenerated.
3106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3107 of power of 2 down when low part has opposite sign.
3108 * math/libm-test.inc (logb_test_data): Add more tests.
3110 2015-02-26 Andreas Schwab <schwab@suse.de>
3113 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3114 over collating symbol inside a bracket expression. Minor cleanup.
3115 * posix/tst-fnmatch3.c (do_test): Add test case.
3117 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3120 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3121 Adjust exponent of power of 2 down when low part has opposite
3123 * math/libm-test.inc (ilogb_test_data): Add more tests.
3125 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3128 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3129 the previous change.
3132 * locale/findlocale.c (_nl_find_locale): Retry archive search
3133 after alias expansion.
3135 2015-02-25 Roland McGrath <roland@hack.frob.com>
3137 * iconv/tst-iconv3.c (main): Converted to ...
3138 (do_test): ... this.
3139 (TEST_FUNCTION): New macro.
3140 Include test-skeleton.c.
3142 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3143 (convert): Make function static.
3144 (test_unalign): Likewise. Add const to argument pointee types.
3145 (main): Replace with static function do_test.
3146 Print "Succeeded." only if RET is zero.
3147 (TEST_FUNCTION): New macro.
3148 Include test-skeleton.c.
3150 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3151 returns a null pointer.
3153 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3155 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3156 to __memcpy_ppc only for static builds.
3158 2015-02-25 Joseph Myers <joseph@codesourcery.com>
3161 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3162 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3163 * math/auto-libm-test-in: Add more tests of asinh.
3164 * math/auto-libm-test-out: Regenerated.
3165 * sysdeps/i386/fpu/libm-test-ulps: Update.
3166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3168 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
3171 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3172 and ip6_mtuinfo definitions here.
3173 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3174 in this define too. Update comment.
3176 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
3178 * elf/sprof.c (load_shobj): Tweak error message to match others.
3180 2015-02-24 Kevin Easton <kevin@guarana.org>
3182 [BZ #16145] (partial fix)
3183 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3184 to reduce lock contention.
3186 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
3188 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3189 (struct timex): Update time comment.
3190 (ADJ_SETOFFSET): Define.
3192 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3195 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3196 2**56 not 2**28 as threshold for log (2x) formula.
3197 * math/auto-libm-test-in: Add more tests of acosh.
3198 * math/auto-libm-test-out: Regenerated.
3199 * sysdeps/i386/fpu/libm-test-ulps: Update.
3200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3202 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3204 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3205 parenthesis around the buf assignment.
3206 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3208 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3211 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3212 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3213 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3214 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3215 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3216 * math/libm-test.inc (scalb_test_data): Add more tests.
3218 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3221 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3222 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3224 2015-02-24 Eric Rannaud <e@nanocritical.com>
3227 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3228 * io/bits/fcntl2.h (open): Use it.
3230 * io/open.c (__libc_open): Likewise.
3231 * io/open64.c (__libc_open64): Likewise.
3232 * io/open64_2.c (__open64_2): Likewise.
3233 * io/open_2.c (__open_2): Likewise.
3234 * io/openat.c (__openat): Likewise.
3235 * io/openat64.c (__openat64): Likewise.
3236 * io/openat64_2.c (__openat64_2): Likewise.
3237 * io/openat_2.c (__openat_2): Likewise.
3238 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3239 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3240 * sysdeps/posix/open64.c (__libc_open64): Likewise.
3241 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3242 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3243 (__open_nocancel): Likewise.
3244 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3245 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3246 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3248 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3251 * resolv/gethnamaddr.c (getanswer): Skip logging if
3252 RES_USE_DNSSEC is set.
3253 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3255 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3257 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3259 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3261 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3262 201304L, for Unicode 7.
3264 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3267 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3268 shared library. Add gmon-start.os otherwise.
3269 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3270 $(objpfx)gmon-start.os if builing shared library.
3271 ($(objpfx)g$(static-start-installed-name)): Likewise.
3273 2015-02-23 Andreas Schwab <schwab@suse.de>
3275 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3277 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3280 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3281 (enlarge_userbuf): Likewise.
3283 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3285 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3286 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3287 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3288 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3290 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3292 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3293 expression inside statement expression.
3295 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3297 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3298 <sysdeps/nptl/lowlevellock.h> and remove macros and
3299 functions that are now defined there.
3300 (SYS_futex): Remove.
3301 (lll_compare_and_swap): Remove.
3302 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3304 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3307 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3308 instead of scandirat.
3309 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3310 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3311 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3313 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3314 (__scandirat): Declare. Use libc_hidden_proto.
3315 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3317 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3319 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3322 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3324 (__ieee754_atan2): For results with small absolute value, force
3325 underflow exception and remove excess range and precision from
3327 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3329 (__ieee754_atan2f): For results with small absolute value, force
3330 underflow exception and remove excess range and precision from
3332 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3334 (__atan): For results with small absolute value, force underflow
3335 exception and remove excess range and precision from return value.
3336 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3338 (__atanf): For results with small absolute value, force underflow
3339 exception and remove excess range and precision from return value.
3340 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3342 (__ieee754_atan2): Force underflow exception for results with
3343 small absolute value.
3344 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3346 (atan): Force underflow exception for results with small absolute
3348 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3349 (__atanf): Force underflow exception for results with small
3351 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3353 (__atanl): Force underflow exception for results with small
3355 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3356 (__atanl): Force underflow exception for results with small
3358 * sysdeps/x86/fpu/bits/mathinline.h
3359 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3360 (__ieee754_atan2): Only define inline for long double.
3361 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3362 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3363 * math/auto-libm-test-in: Do not mark underflow exceptions as
3364 possibly missing for bug 15319. Add more tests of atan2.
3365 * math/auto-libm-test-out: Regenerated.
3366 * math/libm-test.inc (casin_test_data): Do not mark underflow
3367 exceptions as possibly missing for bug 15319.
3368 (casinh_test_data): Likewise.
3369 * sysdeps/i386/fpu/libm-test-ulps: Update.
3371 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3373 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3374 * sysdeps/mips/bits/endian.h: Fix comments.
3376 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3379 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3380 (hdestroy_r): Likewise.
3381 (hsearch_r): Likewise.
3382 (__hcreate_r): Declare and use libc_hidden_proto.
3383 (__hdestroy_r): Likewise.
3384 (__hsearch_r): Likewise.
3385 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3386 (hcreate): Call __hcreate_r instead of hcreate_r.
3387 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3388 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3389 as weak alias of __hcreate_r.
3390 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3392 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3394 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3396 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3397 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3398 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3399 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3401 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3403 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3404 arena_lock into a single arena_get.
3406 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3408 * dl-reloc.c: Inlucde libc-internal.h.
3409 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3410 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3411 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3412 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3413 (grow_heap): Likewise.
3414 * malloc/malloc.c: Include libc-internal.h.
3415 (do_check_malloc): Call powerof2.
3416 (sysmalloc): Use pagesize. Call ALIGN_UP.
3417 (systrim): Use pagesize.
3418 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3419 (__libc_valloc): Use pagesize.
3420 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3422 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3425 * include/sys/resource.h (__getrlimit64): Declare. Use
3427 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3428 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3429 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3431 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3433 [!getrlimit64] (getrlimit64): Define as weak alias of
3434 __getrlimit64. Use libc_hidden_weak.
3435 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3436 using __getrlimit64 not __new_getrlimit64.
3437 (__GI_getrlimit64): Likewise.
3438 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3440 (__GI_getrlimit64): Likewise.
3441 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3443 (getrlimit): Add __getrlimit64 alias.
3444 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3446 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3448 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3449 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3451 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3453 * libio/fileops.c: Add missing sys/mman.h
3454 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3456 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3458 * manual/math.texi (Errors in Math Functions): Clarify goals
3459 regarding inexact and underflow exceptions.
3461 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3463 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3464 * sysdeps/mips/memset.S: Ditto.
3466 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3468 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3470 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3472 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3473 (__v1longjmp): Remove versioned symbol.
3474 (__v1siglongjmp): Remove alias and versioned symbol.
3475 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3476 (__v2siglongjmp): Likewise.
3478 2015-02-16 Torvald Riegel <triegel@redhat.com>
3480 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3482 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3484 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3486 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3489 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3490 zero result does not depend on the sign resulting from
3492 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3494 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3495 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3496 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3497 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3498 * math/libm-test.inc (remquo_test_data): Add more tests.
3500 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3502 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3503 Problem reported by J William Piggott.
3505 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3508 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3509 products 4 * y and 2 * y where those would overflow.
3510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3512 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3513 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3514 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3515 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3516 * math/libm-test.inc (remquo_test_data): Add more tests.
3518 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3520 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3521 [defined _COMPILING_NEWLIB].
3522 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3523 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3525 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3526 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3528 2015-02-16 Torvald Riegel <triegel@redhat.com>
3530 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3533 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3536 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3537 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3538 HOST_STACK_END_ADDR): Likewise.
3540 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3542 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3543 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3544 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3546 2015-02-13 Roland McGrath <roland@hack.frob.com>
3548 * sysdeps/generic/c++-types.data: New file.
3549 * sysdeps/generic/ld.abilist: New file.
3550 * sysdeps/generic/libBrokenLocale.abilist: New file.
3551 * sysdeps/generic/libanl.abilist: New file.
3552 * sysdeps/generic/libc.abilist: New file.
3553 * sysdeps/generic/libcrypt.abilist: New file.
3554 * sysdeps/generic/libdl.abilist: New file.
3555 * sysdeps/generic/libm.abilist: New file.
3556 * sysdeps/generic/libpthread.abilist: New file.
3557 * sysdeps/generic/libresolv.abilist: New file.
3558 * sysdeps/generic/librt.abilist: New file.
3560 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3563 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3564 Compute absolute value of x as modified by fmod, not original
3566 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3567 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3568 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3569 RUN_TEST_ffI_f1_mod8.
3570 (remquo_test_data): Add more tests.
3572 2015-02-13 Roland McGrath <roland@hack.frob.com>
3574 * sysdeps/init_array/pt-crti.S: New file.
3576 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3579 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3580 __builtin_fmaf instead of relying on contraction of a * b + c.
3582 2015-02-12 J William Piggott <elseifthen@gmx.com>
3585 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3588 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3591 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3592 __builtin_fma instead of relying on contraction of a * b + c.
3594 2015-02-12 Roland McGrath <roland@hack.frob.com>
3596 * Makeconfig (ASFLAGS): Add -Werror=undef.
3597 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3598 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3599 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3601 * Makeconfig (after-link): New variable.
3602 (+link-pie, +link-pie-tests): Use it.
3603 (+link-static, +link-static-tests): Likewise.
3604 (+link, +link-tests): Likewise.
3605 * Makerules (build-module, build-module-asneeded): Likewise.
3606 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3608 * elf/Makefile ($(objpfx)ld.so): Likewise.
3610 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3613 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3614 both struct timeval and struct timespec.
3616 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3619 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3621 (__ieee754_exp2l): Do not multiply small fractional parts by
3623 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3625 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3626 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3627 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3628 * math/auto-libm-test-in: Add more tests of exp2.
3629 * math/auto-libm-test-out: Regenerated.
3631 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3633 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3636 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3641 2015-02-12 Andreas Schwab <schwab@suse.de>
3644 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3645 Filter out elision flags from value returned in kind.
3646 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3647 * nptl/tst-pthread-mutexattr.c: New file.
3649 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3651 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3652 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3653 into gnu-gnu, and update comment to refer to abi-tags.
3655 2015-02-11 Joseph Myers <joseph@codesourcery.com>
3658 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3659 (__sincos): Set errno to EDOM for infinite argument.
3660 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3661 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3662 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3663 (__sincosl): Set errno to EDOM for infinite argument.
3664 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3665 (__sincosl): Set errno to EDOM for infinite argument.
3666 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3667 (__sincosl): Set errno to EDOM for infinite argument.
3668 * math/libm-test.inc (sincos_test_data): Test errno setting.
3670 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
3672 * string/strxfrm_l.c: Remove #define STRCMP.
3673 * string/strcoll_l.c: Remove #define STRLEN.
3674 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3675 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3677 2015-02-10 Joseph Myers <joseph@codesourcery.com>
3679 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3680 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3681 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3682 * sysdeps/mips/mips64/Makefile: ... here.
3683 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3684 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3685 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3686 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3687 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3688 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3689 * sysdeps/mips/mips64/n64/Implies: Likewise.
3691 2015-02-10 Roland McGrath <roland@hack.frob.com>
3693 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3694 <sys/time.h>, <string.h>, and <errno.h>.
3695 (dest_offset, dest_address, value, zero): Remove unused variables.
3696 (ldouble): Remove typedef.
3697 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3698 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3700 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3701 (check): Function removed.
3703 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3704 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3705 Don't call set_sigaction_FP and remove_sigaction_FP here.
3706 (ldouble_test): Just use 'long double' as macro argument, no need for
3707 the 'ldouble' typedef.
3708 (do_test): Set up SIGFPE handler at start, using plain signal rather
3709 than sigaction. Fix code style.
3711 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3714 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3717 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3719 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3720 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3722 * sysdeps/powerpc/configure.ac: Remove file.
3723 * sysdeps/powerpc/configure: Likewise.
3725 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3726 [sysdep_routines]: Remove wordcopy-power6 object.
3727 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3728 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3729 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3730 (__memmove_ppc32): Likewise.
3731 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3733 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3734 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3735 Remove preprocessor.
3737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3738 [sysdep_routines]: Remove wide chars objects.
3739 [wcsmbs]: New rule for wide char objects.
3741 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3742 Remove wordcopy-power6 obejct.
3743 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3744 Use local call for wordcopy and memcpy symbols.
3745 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3746 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3747 implementation for loader.
3748 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3750 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3751 Remove wordcopy-power7 object.
3752 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3753 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3754 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3755 (_wordcopy_fwd_dest_aligned): Likewise.
3756 (_wordcopy_bwd_aligned): Likewise.
3757 (_wordcopy_bwd_dest_aligned): Likewise.
3759 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3760 Rewrite to call __memmove_ppc instead of include default
3763 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3764 Remove wide chars objects.
3765 [wcsmbs]: New rule for wide char objects.
3767 2015-02-09 Andreas Schwab <schwab@suse.de>
3770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3771 in terms of __O_DIRECTORY.
3773 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3775 * time/getdate.c: Include <stdbool.h>.
3776 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3778 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3781 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3783 Add ersatz _Static_assert on older C hosts
3784 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3785 pre-C11 C platform that is not known to support _Static_assert.
3787 2015-02-07 Richard Braun <rbraun@sceen.net>
3789 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3791 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3793 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3795 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3796 priority against unexistent AIO_PRIO_DELTA_MAX.
3797 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3799 * misc/fchflags.c (fchflags): Likewise.
3800 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3801 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3802 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3803 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3804 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3806 [__USE_MISC] (chflags, fchflags): Declare functions.
3807 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3808 EINVAL when nfds is greater than FD_SETSIZE.
3809 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3810 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3812 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3813 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3814 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3816 * hurd/hurd/signal.h (_hurd_self_sigstate,
3817 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3818 Explicit casts from void *.
3819 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3820 * abi-tags: Rename gnu-gnu os into gnu.
3823 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3824 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3825 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3826 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3827 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3828 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3831 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3832 duplicates ADDR->sun_path with sockaddr LEN limitation.
3833 * sysdeps/mach/hurd/connect.c: Include <string.h>
3834 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3835 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3836 * sysdeps/mach/hurd/sendto.c: Likewise.
3837 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3838 implementing it by hand.
3840 2015-02-06 Roland McGrath <roland@hack.frob.com>
3842 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3843 Use sfi_breg on ldr.
3844 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3847 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3849 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3850 Test SIGSETXID only if it's defined.
3852 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3854 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3855 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3857 * nptl/tst-align2.c: Moved ...
3858 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3859 * nptl/Makefile (tests): Remove tst-align2.
3860 * sysdeps/unix/sysv/linux/Makefile
3861 [$(subdir) = nptl] (tests): Add tst-align-clone.
3862 * nptl/tst-getpid1.c: Moved ...
3863 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3864 * nptl/tst-getpid2.c: Moved ...
3865 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3866 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3867 * sysdeps/unix/sysv/linux/Makefile
3868 [$(subdir) = nptl] (tests): ... here.
3869 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3870 * sysdeps/unix/sysv/linux/Makefile
3871 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3873 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3874 Drop trailing \n from perror argument. Use return rather than exit.
3876 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3878 * nptl/tst-cancel21.c (do_test): Likewise.
3879 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3880 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3881 [!SA_SIGINFO]: Make it a stub test.
3883 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3884 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3886 * posix/tst-getlogin.c: Move to ...
3887 * login/tst-getlogin.c: ... here.
3888 * posix/Makefile (tests): Move tst-getlogin to ...
3889 * login/Makefile (tests): ... here.
3891 * libio/tst-atime.c (do_test): Move local variables SV and E
3892 inside [ST_NOATIME] conditional.
3894 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3896 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3898 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3899 (wait_code): New function replaces macro.
3900 Call nanosleep rather than syscall.
3902 * nptl/pt-system.c: Rewritten. Put everything under
3903 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3904 Use IFUNC to redirect when possible.
3906 * nptl/pt-longjmp.c: Rewritten. Put everything under
3907 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3908 Use IFUNC to redirect when possible.
3910 * nptl/pt-fork.c: Rewritten. Put everything under
3911 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3912 Use IFUNC to redirect when possible.
3913 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3915 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3916 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3917 unconditionally nowadays. This included the only reference to
3918 __vdso_clock_gettime that appears outside libc proper.
3919 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3920 Remove version set (containing only __vdso_clock_gettime).
3921 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3922 Add attribute_hidden.
3923 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3924 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3925 libc_hidden_data_def.
3926 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3927 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3929 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3930 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3931 setrpcent, and getrpcport to ...
3932 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3933 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3934 getrpcbynumber_r, and getrpcent_r to ...
3935 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3936 * inet/getrpcbyname.c: Moved ...
3937 * sunrpc/getrpcbyname.c: ... here.
3938 * inet/getrpcbyname_r.c: Moved ...
3939 * sunrpc/getrpcbyname_r.c: ... here.
3940 * inet/getrpcbynumber.c: Moved ...
3941 * sunrpc/getrpcbynumber.c: ... here.
3942 * inet/getrpcbynumber_r.c: Moved ...
3943 * sunrpc/getrpcbynumber_r.c: ... here.
3944 * inet/getrpcent.c: Moved ...
3945 * sunrpc/getrpcent.c: ... here.
3946 * inet/getrpcent_r.c: Moved ...
3947 * sunrpc/getrpcent_r.c: ... here.
3948 * inet/Makefile (routines): Move those to ...
3949 * sunrpc/Makefile (routines): ... here.
3950 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3951 the $(subdirs) list.
3952 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3953 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3954 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3955 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3957 * elf/Makefile (routines): Include $(all-dl-routines), not just
3959 (rtld-routines): Likewise. Use = rather than :=.
3960 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3961 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3962 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3963 * sysdeps/arm/Makefile: Likewise.
3964 * sysdeps/i386/Makefile: Likewise.
3965 * sysdeps/x86_64/Makefile: Likewise.
3966 * sysdeps/hppa/Makefile [$(subdir) = elf]
3967 (sysdep_routines, sysdep-rtld-routines): Don't add
3968 $(sysdep-dl-routines) to these.
3969 * sysdeps/ia64/Makefile: Likewise.
3970 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3971 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3972 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3973 Don't add dl-static to these; sysdep-dl-routines alone is enough.
3974 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3975 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3976 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3977 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3978 * sysdeps/powerpc/Makefile [$(subdir) = elf]
3979 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3980 these; sysdep-dl-routines alone is enough.
3982 2015-02-06 Joseph Myers <joseph@codesourcery.com>
3985 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3986 where multiplication results in zero and third argument is finite
3988 * math/auto-libm-test-in: Add more tests of fma.
3989 * math/auto-libm-test-out: Regenerated.
3991 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3992 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3993 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3994 (_FP_CMP_EQ): Likewise.
3995 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3997 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3998 extra argument CHECK_NAN. Redefine as wrapper around
4001 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
4003 * version.h (RELEASE): Set to "stable".
4004 (VERSION): Set to "2.21"
4005 * include/features.h (__GLIBC_MINOR__): Set to 21.
4007 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4009 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4010 Paul Eggert <eggert@cs.ucla.edu>
4013 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4014 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4015 size in bytes. Store needed elements in wpmax. Use needed size
4016 in bytes for extend_alloca.
4018 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
4020 * manual/install.texi: Latest tested versions are GCC 4.9.2,
4021 binutls 2.25, and texinfo 5.2.
4022 * INSTALL: Regenerate.
4023 * sysdeps/nios2/configure: Regenerate.
4024 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4025 * manual/contrib.texi: Update.
4049 * po/pt_BR.po: Update.
4058 * po/zh_CN.po: Update.
4059 * po/zh_TW.po: Update.
4061 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4062 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4063 * sysdeps/hppa/dl-irel.h: Remove #warning.
4064 * sysdeps/hppa/entry.h: Provide prototype for
4065 __canonicalize_funcptr_for_compare and cast argument.
4066 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4067 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4068 * sysdeps/hppa/sotruss-lib.c: New file.
4069 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4070 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4071 (atomic_compare_and_exchange_bool_acq): Likewise.
4072 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4073 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4075 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4076 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4077 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4079 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4081 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4082 called function in non-PIC case.
4084 2015-01-31 David S. Miller <davem@davemloft.net>
4086 * sysdeps/sparc/sparc32/bits/atomic.h
4087 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4088 unlock not after it.
4089 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4090 volatile register usage warnings from the compiler.
4092 * sysdeps/sparc/nptl/sem_init.c: Delete.
4093 * sysdeps/sparc/nptl/sem_post.c: Delete.
4094 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4095 * sysdeps/sparc/nptl/sem_wait.c: Delete.
4096 * sysdeps/sparc/sparc32/sem_init.c: New file.
4097 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4098 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4099 padding explicitly initialized.
4100 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4101 padding for in-semaphore spinlock.
4102 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4103 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4104 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4105 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4106 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4107 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4108 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4109 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4111 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4112 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4114 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4118 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4119 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4121 (index_AVX_Fast_Unaligned_Load): Likewise.
4122 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4123 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4124 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4125 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4126 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4127 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4128 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4129 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4130 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4132 2015-01-29 Andreas Schwab <schwab@suse.de>
4134 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4136 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4139 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4141 2015-01-28 Martin Sebor <msebor@redhat.com>
4143 * math/README.libm-test: Clarify. Add "How to read the test output."
4145 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4147 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4150 2015-01-28 Joseph Myers <joseph@codesourcery.com>
4152 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4153 (__HAVE_64B_ATOMICS): Define to 0.
4155 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4158 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4159 value to set as new flag.
4162 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4163 and use _ARCH_PPCSQ instead.
4164 (__ieee754_sqrt): Likewise.
4165 (__ieee754_sqrtf): Likewise.
4166 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4167 _ARCH_PPCSQ is defined.
4168 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4170 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4171 _ARCH_PPCSQ is defined.
4172 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4174 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4176 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4178 * iconv/loop.c: Suppress array out of bound warning caused by GCC
4179 bug (GCC BZ #64739).
4181 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
4183 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4184 Mark _retval as used.
4185 (lll_futex_wake_unlock): Likewise.
4186 (lll_futex_timed_wait_requeue_pi): Likewise.
4188 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4189 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4192 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4195 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4196 (__bswap_64): Mark as __always_inline.
4198 2015-01-25 Bram <bug_rh@spam.wizbit.be>
4201 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4202 when none of the search directories exist.
4204 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4207 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4208 power8 in .machine directive.
4211 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4212 set dependency from opd value.
4214 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4217 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4220 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4223 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4225 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4227 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4228 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4229 Replace 1UL with (uint64_t) 1.
4230 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4233 2015-01-23 Roland McGrath <roland@hack.frob.com>
4235 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4236 (if_freenameindex): Likewise.
4238 * resource/getrlimit64.c: Add missing libc_hidden_def.
4240 2015-01-22 Joseph Myers <joseph@codesourcery.com>
4242 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4244 (_FP_FMA): Likewise.
4245 (_FP_TO_INT_ROUND): Likewise.
4246 (_FP_FROM_INT): Likewise.
4248 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4251 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4252 Make code racy and cancel safe.
4254 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4256 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4257 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4260 * pwd/tst-getpw.c: Rewrite.
4263 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4264 (modules-names): Add moddummy1 and moddummy2.
4265 ($(objpfx)tst-rec-dlopen): Define.
4266 * dlfcn/moddummy1.c: New file.
4267 * dlfcn/moddummy2.c: New file.
4268 * dlfcn/tst-rec-dlopen.c: New file.
4269 * elf/dl-cache.c (_dl_load_cache_lookup):
4270 Return char*. Copy result with alloca/strcpy/strdup.
4271 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4272 returns char*. Free cached. If not saving realname
4274 * elf/dl-open.c (dl_open_worker): Do not assert that
4275 _r_debug->r_state is RT_CONSISTENT.
4276 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4279 2015-01-21 Torvald Riegel <triegel@redhat.com>
4280 Carlos O'Donell <carlos@redhat.com>
4283 * nptl/sem_waitcommon.c: New file.
4284 * nptl/sem_wait.c: Include sem_waitcommon.c.
4285 (__sem_wait_cleanup, do_futex_wait): Remove.
4286 (__new_sem_wait): Adapt.
4287 (__new_sem_trywait): New function.
4288 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4289 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4290 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4291 (sem_timedwait): Adapt.
4292 * nptl/sem_post.c (__new_sem_post): Adapt.
4293 (futex_wake): New function.
4294 (__old_sem_post): Add release MO fence.
4295 * nptl/sem_open.c (sem_open): Adapt.
4296 * nptl/sem_init.c (__new_sem_init): Adapt.
4297 (futex_private_if_supported): New function.
4298 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4299 (__old_sem_getvalue): Add using previous code.
4300 * sysdeps/nptl/internaltypes.h: Adapt.
4301 * nptl/tst-sem13.c (do_test): Adapt.
4302 * nptl/tst-sem11.c (main): Adapt.
4303 * nptl/sem_trywait.c: Remove.
4304 * nptl/DESIGN-sem.txt: Remove.
4305 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4306 (gen-as-const-headers): Remove structsem.sym.
4307 * nptl/structsem.sym: Remove.
4308 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4309 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4310 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4311 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4312 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4313 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4314 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4315 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4316 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4317 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4318 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4319 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4320 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4321 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4322 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4323 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4324 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4325 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4326 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4327 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4328 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4329 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4331 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4333 * INSTALL: Regenerated.
4335 * po/libc.pot: Regenerated.
4337 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4338 Sandra Loosemore <sandra@codesourcery.com>
4339 Andrew Jenner <andrew@codesourcery.com>
4340 Joseph Myers <joseph@codesourcery.com>
4341 Nathan Sidwell <nathan@codesourcery.com>
4343 * NEWS: Mention new Nios II port.
4344 * sysdeps/nios2/Implies: New file.
4345 * sysdeps/nios2/Makefile: New file.
4346 * sysdeps/nios2/Subdirs: New file.
4347 * sysdeps/nios2/Versions: New file.
4348 * sysdeps/nios2/__longjmp.S: New file.
4349 * sysdeps/nios2/abort-instr.h: New file.
4350 * sysdeps/nios2/backtrace.c: New file.
4351 * sysdeps/nios2/bits/endian.h: New file.
4352 * sysdeps/nios2/bits/fenv.h: New file.
4353 * sysdeps/nios2/bits/link.h: New file.
4354 * sysdeps/nios2/bits/setjmp.h: New file.
4355 * sysdeps/nios2/bsd-_setjmp.S: New file.
4356 * sysdeps/nios2/bsd-setjmp.S: New file.
4357 * sysdeps/nios2/configure: New generated file.
4358 * sysdeps/nios2/configure.ac: New file.
4359 * sysdeps/nios2/crti.S: New file.
4360 * sysdeps/nios2/crtn.S: New file.
4361 * sysdeps/nios2/dl-init.c: New file.
4362 * sysdeps/nios2/dl-machine.h: New file.
4363 * sysdeps/nios2/dl-sysdep.h: New file.
4364 * sysdeps/nios2/dl-tls.h: New file.
4365 * sysdeps/nios2/dl-trampoline.S: New file.
4366 * sysdeps/nios2/gccframe.h: New file.
4367 * sysdeps/nios2/gmp-mparam.h: New file.
4368 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4369 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4370 * sysdeps/nios2/ldsodefs.h: New file.
4371 * sysdeps/nios2/libc-tls.c: New file.
4372 * sysdeps/nios2/libm-test-ulps: New file.
4373 * sysdeps/nios2/machine-gmon.h: New file.
4374 * sysdeps/nios2/math-tests.h: New file.
4375 * sysdeps/nios2/math_private.h: New file.
4376 * sysdeps/nios2/memusage.h: New file.
4377 * sysdeps/nios2/nptl/Makefile: New file.
4378 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4379 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4380 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4381 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4382 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4383 * sysdeps/nios2/nptl/tls.h: New file.
4384 * sysdeps/nios2/preconfigure: New file.
4385 * sysdeps/nios2/s_fma.c: New file.
4386 * sysdeps/nios2/s_fmaf.c: New file.
4387 * sysdeps/nios2/setjmp.S: New file.
4388 * sysdeps/nios2/sfp-machine.h: New file.
4389 * sysdeps/nios2/sotruss-lib.c: New file.
4390 * sysdeps/nios2/stackguard-macros.h: New file.
4391 * sysdeps/nios2/stackinfo.h: New file.
4392 * sysdeps/nios2/start.S: New file.
4393 * sysdeps/nios2/sysdep.h: New file.
4394 * sysdeps/nios2/tls-macros.h: New file.
4395 * sysdeps/nios2/tst-audit.h: New file.
4396 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4397 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4398 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4399 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4400 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4401 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4402 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4403 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4404 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4405 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4406 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4407 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4408 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4409 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4410 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4411 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4412 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4413 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4414 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4415 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4416 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4417 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4418 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4419 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4420 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4421 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4422 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4423 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4424 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4425 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4426 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4427 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4428 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4429 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4430 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4431 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4432 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4433 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4434 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4435 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4436 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4437 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4438 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4439 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4441 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4444 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4445 (getutent): Use weak_alias in non SHARED case
4446 and default_symbol_version in SHARED case.
4447 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4448 (getutent_r, pututline): Likewise.
4449 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4450 (getutid): Likewise.
4451 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4452 (getutid_r): Likewise.
4453 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4454 (getutline): Likewise.
4455 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4456 (getutline_r): Likewise.
4457 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4458 (updwtmp): Likewise.
4460 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4463 * sysdeps/s390/s390-32/memcmp.S
4464 (memcmp_g5): Rename to __memcmp_g5.
4465 * sysdeps/s390/s390-32/memcpy.S
4466 (memcpy_g5): Rename to __memcpy_g5.
4467 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4468 (memcpy_mvcle) Rename to __memcpy_mvcle.
4469 * sysdeps/s390/s390-32/memset.S
4470 (memset_g5): Rename to __memset_g5.
4471 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4472 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4473 and use prefixed functions.
4474 * sysdeps/s390/s390-32/multiarch/memcmp.S
4475 (memcmp_z196): Rename to __memcmp_z196.
4476 (memcmp_z10): Rename to __memcmp_z10.
4477 (memcmp): Set alias to __memcmp_g5.
4478 (bcmp): Set alias to __memcmp_g5.
4479 * sysdeps/s390/s390-32/multiarch/memcpy.S
4480 (memcpy_z196): Rename to __memcpy_z196.
4481 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4482 (memcpy_z10): Rename to __memcpy_z10.
4483 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4484 (memcpy): Set alias to __memcpy_g5.
4485 * sysdeps/s390/s390-32/multiarch/memset.S
4486 (memset_z196): Rename to __memset_z196.
4487 Jump to __memset_mvcle instead of memset_mvcle.
4488 (memset_z10): Rename to __memset_z10.
4489 Jump to __memset_mvcle instead of memset_mvcle.
4490 (memset_mvcle) Rename to __memset_mvcle.
4491 (memset): Set alias to __memset_g5.
4492 * sysdeps/s390/s390-64/memcmp.S
4493 (memcmp_z900): Rename to __memcmp_z900.
4494 * sysdeps/s390/s390-64/memcpy.S
4495 (memcpy_z900): Rename to __memcpy_z900.
4496 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4497 (memcpy_mvcle) Rename to __memcpy_mvcle.
4498 * sysdeps/s390/s390-64/memset.S
4499 (memset_z900): Rename to __memset_z900.
4500 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4501 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4502 and use prefixed functions.
4503 * sysdeps/s390/s390-64/multiarch/memcmp.S
4504 (memcmp_z196): Rename to __memcmp_z196.
4505 (memcmp_z10): Rename to __memcmp_z10.
4506 (memcmp): Set alias to __memcmp_z900.
4507 (bcmp): Set alias to __memcmp_z900.
4508 * sysdeps/s390/s390-64/multiarch/memcpy.S
4509 (memcpy_z196): Rename to __memcpy_z196.
4510 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4511 (memcpy_z10): Rename to __memcpy_z10.
4512 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4513 (memcpy): Set alias to __memcpy_z900.
4514 * sysdeps/s390/s390-64/multiarch/memset.S
4515 (memset_z196): Rename to __memset_z196.
4516 Jump to __memset_mvcle instead of memset_mvcle.
4517 (memset_z10): Rename to __memset_z10.
4518 Jump to __memset_mvcle instead of memset_mvcle.
4519 (memset_mvcle) Rename to __memset_mvcle.
4520 (memset): Set alias to __memset_z900.
4522 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4525 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4526 __fesetenv instead of fesetenv.
4528 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4530 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4533 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4535 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4538 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4539 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4540 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4541 strncmp-power8 object.
4542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4543 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4544 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4547 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4548 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4550 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4551 trailing byte check.
4553 2015-01-13 David S. Miller <davem@davemloft.net>
4555 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4557 2015-01-13 Roland McGrath <roland@hack.frob.com>
4559 * login/logout.c (logout): Use memset rather than bzero.
4560 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4561 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4562 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4563 (_gethtbyaddr): Likewise.
4564 * locale/programs/simple-hash.c (bcopy): Macro removed.
4566 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4568 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4569 Add strcmp-power8 object.
4570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4571 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4572 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4573 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4574 __strcmp_power8 implementation.
4575 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4578 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4579 Add strncpy-power8 and stpncpy-power8 objects.
4580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4581 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4583 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4584 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4585 __stpncpy_power8 implementation.
4586 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4587 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4588 __strncpy_power8 implementation.
4589 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4590 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4593 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4594 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4595 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4597 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4598 strncat-power8 object.
4599 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4600 __strcat_power8 implementation.
4601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4602 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4603 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4604 optimized strcat for power8.
4606 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4607 strcpy-power8 and stpcpy-power8 objects.
4608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4609 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4611 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4612 multiarch stpcpy implementation for POWER8.
4613 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4614 multiarch strcpy implementation for POWER8.
4615 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4616 __strcpy_power8 function.
4617 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4619 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4623 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
4626 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4627 weights and rules. Use do_xfrm_cached if data fits in cache,
4628 do_xfrm otherwise. Moved former main loop to...
4629 * (do_xfrm_cached): New function.
4630 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4631 find_idx, find_position and stack_push.
4632 * (find_idx): New function.
4633 * (find_position): Likewise.
4634 * localedata/sort-test.sh: Added test run for do_xfrm.
4635 * localedata/xfrm-test.c (main): Added command line option
4636 -nocache to run the test with strings that are too large for
4639 2015-01-13 Torvald Riegel <triegel@redhat.com>
4641 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4642 variable to lll_futex_wake call, not the value itself.
4644 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4647 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4648 twom64. Adjust value to 0x1p-64L.
4649 (__scalblnl): Only return standard underflowing result for K <=
4650 -64 not K <= -63; adjust exponent for underflowing result by 64
4652 * math/libm-test.inc (scalbn_test_data): Add more tests.
4653 (scalbln_test_data): Likewise.
4656 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4658 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4660 * math/libm-test.inc (scalbn_test_data): Add more tests.
4661 (scalbln_test_data): Likewise.
4663 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664 Stefani Seibold <stefani@seibold.net>
4666 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4667 (sysdep_routines): Add dl-vdso here, ...
4668 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4669 (sysdep_routines): ... not here.
4670 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4671 fallback when vDSO is not presented.
4672 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4673 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4674 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4675 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4676 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4677 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4678 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4679 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4680 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4681 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4682 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4683 fallback configurable symbol when vDSO is not available.
4684 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4685 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4686 be able to redefine fallback symbol when vDSO is not available.
4687 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4688 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4690 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4692 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4693 (TLS_INIT_TP): Add tm_capable initialization.
4694 (TLS_DEFINE_INIT_TP): Likewise.
4695 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4697 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4698 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4700 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4701 transactoion is lock elision is built and TCB tm_capable is set.
4702 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4704 (INTERNAL_SYSCALL_NCS): Likewise.
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4706 (INTERNAL_SYSCALL_NCS): Likewise.
4707 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4709 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4711 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4712 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4713 and remove it for 32 bits case.
4714 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4715 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4717 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4718 Disable lock elision with rdlocks if elision is not available.
4720 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4721 (sysdep_routines): Add lock elision objects.
4722 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4723 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4724 [pthread_mutex_t] (__elision): Add field.
4725 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4726 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4727 elision definitions for powerpc.
4728 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4729 implementation of lock elision for powerpc.
4730 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4731 implementation of timed lock elision for powerpc.
4732 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4733 implementation of trylock with lock elision for powerpc.
4734 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4735 implementaion of unlock for lock elision for powerpc.
4736 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4737 automatic enable lock elision for mutexes.
4738 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4739 transaction execution definitions for powerpc.
4740 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4742 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4743 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4744 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4745 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4748 2015-01-09 Roland McGrath <roland@hack.frob.com>
4750 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4751 for #include of <shm-directory.h>.
4753 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4755 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4756 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4758 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4761 * NEWS: Mention bug fix.
4762 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4763 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4764 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4766 2015-01-09 Torvald Riegel <triegel@redhat.com>
4768 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4770 2015-01-09 Torvald Riegel <triegel@redhat.com>
4772 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4774 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4776 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4777 pointer and cast to uintptr_t.
4779 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4781 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4783 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4785 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4787 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4790 2015-01-08 Roland McGrath <roland@hack.frob.com>
4792 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4793 <nptl/pthreadP.h> instead.
4794 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4796 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4798 [__SIGRTMIN] (init): Function removed.
4799 [__SIGRTMIN] (initialized): Variable removed.
4800 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4801 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4802 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4803 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4804 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4805 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4806 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4807 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4808 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4809 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4810 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4811 * sysdeps/nptl/allocrtsig.c: New file.
4812 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4813 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4814 * sysdeps/generic/testrtsig.h: File removed.
4816 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4817 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4819 * nptl/nptl-init.c (pthread_functions): Conditionalize
4820 .ptr__nptl_setxid initialization on [SIGSETXID].
4822 * sysdeps/nptl/sys/procfs.h: New file.
4823 * nptl_db/Makefile (headers): Add it.
4824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4826 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4827 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4828 * nptl/pthread_attr_setaffinity.c: Include it.
4829 * nptl/pthread_setattr_default_np.c: Likewise.
4830 * nptl/check-cpuset.h: New file.
4832 2015-01-08 Richard Henderson <rth@redhat.com>
4834 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4835 (CFLAGS-tst-execstack-prog.c): Likewise.
4836 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4838 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4839 Sandra Loosemore <sandra@codesourcery.com>
4840 Andrew Jenner <andrew@codesourcery.com>
4841 Joseph Myers <joseph@codesourcery.com>
4842 Nathan Sidwell <nathan@codesourcery.com>
4844 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4845 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4846 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4847 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4848 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4849 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4850 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4851 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4852 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4853 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4854 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4855 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4856 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4857 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4858 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4859 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4860 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4862 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4864 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4865 timespec struct member in syscall macro.
4866 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4867 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4868 first timeval struct member in syscall macro.
4869 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4871 2015-01-07 Joseph Myers <joseph@codesourcery.com>
4874 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4875 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4876 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4877 __feupdateenv and define as weak alias of __feupdateenv. Use
4879 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4881 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4882 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4883 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4884 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4886 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4887 __feupdateenv and define as weak alias of __feupdateenv. Use
4889 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4891 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4892 __feupdateenv and define as weak alias of __feupdateenv. Use
4894 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4896 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4897 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4898 (__feupdateenv): Likewise.
4899 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4900 __feupdateenv and define as weak alias of __feupdateenv. Use
4902 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4903 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4905 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4907 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4909 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4910 __feupdateenv instead of feupdateenv.
4911 (default_libc_feupdateenv_test): Likewise.
4912 (libc_feresetround_ctx): Likewise.
4914 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4916 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4919 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4921 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4922 COLL_SYM in a couple of places to avoid uninitialized variable
4923 wanings on tilegx gcc 4.8.2.
4925 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4927 * sysdeps/aarch64/strcpy.S: New file.
4928 * sysdeps/aarch64/stpcpy.S: New file.
4931 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4933 * sysdeps/aarch64/strrchr.S: New file.
4936 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
4939 * stdlib/setenv.c: Fix memory leak when setting large,
4942 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4945 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4946 and tabs from buffer before parsing fstab entry.
4947 * misc/tst-mntent.c (main): Add test for mount entry with
4948 trailing spaces and tabs.
4950 2015-01-06 Joseph Myers <joseph@codesourcery.com>
4953 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4954 * math/fesetround.c (fesetround): Rename to __fesetround and
4955 define as weak alias of __fesetround. Use libm_hidden_weak.
4956 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4957 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4958 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4959 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4960 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4961 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4962 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4963 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4964 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4965 __fesetround_inline.
4966 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4967 __fesetround_inline instead of __fesetround.
4968 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4969 __fesetround and define as weak alias of __fesetround. Use
4970 libm_hidden_weak. Call __fesetround_inline instead of
4972 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4973 __fesetround and define as weak alias of __fesetround. Use
4975 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4977 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4978 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4979 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4980 * sysdeps/tile/math_private.h (__fesetround): New inline function.
4981 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4982 __fesetround and define as weak alias of __fesetround. Use
4984 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4985 __fesetround instead of fesetround.
4986 (default_libc_feholdexcept_setround): Likewise.
4987 (libc_feholdsetround_ctx): Likewise.
4988 (libc_feholdsetround_noex_ctx): Likewise.
4991 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4992 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4993 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4994 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4995 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4996 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4997 define as weak alias of __fesetenv. Use libm_hidden_weak.
4998 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4999 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5000 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5001 define as weak alias of __fesetenv. Use libm_hidden_weak.
5002 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5003 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5004 define as weak alias of __fesetenv. Use libm_hidden_weak.
5005 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5007 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5008 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5010 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5011 define as weak alias of __fesetenv. Use libm_hidden_weak.
5012 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5013 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5014 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5015 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5016 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5017 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5018 __fesetenv instead of fesetenv.
5019 (libc_feresetround_noex_ctx): Likewise.
5020 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5021 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5022 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5023 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5024 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5025 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5026 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5027 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5028 (__feupdateenv): Likewise.
5029 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5030 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5031 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5032 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5034 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5037 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5038 addresses have been freed.
5040 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5042 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5045 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5047 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5048 Clean up check_pf allocation pattern. addresses
5050 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5052 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5053 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5054 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5055 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5056 * nptl/pthread_join.c (pthread_join): Likewise.
5057 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5058 * sysdeps/posix/waitid.c (__waitid): Likewise.
5059 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5060 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5061 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5062 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5063 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5065 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5066 (__libc_pread64): Likewise.
5067 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5068 (__libc_pwrite): Likewise.
5069 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5070 (__libc_pwrite64): Likewsie.
5071 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5072 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5073 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5074 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5075 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5076 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5077 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5081 (__libc_pread64): Likewise.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5085 (__libc_pwrite64): Likewise.
5086 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5087 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5088 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5089 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5090 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5091 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5092 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5093 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5094 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5095 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5096 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5097 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5098 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5099 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5100 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5101 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5104 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5106 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5107 (CFLAGS-test-double.c): Likewise.
5108 (CFLAGS-test-ldouble.c): Likewise.
5109 (CPPFLAGS-test-ifloat.c): Likewise.
5110 (CPPFLAGS-test-idouble.c): Likewise.
5111 (CPPFLAGS-test-ildoubl.c): Likewise.
5112 (CFLAGS-test-test-fenv.c): Remove variable.
5113 (CFLAGS-test-misc.c): Likewise.
5115 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5118 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5119 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5120 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5121 CLOCKS_PER_SEC == 1000000.
5122 * time/clocktest.c (main): Replace %ld with %jd and cast to
5125 2015-01-05 Roland McGrath <roland@hack.frob.com>
5127 * sysdeps/generic/unwind-resume.h: New file.
5128 * sysdeps/gnu/unwind-resume.c: Include it.
5129 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5130 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5132 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5133 global rather than static.
5134 (_Unwind_Resume): Update user.
5135 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5136 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5137 rather than static. Add __attribute__ ((cold)).
5138 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5139 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5140 * sysdeps/arm/arm-unwind-resume.S: New file.
5141 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5142 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5143 * sysdeps/arm/Makefile [$(subdir) = csu]
5144 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5145 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5146 Add rt-arm-unwind-resume.
5148 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5149 Add pt-arm-unwind-resume.
5150 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5151 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5153 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5156 * include/fenv.h (__feholdexcept): Declare. Use
5158 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5159 define as weak alias of __feholdexcept. Use libm_hidden_weak.
5160 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5161 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5162 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5163 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5164 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5165 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5166 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5167 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5168 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5169 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5170 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5171 (feholdexcept): Likewise.
5172 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5173 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5174 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5175 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5176 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5177 __feholdexcept instead of feholdexcept.
5178 (default_libc_feholdexcept_setround): Likewise.
5180 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5182 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5183 to avoid using stl/str to align destination.
5185 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5187 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5189 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5192 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5193 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5194 Define as weak alias not strong alias.
5196 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5198 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5199 bltzal with addiupc.
5200 (RTLD_START): Ditto.
5202 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
5204 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5205 for __vdso_* functions in declarations.
5206 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5208 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5209 INTERNAL_VSYSCALL): Use struct return types to check for error.
5211 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5212 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5213 function with cast from llround().
5214 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5215 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5218 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5221 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5222 Define as weak alias not strong alias.
5225 * ctype/ctype-c99.c: New file. isblank implementation moved from
5227 * ctype/ctype-extn.c: ... here.
5228 (__isblank_l): Move to ...
5229 * ctype/ctype-c99_l.c: ... here. New file.
5230 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5231 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5233 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5234 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5235 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5236 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5237 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5240 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5241 (posix_fadvise64): Define as weak alias not strong alias.
5242 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5243 (posix_fallocate64): Likewise.
5244 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5246 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5247 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5248 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5249 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5250 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5252 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5255 * NEWS: Mention bug fix.
5256 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5257 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5258 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5259 (HOST_STACK_END_ADDR): Likewise.
5261 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5264 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5265 * math/fegetround.c (fegetround): Rename to __fegetround and
5266 define as weak alias of __fegetround. Use libm_hidden_weak.
5267 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5268 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5269 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5270 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5271 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5272 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5273 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5274 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5275 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5276 Undefine after rather than before function definition; use
5277 parentheses around function name in definition.
5278 (__fegetround): Also undefine macro after function definition.
5279 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5280 __fegetround and define as weak alias of __fegetround. Use
5281 libm_hidden_weak. Do not undefine as macro.
5282 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5284 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5285 __fegetround and define as weak alias of __fegetround. Use
5287 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5288 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5289 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5290 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5291 __fegetround and define as weak alias of __fegetround. Use
5293 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5294 __fegetround instead of fegetround.
5297 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5298 Condition macro definition on [__USE_MISC].
5301 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5302 (struct sigaction): Change type of sa_flags field to int.
5305 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5306 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5309 * nptl/version.c (banner): Use single year in copyright notice.
5311 * NEWS: Update copyright dates.
5312 * catgets/gencat.c (print_version): Likewise.
5313 * csu/version.c (banner): Likewise.
5314 * debug/catchsegv.sh: Likewise.
5315 * debug/pcprofiledump.c (print_version): Likewise.
5316 * debug/xtrace.sh (do_version): Likewise.
5317 * elf/ldconfig.c (print_version): Likewise.
5318 * elf/ldd.bash.in: Likewise.
5319 * elf/pldd.c (print_version): Likewise.
5320 * elf/sotruss.sh: Likewise.
5321 * elf/sprof.c (print_version): Likewise.
5322 * iconv/iconv_prog.c (print_version): Likewise.
5323 * iconv/iconvconfig.c (print_version): Likewise.
5324 * locale/programs/locale.c (print_version): Likewise.
5325 * locale/programs/localedef.c (print_version): Likewise.
5326 * login/programs/pt_chown.c (print_version): Likewise.
5327 * malloc/memusage.sh (do_version): Likewise.
5328 * malloc/memusagestat.c (print_version): Likewise.
5329 * malloc/mtrace.pl: Likewise.
5330 * manual/libc.texinfo: Likewise.
5331 * nptl/version.c (banner): Likewise.
5332 * nscd/nscd.c (print_version): Likewise.
5333 * nss/getent.c (print_version): Likewise.
5334 * nss/makedb.c (print_version): Likewise.
5335 * posix/getconf.c (main): Likewise.
5336 * scripts/test-installation.pl: Likewise.
5337 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5339 2015-01-02 Will Newton <will.newton@linaro.org>
5341 * sysdeps/arm/armv7/configure: Removed.
5342 * sysdeps/arm/armv7/configure.ac: Likewise.
5344 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5346 * All files with FSF copyright notices: Update copyright dates
5347 using scripts/update-copyrights.
5348 * intl/plural.c: Regenerated.
5349 * locale/programs/charmap-kw.h: Likewise.
5350 * locale/programs/locfile-kw.h: Likewise.
5352 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5354 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5356 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5359 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5360 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5361 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5362 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5363 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5364 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5365 define as weak alias of __fegetenv. Use libm_hidden_weak.
5366 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5367 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5368 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5369 define as weak alias of __fegetenv. Use libm_hidden_weak.
5370 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5371 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5372 define as weak alias of __fegetenv. Use libm_hidden_weak.
5373 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5375 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5376 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5378 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5379 define as weak alias of __fegetenv. Use libm_hidden_weak.
5380 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5381 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5382 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5383 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5384 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5385 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5386 __fegetenv instead of fegetenv.
5387 (libc_feholdsetround_noex_ctx): Likewise.
5389 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5391 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5392 (Elf_MIPS_ABIFlags_v0): New structure.
5393 (EF_MIPS_FP64): Define.
5394 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5395 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5396 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5397 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5398 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5399 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5400 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5401 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5402 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5403 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5404 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5405 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5406 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5407 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5408 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5409 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5410 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5411 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5412 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5413 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5414 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5415 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5417 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5419 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5420 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5421 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5422 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5423 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5424 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5425 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5426 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5427 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5428 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5429 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5430 record the current FP ABI extension.
5431 (mips-mode-switch): Define to show if kernel headers support mode
5433 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5434 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5435 supported SYSV ABI version to 3.
5436 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5439 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5440 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5442 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5444 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5446 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5448 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5449 __fegetround and redefine to call __fegetround. Remove condition
5450 on [!__NO_MATH_INLINES].
5451 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5453 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5454 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5456 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5457 instead of <fenv_libc.h>.
5458 (__llrintl): Call fegetround instead of __fegetround.
5459 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5460 instead of <fenv_libc.h>.
5461 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5462 (__lrintl): Call fegetround instead of __fegetround.
5463 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5464 instead of <fenv_libc.h>.
5465 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5466 (__rintl): Call fegetround instead of __fegetround.
5468 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5470 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5473 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5476 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5477 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5478 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5480 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5482 * sysdeps/i386/tls-macros.h: Include <features.h>.
5483 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5487 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5488 define for GCC >= 5.0.
5490 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5492 * math/test-fenv.c (test_single_exception, set_single_exc,
5493 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5494 feexcp_mask_test, feenable_test, fe_single_test): Add
5495 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5496 case where they are not used.
5497 * math/libm-test.inc: Likewise.
5498 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5499 unused in the absence of FP rounding/exception support.
5500 * stdio-common/tst-printf-round.c: Likewise.
5501 * stdlib/tst-strtod-round.c: Likewise.
5502 * stdlib/tst-strtod-underflow.c: Likewise.
5504 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5507 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5508 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5509 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5510 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5512 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5513 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5514 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5516 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5517 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5519 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5521 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5522 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5523 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5525 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5527 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5528 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5529 (__feraiseexcept): Likewise.
5530 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5531 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5533 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5534 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5536 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5537 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5538 Use libm_hidden_def.
5539 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5541 (feraiseexcept): Define as weak not strong alias. Use
5543 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5544 New inline function. Factored out of ...
5545 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5546 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5547 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5549 * math/w_acos.c (__acos): Likewise.
5550 * math/w_asin.c (__asin): Likewise.
5551 * math/w_ilogb.c (__ilogb): Likewise.
5552 * math/w_j0.c (y0): Likewise.
5553 * math/w_j1.c (y1): Likewise.
5554 * math/w_jn.c (yn): Likewise.
5555 * math/w_log.c (__log): Likewise.
5556 * math/w_log10.c (__log10): Likewise.
5557 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5558 * sysdeps/aarch64/fpu/math_private.h
5559 (libc_feupdateenv_test_aarch64): Likewise.
5560 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5561 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5562 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5563 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5564 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5565 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5566 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5567 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5568 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5569 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5571 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5574 * io/test-utime.c (main): Replace %ld with %jd and cast to
5576 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5577 * nptl/tst-mutex5.c: Include <stdint.h>.
5578 (do_test): Replace %ld with %jd and cast to intmax_t.
5579 * posix/tst-regex.c (run_test): Likewise.
5580 (run_test_backwards): Likewise.
5581 * rt/tst-clock.c: Include <stdint.h>.
5582 (clock_test): Replace %ld with %jd and cast to intmax_t.
5583 * rt/tst-cpuclock1.c: Include <stdint.h>.
5584 (do_test): Replace %lu with %ju and cast to uintmax_t.
5585 * rt/tst-cpuclock2.c: Include <stdint.h>.
5586 (do_test): Replace %lu with %ju and cast to uintmax_t.
5587 * rt/tst-mqueue1.c: Include <stdint.h>.
5588 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5589 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5591 * rt/tst-mqueue4.c (do_test): Likewise.
5592 * rt/tst-timer4.c: Include <stdint.h>.
5593 (check_ts): Replace %ld with %jd and cast to intmax_t.
5594 (do_test): Likewise.
5595 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5596 and cast to intmax_t.
5597 * sysdeps/pthread/tst-timer.c (main): Likewise.
5598 * time/clocktest.c (main): Likewise.
5599 * time/tst-posixtz.c (do_test): Likewise.
5600 * timezone/tst-timezone.c (main): Likewise.
5602 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5603 H.J. Lu <hongjiu.lu@intel.com>
5605 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5606 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5607 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5608 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5609 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5610 version if bit_Fast_Unaligned_Load is set.
5611 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5612 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5613 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5614 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5615 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5616 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5618 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5619 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5620 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5622 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5623 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5624 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5625 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5627 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5629 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5630 instead of #if to avoid a Wundef warning.
5631 * stdlib/tst-limits.c (do_test): Likewise.
5633 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5634 parallel other exception macros.
5635 (fegetenv): Convert from macro to extern inline so that it applies
5636 retroactively to inline functions already seen by the compiler.
5637 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5639 * posix/Makefile (before-compile): Use $(objpfx) for
5640 posix-conf-vars-def.h.
5642 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5644 * posix/getconf.c (main): Use size_t for type of I.
5645 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5648 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5649 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5650 * posix/posix-envs.def: Likewise.
5651 * sysdeps/posix/sysconf.c: Likewise.
5652 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5653 (specs): Remove array.
5654 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5657 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5658 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5659 (__sysconf): Use CONF_IS_* macros.
5661 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5662 ($(objpfx)posix-conf-vars-def.h): New target.
5663 * posix/posix-conf-vars.list: New file.
5664 * posix/posix-conf-vars.h: New file.
5665 * posix/confstr.c: Include posix-conf-vars.h.
5666 (confstr): Use CONF_IS_* macros.
5667 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5669 * scripts/gen-posix-conf-vars.awk: New file.
5671 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5673 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5674 fegetround): Add no-op macros to avoid linknamespace issues.
5676 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5677 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5679 * sysdeps/unix/sysv/linux/tile/sysdep.h
5680 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5681 assembly-specific section to avoid a redefinition warning.
5683 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5684 long before casting to pointer to avoid a cast warning.
5686 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5688 * sysdeps/tile/tilegx/Implies: New file.
5690 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
5692 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5694 2014-12-23 Florian Weimer <fweimer@redhat.com>
5696 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5698 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5700 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5702 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5703 <kernel-features.h>.
5704 (__utimes) [__NR_utimes]: Make code unconditional.
5705 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5706 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5707 (__ASSUME_UTIMES): Do not undefine.
5708 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5709 (__ASSUME_UTIMES): Likewise.
5710 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5711 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5712 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5713 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5715 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5717 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5719 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5722 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5723 alias to weak alias for j0l, y0l.
5724 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5725 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5728 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5731 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5733 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5734 to zero if not already defined.
5736 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5739 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5740 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5741 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5742 (char *) casts added.
5743 * sysdeps/ieee754/k_standardf.c: New file.
5744 * sysdeps/ieee754/k_standardl.c: Likewise.
5745 * math/Makefile (libm-support): Remove k_standard.
5746 (libm-calls): Add k_standard.
5748 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5750 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5751 Optimize to avoid an unnecessary FPCR read.
5753 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5755 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5756 Optimize to reduce FPCR/FPSR accesses.
5758 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5760 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5761 Call libc_fetestexcept_aarch64.
5763 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5765 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5766 Call libc_fesetround_aarch64.
5768 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5771 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5772 (__bind): Do not define as weak alias.
5773 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5775 (__getsockname): Do not define as weak alias.
5777 2014-12-22 Will Newton <will.newton@linaro.org>
5779 * manual/install.texi: Document that we require bison 2.7
5781 * INSTALL: Regenerate.
5782 * configure.ac: Use AC_CHECK_PROG_VER instead of
5783 AC_PATH_PROG when checking for bison and check for
5784 version 2.7 or above.
5785 * configure: Regenerate.
5787 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5790 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5791 * sysdeps/tile/ffsll.c (ffsll): To here.
5793 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5795 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5797 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5799 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5801 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5802 hidden ___tls_get_addr.
5803 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5804 hidden __tls_get_addr.
5805 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5806 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5809 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5811 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5814 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5816 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5817 from "call _dl_init@PLT".
5818 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5820 2014-12-21 Anders Kaseorg <andersk@mit.edu>
5822 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5825 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5827 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5829 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5832 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5835 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5837 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5839 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5840 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5841 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5842 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5843 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5845 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5847 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5848 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5849 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5850 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5851 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5853 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5855 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
5857 * string/strncat.c (STRNCAT): Simplify implementation.
5859 2014-12-19 David S. Miller <davem@davemloft.net>
5861 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5862 access the quad as both a long double and as a series of 4 words.
5864 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5865 link_map->l_info array access.
5867 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5869 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5871 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5872 * math/atest-exp2.c (TIMEOUT): Likewise.
5873 * math/atest-sincos.c (TIMEOUT): Likewise.
5875 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5877 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5878 -Wno-error with -fno-builtin-lround.
5880 2014-12-19 Torvald Riegel <triegel@redhat.com>
5882 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5883 Contains futex constants and functions moved over from ...
5884 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5885 <lowlevellock-futex.h>.
5886 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5887 (lll_timedwait_tid): Add comments and parentheses around macro
5890 2014-12-19 Torvald Riegel <triegel@redhat.com>
5892 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5893 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5894 (__lll_private_flag): Remove.
5895 (lll_futex_wait): Likewise.
5896 (lll_futex_timed_wait): Likewise.
5897 (lll_futex_wake): Likewise.
5898 (lll_futex_requeue): Likewise.
5899 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5900 (__lll_timedwait_tid): Spell out argument names.
5901 (lll_timedwait_tid): Add comments and parentheses around macro
5903 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5904 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5906 2014-12-19 Torvald Riegel <triegel@redhat.com>
5908 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5909 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5910 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5911 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5912 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5913 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5914 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5915 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5916 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5917 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5918 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5919 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5920 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5921 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5922 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5923 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5924 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5925 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5926 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5928 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5930 * sysdeps/x86_64/x32/Makefile: New file.
5932 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5934 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5935 1L with (mp_limb_t) 1.
5937 2014-12-17 Roland McGrath <roland@hack.frob.com>
5939 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5940 * nptl/libc_pthread_init.c: ... here.
5941 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5942 * nptl/register-atfork.c: ... here.
5944 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5945 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5946 Use assert_perror to check its return value.
5947 (__gai_create_helper_thread): Likewise.
5949 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5951 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5953 2014-12-17 Joseph Myers <joseph@codesourcery.com>
5956 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5958 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5960 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5962 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5964 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5965 (profil_counter): Likewise.
5966 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5967 (profil_counter): Likewise.
5968 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5970 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5972 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5973 (profil_counter): Likewise.
5974 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5976 [!__profil_counter] (profil_counter): Define as weak alias of
5978 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5979 (profil_counter): Rename to __profil_counter.
5980 [!__profil_counter] (profil_counter): Define as weak alias of
5982 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5983 (profil_counter): Rename to __profil_counter.
5984 [!__profil_counter] (profil_counter): Define as weak alias of
5986 * sysdeps/posix/profil.c: Update comment referring to
5988 (__profil): Use __profil_counter instead of profil_counter.
5989 * sysdeps/posix/sprofil.c (profil_counter): Rename to
5990 __profil_counter. Use __profil_counter_ushort and
5991 __profil_counter_uint in definitions.
5992 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5993 instead of profil_counter_uint and profil_counter_ushort.
5996 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5997 define as weak alias of __inet_makeaddr.
5998 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5999 as weak alias of __inet_addr.
6000 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6001 as weak alias of __inet_pton. Use libc_hidden_weak.
6002 * include/arpa/inet.h (__inet_pton): Declare. Use
6004 (inet_makeaddr): Don't use libc_hidden_proto.
6005 (__inet_makeaddr): Declare. Use libc_hidden_proto.
6006 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6007 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
6008 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6010 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6011 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6013 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
6015 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6017 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6019 * stdio-common/bug-vfprintf-nargs.c (do_test):
6020 Cast value to intptr_t to avoid format warning
6021 for usage with PRIdPTR printing macro.
6023 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6025 * libio/tst-widetext.c (do_test):
6026 Use format type %td instead of %Zd for ptrdiff_t
6027 in order to avoid format warning.
6029 2014-12-17 Andreas Schwab <schwab@suse.de>
6031 * nscd/mem.c (gc): Add size_t cast to match printf format.
6033 2014-12-16 Roland McGrath <roland@hack.frob.com>
6035 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6036 (init): Apply PTR_MANGLE to pointers before storing them.
6037 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6040 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6043 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6044 define as weak alias of __memrchr.
6045 (__memrchr): Do not define as strong alias of memrchr.
6046 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6048 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6049 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6050 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6053 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6054 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6055 (if_indextoname): Rename to __if_indextoname and define as weak
6056 alias of __if_indextoname. Use libc_hidden_weak.
6057 (if_freenameindex): Rename to __if_freenameindex and define as
6058 weak alias of __if_freenameindex.
6059 (if_nameindex): Rename to __if_nameindex and define as weak alias
6061 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6062 __if_nametoindex and define as weak alias of __if_nametoindex.
6063 Use libc_hidden_weak.
6064 (if_freenameindex): Rename to __if_freenameindex and define as
6065 weak alias of __if_freenameindex.
6066 (if_nameindex): Rename to __if_nameindex and define as weak alias
6068 (if_indextoname): Rename to __if_indextoname and define as weak
6069 alias of __if_indextoname. Use libc_hidden_weak.
6070 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6071 __if_nametoindex and define as weak alias of __if_nametoindex.
6072 Use libc_hidden_weak.
6073 (if_freenameindex): Rename to __if_freenameindex and define as
6074 weak alias of __if_freenameindex. Use libc_hidden_weak.
6075 (if_nameindex_netlink): Use __if_freenameindex instead of
6077 (if_nameindex): Rename to __if_nameindex and define as weak alias
6078 of __if_nameindex. Use libc_hidden_weak.
6079 (if_indextoname): Rename to __if_indextoname and define as weak
6080 alias of __if_indextoname. Use libc_hidden_weak.
6081 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6083 [!_ISOMAC] (__if_freenameindex): Likewise.
6084 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6086 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6088 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6089 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6090 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6091 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6092 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6093 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6094 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6096 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6098 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6099 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6101 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6103 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6104 subscript above bounds'
6106 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6109 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
6111 * libio/tst-fopenloc.c: Use test-skeleton.c.
6113 * stdlib/tst-bsearch.c: Use test-skeleton.c.
6114 (entry): Rename to ITEM.
6115 (do_test, comp): Adjust.
6117 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6119 2014-12-16 Torvald Riegel <triegel@redhat.com>
6121 * string/tester.c: Include <libc-internal.h>.
6122 (test_memset): Ignore -Wmemset-transposed-args.
6124 2014-12-16 Torvald Riegel <triegel@redhat.com>
6126 * misc/tst-mntent2.c (do_test): Fix warning.
6128 2014-12-16 Torvald Riegel <triegel@redhat.com>
6130 * elf/tst-unique4lib.cc(a): Mark as used.
6132 2014-12-16 Florian Weimer <fweimer@redhat.com>
6135 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6138 2014-12-16 Allan McRae <allan@archlinux.org>
6140 * stdio-common/Makefile (tests): Re-add bug26.
6142 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6145 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6148 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
6150 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6151 (__lll_lock_wait): Likewise.
6152 (__lll_timedlock_wait): Likewise.
6153 (__lll_timedwait_tid): Likewise.
6154 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6155 (__lll_robust_timedlock_wait): Likewise.
6156 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6157 (lll_cond_trylock): Likewise.
6158 (__lll_lock): Likewise.
6159 (__lll_robust_lock): Likewise.
6160 (__lll_cond_lock): Likewise.
6161 (lll_robust_cond_lock): Likewise.
6162 (__lll_timedlock): Likewise.
6163 (__lll_robust_timedlock): Likewise.
6164 (__lll_unlock): Likewise.
6165 (__lll_robust_unlock): Likewise.
6166 (lll_wait_tid): Likewise.
6167 (lll_timedwait_tid): Likewise.
6169 2014-12-15 Torvald Riegel <triegel@redhat.com>
6171 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6173 2014-12-15 Torvald Riegel <triegel@redhat.com>
6175 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6177 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6179 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6180 * stdio-common/tst-sprintf.c: Likewise.
6182 2014-12-15 Torvald Riegel <triegel@redhat.com>
6184 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6186 2014-12-15 Jeff Law <law@redhat.com>
6189 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6190 on the heap. (CVE-2012-3406)
6191 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6192 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
6193 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6195 2014-12-15 Will Newton <will.newton@linaro.org>
6197 * manual/install.texi: Bump required version of texinfo
6199 * INSTALL: Regenerated.
6200 * configure.ac: Check for makeinfo version 4.7 and above.
6201 * configure: Regenerated.
6203 2014-12-12 Roland McGrath <roland@hack.frob.com>
6205 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6206 PREFIX, string constant to insert between directory and name.
6207 * sysdeps/posix/shm_open.c: Update caller.
6208 * sysdeps/posix/shm_unlink.c: Likewise.
6209 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6210 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6211 (SEM_SHM_PREFIX): New macro.
6212 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6213 [$(have-thread-library) = no].
6214 * nptl/Makefile (libpthread-routines): Add shm-directory.
6215 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6216 * sysdeps/nptl/shm-directory.h: New file.
6217 * sysdeps/posix/shm-directory.c
6218 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6219 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6220 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6222 (__where_is_shmfs): Function removed.
6223 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6225 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6227 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6229 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6230 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6231 unconditional for use inside libpthread.
6232 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6234 2014-12-12 Roland McGrath <roland@hack.frob.com>
6236 * nptl/pthread_getaffinity.c: New file.
6237 * nptl/pthread_setaffinity.c: New file.
6238 * nptl/pthread_getname.c: New file.
6239 * nptl/pthread_setname.c: New file.
6241 * nptl/pthread_create.c (START_THREAD_DEFN)
6242 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6244 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6245 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6247 * resolv/res_send.c (send_vc): Disable warning resplen may
6248 be used uninitialized.
6250 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6253 (ATTR_NULL): New define checks ATTR against NULL.
6254 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6255 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6257 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6261 (mem2mem_check): Revert my previous change.
6262 (malloc_check_get_size): Revert my previous change.
6263 (mem2chunk_check): Revert my previous change.
6265 2014-12-11 Roland McGrath <roland@hack.frob.com>
6267 * sysdeps/posix/shm-directory.c: New file.
6268 * sysdeps/posix/shm-directory.h: New file.
6269 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6270 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6271 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6272 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6273 Transmute EPERM to EACCES.
6274 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6276 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6277 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6279 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6281 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6282 pointer and cast to uintptr_t.
6283 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6284 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6285 Add cast to avoid warning.
6286 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6288 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6290 * nptl/semaphore.h: Move to ...
6291 * sysdeps/pthread/semaphore.h: ... here.
6292 * Makefile (installed-headers): Change nptl/semaphore.h to
6293 sysdeps/pthread/semaphore.h.
6295 2014-12-11 Roland McGrath <roland@hack.frob.com>
6297 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6298 generated error format strings.
6300 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6301 -Wformat-extra-args warnings for scanf formats.
6302 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6303 test of zero-length format (duh).
6304 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6305 corner-case scanf format test.
6306 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6307 generated fprintf format string.
6308 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6309 corner-case sprintf format tests.
6310 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6311 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6312 -Wformat-extra-args warnings throughout.
6313 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6314 (CFLAGS-scanf4.c): Likewise.
6315 (CFLAGS-scanf7.c): Likewise.
6316 (CFLAGS-tst-sprintf.c): Likewise.
6317 (CFLAGS-tst-printf.c): Likewise.
6318 (CFLAGS-tst-printfsz.c): Likewise.
6320 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6322 * include/cpio.h: New file.
6323 * include/fmtmsg.h: Likewise.
6325 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6326 corresponding format argument to size_t.
6327 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6329 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6330 corresponding format argument to size_t.
6331 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6333 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6334 corresponding format argument to size_t.
6335 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6336 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6337 (CFLAGS-tst-mbswcs2.c): Likewise.
6338 (CFLAGS-tst-mbswcs3.c): Likewise.
6339 (CFLAGS-tst-mbswcs4.c): Likewise.
6340 (CFLAGS-tst-mbswcs5.c): Likewise.
6341 (CFLAGS-tst-trans.c): Likewise
6343 2014-12-11 Roland McGrath <roland@hack.frob.com>
6345 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6346 rather than assuming they won't contain any '%'s.
6348 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6350 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6351 inhibit_loop_to_libcall to avoid recursive calls.
6352 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6353 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6355 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6357 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6360 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6362 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6363 integer value instead of boolean.
6365 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6367 * malloc/malloc.c: Fix powerof2 check.
6369 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6371 * locale/programs/locfile.h (maybe_swap_uint32):
6372 Remove inline and add unused attribute.
6374 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6376 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6377 Truncating assembler expression to a .long expression.
6379 2014-12-11 Andreas Schwab <schwab@suse.de>
6381 * elf/rtld.c (struct map_args): Constify str member.
6382 (do_preload): Constify fname argument.
6384 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6386 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6387 constants definition.
6389 2014-12-11 Andreas Schwab <schwab@suse.de>
6392 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6393 FORCE_ELISION instead of DO_ELISION.
6394 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6396 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6399 * iconvdata/gconv-modules: Remove duplicate entry.
6401 2014-12-11 Will Newton <will.newton@linaro.org>
6403 Merge gettext 0.19.3 into intl/.
6405 This involves a number of cosmetic changes to comments
6406 and ANSI function definitions and prototypes throughout
6407 all the files. The gettext copyright header is used but
6408 with the date ranges taken from the glibc copy.
6410 * NEWS: Add gettext merge to 2.21.
6411 * intl/bindtextdom.c: Switch to gettext copyright.
6412 Use ANSI definitions and prototypes.
6413 Use gl_* locking primitives rather than __libc_* ones.
6414 Use __builtin_expect rather than __glibc_likely/unlikely.
6415 * intl/dcgettext.c: Switch to gettext copyright.
6416 Use ANSI definitions and prototypes.
6417 * intl/dcigettext.c: Switch to gettext copyright.
6418 Use ANSI definitions and prototypes.
6419 (INTDIV0_RAISES_SIGFPE): New define.
6420 Use gl_* locking primitives rather than __libc_* ones.
6421 Include eval-plural.h instead of plural-eval.c.
6422 Use __builtin_expect rather than __glibc_likely/unlikely.
6423 * intl/dcngettext.c: Switch to gettext copyright.
6424 Use ANSI definitions and prototypes.
6425 * intl/dgettext.c: Likewise.
6426 * intl/dngettext.c: Likewise.
6427 * intl/plural-eval.c: Renamed to...
6428 * intl/eval-plural.h: ...this.
6429 * intl/explodename.c: Switch to gettext copyright.
6430 Use ANSI definitions and prototypes.
6431 (_nl_explode_name): Use strchr instead of __rawmemchr.
6432 * intl/finddomain.c: Switch to gettext copyright.
6433 Use ANSI definitions and prototypes.
6434 Use gl_* locking primitives rather than __libc_* ones.
6435 (_nl_find_domain): Use malloc rather than alloca for
6436 allocation of temporary locale name.
6437 * intl/gettext.c: Switch to gettext copyright.
6438 Use ANSI definitions and prototypes.
6439 * intl/gettextP.h: Switch to gettext copyright.
6440 Use ANSI definitions and prototypes.
6441 Use gl_* locking primitives rather than __libc_* ones.
6442 * intl/gmo.h: Switch to gettext copyright.
6443 (struct sysdep_string): Move struct segment_pair outside of
6445 * intl/hash-string.c: Use ANSI definitions and prototypes.
6446 * intl/hash-string.h: Switch to gettext copyright.
6447 Use ANSI definitions and prototypes.
6448 * intl/l10nflist.c: Switch to gettext copyright.
6449 Use ANSI definitions and prototypes.
6450 (_nl_normalize_codeset): Avoid integer overflow.
6451 * intl/loadinfo.h: Switch to gettext copyright.
6452 Use ANSI definitions and prototypes.
6453 (LIBINTL_DLL_EXPORTED): New define.
6454 (PATH_SEPARATOR): New define.
6455 * intl/loadmsgcat.c: Switch to gettext copyright.
6456 * intl/localealias.c: Switch to gettext copyright.
6457 Use ANSI definitions and prototypes.
6458 (_nl_expand_alias): Use PATH_SEPARATOR.
6459 * intl/ngettext.c: Switch to gettext copyright.
6460 Use ANSI definitions and prototypes.
6461 * intl/plural-exp.c: Likewise.
6462 * intl/plural-exp.h: Switch to gettext copyright.
6463 Use ANSI definitions and prototypes.
6464 (struct expression): Move definition of enum operator outside
6465 of struct definition.
6466 * intl/plural.c: Regenerate.
6467 * intl/plural.y: Switch to gettext copyright.
6468 Use ANSI definitions and prototypes.
6470 * intl/textdomain.c: Switch to gettext copyright.
6471 Use ANSI definitions and prototypes.
6472 Use gl_* locking primitives rather than __libc_* ones.
6474 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6476 * debug/warning-nop.c: Add used atrribute.
6478 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6480 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6482 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6483 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6484 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6486 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6487 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6490 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6491 Undefine after defining function. Define as weak alias of
6492 __wcschr. Use libc_hidden_weak.
6493 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6494 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6495 (libc_hidden_def): Also define __GI___wcschr alias.
6496 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6497 __wcschr and define as weak alias of __wcschr.
6498 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6500 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6501 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6502 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6503 libc_hidden_weak. Do not use libc_hidden_def.
6504 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6505 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6506 __GI___wcschr alias.
6507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6508 [IS_IN (libc)] (wcschr): Define as macro expanding to
6510 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6511 [IS_IN (libc)] (__wcschr_power6): Likewise.
6512 [IS_IN (libc)] (__wcschr_power7): Likewise.
6513 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6515 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6517 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6518 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6519 __wcschr and define as weak alias of __wcschr. Use
6520 libc_hidden_builtin_def.
6521 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6522 as weak alias of __wcschr. Use libc_hidden_weak.
6523 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6525 * time/era.c (_nl_init_era_entries): Likewise.
6526 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6528 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6529 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6531 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6533 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6534 format for long int variable.
6536 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6539 * manual/search.texi: (Array Sort Function): Remove claim how to make
6542 2014-12-10 Andreas Schwab <schwab@suse.de>
6545 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6546 user-controlled locks.
6548 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6550 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6553 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6555 * configure.ac (--disable-werror): New configure option.
6556 (enable_werror): New AC_SUBST.
6557 * configure: Regenerated.
6558 * config.make.in (enable-werror): New variable.
6559 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6561 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6562 * manual/install.texi (Configuring and compiling): Document
6564 * INSTALL: Regenerated.
6565 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6566 (CFLAGS-tst-chk2.c): Likewise.
6567 (CFLAGS-tst-chk3.c): Likewise.
6568 (CFLAGS-tst-chk4.cc): Likewise.
6569 (CFLAGS-tst-chk5.cc): Likewise.
6570 (CFLAGS-tst-chk6.cc): Likewise.
6571 (CFLAGS-tst-lfschk1.c): Likewise.
6572 (CFLAGS-tst-lfschk2.c): Likewise.
6573 (CFLAGS-tst-lfschk3.c): Likewise.
6574 (CFLAGS-tst-lfschk4.cc): Likewise.
6575 (CFLAGS-tst-lfschk5.cc): Likewise.
6576 (CFLAGS-tst-lfschk6.cc): Likewise.
6578 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6579 (main): Disable -Wdeprecated-declarations around calls to
6580 register_printf_function.
6582 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6583 (do_test): Disable -Wdiv-by-zero around some calls to
6584 fwrite_unlocked and fread_unlocked.
6586 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6587 (DIAG_POP_NEEDS_COMMENT): Likewise.
6588 (_DIAG_STR1): Likewise.
6589 (_DIAG_STR): Likewise.
6590 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6591 * stdio-common/bug21.c: Include <libc-internal.h>.
6592 (do_test): Disable -Wformat around call to sscanf.
6593 * stdio-common/scanf14.c: Include <libc-internal.h>.
6594 (main): Disable -Wformat around some calls to scanf functions.
6596 2014-12-09 Torvald Riegel <triegel@redhat.com>
6598 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6600 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6602 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6603 stack variable alignment.
6605 2014-12-06 Joseph Myers <joseph@codesourcery.com>
6608 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6609 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6610 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6611 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6612 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6613 __getrlimit instead of getrlimit.
6614 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6615 __gettimeofday instead of gettimeofday.
6616 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6618 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6620 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6621 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6623 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6624 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6626 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6628 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6629 for wide-character tests.
6631 2014-12-04 Roland McGrath <roland@hack.frob.com>
6633 * io/openat64.c: #include <libc-internal.h>
6634 (__openat64): Prototypify. Use ignore_value on MODE.
6635 * io/openat.c: Likewise.
6636 * misc/reboot.c: #include <libc-internal.h>
6637 (reboot): Prototypify. Use ignore_value on HOWTO.
6638 * misc/ptrace.c: #include <libc-internal.h>
6639 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6641 2014-12-04 Joseph Myers <joseph@codesourcery.com>
6643 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6644 XPG4, UNIX98 and XOPEN2K.
6645 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6647 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6649 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6651 * libio/fileops.c: Use ISO C style for function definitions.
6652 * libio/iofopen.c: Likewise.
6653 * libio/wfileops.c: Likewise.
6656 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6658 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6659 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6660 (fgets_func): Function pointer to fgets and fgetws.
6661 (do_ftell_test): Add test to verify ftell value after read
6663 (do_test): Set fgets_func.
6665 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6666 O_TRUNC flag for w and w+ modes.
6667 (do_rewind_test): Likewise.
6668 (do_ftell_test): Likewise.
6669 (do_write_test): Likewise.
6672 * libio/fileops.c (do_ftell): Seek only when there are
6674 * libio/wfileops.c (do_ftell_wide): Likewise.
6675 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6677 (do_one_test): Call it.
6679 2014-12-03 Joseph Myers <joseph@codesourcery.com>
6681 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6682 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6683 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6685 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6686 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6687 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6689 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6691 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6693 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6696 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6697 as weak alias of __getifaddrs. Use libc_hidden_weak.
6698 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6699 __freeifaddrs. Use libc_hidden_weak.
6700 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6701 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6702 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6703 __freeifaddrs. Use libc_hidden_weak.
6704 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6705 __getifaddrs and define as weak alias of __getifaddrs. Use
6707 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6708 __freeifaddrs. Use libc_hidden_weak.
6709 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6711 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6712 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6714 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6717 * sysdeps/mips/start.S (__start): Use indirect jump to call
6720 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6722 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6724 * nptl/tst-mutex1.c: Include <stdbool.h>.
6725 [!ATTR] (ATTR_NULL): New macro.
6726 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6727 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6728 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6730 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6734 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6735 Change conditional to [__USE_MISC].
6738 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6740 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6742 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6744 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6746 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6747 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6748 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6749 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6750 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6751 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6752 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6753 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6754 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6756 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6758 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6760 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6761 Remove strpbrk objects.
6762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6763 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6764 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6765 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6766 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6767 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6769 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6770 Remove strcspn objects.
6771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6772 (__libc_ifunc_impl_list): Remove strcspn implementation.
6773 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6774 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6775 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6776 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6778 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6779 Remove strspn objetcs.
6780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6781 (__libc_ifunc_impl_list): Remove strspn implementation.
6782 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6783 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6784 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6785 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6787 2014-12-01 James Lemke <jwlemke@codesourcery.com>
6791 (mem2mem_check): Add a terminator to the chain of checking blocks.
6792 (malloc_check_get_size): Use it here.
6793 (mem2chunk_check): Ditto.
6795 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6797 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6798 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6800 2014-11-29 Carlos O'Donell <carlos@redhat.com>
6802 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6804 * nptl/nptl-init.c: Include libc-internal.h.
6805 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6807 * elf/ldconfig.c (search_dir): Expand comment.
6809 2014-11-29 Joseph Myers <joseph@codesourcery.com>
6811 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6813 (linknamespace-symlist-stdlibs-tests): Likewise.
6814 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6815 instead of $(objpfx)symlist-stdlibs.
6816 (linknamespace-libs-isoc): New variable.
6817 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6818 (linknamespace-libs-ISO): New variable.
6819 (linknamespace-libs-ISO99): Likewise.
6820 (linknamespace-libs-ISO11): Likewise.
6821 (linknamespace-libs-XPG3): Likewise.
6822 (linknamespace-libs-XPG4): Likewise.
6823 (linknamespace-libs-POSIX): Likewise.
6824 (linknamespace-libs-UNIX98): Likewise.
6825 (linknamespace-libs-XOPEN2K): Likewise.
6826 (linknamespace-libs-POSIX2008): Likewise.
6827 (linknamespace-libs-XOPEN2K8): Likewise.
6828 ($(objpfx)symlist-stdlibs): Replace by
6829 $(linknamespace-symlist-stdlibs-tests). Use
6830 $(linknamespace-libs-$*) as set of libraries.
6831 ($(linknamespace-header-tests)): Update dependencies. Use
6832 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6833 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6834 * conform/linknamespace.pl: Remove comment about considering
6835 definitions of symbols from irrelevant libraries.
6837 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6840 * elf/dl-tls.c: Include <atomic.h>.
6841 (oom): Remove #ifdef SHARED/#endif.
6842 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6843 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6844 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6846 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6847 * nptl/Makefile (tests): Add tst-stack4.
6848 (modules-names): Add tst-stack4mod.
6849 ($(objpfx)tst-stack4): New.
6850 (tst-stack4mod.sos): Likewise.
6851 ($(objpfx)tst-stack4.out): Likewise.
6852 ($(tst-stack4mod.sos)): Likewise.
6854 * nptl/tst-stack4.c: New file.
6855 * nptl/tst-stack4mod.c: Likewise.
6857 2014-11-27 J. Brown <jb999@gmx.de>
6859 * sysdeps/x86/bits/string.h: Add recent CPUs.
6861 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6863 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6866 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6869 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6872 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6874 * nscd/connections.c: Include libc-internal.h because of macro
6877 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6879 * string/bits/string3.h (__warn_memset_zero_len): Don't
6880 declare for gcc newer than 5.0.
6881 (memset): Don't test for zero-length __LEN for gcc newer than
6884 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6886 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6887 size_t for %zu format.
6889 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6890 difference, not %ju.
6892 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6894 * include/libc-internal.h (ignore_value): New macro.
6895 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6898 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6901 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6902 pthread_cleanup_push to void *.
6904 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6909 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6910 instead of 1L << 52.
6912 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6913 * libio/bug-rewind2.c (do_test): Likewise.
6915 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6916 * debug/test-strcpy_chk-ifunc.c: Likewise.
6917 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6918 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6919 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6920 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6921 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6922 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6923 * Rules [$(multi-arch) = no] (tests): Do not filter out
6925 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6926 * debug/Makefile (tests-ifunc): Remove variable.
6927 (tests): Do not add $(tests-ifunc).
6928 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6929 (tests): Do not add $(tests-ifunc).
6930 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6931 [TEST_IFUNC]: Remove conditionals.
6932 * string/test-string.h (TEST_IFUNC): Remove macro.
6933 [TEST_IFUNC]: Remove conditionals.
6935 * string/test-strchr.c [!WIDE] (L): New macro.
6936 [WIDE] (L): Likewise.
6937 (check1): Use CHAR instead of char. Use L on string and character
6940 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6942 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6944 * sysdeps/powerpc/bits/atomic.h
6945 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6946 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6947 (atomic_exchange_and_add_acq): Likewise.
6948 (atomic_exchange_and_add_rel): Likewise.
6949 * sysdeps/powerpc/powerpc32/bits/atomic.h
6950 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6951 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6952 * sysdeps/powerpc/powerpc64/bits/atomic.h
6953 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6954 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6956 2014-11-26 Torvald Riegel <triegel@redhat.com>
6958 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6959 Change synchronization of __sched_fifo_min_prio and
6960 __sched_fifo_max_prio.
6961 * nptl/pthread_mutexattr_getprioceiling.c
6962 (pthread_mutexattr_getprioceiling): Likewise.
6963 * nptl/pthread_mutexattr_setprioceiling.c
6964 (pthread_mutexattr_setprioceiling): Likewise.
6965 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6966 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6969 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6971 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6974 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6976 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6977 third argument const.
6979 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
6981 fnmatch: work around GCC compiler warning bug with uninit var
6982 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6983 This works around a bug with x86-64 GCC 4.9.2 and earlier
6984 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6985 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6986 used uninitialized in this function [-Wmaybe-uninitialized]".
6988 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6990 * posix/bug-regex31.c (main): Return RES not 0.
6992 2014-11-25 Anton Blanchard <anton@samba.org>
6994 * sysdeps/powerpc/bits/atomic.h
6995 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6997 2014-11-24 Sterling Augustine <saugustine@google.com>
6999 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7001 2014-11-24 Ryan Cumming <etaoins@gmail.com>
7004 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7006 2014-11-24 Joseph Myers <joseph@codesourcery.com>
7009 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7010 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7012 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7013 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7015 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7017 * string/strncpy.c (strncpy): Improve performance by using memset.
7019 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7021 * string/strcpy.c (strcpy):
7022 Improve performance by using strlen and memcpy.
7024 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
7026 * string/strcoll_l.c (get_next_seq): __always_inline.
7027 * string/strcoll_l.c (do_compare): __always_inline.
7029 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7031 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7033 * include/mqueue.h: Likewise.
7034 * include/stdlib.h: Likewise.
7036 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7037 (get_null_defines): Adjust.
7038 * sunrpc/Makefile: Adjust comment.
7039 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7040 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7041 (CFLAGS-interp.c): Likewise.
7042 (CFLAGS-ldconfig.c): Likewise.
7043 (CPPFLAGS-.os): Likewise.
7044 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7045 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7046 * extra-modules.mk (extra-modules.mk): Likewise.
7047 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7048 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7049 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7050 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7051 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7052 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7053 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7054 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7055 * iconvdata/Makefile (CPPFLAGS): Likewise.
7056 (cpp-srcs-left): Add libof for all iconvdata routines.
7057 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7058 * include/assert.h: Likewise.
7059 * include/ctype.h: Likewise.
7060 * include/errno.h: Likewise.
7061 * include/libc-symbols.h: Likewise.
7062 * include/math.h: Likewise.
7063 * include/netdb.h: Likewise.
7064 * include/resolv.h: Likewise.
7065 * include/stdio.h: Likewise.
7066 * include/stdlib.h: Likewise.
7067 * include/string.h: Likewise.
7068 * include/sys/stat.h: Likewise.
7069 * include/wctype.h: Likewise.
7070 * intl/l10nflist.c: Likewise.
7071 * libidn/idn-stub.c: Likewise.
7072 * libio/libioP.h: Likewise.
7073 * nptl/libc_multiple_threads.c: Likewise.
7074 * nptl/pthreadP.h: Likewise.
7075 * posix/regex_internal.h: Likewise.
7076 * resolv/res_hconf.c: Likewise.
7077 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7078 * sysdeps/arm/memmove.S: Likewise.
7079 * sysdeps/arm/sysdep.h: Likewise.
7080 * sysdeps/generic/_itoa.h: Likewise.
7081 * sysdeps/generic/symbol-hacks.h: Likewise.
7082 * sysdeps/gnu/errlist.awk: Likewise.
7083 * sysdeps/gnu/errlist.c: Likewise.
7084 * sysdeps/i386/i586/memcpy.S: Likewise.
7085 * sysdeps/i386/i586/memset.S: Likewise.
7086 * sysdeps/i386/i686/memcpy.S: Likewise.
7087 * sysdeps/i386/i686/memmove.S: Likewise.
7088 * sysdeps/i386/i686/mempcpy.S: Likewise.
7089 * sysdeps/i386/i686/memset.S: Likewise.
7090 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7091 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7092 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7093 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7094 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7095 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7096 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7097 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7098 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7100 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7101 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7102 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7103 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7104 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7105 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7106 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7107 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7108 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7109 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7110 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7111 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7112 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7113 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7114 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7115 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7116 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7117 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7118 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7119 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7120 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7121 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7123 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7124 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7125 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7126 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7127 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7128 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7129 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7130 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7131 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7132 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7133 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7134 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7135 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7136 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7137 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7138 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7139 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7140 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7141 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7142 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7143 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7144 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7145 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7146 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7147 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7148 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7149 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7150 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7151 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7152 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7153 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7154 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7155 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7156 * sysdeps/posix/closedir.c: Likewise.
7157 * sysdeps/posix/opendir.c: Likewise.
7158 * sysdeps/posix/readdir.c: Likewise.
7159 * sysdeps/posix/rewinddir.c: Likewise.
7160 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7161 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7162 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7163 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7164 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7166 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7167 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7169 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7170 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7171 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7173 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7174 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7175 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7176 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7177 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7178 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7180 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7181 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7183 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7185 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7186 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7188 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7191 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7193 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7194 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7195 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7196 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7197 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7198 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7199 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7200 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7201 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7202 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7204 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7205 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7206 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7207 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7208 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7209 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7210 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7211 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7212 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7213 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7214 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7215 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7216 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7217 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7218 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7219 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7220 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7221 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7222 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7223 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7224 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7225 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7226 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7227 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7228 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7229 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7230 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7231 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7232 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7233 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7234 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7235 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7236 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7237 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7238 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7239 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7240 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7241 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7242 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7243 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7244 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7245 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7246 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7247 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7248 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7249 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7250 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7251 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7252 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7253 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7254 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7255 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7256 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7258 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7259 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7260 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7261 * sysdeps/unix/alpha/sysdep.S: Likewise.
7262 * sysdeps/unix/alpha/sysdep.h: Likewise.
7263 * sysdeps/unix/make-syscalls.sh: Likewise.
7264 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7265 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7266 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7267 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7268 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7269 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7270 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7271 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7272 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7273 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7274 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7275 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7276 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7277 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7278 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7279 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7280 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7281 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7282 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7283 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7284 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7285 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7286 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7287 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7288 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7289 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7290 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7293 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7294 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7295 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7296 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7297 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7298 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7300 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7301 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7302 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7303 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7304 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7305 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7306 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7307 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7310 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7311 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7313 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7314 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7315 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7316 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7317 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7318 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7319 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7320 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7322 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7323 * sysdeps/x86_64/memcpy.S: Likewise.
7324 * sysdeps/x86_64/memmove.c: Likewise.
7325 * sysdeps/x86_64/memset.S: Likewise.
7326 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7327 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7328 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7329 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7330 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7331 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7332 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7333 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7334 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7335 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7336 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7337 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7338 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7339 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7340 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7341 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7342 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7343 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7344 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7345 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7346 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7347 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7348 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7349 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7350 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7351 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7352 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7353 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7354 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7355 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7356 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7357 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7358 * sysdeps/x86_64/strcmp.S: Likewise.
7360 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7362 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7363 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7364 * elf/rtld-Rules: Likewise.
7365 * elf/setup-vdso.h: Likewise.
7366 * include/assert.h: Likewise.
7367 * include/bits/stdlib-float.h: Likewise.
7368 * include/errno.h: Likewise.
7369 * include/sys/stat.h: Likewise.
7370 * include/unistd.h: Likewise.
7371 * sysdeps/aarch64/setjmp.S: Likewise.
7372 * sysdeps/alpha/setjmp.S: Likewise.
7373 * sysdeps/arm/__longjmp.S: Likewise.
7374 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7375 * sysdeps/arm/setjmp.S: Likewise.
7376 * sysdeps/arm/sysdep.h: Likewise.
7377 * sysdeps/generic/_itoa.h: Likewise.
7378 * sysdeps/generic/dl-sysdep.h: Likewise.
7379 * sysdeps/generic/ldsodefs.h: Likewise.
7380 * sysdeps/i386/dl-tls.h: Likewise.
7381 * sysdeps/i386/setjmp.S: Likewise.
7382 * sysdeps/m68k/setjmp.c: Likewise.
7383 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7384 * sysdeps/mach/hurd/opendir.c: Likewise.
7385 * sysdeps/posix/getcwd.c: Likewise.
7386 * sysdeps/posix/opendir.c: Likewise.
7387 * sysdeps/posix/profil.c: Likewise.
7388 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7389 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7390 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7391 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7392 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7393 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7394 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7395 * sysdeps/s390/dl-tls.h: Likewise.
7396 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7397 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7398 * sysdeps/sh/sh3/setjmp.S: Likewise.
7399 * sysdeps/sh/sh4/setjmp.S: Likewise.
7400 * sysdeps/unix/alpha/sysdep.h: Likewise.
7401 * sysdeps/unix/arm/sysdep.S: Likewise.
7402 * sysdeps/unix/i386/sysdep.S: Likewise.
7403 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7404 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7405 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7406 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7407 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7408 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7409 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7410 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7411 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7412 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7413 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7414 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7415 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7418 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7419 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7420 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7421 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7422 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7423 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7426 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7427 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7428 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7430 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7431 * sysdeps/x86_64/setjmp.S: Likewise.
7433 * include/math.h: Use IS_IN instead of IS_IN_libm.
7434 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7446 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7450 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7451 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7452 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7454 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7455 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7456 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7457 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7458 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7459 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7461 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7462 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7463 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7464 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7465 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7466 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7477 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7478 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7479 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7480 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7481 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7482 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7488 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7489 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7490 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7491 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7492 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7493 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7494 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7495 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7496 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7497 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7498 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7499 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7500 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7501 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7503 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7505 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7506 * nptl/pthreadP.h: Likewise.
7507 * nptl_db/structs.def: Likewise.
7508 * sysdeps/arm/sysdep.h: Likewise.
7509 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7510 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7511 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7512 * sysdeps/unix/alpha/sysdep.h: Likewise.
7513 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7514 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7515 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7516 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7517 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7518 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7519 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7520 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7521 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7522 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7523 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7524 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7525 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7526 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7530 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7531 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7533 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7534 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7535 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7536 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7537 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7538 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7540 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7541 * nptl/pthreadP.h: Likewise.
7542 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7543 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7544 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7545 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7546 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7547 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7548 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7549 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7550 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7551 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7552 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7553 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7558 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7559 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7560 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7561 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7563 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7564 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7565 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7567 * dlfcn/dladdr.c: Use IS_IN.
7568 * dlfcn/dladdr1.c: Likewise.
7569 * dlfcn/dlclose.c: Likewise.
7570 * dlfcn/dlerror.c: Likewise.
7571 * dlfcn/dlinfo.c: Likewise.
7572 * dlfcn/dlmopen.c: Likewise.
7573 * dlfcn/dlopen.c: Likewise.
7574 * dlfcn/dlsym.c: Likewise.
7575 * dlfcn/dlvsym.c: Likewise.
7577 * include/ifaddrs.h: Use IS_IN.
7578 * inet/check_pf.c: Likewise.
7579 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7580 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7582 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7584 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7585 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7587 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7588 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7591 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7593 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7594 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7595 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7596 * include/libc-symbols.h (IS_IN_LIB): New macro.
7597 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7598 * include/netdb.h: Likewise.
7599 * include/stap-probe.h: Remove all uses of IN_LIB.
7601 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7602 instead of IN_MODULE.
7603 * include/libc-symbols.h (IN_MODULE): Define using
7605 (PASTE_NAME, PASTE_NAME1): New macros.
7606 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7608 (STAP_PROBE_ASM): Likewise.
7610 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7612 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7613 __mach_init in dlopened libc.
7615 2014-11-22 Mike Frysinger <vapier@gentoo.org>
7617 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7618 * sysdeps/arm/preconfigure: Regenerate.
7620 2014-11-21 Roland McGrath <roland@hack.frob.com>
7622 * nptl/pthread_create.c (__pthread_create_2_1): Set
7623 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7624 when copying values from IATTR into PD.
7626 2014-11-21 Will Newton <will.newton@linaro.org>
7627 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7629 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7630 Refactor inline-asm. Also add comment.
7632 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7633 ElfW macro instead of hardcoded Elf64 types.
7634 (la_aarch64_gnu_pltenter): Likewise.
7635 * sysdeps/aarch64/dl-machine.h
7636 (elf_machine_runtime_setup): Use ElfW(Addr).
7638 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7639 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7640 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7641 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7642 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7643 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7644 (R_AARCH64_TLS_DTPMOD): This.
7645 (R_AARCH64_TLS_DTPREL64): Rename to ...
7646 (R_AARCH64_TLS_DTPREL): This.
7647 (R_AARCH64_TLS_TPREL64): Rename to ...
7648 (R_AARCH64_TLS_TPREL): This.
7649 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7650 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7651 R_AARCH64_TLS_TPREL64.
7652 (elf_machine_rela): Likewise.
7654 2014-11-21 Torvald Riegel <triegel@redhat.com>
7656 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7657 by setting it to 0. 64b atomics are not supported currently.
7659 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7662 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7663 search domain names.
7665 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7669 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7671 * posix/tst-getaddrinfo5.c: New.
7672 * posix/Makefile (tests): Add it.
7674 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7678 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7679 after parsing line but before break_if_match.
7680 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7681 if there is a protocol mismatch.
7683 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7685 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7686 because the potential race is on the user-supplied stream.
7688 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7690 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7691 string literal if not passed a buffer.
7692 * manual/job.texi (ctermid): Update reasoning, note deviation
7693 from posix, suggest mtasurace when not passed a buffer, for
7694 future non-preliminary safety notes.
7696 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7698 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7699 of not passing it a buffer.
7700 Reported by Peng Haitao.
7702 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7704 * manual/Makefile ($(objpfx)stamp-summary): Require
7705 check-safety.sh to pass.
7706 * manual/check-safety.sh: Wish for verification that every
7707 @deftypefn and @deftypefun is followed by a @safety remark.
7709 2014-11-20 Roland McGrath <roland@hack.frob.com>
7711 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7713 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7714 PTHREAD_CANCEL_ASYNCHRONOUS.
7715 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7718 * nptl/default-sched.h: New file.
7719 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7720 * nptl/pthread_create.c: Include it.
7721 (__pthread_create_2_1): Use collect_default_sched instead of making
7722 Linux syscalls here directly.
7724 2014-11-20 Torvald Riegel <triegel@redhat.com>
7726 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7727 __pthread_once): Use C11 atomics.
7729 2014-11-20 Torvald Riegel <triegel@redhat.com>
7731 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7733 2014-11-20 Torvald Riegel <triegel@redhat.com>
7735 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7736 atomic_thread_fence_acquire, atomic_thread_fence_release,
7737 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7738 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7739 atomic_compare_exchange_weak_relaxed,
7740 atomic_compare_exchange_weak_acquire,
7741 atomic_compare_exchange_weak_release,
7742 atomic_exchange_acquire, atomic_exchange_release,
7743 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7744 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7745 atomic_fetch_and_acquire,
7746 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7748 2014-11-20 Torvald Riegel <triegel@redhat.com>
7750 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7751 USE_ATOMIC_COMPILER_BUILTINS): Define.
7752 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7753 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7754 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7755 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7756 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7757 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7758 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7759 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7760 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7761 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7762 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7763 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7764 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7765 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7766 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7767 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7768 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7769 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7770 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7771 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7772 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7773 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7774 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7775 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7776 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7777 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7778 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7779 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7780 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7781 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7782 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7783 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7784 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7785 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7786 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7787 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7788 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7789 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7790 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7791 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7793 2014-11-19 Roland McGrath <roland@hack.frob.com>
7795 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7796 the sched_priority value here. It was already checked when the user
7797 called pthread_attr_setschedparam.
7799 * nptl/tst-bad-schedattr.c: New file.
7800 * nptl/Makefile (tests): Add it.
7802 2014-11-19 Carlos O'Donell <carlos@redhat.com>
7803 Florian Weimer <fweimer@redhat.com>
7804 Joseph Myers <joseph@codesourcery.com>
7805 Adam Conrad <adconrad@0c3.net>
7806 Andreas Schwab <schwab@suse.de>
7807 Brooks <bmoses@google.com>
7810 * wordexp-test.c (__dso_handle): Add prototype.
7811 (__register_atfork): Likewise.
7812 (__app_register_atfork): New function.
7813 (registered_forks): New global.
7814 (register_fork): New function.
7815 (test_case): Add 3 new tests for WRDE_CMDSUB.
7816 (main): Call __app_register_atfork.
7817 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7818 fork count is non-zero fail the test.
7819 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7821 (parse_dollars): Remove check for WRDE_NOCMD.
7822 (parse_dquote): Likewise.
7824 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7826 * Makeconfig (built-modules): List non-library modules to be
7828 (module-cppflags): Include libc-modules.h for
7829 everything except shlib-versions.v.i.
7831 (before-compile): Add libc-modules.h.
7832 ($(common-objpfx)libc-modules.h,
7833 $(common-objpfx)libc-modules.stmp): New targets.
7834 (common-generated): Add libc-modules.h and libc-modules.stmp.
7835 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7836 * include/libc-symbols.h: Don't include libc-modules.h.
7837 * include/libc-modules.h: Remove file.
7838 * scripts/gen-libc-modules.awk: New script to generate
7840 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7841 Depend on libc-modules.stmp.
7843 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7845 * Makeconfig (in-module): Get value of libof set for the
7847 (CPPFLAGS): Use $(in-module).
7848 * Makerules: Don't suffix routine names for nonlib.
7849 * include/libc-modules.h: New file.
7850 * include/libc-symbols.h: Include libc-modules.h
7851 (IS_IN): New macro to replace IS_IN_* macros.
7852 * elf/Makefile: Set libof-* for each routine.
7853 * elf/rtld-Rules: Likewise.
7854 * extra-modules.mk: Likewise.
7855 * iconv/Makefile: Likewise.
7856 * iconvdata/Makefile: Likewise.
7857 * locale/Makefile: Likewise.
7858 * malloc/Makefile: Likewise.
7859 * nss/Makefile: Likewise.
7860 * sysdeps/gnu/Makefile: Likewise.
7861 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7862 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7863 * sysdeps/s390/s390-64/Makefile: Likewise.
7864 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7865 CPPFLAGS for nscd instead of nonlib.
7867 2014-11-18 Roland McGrath <roland@hack.frob.com>
7869 * nptl/createthread.c: New file.
7871 * nptl/createthread.c: Moved ...
7872 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7874 * nptl/createthread.c: Add proper top-line comment.
7875 (do_clone): Folded into ...
7876 (create_thread): ... here. Take new arguments STOPPED_START and
7877 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7878 increment __nptl_threads, do event-reporting logic, do
7879 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7880 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7881 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7882 just send SIGCANCEL.
7883 * nptl/pthread_create.c: Forward-declare create_thread before
7884 including createthread.c.
7885 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7886 declaration, and new macro START_THREAD_SELF to replace argument.
7887 Remove return statement.
7888 (report_thread_creation): New function.
7889 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7890 synchronization logic, and __nptl_nthreads increment here, around
7891 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7892 PD->parent_cancelhandling here, before create_thread. When
7893 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7894 __deallocate_stack, and ENOMEM translation here.
7896 2014-11-18 Joseph Myers <joseph@codesourcery.com>
7899 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7900 (mptwo): Rename to __mptwo.
7901 (__inv): Use __mptwo instead of mptwo.
7902 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7903 (mptwo): Rename to __mptwo.
7904 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7905 of mpone and __mptwo instead of mptwo.
7906 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7909 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7910 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7911 of mpone and __mptwo instead of mptwo.
7912 (__mpranred): Use __mpone instead of mpone.
7913 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7915 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7916 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7917 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7918 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7919 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7920 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7921 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7922 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7923 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7924 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7925 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7926 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7927 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7928 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7929 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7930 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7931 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7932 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7933 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7935 2014-11-18 Tom de Vries <tom@codesoucery.com>
7937 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7938 replace BSD Handler xref with BSD Signal Handling.
7940 2014-11-17 Richard Henderson <rth@redhat.com>
7942 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7943 (_FP_PACK_RAW_2): Remove.
7944 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7945 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7946 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7947 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7948 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7949 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7950 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7951 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7952 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7953 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7954 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7955 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7956 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7957 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7958 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7959 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7961 2014-11-14 Roland McGrath <roland@hack.frob.com>
7963 * signal/signal.h [__USE_MISC]
7964 (struct sigvec): Remove type.
7965 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7966 (sigvec): Remove declaration.
7967 * sysdeps/posix/sigvec.c: Moved ...
7968 * signal/sigvec.c: ... here, replacing old file.
7969 (struct sigvec): New type, copied from old signal.h definition.
7970 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7971 (__sigvec): Convert definition to prototype.
7972 (sigvec): Replace weak_alias with compat_symbol.
7973 * signal/Versions (libc: GLIBC_2.21): New version set.
7974 * include/signal.h: Remove __sigvec declaration.
7975 * sysdeps/unix/bsd/sigvec.c: Remove file.
7976 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7977 * manual/signal.texi (BSD Handler): Remove subsection.
7978 Move siginterrupt up to ...
7979 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
7980 (Blocking in BSD): Fold subsection into its parent.
7981 * NEWS: Mention sigvec removal.
7983 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7985 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7986 (DLA_FMS): Make definition conditional only on [__FMA4__].
7987 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7990 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7991 Make definition conditional only on [PROF].
7992 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7994 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7995 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7997 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7999 * include/signal.h (__sigpause): Move declaration above call to
8001 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8003 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8004 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8006 2014-11-14 David S. Miller <davem@davemloft.net>
8008 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8009 Define before including <string/memcpy.c> and <string/mempcpy.c>.
8011 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8013 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8014 * configure: Regenerated.
8015 * manual/install.texi (Tools for Compilation): Document a
8016 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8017 compiler verified to work.
8018 * INSTALL: Regenerated.
8020 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8021 redeclare with asm name.
8022 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8023 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8024 including <string.h>.
8025 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8026 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8027 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8028 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8029 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8030 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8031 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8033 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8035 * stdlib/strtol.c (__strtol): Use prototype definition.
8038 * stdlib/strtol.c (SYM__): New macro.
8040 (__strtol): Likewise.
8041 (strtol): Rename to __strtol and define as weak alias of
8042 __strtol. Use libc_hidden_weak.
8044 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8046 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8047 Use numbered labels in inline assembly.
8049 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8051 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8052 Add setjmp LIBC_PROBE.
8053 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8055 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8056 Add longjmp, longjmp_target LIBC_PROBE.
8057 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8060 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8062 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8063 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8064 to get rid of unused variable warning.
8066 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8068 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8069 Check for unwind_backtrace == NULL only in SHARED case.
8070 (__backchain_backtrace): Compile only in SHARED case.
8071 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8073 (__backchain_backtrace): Declare as static.
8075 2014-11-12 Roland McGrath <roland@hack.frob.com>
8077 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8078 (__libc_multiple_threads_ptr): Variable moved ...
8079 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8081 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8083 * conform/GlibcConform.pm: New file.
8084 * conform/conformtest.pl: Use GlibcConform module.
8085 * conform/linknamespace.pl: New file.
8086 * conform/list-header-symbols.pl: Likewise.
8087 * conform/Makefile (linknamespace-symlists-base): New variable.
8088 (linknamespace-symlists-tests): Likewise.
8089 (linknamespace-header-base): Likewise.
8090 (linknamespace-header-tests): Likewise.
8091 (tests-special): Add new tests.
8092 ($(linknamespace-symlists-tests)): New rule.
8093 (linknamespace-libs): New variable.
8094 ($(objpfx)symlist-stdlibs): New rule.
8095 ($(linknamespace-header-tests)): Likewise.
8096 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8097 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8098 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8099 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8100 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8101 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8102 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8103 (test-xfail-ISO/math.h/linknamespace): Likewise.
8104 (test-xfail-ISO/signal.h/linknamespace): Likewise.
8105 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8106 (test-xfail-ISO/time.h/linknamespace): Likewise.
8107 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8108 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8109 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8110 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8111 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8112 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8113 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8114 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8115 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8116 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8117 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8118 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8119 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8120 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8121 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8122 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8123 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8124 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8125 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8126 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8127 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8128 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8129 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8130 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8131 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8132 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8133 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8134 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8135 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8136 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8137 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8138 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8139 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8140 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8141 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8142 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8143 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8144 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8145 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8146 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8147 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8148 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8149 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8150 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8151 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8152 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8153 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8154 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8155 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8156 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8157 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8158 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8159 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8160 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8161 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8162 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8163 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8164 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8165 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8166 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8167 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8168 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8169 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8170 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8171 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8172 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8173 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8174 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8175 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8176 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8177 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8178 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8179 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8180 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8181 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8182 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8183 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8184 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8185 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8186 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8187 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8188 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8189 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8190 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8191 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8192 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8193 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8194 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8195 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8196 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8197 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8198 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8199 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8200 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8201 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8202 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8203 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8204 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8205 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8206 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8207 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8208 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8209 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8210 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8211 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8212 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8213 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8214 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8215 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8216 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8217 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8218 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8219 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8220 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8221 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8222 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8223 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8224 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8225 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8226 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8227 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8228 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8229 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8230 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8231 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8232 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8233 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8234 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8235 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8236 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8237 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8238 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8239 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8240 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8241 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8242 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8243 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8244 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8245 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8246 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8247 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8248 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8249 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8250 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8251 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8252 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8253 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8254 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8255 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8256 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8259 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8263 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8264 (memmem): Rename to __memmem and define as weak alias of
8265 __memmem. Use libc_hidden_weak.
8266 (__memmem): Use libc_hidden_def.
8267 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8268 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8272 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8273 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8274 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8275 and define as weak alias of __fgets_unlocked. Use
8277 (__fgets_unlocked): Use libc_hidden_def.
8278 * include/stdio.h (__fgets_unlocked): Declare. Use
8280 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8281 __fgets_unlocked instead of fgets_unlocked.
8282 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8283 (GET_NPROCS_CONF_PARSER): Likewise.
8284 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8285 (GET_NPROCS_CONF_PARSER): Likewise.
8288 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8289 weak alias of __wmemset. Use libc_hidden_weak.
8290 (__wmemset): Use libc_hidden_def.
8291 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8292 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8296 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8297 with asm name __mempcpy.
8298 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8301 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8302 and define as weak alias of __rawmemchr.
8303 (__rawmemchr): Do not define as strong alias of rawmemchr.
8306 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8308 (qsort): Call __qsort_r instead of qsort_r.
8309 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8310 (__qsort_r): Declare. Call libc_hidden_proto.
8311 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8313 * nscd/gai.c (__qsort_r): Define to qsort_r.
8314 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8315 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8316 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8319 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8320 define as weak alias of __malloc_info.
8323 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8324 as weak alias of __rewinddir. Don't use libc_hidden_def.
8325 (__rewinddir): Use libc_hidden_def.
8326 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8327 as weak alias of __rewinddir. Don't use libc_hidden_def.
8328 (__rewinddir): Use libc_hidden_def.
8329 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8330 weak alias of __rewinddir. Don't use libc_hidden_def.
8331 (__rewinddir): Use libc_hidden_def.
8332 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8333 (__rewinddir): Use libc_hidden_proto.
8334 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8336 (__getcwd): Use __rewinddir instead of rewinddir.
8339 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8340 alias of __fileno. Use libc_hidden_weak.
8341 (__fileno): Use libc_hidden_def.
8342 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8343 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8345 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8347 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8348 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8350 (fread_unlocked): Don't use libc_hidden_ver.
8351 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8352 and define as weak alias of __fread_unlocked. Don't use
8354 (__fread_unlocked): Use libc_hidden_def.
8355 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8356 (ftello): Don't use libc_hidden_proto.
8357 (__ftello): Declare. Use libc_hidden_proto.
8358 (fread_unlocked): Don't use libc_hidden_proto.
8359 (__fread_unlocked): Declare. Use libc_hidden_proto.
8360 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8361 and __ftello instead of fileno, fread_unlocked and ftello.
8363 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8365 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8367 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8369 (_dl_start_user): Likewise.
8370 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8372 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8373 Siddhesh Poyarekar <siddhesh@redhat.com>
8375 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8376 Move argv and envp down instead of moving argc up.
8377 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8379 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8382 * test-skeleton.c (main): Return successful if one of
8383 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8384 * string/tst-strcoll-overflow.c: Define expected status.
8386 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8389 * locale/iso-639.def: Define Bhili and Tulu language codes.
8391 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8393 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8395 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8398 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8400 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8402 * configure.ac: Updated check of minimal required version to
8404 * manual/install.texi (Tools for Compilation): Updated version
8406 * configure: Regenerated.
8407 * INSTALL: Likewise.
8409 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8411 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8414 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8416 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8417 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8418 (__waitpid): Don't define as alias. Use libc_hidden_def not
8420 (waitpid): Define as alias of __waitpid.
8421 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8423 (__waitpid): Don't define as alias. Use libc_hidden_def not
8425 (waitpid): Define as alias of __waitpid.
8426 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8427 __libc_waitpid alias.
8428 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8429 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8431 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8432 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8433 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8435 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8437 (__waitpid): Don't define as alias. Use libc_hidden_def not
8439 (waitpid): Define as alias of __waitpid.
8441 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8443 * manual/llio.texi: Add comment that write safety has been
8446 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8447 (localplt-build-dso): Add elf/ld.so.
8448 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8449 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8452 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8457 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8458 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8459 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8460 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8461 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8462 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8463 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8464 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8465 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8466 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8467 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8469 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8472 * include/libc-symbols.h (INTUSE): Remove macro.
8474 (INTVARDEF): Likewise.
8475 (_INTVARDEF): Likewise.
8476 (INTDEF2): Likewise.
8477 (INTVARDEF2): Likewise.
8478 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8479 rtld_hidden_def instead of INTVARDEF.
8480 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8481 (_dl_starting_up_internal): Remove declaration.
8482 (_dl_starting_up): Use rtld_hidden_proto.
8483 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8485 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8486 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8488 * elf/dl-writev.h (_dl_writev): Likewise.
8489 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8490 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8491 _dl_starting_up_internal.
8493 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8495 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8498 2014-11-05 Will Newton <will.newton@linaro.org>
8500 * benchtests/Makefile: (bench-malloc): Add malloc thread
8501 scalability benchmark.
8502 * benchtests/bench-malloc-threads.c: New file.
8504 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8506 * sysdeps/aarch64/strchrnul.S: New file.
8508 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8510 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8512 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8514 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8516 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8518 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8520 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8523 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8525 * catgets/test-gencat.c: Use test-skeleton.c.
8526 * catgets/tst-catgets.c: Likewise.
8527 * csu/tst-empty.c: Likewise.
8528 * elf/tst-audit2.c: Likewise.
8529 * elf/tst-global1.c: Likewise.
8530 * elf/tst-pathopt.c: Likewise.
8531 * elf/tst-piemod1.c: Likewise.
8532 * elf/tst-tls10.c: Likewise.
8533 * elf/tst-tls11.c: Likewise.
8534 * elf/tst-tls12.c: Likewise.
8535 * gnulib/tst-gcc.c: Likewise.
8536 * iconvdata/tst-e2big.c: Likewise.
8537 * iconvdata/tst-loading.c: Likewise.
8538 * iconv/tst-iconv1.c: Likewise.
8539 * iconv/tst-iconv2.c: Likewise.
8540 * inet/test-inet6_opt.c: Likewise.
8541 * inet/tst-gethnm.c: Likewise.
8542 * inet/tst-network.c: Likewise.
8543 * inet/tst-ntoa.c: Likewise.
8544 * intl/tst-codeset.c: Likewise.
8545 * intl/tst-gettext2.c: Likewise.
8546 * intl/tst-gettext3.c: Likewise.
8547 * intl/tst-ngettext.c: Likewise.
8548 * intl/tst-translit.c: Likewise.
8549 * io/test-stat.c: Likewise.
8550 * libio/test-fmemopen.c: Likewise.
8551 * libio/tst-freopen.c: Likewise.
8552 * libio/tst-sscanf.c: Likewise.
8553 * libio/tst-ungetwc1.c: Likewise.
8554 * libio/tst-ungetwc2.c: Likewise.
8555 * libio/tst-widetext.c: Likewise.
8556 * localedata/tst-ctype.c: Likewise.
8557 * localedata/tst-digits.c: Likewise.
8558 * localedata/tst-leaks.c: Likewise.
8559 * localedata/tst-mbswcs1.c: Likewise.
8560 * localedata/tst-mbswcs2.c: Likewise.
8561 * localedata/tst-mbswcs3.c: Likewise.
8562 * localedata/tst-mbswcs4.c: Likewise.
8563 * localedata/tst-mbswcs5.c: Likewise.
8564 * localedata/tst-setlocale.c: Likewise.
8565 * localedata/tst-trans.c: Likewise.
8566 * localedata/tst-wctype.c: Likewise.
8567 * localedata/tst-xlocale1.c: Likewise.
8568 * login/tst-grantpt.c: Likewise.
8569 * malloc/tst-calloc.c: Likewise.
8570 * malloc/tst-malloc.c: Likewise.
8571 * malloc/tst-mallocstate.c: Likewise.
8572 * malloc/tst-mcheck.c: Likewise.
8573 * malloc/tst-mtrace.c: Likewise.
8574 * malloc/tst-obstack.c: Likewise.
8575 * math/atest-exp2.c: Likewise.
8576 * math/atest-exp.c: Likewise.
8577 * math/atest-sincos.c: Likewise.
8578 * math/test-matherr.c: Likewise.
8579 * math/test-misc.c: Likewise.
8580 * math/test-powl.c: Likewise.
8581 * math/tst-definitions.c: Likewise.
8582 * misc/tst-dirname.c: Likewise.
8583 * misc/tst-efgcvt.c: Likewise.
8584 * misc/tst-fdset.c: Likewise.
8585 * misc/tst-hsearch.c: Likewise.
8586 * misc/tst-mntent2.c: Likewise.
8587 * nptl/tst-sem7.c: Likewise.
8588 * nptl/tst-sem8.c: Likewise.
8589 * nptl/tst-sem9.c: Likewise.
8590 * nss/test-netdb.c: Likewise.
8591 * posix/tst-fnmatch.c: Likewise.
8592 * posix/tst-getlogin.c: Likewise.
8593 * posix/tst-gnuglob.c: Likewise.
8594 * posix/tst-mmap.c: Likewise.
8595 * pwd/tst-getpw.c: Likewise.
8596 * resolv/tst-inet_ntop.c: Likewise.
8597 * rt/tst-timer.c: Likewise.
8598 * stdio-common/test-fseek.c: Likewise.
8599 * stdio-common/test-popen.c: Likewise.
8600 * stdio-common/test-vfprintf.c: Likewise.
8601 * stdio-common/tst-cookie.c: Likewise.
8602 * stdio-common/tst-fileno.c: Likewise.
8603 * stdio-common/tst-gets.c: Likewise.
8604 * stdio-common/tst-obprintf.c: Likewise.
8605 * stdio-common/tst-perror.c: Likewise.
8606 * stdio-common/tst-sprintf2.c: Likewise.
8607 * stdio-common/tst-sprintf3.c: Likewise.
8608 * stdio-common/tst-sprintf.c: Likewise.
8609 * stdio-common/tst-swprintf.c: Likewise.
8610 * stdio-common/tst-tmpnam.c: Likewise.
8611 * stdio-common/tst-unbputc.c: Likewise.
8612 * stdio-common/tst-wc-printf.c: Likewise.
8613 * stdlib/tst-environ.c: Likewise.
8614 * stdlib/tst-fmtmsg.c: Likewise.
8615 * stdlib/tst-limits.c: Likewise.
8616 * stdlib/tst-rand48-2.c: Likewise.
8617 * stdlib/tst-rand48.c: Likewise.
8618 * stdlib/tst-random2.c: Likewise.
8619 * stdlib/tst-random.c: Likewise.
8620 * stdlib/tst-strtol.c: Likewise.
8621 * stdlib/tst-strtoll.c: Likewise.
8622 * stdlib/tst-tls-atexit.c: Likewise.
8623 * stdlib/tst-xpg-basename.c: Likewise.
8624 * string/test-ffs.c: Likewise.
8625 * string/tst-bswap.c: Likewise.
8626 * string/tst-inlcall.c: Likewise.
8627 * string/tst-strtok.c: Likewise.
8628 * string/tst-strxfrm.c: Likewise.
8629 * sysdeps/x86_64/tst-audit10.c: Likewise.
8630 * sysdeps/x86_64/tst-audit3.c: Likewise.
8631 * sysdeps/x86_64/tst-audit4.c: Likewise.
8632 * sysdeps/x86_64/tst-audit5.c: Likewise.
8633 * time/tst-ftime_l.c: Likewise.
8634 * time/tst-getdate.c: Likewise.
8635 * time/tst-mktime3.c: Likewise.
8636 * time/tst-mktime.c: Likewise.
8637 * time/tst-posixtz.c: Likewise.
8638 * time/tst-strptime2.c: Likewise.
8639 * time/tst-strptime3.c: Likewise.
8640 * wcsmbs/tst-btowc.c: Likewise.
8641 * wcsmbs/tst-mbrtowc.c: Likewise.
8642 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8643 * wcsmbs/tst-wchar-h.c: Likewise.
8644 * wcsmbs/tst-wcpncpy.c: Likewise.
8645 * wcsmbs/tst-wcrtomb.c: Likewise.
8646 * wcsmbs/tst-wcsnlen.c: Likewise.
8647 * wcsmbs/tst-wcstof.c: Likewise.
8649 2014-11-04 Joseph Myers <joseph@codesourcery.com>
8652 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8654 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8656 (_dl_mcount): Use rtld_hidden_proto.
8657 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8659 * elf/rtld.c (_rtld_global_ro): Likewise.
8662 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8663 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8664 of _dl_init_internal.
8665 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8666 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8667 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8668 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8669 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8670 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8671 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8672 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8673 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8674 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8675 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8676 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8677 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8678 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8679 * sysdeps/tile/dl-start.S (_start): Likewise.
8680 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8681 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8684 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8685 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8686 (rtld_progname): Make macro definition unconditional.
8687 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8689 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8690 (dl_main): Likewise.
8691 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8692 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8693 instead of _dl_argv_internal.
8694 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8695 __GI__dl_argv instead of INTUSE(_dl_argv).
8696 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8697 __GI__dl_argv instead of _dl_argv_internal.
8699 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8700 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8702 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8703 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8705 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8706 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8708 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8709 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8711 2014-11-04 Andreas Schwab <schwab@suse.de>
8713 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8715 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8717 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8718 mtvsrd instruction in binary form.
8720 2014-11-03 Andreas Schwab <schwab@suse.de>
8723 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8724 for less than MB_LEN_MAX use a local buffer of that size.
8725 * libio/tst-fputws.c: New file.
8726 * libio/Makefile (tests): Add tst-fputws.
8728 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8730 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8731 the size of the fpu_fr.fpu_dregs[] array.
8733 2014-11-01 Joseph Myers <joseph@codesourcery.com>
8735 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8736 (__nanosleep): Do not define as alias.
8737 (nanosleep): Define as alias of __nanosleep.
8738 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8739 __libc_nanosleep name.
8741 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8743 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8744 install.texi in comment.
8746 2014-10-31 Torvald Riegel <triegel@redhat.com>
8748 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8749 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8750 ... add here and use lwsync or sync ...
8751 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8752 ... and add here using lwsync.
8754 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8756 * elf/dl-machine-reject-phdr.h: New file.
8757 * elf/dl-load.c: #include that.
8758 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8759 if that returned true.
8761 2014-10-31 Roland McGrath <roland@hack.frob.com>
8764 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8765 gen-as-const-headers chunk. Add a big scare comment after the last
8766 safe place to touch before-compile.
8768 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8770 * manual/install.texi (Tools for Compilation): Update autoconf
8771 version requirements.
8772 * INSTALL: Regenerated.
8774 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8775 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8776 (__libc_pselect): Likewise.
8779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8784 2014-10-31 Torvald Riegel <triegel@redhat.com>
8786 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8787 correct barrier instruction.
8788 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8790 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8793 2014-10-30 Roland McGrath <roland@hack.frob.com>
8795 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8796 after defining inlines. Instead, just use parens to defeat macro
8797 expansion of __isctype in its declaration.
8799 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8801 * include/sys/uio.h (__libc_readv): Remove declaration.
8802 (__libc_writev): Likewise.
8803 * misc/readv.c (__libc_readv): Rename to __readv.
8804 (__readv): Do not define as alias.
8805 (readv): Define as alias of __readv.
8806 * misc/writev.c (__libc_writev): Rename to __writev.
8807 (__writev): Do not define as alias.
8808 (writev): Define as alias of __writev.
8809 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8810 (__readv): Do not define as alias.
8811 (readv): Define unconditionally as alias of __readv.
8812 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8813 (__writev): Do not define as alias.
8814 (writev): Define unconditionally as alias of __writev.
8815 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8817 (writev): Do not define __libc_writev name.
8819 2014-10-30 Roland McGrath <roland@hack.frob.com>
8821 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8822 (convert_charseq): New function, broken out of ...
8823 (use_from_charmap): ... here. Call it.
8824 (use_to_charmap): Use convert_charseq and free instead of duplicating
8825 its code with a variable-length stack struct.
8827 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8829 * include/fcntl.h (__libc_creat): Remove declaration.
8830 * io/creat.c (__libc_creat): Rename to creat.
8831 (creat): Do not define as alias.
8832 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8833 of creat instead of __libc_creat.
8834 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8836 (creat): Do not define as alias.
8837 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8839 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8841 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8844 2014-10-29 Carlos O'Donell <carlos@redhat.com>
8846 * manual/llio.texi: Add comments discussing why write() may be
8847 considered MT-unsafe on Linux.
8849 2014-10-28 Carlos O'Donell <carlos@redhat.com>
8851 * dl-load.c (local_strdup): Remove.
8852 (expand_dynamic_string_token): Use __strdup.
8853 (decompose_rpath): Likewise.
8854 (_dl_map_object): Likewise.
8856 2014-10-28 Joseph Myers <joseph@codesourcery.com>
8859 * sysdeps/generic/unwind-dw2-fde.c
8860 (__register_frame_info_bases_internal): Do not declare.
8861 (__register_frame_info_table_bases_internal): Likewise.
8862 (__deregister_frame_info_bases_internal): Likewise.
8863 (__register_frame_info_bases): Declare and use hidden_proto before
8864 definition. Use hidden_def instead of INTDEF.
8865 (__register_frame_info_table_bases): Likewise.
8866 (__deregister_frame_info_bases): Likewise.
8867 (__register_frame_info): Do not use INTUSE.
8868 (__register_frame): Likewise.
8869 (__register_frame_info_table): Likewise.
8870 (__register_frame_table): Likewise.
8871 (__deregister_frame_info): Likewise.
8872 (__deregister_frame): Likewise.
8874 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8876 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8877 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8879 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8881 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8884 2014-10-27 Joseph Myers <joseph@codesourcery.com>
8887 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8888 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8889 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8890 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8891 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8892 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8893 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8894 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8895 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8896 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8897 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8898 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8899 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8901 (setfsuid): Likewise.
8902 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8903 (setfsuid): Likewise.
8904 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8905 (setfsuid): Likewise.
8906 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8908 (setfsuid): Likewise.
8909 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8910 (setfsuid): Likewise.
8911 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8913 (setfsuid): Likewise.
8915 2014-10-27 Andreas Schwab <schwab@suse.de>
8918 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8919 check for Slow_SSE4_2 feature bit.
8920 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8921 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8922 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8923 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8925 2014-10-24 Roland McGrath <roland@hack.frob.com>
8927 * configure.ac: Validate compiler version with a empirical test of
8928 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8930 * configure: Regenerated.
8932 * inet/htons.c (htons): Prototypify.
8933 * inet/htonl.c (htonl): Likewise.
8935 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8937 * string/strncat.c (strncat): Improve performance by using strlen.
8939 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8941 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8943 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8945 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8946 Call libc_fetestexcept_aarch64.
8948 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8950 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8951 Call libc_feholdexcept_aarch64.
8953 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8955 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8956 Call get_rounding_mode.
8958 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8960 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8963 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8965 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8968 2014-10-24 Joseph Myers <joseph@codesourcery.com>
8971 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8972 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8973 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8974 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8975 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8976 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8977 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8978 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8979 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8980 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8981 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8982 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8983 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8984 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8985 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8986 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8987 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8988 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8989 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8990 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8991 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8992 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8993 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8994 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8995 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8996 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8997 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8998 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8999 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9000 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9001 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9002 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9003 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9004 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9005 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9006 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9007 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9008 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9009 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9010 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9011 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9013 (geteuid): Likewise.
9016 (getresgid): Likewise.
9017 (getresuid): Likewise.
9018 (getgroups): Likewise.
9019 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9020 (geteuid): Likewise.
9023 (getresgid): Likewise.
9024 (getresuid): Likewise.
9025 (getgroups): Likewise.
9026 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9027 (geteuid): Likewise.
9030 (getresgid): Likewise.
9031 (getresuid): Likewise.
9032 (getgroups): Likewise.
9033 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9035 (geteuid): Likewise.
9038 (getresgid): Likewise.
9039 (getresuid): Likewise.
9040 (getgroups): Likewise.
9041 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9042 (geteuid): Likewise.
9045 (getresgid): Likewise.
9046 (getresuid): Likewise.
9047 (getgroups): Likewise.
9048 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9050 (geteuid): Likewise.
9053 (getgroups): Likewise.
9056 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9057 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9058 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9059 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9060 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9061 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9062 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9063 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9064 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9065 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9066 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9067 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9068 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9070 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9073 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9077 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9080 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9085 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9087 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9090 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9092 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9095 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9097 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9098 Remove unused include.
9100 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9102 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9103 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9104 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9105 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9107 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9108 Helge Deller <deller@gmx.de>
9111 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9112 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9113 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9115 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9118 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9119 Remove macro definition.
9120 (__ashrdi3_v_glibc20): Likewise.
9121 (__lshrdi3_v_glibc20): Likewise.
9122 (__cmpdi2_v_glibc20): Likewise.
9123 (__ucmpdi2_v_glibc20): Likewise.
9124 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9125 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9126 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9127 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9128 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9129 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9131 2014-10-22 Roland McGrath <roland@hack.frob.com>
9133 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9134 old GNU extension [0] syntax.
9135 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9136 alloca rather than an array member with variable length.
9137 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9138 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9139 (parse_opt): ... here. Likewise use alloca there.
9140 Validate the -i argument before checking for rootness.
9141 (send_shutdown): New function, broken out of ...
9142 (parse_opt): ... here.
9144 2014-10-22 Roland McGrath <roland@hack.frob.com>
9146 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9147 macro to get at the _rt_local_ro field.
9148 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9149 ([PIC] case) or _dl_hwcap ([!PIC] case).
9150 * sysdeps/arm/setjmp.S: Likewise.
9152 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9153 * sysdeps/arm/configure.ac: New check to define it.
9154 * sysdeps/arm/configure: Regenerated.
9155 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9156 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9157 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9158 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9159 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9160 Use move/movt pair instead of a load.
9161 (LDST_GLOBAL): Macro removed.
9162 (LDR_GLOBAL): New macro replaces it.
9163 (LDR_HIDDEN): New macro.
9164 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9165 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9167 * setjmp/tst-setjmp-static.c: New file.
9168 * setjmp/Makefile (tests): Add it.
9169 (tests-static): New variable.
9171 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
9174 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9176 2014-10-21 Joseph Myers <joseph@codesourcery.com>
9179 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9181 2014-10-21 Roland McGrath <roland@hack.frob.com>
9183 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9185 2014-10-20 Roland McGrath <roland@hack.frob.com>
9187 * io/fts.c (dirent_not_directory): New function.
9188 (fts_build): Call it.
9190 2014-10-20 Roland McGrath <roland@hack.frob.com>
9192 * nptl/version.c (__nptl_main): Use normal __write rather than
9194 (banner): Update copyright years.
9196 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9198 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9199 * nptl/pthread_cond_timedwait.c: Likewise.
9200 * nptl/pthread_mutex_timedlock.c: Likewise.
9201 * nptl/sem_timedwait.c: Likewise.
9203 * sysdeps/nptl/bits/libc-lock.h
9204 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9205 (__libc_lock_init_recursive): Return void, not 0.
9206 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9207 (__libc_rwlock_init): Likewise.
9208 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9210 2014-10-20 Torvald Riegel <triegel@redhat.com>
9213 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9214 (__pthread_once_slow): ... here.
9215 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9216 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9218 2014-10-20 Torvald Riegel <triegel@redhat.com>
9221 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9222 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9223 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9224 * nptl/pthread_once.c (__pthread_once): Likewise.
9227 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9230 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9232 (writev): Use __libc_writev as strong name.
9233 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9234 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9236 2014-10-17 Roland McGrath <roland@hack.frob.com>
9238 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9240 * sysdeps/i386/nptl/tls.h
9241 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9242 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9244 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9245 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9246 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9247 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9248 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9249 Call CHECK_THREAD_SYSINFO instead of doing an assert.
9251 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9252 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9254 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9256 (__pthread_mutex_init): ... here. Call it.
9257 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9258 Conditionalize PI cases on [__NR_futex].
9259 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9260 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9261 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9263 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9264 conditional on [SIGSETXID].
9265 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9266 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9267 is defined. Likewise for SIGSETXID.
9268 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9269 Conditionalize definitions on [SIGSETXID].
9270 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9271 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9272 unblocking on [SIGCANCEL].
9274 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9275 [__NR_set_robust_list].
9277 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9279 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9280 (do_compare): Likewise.
9282 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9285 * string/strcoll_l.c: Don't include stdio.h.
9286 (coll_seq): Remove members idxarr and rulearr.
9287 (get_next_seq_cached): Remove function.
9288 (get_next_seq): Likewise.
9289 (get_next_seq_nocache): Rename to get_next_seq.
9290 (do_compare): Remove function.
9291 (do_compare_nocache): Rename to do_compare.
9292 (STRCOLL): Remove weight and rules cache.
9294 2014-10-16 Roland McGrath <roland@hack.frob.com>
9296 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9297 * sysdeps/arm/sfp-machine.h: ... to here.
9298 * sysdeps/arm/Implies: Remove arm/soft-fp.
9300 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9302 * conform/data/sys/utsname.h-data (*_t): Allow.
9303 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9304 [POSIX] (WEXITED): Do not expect constant.
9305 [POSIX] (WSTOPPED): Likewise.
9306 [POSIX] (WNOHANG): Likewise.
9307 [POSIX] (WNOWAIT): Likewise.
9308 [POSIX] (siginfo_t): Do not expect type or elements.
9309 [POSIX] (pid_t): Do not expect type.
9310 [POSIX] (signal.h): Do not allow header.
9311 [POSIX] (sys/resource.h): Likewise.
9312 [POSIX] (si_*): Do not allow pattern.
9313 [POSIX] (W*): Likewise.
9314 [POSIX] (P_*): Likewise.
9315 [POSIX] (BUS_*): Likewise.
9316 [POSIX] (CLD_*): Likewise.
9317 [POSIX] (FPE_*): Likewise.
9318 [POSIX] (ILL_*): Likewise.
9319 [POSIX] (POLL_*): Likewise.
9320 [POSIX] (SEGV_*): Likewise.
9321 [POSIX] (SI_*): Likewise.
9322 [POSIX] (TRAP_*): Likewise.
9323 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9326 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9329 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9330 infinite loop when __recvmsg returns 0.
9332 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9334 * CANCEL-FCT-WAIVE: Remove file.
9335 * CANCEL-FILE-WAIVE: Likewise.
9338 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9339 instead of INTVARDEF.
9340 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9341 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9342 rtld_hidden_data_def instead of INTVARDEF.
9343 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9344 * elf/dl-deps.c (expand_dst): Likewise.
9345 * elf/dl-load.c (_dl_dst_count): Likewise.
9346 (_dl_dst_substitute): Likewise.
9347 (decompose_rpath): Likewise.
9348 (_dl_init_paths): Likewise.
9349 (open_path): Likewise.
9350 (_dl_map_object): Likewise.
9351 * elf/rtld.c (dl_main): Likewise.
9352 (process_dl_audit): Likewise.
9353 (process_envvars): Likewise.
9354 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9356 (__libc_enable_secure): Use rtld_hidden_proto.
9358 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9361 (add_path): New function broken out of _dl_rtld_di_serinfo.
9362 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9364 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9366 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9367 parentheses around macro arguments.
9368 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9369 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9370 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9371 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9372 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9373 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9374 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9375 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9376 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9377 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9378 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9379 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9380 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9381 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9382 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9383 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9384 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9385 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9386 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9387 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9388 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9389 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9390 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9391 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9392 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9393 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9394 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9395 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9396 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9397 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9398 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9399 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9400 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9401 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9402 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9403 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9405 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9406 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9407 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9408 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9409 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9410 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9411 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9412 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9413 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9414 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9415 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9416 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9417 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9418 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9419 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9420 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9421 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9422 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9423 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9424 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9425 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9426 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9427 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9428 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9429 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9430 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9431 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9432 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9433 (_FP_FRAC_SRS_1): Likewise.
9434 (_FP_FRAC_CLZ_1): Likewise.
9435 (_FP_MUL_MEAT_1_imm): Likewise.
9436 (_FP_MUL_MEAT_1_wide): Likewise.
9437 (_FP_MUL_MEAT_1_hard): Likewise.
9438 (_FP_SQRT_MEAT_1): Likewise.
9439 (_FP_FRAC_ASSEMBLE_1): Likewise.
9440 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9441 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9442 (__FP_CLZ_2): Likewise.
9443 (_FP_MUL_MEAT_2_wide): Likewise.
9444 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9445 (_FP_MUL_MEAT_2_gmp): Likewise.
9446 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9447 (_FP_SQRT_MEAT_2): Likewise.
9448 (_FP_FRAC_ASSEMBLE_2): Likewise.
9449 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9450 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9451 (_FP_FRAC_CLZ_4): Likewise.
9452 (_FP_MUL_MEAT_4_wide): Likewise.
9453 (_FP_MUL_MEAT_4_gmp): Likewise.
9454 (_FP_SQRT_MEAT_4): Likewise.
9455 (_FP_FRAC_ASSEMBLE_4): Likewise.
9456 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9457 * soft-fp/op-common.h (_FP_CMP): Likewise.
9458 (_FP_CMP_EQ): Likewise.
9459 (_FP_CMP_UNORD): Likewise.
9460 (_FP_TO_INT): Likewise.
9461 (_FP_FROM_INT): Likewise.
9462 [!__FP_CLZ] (__FP_CLZ): Likewise.
9463 (_FP_DIV_HELP_imm): Likewise.
9464 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9466 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9467 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9468 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9469 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9470 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9471 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9472 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9473 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9474 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9475 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9476 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9477 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9478 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9479 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9480 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9481 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9482 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9483 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9484 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9485 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9486 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9487 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9488 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9489 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9490 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9491 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9492 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9493 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9494 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9495 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9496 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9497 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9498 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9499 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9500 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9501 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9502 (FP_UNPACK_RAW_SP): Likewise.
9503 (FP_PACK_RAW_S): Likewise.
9504 (FP_PACK_RAW_SP): Likewise.
9505 (FP_UNPACK_S): Likewise.
9506 (FP_UNPACK_SP): Likewise.
9507 (FP_UNPACK_SEMIRAW_S): Likewise.
9508 (FP_UNPACK_SEMIRAW_SP): Likewise.
9509 (FP_PACK_S): Likewise.
9510 (FP_PACK_SP): Likewise.
9511 (FP_PACK_SEMIRAW_S): Likewise.
9512 (FP_PACK_SEMIRAW_SP): Likewise.
9513 (_FP_SQRT_MEAT_S): Likewise.
9514 (FP_CMP_S): Likewise.
9515 (FP_CMP_EQ_S): Likewise.
9516 (FP_CMP_UNORD_S): Likewise.
9517 (FP_TO_INT_S): Likewise.
9518 (FP_FROM_INT_S): Likewise.
9520 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9522 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9523 (FP_EX_INVALID_IMZ): Likewise.
9524 (FP_EX_INVALID_IMZ_FMA): Likewise.
9525 (FP_EX_INVALID_ISI): Likewise.
9526 (FP_EX_INVALID_ZDZ): Likewise.
9527 (FP_EX_INVALID_IDI): Likewise.
9528 (FP_EX_INVALID_SQRT): Likewise.
9529 (FP_EX_INVALID_CVI): Likewise.
9530 (FP_EX_INVALID_VC): Likewise.
9531 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9532 "invalid" exceptions.
9533 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9534 (_FP_ADD_INTERNAL): Likewise.
9535 (_FP_MUL): Likewise.
9536 (_FP_FMA): Likewise.
9537 (_FP_DIV): Likewise.
9538 (_FP_CMP_CHECK_NAN): Likewise.
9539 (_FP_SQRT): Likewise.
9540 (_FP_TO_INT): Likewise.
9541 (FP_EXTEND): Likewise.
9543 2014-10-09 Allan McRae <allan@archlinux.org>
9545 * po/fr.po: Update French translation from translation project.
9547 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9550 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9552 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9553 (__cxa_atexit): Use libc_hidden_proto.
9554 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9557 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9559 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9560 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9561 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9562 [!_ISOMAC] (__iswctype_internal): Likewise.
9563 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9564 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9566 (fcntl): Remove __fcntl_internal alias.
9567 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9568 __connect_internal alias.
9569 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9572 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9573 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9575 (_FP_CHECK_FLUSH_ZERO): New macro.
9576 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9577 (_FP_CMP): Likewise.
9578 (_FP_CMP_EQ): Likewise.
9579 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9581 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9582 (FP_TRUNC): Likewise.
9584 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9585 treated as invalid conversion, not as normal exponent.
9587 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9588 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9589 (_FP_CMP_EQ): Likewise.
9590 (_FP_CMP_UNORD): Likewise.
9591 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9592 (FP_CMP_EQ_D): Likewise.
9593 (FP_CMP_UNORD_D): Likewise.
9594 * soft-fp/extended.h (FP_CMP_E): Likewise.
9595 (FP_CMP_EQ_E): Likewise.
9596 (FP_CMP_UNORD_E): Likewise.
9597 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9598 (FP_CMP_EQ_Q): Likewise.
9599 (FP_CMP_UNORD_Q): Likewise.
9600 * soft-fp/single.h (FP_CMP_S): Likewise.
9601 (FP_CMP_EQ_S): Likewise.
9602 (FP_CMP_UNORD_S): Likewise.
9603 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9604 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9605 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9606 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9607 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9608 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9609 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9610 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9611 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9612 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9613 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9614 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9615 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9617 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9619 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9620 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9622 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9624 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9625 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9626 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9627 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9629 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9631 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9632 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9634 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9636 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9637 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9638 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9639 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9642 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9643 a subnormal result, set the underflow exception if trapping on
9644 underflow is enabled.
9645 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9646 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9647 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9649 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9650 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9651 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9652 * soft-fp/extendxftf2.c (__extendxftf2): Use
9653 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9655 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9656 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9657 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9658 FP_HANDLE_EXCEPTIONS.
9659 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9660 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9661 FP_HANDLE_EXCEPTIONS.
9662 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9663 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9664 FP_HANDLE_EXCEPTIONS.
9665 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9666 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9667 FP_HANDLE_EXCEPTIONS.
9669 2014-10-08 Joseph Myers <joseph@codesourcery.com>
9672 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9673 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9675 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9676 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9678 (__adjtimex): Define using libc_hidden_ver.
9679 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9681 (ntp_gettime): Call __adjtimex directly.
9682 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9684 (ntp_gettimex): Call __adjtimex directly.
9685 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9686 __adjtimex_internal alias.
9688 2014-10-08 Roland McGrath <roland@hack.frob.com>
9691 * nscd/nscd.c (more_help): Rewrite list of tables collection
9692 using xstrdup and asprintf.
9694 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9696 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9697 Roland McGrath <roland@hack.frob.com>
9699 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9700 (do_lookup_unique): ... local function 'enter' here; update callers.
9702 2014-10-06 Joseph Myers <joseph@codesourcery.com>
9704 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9705 compat_symbol calls on [SHARED].
9706 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9707 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9709 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9710 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9711 (oldsetrlimit): Remove.
9712 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9714 (lchown): New syscall entry.
9715 (oldsetrlimit): Remove.
9716 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9717 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9718 (oldsetrlimit): Remove.
9719 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9722 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9723 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9724 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9725 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9726 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9727 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9729 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9734 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9736 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9737 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9738 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9739 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9740 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9742 (__old_sem_post): Likewise.
9744 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
9746 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9747 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9748 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9749 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9750 Use INLINE_VSYSCALL macro.
9751 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9752 __vdso_clock_gettime.
9753 * sysdeps/unix/sysv/linux/tile/init-first.c
9754 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9755 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9756 __vdso_clock_gettime.
9758 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9759 to set up frame more cleanly.
9761 * sysdeps/tile/memcmp.c: New file.
9763 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9765 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9766 * sysdeps/tile/tilegx/strcasestr.c: New file.
9767 * sysdeps/tile/tilegx/strnlen.c: New file.
9768 * sysdeps/tile/tilegx/strstr.c: New file.
9770 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9772 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
9774 * nptl/tst-setuid3.c: Write errors to stdout.
9776 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9779 (preload): New functions broken out of _dl_map_object_deps.
9780 (_dl_map_object_deps): Remove a nested function. Update call sites.
9782 2014-10-01 Joseph Myers <joseph@codesourcery.com>
9785 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9786 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9788 2014-10-01 Steve Ellcey <sellcey@mips.com>
9790 * sysdeps/mips/strcmp.S: New.
9792 2014-09-30 Joseph Myers <joseph@codesourcery.com>
9795 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9797 (mkdirat): Likewise.
9798 (readlinkat): Likewise.
9799 (renameat): Likewise.
9800 (symlinkat): Likewise.
9801 (unlinkat): Likewise.
9802 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9803 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9804 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9805 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9806 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9807 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9808 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9810 2014-09-30 Will Newton <will.newton@linaro.org>
9812 * math/math.h: Define long double math functions if
9813 _LIBC_TEST is defined.
9814 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9816 * localedata/Makefile: Move assignment to tests-special
9817 into an ifdef testing run-built-tests.
9818 * timezone/Makefile: Likewise.
9820 2014-09-29 Joseph Myers <joseph@codesourcery.com>
9822 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9823 with $(BASH) not $(SHELL).
9825 2014-09-29 Carlos O'Donell <carlos@redhat.com>
9826 Matthew LeGendre <legendre1@llnl.gov>
9829 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9832 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9834 * stdio-common/printf_fp.c
9835 (hack_digit): New function, broken out of ...
9836 (__printf_fp): ... local function here. Update call sites.
9837 hack_digit now takes an additional parameter that is a pointer
9838 to a struct of the referenced locals. Those locals moved inside
9839 the struct and references updated.
9841 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9843 * aclocal.m4: Require autoconf 2.69.
9844 * configure: Regenerated.
9845 * sysdeps/aarch64/configure: Likewise.
9846 * sysdeps/alpha/configure: Likewise.
9847 * sysdeps/arm/armv7/configure: Likewise.
9848 * sysdeps/arm/configure: Likewise.
9849 * sysdeps/ia64/configure: Likewise.
9850 * sysdeps/mach/configure: Likewise.
9851 * sysdeps/mips/configure: Likewise.
9852 * sysdeps/s390/configure: Likewise.
9853 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9856 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9858 * sysdeps/ia64/configure.ac: Likewise.
9860 2014-09-26 Joseph Myers <joseph@codesourcery.com>
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9863 specify symbol version for ld.so. Do not include entry for
9865 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9866 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9867 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9870 * Makeconfig [$(build-shared) = yes]
9871 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9873 [$(build-shared) = yes && $(soversions.mk-done) = t]
9874 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9875 [$(build-shared) = yes && $(soversions.mk-done) = t]
9876 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9878 [$(build-shared) = yes && $(soversions.mk-done) = t]
9879 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9881 [$(build-shared) = yes && $(soversions.mk-done) = t]
9882 (common-generated): Don't append gnu/lib-names.h and
9883 gnu/lib-names.stmp here.
9884 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9885 (lib-names-h-abi): New variable.
9886 [$(build-shared) = yes && $(soversions.mk-done) = t]
9887 (lib-names-stmp-abi): Likewise.
9888 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9889 abi-variants] (before-compile): Append
9890 $(common-objpfx)$(lib-names-h-abi).
9891 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9892 abi-variants] (common-generated): Append gnu/lib-names.h.
9893 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9894 abi-variants] (install-others-nosubdir): Depend on
9895 $(inst_includedir)/$(lib-names-h-abi).
9896 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9897 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9898 [$(build-shared) = yes && $(soversions.mk-done) = t]
9899 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9900 [$(build-shared) = yes && $(soversions.mk-done) = t]
9901 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9902 [$(build-shared) = yes && $(soversions.mk-done) = t]
9903 (common-generated): Append $(lib-names-h-abi) and
9904 $(lib-names-stmp-abi).
9905 * scripts/lib-names.awk: Do not handle multi being set.
9906 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9908 (abi-lp64_be-ld-soname): Likewise.
9909 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9911 (abi-hard-ld-soname): Likewise.
9912 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9913 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9915 (abi-o32_hard-ld-soname): Likewise.
9916 (abi-o32_soft_2008-ld-soname): Likewise.
9917 (abi-o32_hard_2008-ld-soname): Likewise.
9918 (abi-n32_soft-ld-soname): Likewise.
9919 (abi-n32_hard-ld-soname): Likewise.
9920 (abi-n32_soft_2008-ld-soname): Likewise.
9921 (abi-n32_hard_2008-ld-soname): Likewise.
9922 (abi-n64_soft-ld-soname): Likewise.
9923 (abi-n64_hard-ld-soname): Likewise.
9924 (abi-n64_soft_2008-ld-soname): Likewise.
9925 (abi-n64_hard_2008-ld-soname): Likewise.
9926 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9928 (abi-64-v2-ld-soname): Likewise.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9931 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9933 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9935 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9937 (abi-64-ld-soname): Likewise.
9938 (abi-x32-ld-soname): Likewise.
9939 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9941 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9943 2014-09-23 Joseph Myers <joseph@codesourcery.com>
9946 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9947 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9948 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9949 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9950 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9951 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9952 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9953 syscall entry for GLIBC_2.2 symbol version.
9954 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9957 (setrlimit): Likewise.
9958 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9961 2014-09-23 Will Newton <will.newton@linaro.org>
9963 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9964 _LINUX_ARM_SYSDEP_H include guard too.
9965 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9968 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9970 * sysdeps/unix/sysv/linux/eventfd.c:
9971 Make first argument unsigned.
9972 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9973 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9975 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
9977 * socket/recvmmsg.c (recvmmsg): Drop const argument.
9978 * socket/sys/socket.h: Likewise
9979 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9981 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9983 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9985 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
9987 * time/tst-ftime.c: New test.
9988 * time/Makefile (tests): Add tst-ftime.
9990 2014-09-17 Joseph Myers <joseph@codesourcery.com>
9992 * soft-fp/extended.h: Fix comment formatting.
9993 * soft-fp/op-1.h: Likewise.
9994 * soft-fp/op-2.h: Likewise.
9995 * soft-fp/op-4.h: Likewise.
9996 * soft-fp/op-8.h: Likewise.
9997 * soft-fp/op-common.h: Likewise.
9998 * soft-fp/soft-fp.h: Likewise.
10000 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10002 2014-09-16 Joseph Myers <joseph@codesourcery.com>
10005 * Makeconfig (soversions-default-setname): Remove variable.
10006 ($(common-objpfx)soversions.i): Don't pass default_setname to
10008 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10009 oldest_abi to abi-versions.awk.
10010 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10011 * config.make.in (oldest-abi): Remove variable.
10012 * configure.ac (--enable-oldest-abi): Remove configure option.
10013 * configure: Regenerated.
10014 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10016 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10017 * scripts/soversions.awk: Do not handle default_setname variable.
10018 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10020 * sysdeps/mach/hurd/configure: Regenerated.
10021 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10023 * sysdeps/unix/sysv/linux/configure: Regenerated.
10025 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10027 * elf/Makefile (CFLAGS-interp.c): Remove.
10028 ($(elf-objpfx)runtime-linker.h): Generate header with linker
10030 * elf/interp.c: Include generated runtime-linker.h
10032 * Makerules (lib%.so): Don't include $(+interp) in
10034 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10035 * dlfcn/eval.c: Remove file.
10037 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10041 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10045 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10047 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10048 Jakub Jelinek <jakub@redhat.com>
10051 * libio/stdio.h: Check definition of __fortify_function
10052 instead of __extern_always_inline to include bits/stdio2.h.
10053 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10054 check if __extern_always_inline is defined.
10055 [__USE_MISC || __USE_XOPEN]: Likewise.
10056 [__USE_ISOC99] Likewise.
10057 * misc/sys/cdefs.h (__fortify_function): Define only if
10058 __extern_always_inline is defined.
10059 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10060 __extern_always_inline and __extern_inline only for g++-4.3
10061 and newer or a compatible gcc.
10063 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10066 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10067 last change to handle zero prefix length.
10069 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10071 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10074 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10075 _POSIX_RAW_SOCKETS.
10077 2014-09-13 Allan McRae <allan@archlinux.org>
10079 * po/ru.po: Update Russian translation from translation project.
10081 2014-09-12 Roland McGrath <roland@hack.frob.com>
10083 * locale/programs/locale.c (show_locale_vars): Inline local function
10084 into its sole call site. Clean up some style nits.
10085 (print_item): New function, broken out of ...
10086 (show_info): ... local function here. Clean up style nits.
10088 * locale/programs/ld-ctype.c (set_one_default): New function, broken
10090 (set_class_defaults): ... local function set_default here.
10091 Define set_default as a macro locally to pass constant parameters.
10092 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10093 rather than a shared local.
10095 * stdlib/rpmatch.c (try): New function, broken out of ...
10096 (rpmatch): ... local function here. Also, prototypify definition.
10098 2014-09-12 Joseph Myers <joseph@codesourcery.com>
10100 * scripts/soversions.awk: Do not handle configuration names.
10101 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10102 vendor and os variables to soversions.awk.
10103 * configure.ac: Do not modify gnu-* host_os.
10104 * configure: Regenerated
10105 * shlib-versions: Remove first column with configuration names.
10106 * nptl/shlib-versions: Likewise.
10107 * nptl_db/shlib-versions: Likewise.
10108 * sysdeps/hppa/shlib-versions: Likewise.
10109 * sysdeps/m68k/shlib-versions: Likewise.
10110 * sysdeps/mach/hurd/shlib-versions: Likewise.
10111 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10112 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10113 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10114 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10115 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10116 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10117 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10118 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10121 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10122 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10123 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10124 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10125 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10126 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10127 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10128 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10131 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10134 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10136 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10138 * shlib-versions: Remove OS-specific entries. Moved to files in
10140 * sysdeps/mach/hurd/shlib-versions: New file.
10141 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10143 * nptl/shlib-versions: Remove architecture-specific entries.
10144 Moved to files in sysdeps.
10145 * shlib-versions: Likewise.
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10148 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10149 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10150 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10151 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10153 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10154 (UDP_NO_CHECK6_RX): Likewise.
10156 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10158 * sysdeps/posix/sysconf.c (__sysconf): Spell
10159 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10161 2014-08-12 Florian Weimer <fweimer@redhat.com>
10163 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10165 * iconv/Versions (__gconv_transliterate): Export for use from
10167 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10168 (struct __gconv_trans_data, __gconv_trans_fct,
10169 __gconv_trans_context_fct, __gconv_trans_query_fct,
10170 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10172 (struct __gconv_step_data): Remove __trans member.
10173 (__gconv_transliterate): Declaration moved from gconv_int.h. No
10174 longer hidden. Remove unused trans_data argument.
10175 * iconv/gconv_int.h (struct trans_struct): Remove definition.
10176 (__gconv_translit_find): Remove declaration.
10177 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
10179 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10180 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10181 trans_data argument. Add hidden definition.
10182 (__gconv_translit_find): Remove.
10183 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10184 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10185 * iconv/skeleton.c: Remove transliteration initialization.
10186 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10187 __gconv_step_data initialization.
10188 * libio/iofwide.c (__libio_translit_): Remove.
10189 (_IO_fwide): Adjust struct __gconv_step_data initialization.
10190 * wcsmbs/btowc.c (__btowc): Likewise.
10191 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10192 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10193 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10194 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10195 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10196 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10197 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10198 * wcsmbs/wctob.c (wctob): Likewise.
10200 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10203 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10204 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
10206 * sysdeps/x86/Makefile: Adjust.
10208 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10209 Roland McGrath <roland@hack.frob.com>
10211 * locale/weight.h: Add include guard.
10212 (findidx): Make static rather than auto; take new parameters
10213 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10214 * locale/weightwc.h: Likewise.
10215 * posix/fnmatch_loop.c
10216 (FCT): Change type of EXTRA from int32_t to wint_t.
10217 Don't include either header inside the function.
10218 Call FINDIDX rather than findidx, and pass new arguments.
10219 #undef FINDIDX at the end of the file.
10220 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10221 FINDIDX before including fnmatch_loop.c for the non-wide version.
10222 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10223 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10224 for the wide version.
10225 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10226 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10227 Pass new arguments to findidx.
10228 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10229 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10230 Don't #include it inside the function. Pass new arguments to findidx.
10231 * posix/regex_internal.h
10232 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10233 (re_string_elem_size_at): Don't #include it inside the function.
10234 Pass new arguments to findidx.
10235 * string/strcoll_l.c: #include WEIGHT_H at top level.
10236 (get_next_seq): Don't #include it inside the function.
10237 Pass new arguments to findidx.
10238 (get_next_seq_nocache): Likewise.
10239 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10240 (STRXFRM): Don't #include it inside the function.
10241 Pass new arguments to findidx.
10243 2014-09-11 Florian Weimer <fweimer@redhat.com>
10246 * malloc/malloc.c (unlink): Turn asserts into a call to
10249 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10252 * libio/wfileops (do_ftell_wide): Free OUT.
10254 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10256 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10258 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10261 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10262 group if the current group is empty.
10264 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10266 * benchtests/bench-memset.c (test_main): Add more test from size
10267 from 32 to 512 bytes.
10268 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10269 Add POWER8 memset object.
10270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10271 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10272 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10274 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10276 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10277 multiarch POWER8 memset optimization.
10278 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10279 POWER8 memset optimization.
10281 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10282 Remove bzero multiarch objects.
10283 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10284 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10285 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10286 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10288 [__bzero]: Redefine to specific name.
10289 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10290 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10291 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10293 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10294 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10296 2014-09-10 Florian Weimer <fweimer@redhat.com>
10298 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10299 warnings into errors.
10301 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10302 __cxa_thread_atexit_impl prototype.
10304 2014-09-09 Steve Ellcey <sellcey@mips.com>
10306 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10307 Fix capitalization of error message.
10309 2014-09-09 Steve Ellcey <sellcey@mips.com>
10311 * sysdeps/mips/preconfigure: Modify ABI tests.
10313 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10315 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10317 2014-09-07 Roland McGrath <roland@hack.frob.com>
10318 Carlos O'Donell <carlos@systemhalted.org>
10320 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10321 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10322 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10323 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10324 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10325 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10326 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10327 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10328 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10329 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10330 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10331 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10332 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10333 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10334 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10335 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10336 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10337 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10338 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10339 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10340 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10341 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10342 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10343 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10344 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10345 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10346 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10347 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10348 Deconditionalize the code that was previously under [RESET_PID].
10349 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10350 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10351 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10352 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10355 2014-09-08 Allan McRae <allan@archlinux.org>
10357 * version.h (RELEASE): Set to "development".
10358 (VERSION): Set to "2.20.90"
10360 2014-09-07 Allan McRae <allan@archlinux.org
10362 * version.h (RELEASE): Set to "stable".
10363 (VERSION): Set to "2.20"
10364 * include/features.h (__GLIBC_MINOR__): Set to 20.
10366 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10369 * po/ko.po: Update Korean translation from translation project.
10371 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10374 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10375 macro for handling signed relocations.
10377 2014-09-03 Florian Weimer <fweimer@redhat.com>
10380 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10381 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10383 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10384 * iconvdata/ibm935.c (BODY): Likewise.
10385 * iconvdata/ibm937.c (BODY): Likewise.
10386 * iconvdata/ibm939.c (BODY): Likewise.
10387 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10389 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10391 * iconvdata/run-iconv-test.sh: New test loop for checking for
10394 2014-09-02 Khem Raj <raj.khem@gmail.com>
10396 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10399 2014-09-01 Allan McRae <allan@archlinux.org>
10401 * po/eo.po: Update Esperanto translation from translation project.
10403 * po/ca.po: Update Catalan translation from translation project.
10405 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10407 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10408 __proc_dostop call.
10410 2014-08-27 Mark Wielaard <mjw@redhat.com>
10413 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10414 to call set_thread_area instead of hand written asm.
10415 (__NR_set_thread_area): Removed define.
10416 (TLS_FLAG_WRITABLE): Likewise.
10417 (__ASSUME_SET_THREAD_AREA): Remove check.
10418 (TLS_EBX_ARG): Remove define.
10419 (TLS_LOAD_EBX): Likewise.
10421 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10423 Simplify atomicity of socket creation in bind.
10425 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10426 looking up the name after linking the file.
10428 2014-08-27 Allan McRae <allan@archlinux.org>
10430 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10432 2014-08-26 Florian Weimer <fweimer@redhat.com>
10435 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10436 trans_compare, open_translit, __gconv_translit_find):
10437 Remove module loading code.
10439 2014-08-26 Allan McRae <allan@archlinux.org>
10441 * po/vi.po: Update Vietnamese translation from translation project.
10443 * po/uk.po: Update Ukrainian translation from translation project.
10445 * po/fr.po: Update French translation from translation project.
10447 * po/ru.po: Update Russian translation from translation project.
10449 * po/pl.po: Update Polish translation from translation project.
10451 * po/cs.po: Update Czech translation from translation project.
10453 * po/de.po: Update German translation from translation project.
10455 * po/bg.po: Update Bulgarian translation from translation project.
10457 * po/sv.po: Update Sweedish translation from translation project.
10459 * po/nl.po: Update Dutch translation from translation project.
10461 * po/es.po: Update Spanish translation from translation project.
10463 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10465 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10467 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10468 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10469 (CPPFLAGS-iconvconfig): Likewise.
10470 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10472 * include/libc-symbols.h: Remove unnecessary check for
10474 * nptl/pthreadP.h: Likewise.
10475 * sysdeps/aarch64/setjmp.S: Likewise.
10476 * sysdeps/alpha/setjmp.S: Likewise.
10477 * sysdeps/arm/sysdep.h: Likewise.
10478 * sysdeps/i386/setjmp.S: Likewise.
10479 * sysdeps/m68k/setjmp.c: Likewise.
10480 * sysdeps/posix/getcwd.c: Likewise.
10481 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10482 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10483 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10484 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10485 * sysdeps/sh/sh3/setjmp.S: Likewise.
10486 * sysdeps/sh/sh4/setjmp.S: Likewise.
10487 * sysdeps/unix/alpha/sysdep.h: Likewise.
10488 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10489 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10490 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10491 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10494 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10496 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10499 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10501 * sysdeps/x86_64/setjmp.S: Likewise.
10503 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10506 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10508 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10509 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10511 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10513 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10516 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10517 and __x86_64__ when disabling x87 inline functions.
10519 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10522 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10523 asm statement with __cpuid_count.
10525 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10527 * configure.ac: Change __ehdr_start code to dereference the struct.
10528 Run readelf on the output to look for relocations.
10529 * configure: Regenerated.
10531 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10534 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10536 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10538 2014-08-12 Roland McGrath <roland@hack.frob.com>
10540 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10542 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10545 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10546 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10548 2014-08-12 Sean Anderson <seanga2@gmail.com>
10550 * malloc/malloc.c: Fix typo in comment.
10552 2014-08-09 Allan McRae <allan@archlinux.org>
10554 * Regenerate libc.po.
10556 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10558 * intl/tst-gettext2.sh: Check every lang file for creation.
10560 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10562 * sysdeps/aarch64/fpu/math_private.h
10563 (libc_feholdsetround_noex_aarch64_ctx): New function.
10565 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10567 * sysdeps/arm/armv6/strcpy.S (strcpy):
10568 Fix performance issue in misaligned cases.
10570 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10572 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10573 Move definition from termios.h.
10574 (struct termio): Likewise.
10575 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10576 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10577 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10578 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10580 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10581 Move definition to ioctl-types.h
10582 (struct termio): Likewise.
10583 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10584 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10585 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10586 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10589 2014-08-05 Richard Henderson <rth@redhat.com>
10591 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10593 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10595 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10596 Use __feraiseexcept.
10597 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10598 Protect libm symbols with IS_IN_libm.
10600 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10602 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10604 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10606 2014-08-04 Will Newton <will.newton@linaro.org>
10608 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10611 2014-08-04 Mike Frysinger <vapier@gentoo.org>
10613 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10614 variants for each function.
10616 2014-08-04 Roland McGrath <roland@hack.frob.com>
10618 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10620 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10621 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10623 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10624 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10625 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10626 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10627 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10628 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10629 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10630 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10631 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10632 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10633 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10634 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10635 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10636 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10637 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10638 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10639 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10640 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10641 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10642 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10643 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10645 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10646 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10647 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10648 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10649 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10651 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10653 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10654 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10655 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10656 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10657 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10658 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10659 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10660 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10661 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10662 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10663 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10664 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10665 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10666 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10667 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10668 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10669 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10670 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10671 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10672 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10673 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10674 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10675 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10677 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10678 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10680 2014-08-04 Roland McGrath <roland@hack.frob.com>
10682 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10683 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10684 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10685 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10686 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10687 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10689 2014-08-04 Roland McGrath <roland@hack.frob.com>
10691 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10692 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10693 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10694 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10696 2014-08-04 Roland McGrath <roland@hack.frob.com>
10698 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10699 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10700 (__libc_vfork): Define function under this name.
10701 (__vfork): Define as an alias.
10702 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10703 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10705 2014-08-04 Roland McGrath <roland@hack.frob.com>
10707 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10708 that was previously under [RESET_PID].
10709 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10711 2014-08-04 Andreas Schwab <schwab@suse.de>
10713 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10715 2014-08-03 Mike Frysinger <vapier@gentoo.org>
10717 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10720 2014-08-01 Roland McGrath <roland@hack.frob.com>
10722 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10724 2014-08-01 Richard Henderon <rth@redhat.com>
10726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10727 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10728 typo in exact zero test.
10729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10730 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10731 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10733 2014-08-01 Roland McGrath <roland@hack.frob.com>
10735 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10736 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10737 * sysdeps/arm/sysdep.h: ... here.
10738 [!__ASSEMBLER__]: Include <stdint.h>.
10740 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10742 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10743 (HAVE_WCTYPE_H): Likewise.
10744 (HAVE_ISWCTYPE): Likewise.
10745 (ENABLE_NLS): Likewise.
10746 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10747 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10749 * posix/regex_internal.c: Check if DEBUG is defined and is
10752 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10753 (HAVE_MBSRTOWCS): Likewise.
10754 * posix/fnmatch.c: Include string.h unconditionally.
10756 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10758 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10761 2014-07-31 Roland McGrath <roland@hack.frob.com>
10763 * sysdeps/generic/safe-fatal.h: New file.
10764 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10765 * nptl/forward.c: Include it.
10766 (__pthread_unwind): Use __safe_fatal as default action, rather
10767 than a bogus use of INTERNAL_SYSCALL that could never work.
10769 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10770 * configure.ac (libc_cv_builtin_trap): New test.
10771 * configure: Regenerated.
10772 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10773 (ABORT_INSTRUCTION): Define using __builtin_trap.
10775 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10776 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10777 * sysdeps/nptl/nptl-signals.h: New file.
10778 * nptl/pthreadP.h: Include <nptl-signals.h>.
10780 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10782 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10783 (ONE_DIRECTION): Define.
10784 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10785 (ONE_DIRECTION): Define.
10786 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10787 (ONE_DIRECTION): Define.
10789 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10791 * sysdeps/s390/Makefile: Delete file.
10792 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10793 * sysdeps/s390/__longjmp.c: Delete file.
10794 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10795 Remove fields __flags and __reserved.
10796 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10797 and add versioning.
10798 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10799 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10800 * sysdeps/s390/rtld-setjmp.S: Likewise.
10801 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10802 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10803 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10804 * sysdeps/s390/s390-32/setjmp.S: ... here.
10806 (__sigsetjmp): Remove setting __flags field.
10807 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10808 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10809 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10810 * sysdeps/s390/s390-64/setjmp.S: ... here.
10812 (__sigsetjmp): Remove setting __flags field.
10813 * sysdeps/s390/setjmp.S: Delete file.
10814 * sysdeps/s390/sigjmp.c: Likewise.
10815 * sysdeps/s390/v1-longjmp.c: Likewise.
10816 * sysdeps/s390/v1-setjmp.h: Likewise.
10817 * sysdeps/s390/v1-sigjmp.c: Likewise.
10818 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10819 Remove v1-longjmp_chk.
10820 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10821 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10822 Include debug/longjmp_chk.c and add versioning.
10823 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10824 Include nptl/pt-longjmp.c and add versioning.
10825 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10826 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10827 Include __longjmp.c.
10828 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10830 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10831 (__getcontext): Remove setting __flags field.
10833 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10834 Don't restore upper high grps.
10835 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10837 (__swapcontext): Remove setting uc_flags field.
10838 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10840 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10841 Include __longjmp.c.
10842 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10844 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10845 (__getcontext): Remove setting __flags field.
10847 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10848 (__swapcontext): Remove setting uc_flags field.
10849 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10850 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10851 Remove fields uc_high_gprs and __reserved.
10852 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10853 New file with reverted content.
10854 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10855 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10857 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10860 2014-07-31 Andreas Schwab <schwab@suse.de>
10862 * config.h.in (HAVE_IFUNC): Define to 0.
10863 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10866 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10869 memmove-avx-unaligned, memcpy-avx-unaligned and
10870 mempcpy-avx-unaligned.
10871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10872 Add tests for AVX memcpy functions.
10873 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10874 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10876 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10877 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10879 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10880 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10882 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10883 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10884 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10886 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10889 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10892 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
10895 * manual/llio.texi: Add section about open file description locks.
10896 * manual/examples/ofdlocks.c: Example of open file description
10898 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10899 F_OFD_SETLK, and F_OFD_SETLKW.
10901 2014-07-23 Allan McRae <allan@archlinux.org>
10903 * po/es.po: Update Spanish translation from translation project.
10905 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10907 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10909 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10912 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10913 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10914 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10916 2014-07-17 Joseph Myers <joseph@codesourcery.com>
10919 * math/fesetenv.c (__fesetenv)
10920 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10921 * math/feupdateenv.c (__feupdateenv)
10922 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10924 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10925 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10926 (__ASSUME_SOCKETCALL): Do not define.
10928 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10929 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10930 (__ASSUME_SOCKETCALL): Do not define.
10931 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10932 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10933 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10934 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10935 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10936 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10937 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10938 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10940 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10941 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10942 (__ASSUME_SOCKETCALL): Do not define.
10943 (__ASSUME_IPC64): Define unconditionally.
10944 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10945 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10946 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10947 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10948 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10949 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10950 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10953 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10954 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10955 (__ASSUME_SOCKETCALL): Do not define.
10956 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10957 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10958 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10959 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10960 (__ASSUME_REQUEUE_PI): Define unconditionally.
10961 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10962 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10963 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10964 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10965 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10966 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10968 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10969 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10970 (__ASSUME_SOCKETCALL): Do not define.
10971 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10972 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10973 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10974 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10975 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10976 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10978 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10979 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10980 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10981 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10982 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10983 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10984 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10985 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10986 (__ASSUME_GETCPU_SYSCALL): Likewise.
10988 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10989 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
10990 cases for individual architectures.
10991 * sysdeps/gnu/configure: Regenerated.
10992 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10993 LIBC_SLIBDIR_RTLDDIR.
10994 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10995 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10996 LIBC_SLIBDIR_RTLDDIR.
10997 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10999 LIBC_SLIBDIR_RTLDDIR.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11002 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11003 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11005 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11006 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11008 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11009 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11010 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11011 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11013 * sysdeps/aarch64/shlib-versions: Move to ...
11014 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11015 * sysdeps/alpha/shlib-versions: Move to ...
11016 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11017 * sysdeps/arm/shlib-versions: Move to ...
11018 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11019 * sysdeps/hppa/shlib-versions: Move all contents except for
11020 libgcc_s entry to ...
11021 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
11023 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
11024 * sysdeps/ia64/shlib-versions: Move to ...
11025 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
11027 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
11028 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11029 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11030 * sysdeps/microblaze/shlib-versions: Move to ...
11031 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11032 * sysdeps/mips/shlib-versions: Move to ...
11033 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11035 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11036 * sysdeps/tile/shlib-versions: Move to ...
11037 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11038 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11040 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11041 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11043 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11045 2014-07-17 Will Newton <will.newton@linaro.org>
11047 * sysdeps/arm/bits/atomic.h
11048 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11049 (__arch_compare_and_exchange_bool_16_int): Likewise.
11050 (__arch_compare_and_exchange_bool_64_int): Likewise.
11052 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11053 into an #else block.
11055 2014-07-16 Roland McGrath <roland@hack.frob.com>
11057 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11058 just Linux configurations. Test empirically that the compiler sets
11059 __ARM_EABI__, rather than using the tuple to decide.
11060 * sysdeps/arm/preconfigure: Regenerated.
11061 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11062 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11063 contents appended ...
11064 * sysdeps/arm/configure.ac: ... here.
11065 * sysdeps/arm/configure: Regenerated.
11067 2014-07-15 Roland McGrath <roland@hack.frob.com>
11069 * nptl/pthread_kill.c: New file.
11070 * nptl/pthread_sigmask.c: New file.
11071 * nptl/pthread_sigqueue.c: New file.
11073 * sysdeps/nptl/lowlevellock.h: New file.
11074 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11075 * sysdeps/nptl/lowlevellock-futex.h: New file.
11077 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11078 Remove dead declarations.
11080 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11082 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11083 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11084 config-cflags-avx2.
11085 * sysdeps/x86_64/configure.ac: Likewise.
11086 * sysdeps/i386/configure: Regenerated.
11087 * sysdeps/x86_64/configure: Likewise.
11088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11089 memset-avx2 only if config-cflags-avx2 is yes.
11090 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11091 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11093 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11094 only if HAVE_AVX2_SUPPORT is defined.
11095 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11097 2014-07-14 Alan Modra <amodra@gmail.com>
11100 * elf/elf.h (DT_PPC64_NUM): Correct value.
11101 * NEWS: Add to fixed bug list.
11103 2014-07-13 Jim Meyering <meyering@fb.com>
11106 regex: don't deref NULL upon heap allocation failure
11107 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11108 failure in one more place.
11109 To trigger the segfault, configure grep -with-included-regex,
11110 build it, and run these commands:
11111 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11113 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
11115 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11117 2014-07-11 Richard Henderson <rth@redhat.com>
11119 * sysdeps/aarch64/libm-test-ulps: Update.
11121 2014-07-10 Florian Weimer <fweimer@redhat.com>
11124 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11125 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11126 (__nptl_setxid): Initialize error member. Call
11127 __nptl_setxid_error.
11128 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11129 * nptl/descr.h (struct xid_command): Add error member.
11130 * nptl/tst-setuid3.c: New file.
11131 * nptl/Makefile (tests): Add it.
11133 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11135 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11137 (__lll_trylock): Use __lll_base_trylock.
11138 (__lll_cond_trylock): Likewise.
11140 2014-07-10 Roland McGrath <roland@hack.frob.com>
11142 * nptl/pthread_create.c (start_thread): Use atomic_or and
11143 lll_futex_wake directly rather than lll_robust_dead.
11144 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11145 (lll_robust_dead): Macro removed.
11146 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11147 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11148 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11149 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11150 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11151 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11152 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11153 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11154 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11155 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11156 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11157 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11158 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11159 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11160 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11162 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11163 Use atomic_compare_and_exchange_val_acq directly rather than
11164 lll_robust_trylock.
11165 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11166 (__lll_robust_trylock, lll_robust_trylock): Removed.
11167 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11168 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11169 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11170 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11171 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11172 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11173 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11174 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11175 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11176 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11177 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11178 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11179 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11180 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11182 2014-07-02 Florian Weimer <fweimer@redhat.com>
11184 * manual/locale.texi (Locale Names): New section documenting
11185 locale name syntax. Adjust menu and node chaining accordingly.
11186 (Choosing Locale): Reference Locale Names, Locale Categories.
11187 Mention setting LC_ALL=C. Reflect that name syntax is now
11189 (Locale Categories): New section title. Reference Locale Names.
11190 LC_ALL is an environment variable, but not a category.
11191 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11192 description, now in Locale Name. Reference that section. Locale
11193 name syntax is now documented.
11195 2014-07-02 Florian Weimer <fweimer@redhat.com>
11198 * locale/findlocale.c (name_present, valid_locale_name): New
11200 (_nl_find_locale): Use the loc_name variable to store name
11201 candidates. Call name_present and valid_locale_name to check and
11202 validate locale names. Return an error if the locale is invalid.
11204 2014-07-02 Florian Weimer <fweimer@redhat.com>
11206 * locale/setlocale.c (setlocale): Use strdup for allocating
11207 composite name copy.
11209 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11211 Sync up with gnulib.
11212 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11213 [!_LIBC && ENABLE_NLS]: Include gettext.h.
11214 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11215 and _GL_ARG_NONNULL.
11216 [USE_UNLOCKED_IO]: Include unlocked-io.h.
11217 [!_LIBC]: Include code for Windows and Cygwin.
11218 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11219 Include prototype for int strerror_r.
11220 [!_LIBC] (is_open): New function.
11221 (flush_stdout): New function.
11222 (print_errno_message): Use it.
11224 (error_at_line): Likewise.
11225 (error_tail) Add function attribute macros. Use
11228 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11230 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11232 * io/ftw.c: Include sys/param.h unconditionally.
11234 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11237 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11239 (freecache): New function to free CACHE on exit.
11241 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11244 2014-07-09 David S. Miller <davem@davemloft.net>
11246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11248 * sysdeps/sparc/nptl/internaltypes.h: Delete.
11249 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11250 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11251 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11252 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11253 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11254 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11255 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11256 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11257 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11258 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11259 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11260 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11262 2014-07-09 Andreas Schwab <schwab@suse.de>
11264 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11266 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11267 (do_test): Likewise.
11269 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11271 2014-07-09 Will Newton <will.newton@linaro.org>
11273 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11274 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11275 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11276 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11277 * sysdeps/hppa/start.S (_start): Likewise.
11279 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11281 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11283 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11286 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11288 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11289 after checking that it is non-NULL.
11291 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11293 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11295 * sysdeps/powerpc/memmove.c: Remove file.
11296 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11297 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11298 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11299 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11300 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11301 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11302 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11303 string memmove instead of removed powerpc one.
11305 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11306 [weak_alias]: Fix compiler warning due trailing data.
11307 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11308 [weak_alias]: Likewise.
11309 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11310 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11313 (__libc_ifunc_impl_list): Add memmove functions.
11315 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11317 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11319 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11321 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11323 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11325 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11327 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11329 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11331 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11333 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11335 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11337 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11339 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11341 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11343 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11345 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11347 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11349 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11352 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11354 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11355 to avoid alignment traps in non-cacheable memory.
11356 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11360 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11361 file: multiarch power7 memmove.
11362 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11363 multiarch default memmove.
11364 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11365 multiarch memove for powerpc32/power4.
11367 * string/bcopy.c: Use full path to include memmove.c.
11368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11370 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11371 bcopy for powerpc64.
11372 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11373 bcopy for powerpc64.
11374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11375 and memmove implementations.
11376 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11377 optimized multiarch memmove for POWER7/powerpc64.
11378 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11379 default multiarch memmove for powerpc64.
11380 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11381 multiarch for powerpc64.
11382 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11383 for POWER7/powerpc64.
11384 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11385 memmove for POWER7/powerpc64.
11387 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11390 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11391 __ELF_NATIVE_CLASS equal to 64.
11393 2014-07-07 Roland McGrath <roland@hack.frob.com>
11395 * sysdeps/nptl/lowlevellock.h: File removed.
11397 * NEWS: NPTL is no longer an add-on!
11398 * nptl/internaltypes.h: Moved ...
11399 * sysdeps/nptl/internaltypes.h: ... here.
11400 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11401 * sysdeps/nptl/fork.c: Likewise.
11402 * sysdeps/nptl/gai_misc.h: Likewise.
11403 * sysdeps/nptl/librt-cancellation.c: Likewise.
11404 * sysdeps/nptl/jmp-unwind.c: Likewise.
11405 * sysdeps/nptl/setxid.h: Likewise.
11406 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11407 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11408 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11409 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11410 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11411 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11412 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11413 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11414 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11415 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11416 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11417 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11418 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11419 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11420 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11421 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11422 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11423 * nptl/Makeconfig: Moved ...
11424 * sysdeps/nptl/Makeconfig: ... here.
11425 * nptl/configure: File removed.
11426 * nptl/ANNOUNCE: File removed.
11427 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11428 * sysdeps/unix/sysv/linux/configure: Regenerated.
11430 * nptl/Makefile (routines): Add libc_pthread_init,
11431 libc_multiple_threads, register-atfork and unregister-atfork.
11432 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11433 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11434 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11435 pthread-pi-defines.sym, structsem.sym.
11436 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11437 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11438 [$(subdir) = nptl] (tests): Add tst-setgetname.
11439 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11440 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11441 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11442 [!LIBC_SIGACTION]: Remove aliases.
11443 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11444 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11445 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11446 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11447 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11448 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11449 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11450 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11451 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11452 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11453 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11454 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11455 __libc_allocate_rtsig_private.
11456 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11457 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11458 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11459 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11460 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11461 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11462 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11463 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11464 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11465 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11466 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11467 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11468 * nptl/internaltypes.h: ... here.
11469 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11470 * sysdeps/nptl/jmp-unwind.c: ... here.
11471 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11472 * nptl/libc-lowlevellock.c: ... here.
11473 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11474 * nptl/libc_multiple_threads.c: ... here.
11475 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11476 * nptl/libc_pthread_init.c: ... here.
11477 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11478 * nptl/lowlevelbarrier.sym: ... here.
11479 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11480 * nptl/lowlevelcond.sym: ... here.
11481 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11482 * nptl/lowlevellock.c: ... here.
11483 * nptl/lowlevellock.h: Moved ...
11484 * sysdeps/nptl/lowlevellock.h: ... here.
11485 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11486 * nptl/lowlevelrobustlock.c: ... here.
11487 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11488 * nptl/lowlevelrobustlock.sym: ... here.
11489 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11490 * nptl/lowlevelrwlock.sym: ... here.
11491 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11492 * nptl/pt-fork.c: ... here.
11493 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11494 * nptl/pthread-pi-defines.sym: ... here.
11495 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11496 * nptl/pthread_attr_getaffinity.c: ... here.
11497 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11498 * nptl/pthread_attr_setaffinity.c: ... here.
11499 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11500 * nptl/pthread_mutex_cond_lock.c: ... here.
11501 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11503 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11504 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11505 * nptl/pthread_once.c: ... here, replacing old file.
11506 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11507 * nptl/pthread_yield.c: ... here.
11508 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11509 * nptl/register-atfork.c: ... here.
11510 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11511 * nptl/sem_post.c: ... here.
11512 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11513 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11514 * nptl/sem_timedwait.c: ... here.
11515 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11516 * nptl/sem_trywait.c: ... here.
11517 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11518 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11519 * nptl/sem_wait.c: ... here.
11520 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11521 * nptl/structsem.sym: ... here.
11522 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11523 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11524 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11525 * nptl/unregister-atfork.c: ... here.
11526 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11527 * nptl/unwindbuf.sym: ... here.
11528 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11529 * sysdeps/nptl/fork.c: ... here.
11530 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11531 * sysdeps/nptl/fork.h: ... here.
11532 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11533 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11534 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11535 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11536 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11537 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11538 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11539 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11540 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11541 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11542 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11543 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11544 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11545 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11546 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11547 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11548 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11549 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11550 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11551 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11552 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11553 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11554 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11555 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11556 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11557 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11558 * sysdeps/unix/sysv/linux/raise.c: ... here.
11559 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11560 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11561 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11562 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11563 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11564 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11565 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11566 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11567 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11568 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11569 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11570 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11571 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11572 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11573 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11575 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11577 * sysdeps/generic/memcopy.h: Add comment for
11578 MEMCPY_OK_FOR_FWD_MEMMOVE.
11580 2014-07-04 Will Newton <will.newton@linaro.org>
11582 * string/memchr.c: Merge from gnulib.
11583 [_LIBC]: Remove conditionals.
11584 (__ptr_t): Remove define.
11585 (LONG_MAX_32_BITS): Likewise.
11586 (LONG_MAX): Likewise.
11587 (MEMCHR): Use ANSI prototype and optimize algorithm.
11589 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11591 2014-07-03 Roland McGrath <roland@hack.frob.com>
11593 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11594 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11596 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11597 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11598 in a bare environment with no <stdlib.h> installed.
11599 * sysdeps/nptl/configure: Regenerated.
11601 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11603 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11604 AC_EGREP_CPP for kernel header checks, so they only succeed if
11605 including <linux/version.h> actually works right.
11606 * sysdeps/unix/sysv/linux/configure: Regenerated.
11608 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11609 value so it's not diagnosed as unused.
11611 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11612 thing) with "ifeq ($(subdir),rt)".
11614 2014-07-03 Richard Henderson <rth@redhat.com>
11616 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11617 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11618 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11620 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11621 (math_force_eval): New.
11623 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11624 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11626 * sysdeps/alpha/fpu/s_round.c: Remove file.
11627 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11629 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11630 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11631 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11632 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11633 (_dl_start, print_statistics): Likewise.
11634 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11635 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11637 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11638 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11639 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11640 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11642 (HP_SMALL_TIMING_AVAIL): Define.
11643 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11644 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11645 (HP_SMALL_TIMING_AVAIL): Define.
11646 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11647 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11649 * sysdeps/aarch64/hp-timing.h: New file.
11651 * sysdeps/generic/hp-timing.h: Remove dead comment.
11652 * sysdeps/generic/hp-timing-common.h: New file.
11653 * sysdeps/alpha/hp-timing.h: Include it.
11654 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11655 * sysdeps/i386/i686/hp-timing.h: Likewise.
11656 * sysdeps/ia64/hp-timing.h: Likewise.
11657 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11658 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11659 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11660 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11661 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11662 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11663 (hp_timing_t): New.
11665 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11666 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11667 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11668 * elf/rtld.c (_dl_start_final): Likewise.
11669 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11670 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11671 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11672 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11673 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11674 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11675 (HP_TIMING_DIFF_INIT): Remove.
11676 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11677 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11678 (HP_TIMING_DIFF_INIT): Remove.
11679 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11680 * sysdeps/i386/i686/hp-timing.c: Remove file.
11681 * sysdeps/x86_64/hp-timing.c: Remove file.
11682 * sysdeps/ia64/hp-timing.c: Remove file.
11683 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11684 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11685 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11686 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11688 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11689 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11690 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11691 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11692 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11693 (HP_TIMING_ACCUM): Remove.
11694 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11695 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11696 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11698 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11699 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11700 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11701 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11702 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11703 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11704 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11705 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11707 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11709 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11711 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11713 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11715 Sync up with gettext.
11716 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11717 [_MSC_VER]: Include malloc.h
11718 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11719 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11720 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11721 TEMP_FAILURE_RETRY. Cast return of alloca.
11722 [!_LIBC] Call gl_rwlock_init.
11723 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11725 2014-07-02 Roland McGrath <roland@hack.frob.com>
11727 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11728 before checking its value.
11730 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11732 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11734 * debug/memcpy_chk.c: Don't include pagecopy.h.
11735 * debug/mempcpy_chk.c: Likewise.
11736 * string/memcpy.c: Likewise.
11737 * string/memmove.c: Likewise.
11738 * sysdeps/powerpc/memmove.c: Likewise.
11739 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11740 definition of PAGE_COPY_FWD_MAYBE here...
11741 * sysdeps/generic/pagecopy.h: ... from here.
11742 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11744 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11745 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11747 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11751 (__libc_ifunc_impl_list): Likewise.
11752 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11753 multiarch strcat for PPC64.
11754 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11755 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11757 2014-07-02 Roland McGrath <roland@hack.frob.com>
11759 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11761 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11763 * intl/loadmsgcat.c: Remove declaration of
11764 get_sysdep_segment_value.
11765 (get_sysdep_segment_value): Use ISO C style.
11766 (_nl_load_domain): Use ISO C style. Get rid of redundant
11767 semicolon. Fix typo and formatting in comment.
11768 (_nl_unload_domain): Use ISO C style.
11770 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11772 2014-07-02 Will Newton <will.newton@linaro.org>
11774 * malloc/obstack.c: Merge from gnulib master.
11775 [HAVE_CONFIG_H]: Remove conditional code.
11776 [!_LIBC]: Include config.h.
11777 [!ELIDE_CODE]: Don't include inttypes.h, include
11778 stdint.h unconditionally.
11779 (print_and_abort): Mark as _Noreturn.
11780 (_obstack_allocated_p): Mark as __attribute_pure__.
11781 (obstack_free): Rename to __obstack_free.
11782 [!__attribute__]: Remove conditional code.
11783 * malloc/obstack.h: Merge from gnulib master.
11784 [__cplusplus]: Move conditional down.
11785 [!__attribute_pure__]: Define __attribute_pure__ here
11786 if it is not already defined.
11787 (_obstack_memory_used): Mark as __attribute_pure__.
11788 [!__obstack_free]: Define as obstack_free.
11789 [__GNUC__]: Remove check for ancient NeXT gcc.
11791 2014-07-02 Will Newton <will.newton@linaro.org>
11792 Paul Eggert <eggert@cs.ucla.edu>
11794 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11796 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11798 * resolv/gethnamaddr.c: Add comment warning that the file is
11801 2014-07-01 Carlos O'Donell <carlos@redhat.com>
11803 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11806 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11807 entry for aio_cancel and aio_cancel64.
11808 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11809 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11810 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11811 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11812 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11813 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11814 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11815 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11816 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11817 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11818 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11819 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11820 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11822 2014-07-01 Roland McGrath <roland@hack.frob.com>
11824 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11825 * nptl/pthread_mutex_lock.c: Likewise.
11826 * nptl/pthread_mutex_timedlock.c: Likewise.
11827 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11829 2014-07-01 Richard henderson <rth@redhat.com>
11831 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11832 (__isnan, __isnanl): Remove.
11833 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11835 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11837 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11839 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11841 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11843 * resolv/nss_dns/dns-host.c (getanswer_r)
11844 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11846 2014-07-01 Joseph Myers <joseph@codesourcery.com>
11848 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11849 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11851 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11852 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11854 2014-07-01 Roland McGrath <roland@hack.frob.com>
11856 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11857 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11859 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11860 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11862 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11863 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11865 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11866 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11868 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11869 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11870 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11871 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11873 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11874 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11875 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11876 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11877 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11879 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11881 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11882 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11883 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11884 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11885 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11886 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11887 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11888 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11889 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11890 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11891 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11892 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11893 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11894 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11895 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11896 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11897 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11898 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11899 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11900 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11902 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11903 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11904 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11905 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11906 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11907 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11908 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11909 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11911 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11913 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11914 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11915 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11918 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11922 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11924 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11925 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11927 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11929 * sysdeps/arm/libm-test-ulps: Regenerated.
11931 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11932 Roland McGrath <roland@hack.frob.com>
11934 * test-skeleton.c (signal_handler): Kill the whole process group
11935 before killing the child individually.
11936 (main): Report any failure on `setpgid'.
11938 2014-06-30 Roland McGrath <roland@hack.frob.com>
11940 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11941 from _TLS_H to _ARM_NPTL_TLS_H.
11942 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11943 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11945 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11948 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11949 (__expm1l): Return argument unchanged when small but not
11952 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11953 include macro name.
11954 (_FP_UNPACK_RAW_1_P): Likewise.
11955 (_FP_PACK_RAW_1): Likewise.
11956 (_FP_PACK_RAW_1_P): Likewise.
11957 (_FP_MUL_MEAT_1_wide): Likewise.
11958 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11959 (_FP_MUL_MEAT_1_hard): Likewise.
11960 (_FP_DIV_MEAT_1_imm): Likewise.
11961 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11962 (_FP_DIV_MEAT_1_udiv): Likewise.
11963 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11964 (_FP_UNPACK_RAW_2): Likewise.
11965 (_FP_UNPACK_RAW_2_P): Likewise.
11966 (_FP_PACK_RAW_2): Likewise.
11967 (_FP_PACK_RAW_2_P): Likewise.
11968 (_FP_MUL_MEAT_DW_2_wide): Likewise.
11969 (_FP_MUL_MEAT_2_wide): Likewise.
11970 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11971 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11972 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11973 (_FP_MUL_MEAT_2_gmp): Likewise.
11974 (_FP_DIV_MEAT_2_udiv): Likewise.
11975 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11976 (_FP_FRAC_SRL_4): Likewise.
11977 (_FP_FRAC_SRST_4): Likewise.
11978 (_FP_FRAC_SRS_4): Likewise.
11979 (_FP_UNPACK_RAW_4): Likewise.
11980 (_FP_UNPACK_RAW_4_P): Likewise.
11981 (_FP_PACK_RAW_4): Likewise.
11982 (_FP_PACK_RAW_4_P): Likewise.
11983 (_FP_MUL_MEAT_DW_4_wide): Likewise.
11984 (_FP_MUL_MEAT_4_wide): Likewise.
11985 (_FP_MUL_MEAT_4_gmp): Likewise.
11986 (umul_ppppmnnn): Likewise.
11987 (_FP_DIV_MEAT_4_udiv): Likewise.
11988 (__FP_FRAC_ADD_4): Likewise.
11989 (__FP_FRAC_SUB_3): Likewise.
11990 (__FP_FRAC_SUB_4): Likewise.
11991 (__FP_FRAC_DEC_3): Likewise.
11992 (__FP_FRAC_DEC_4): Likewise.
11993 (__FP_FRAC_ADDI_4): Likewise.
11994 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11995 (_FP_FRAC_SRL_8): Likewise.
11996 (_FP_FRAC_SRS_8): Likewise.
11998 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11999 include macro name.
12000 (FP_UNPACK_RAW_EP): Likewise.
12001 (FP_PACK_RAW_E): Likewise.
12002 (FP_PACK_RAW_EP): Likewise.
12003 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12004 (_FP_ISSIGNAN): Likewise.
12005 (_FP_ADD_INTERNAL): Likewise.
12006 (_FP_FMA): Likewise.
12007 (_FP_CMP): Likewise.
12008 (_FP_SQRT): Likewise.
12009 (_FP_TO_INT): Likewise.
12010 (_FP_FROM_INT): Likewise.
12011 (FP_EXTEND): Likewise.
12012 (_FP_DIV_MEAT_N_loop): Likewise.
12014 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12016 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12019 2014-06-29 Joseph Myers <joseph@codesourcery.com>
12022 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12023 result with correct sign in case of exponents that produce
12024 overflow except for X very close to 1.
12026 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
12028 mktime: merge #if/#ifdef usage from glibc
12029 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12030 as that works with both Glibc's and Gnulib's style.
12031 See thread starting at Siddhesh Poyarekar's bug report at:
12032 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12034 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12036 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12037 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12038 * sysdeps/tile/tilegx/memmove.c: Remove file.
12040 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12042 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12043 abi-name definition.
12044 * scripts/soversions.awk: Do not handle or generate ABI lines.
12045 * shlib-versions: Remove ABI entries.
12046 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12047 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12049 2014-06-27 Roland McGrath <roland@hack.frob.com>
12051 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12052 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12053 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12054 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12056 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12059 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12061 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12062 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12064 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12065 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12066 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12068 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12069 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12070 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12071 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12072 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12073 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12075 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12076 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12077 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12078 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12079 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12080 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12082 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12083 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12085 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12086 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12087 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12088 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12090 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12092 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12093 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12094 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12095 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12096 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12097 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12099 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12100 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12101 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12102 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12104 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12105 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12107 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12108 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12109 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12110 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12112 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12114 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12115 Identical file removed.
12116 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12118 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12119 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12120 Identical file removed.
12121 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12122 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12123 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12125 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12126 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12127 Identical file removed.
12128 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12129 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12130 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12131 Identical file removed.
12132 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12133 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12134 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12135 Identical file removed.
12136 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12137 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12138 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12139 Identical file removed.
12140 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12142 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12143 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12144 Identical file removed.
12145 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12147 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12149 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12150 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12151 Identical file removed.
12152 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12154 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12157 Identical file removed.
12158 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12160 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12161 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12162 Identical file removed.
12163 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12165 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12166 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12167 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12168 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12169 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12170 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12172 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12173 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12174 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12176 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12177 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12178 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12179 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12180 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12182 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
12185 * nscd/nscd.c (monitor_child): Return exit status of child
12186 instead of return value from wait syscall.
12188 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12190 * configure.ac (libc_commonpagesize): Remove variable.
12191 (libc_relro_required): Likewise.
12192 (libc_cv_z_relro): Remove configure test.
12193 * configure: Regenerated.
12194 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12196 (libc_relro_required): Likewise.
12197 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12198 (libc_relro_required): Likewise.
12199 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12200 (libc_relro_required): Likewise.
12201 * sysdeps/arm/preconfigure: Regenerated.
12202 * sysdeps/ia64/preconfigure: Remove file.
12203 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12205 (libc_relro_required): Likewise.
12209 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12210 (__ieee754_yn): Set FE_TONEAREST mode internally and then
12211 recompute overflowing results in original rounding mode.
12212 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12213 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12214 recompute overflowing results in original rounding mode.
12215 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12216 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12217 recompute overflowing results in original rounding mode.
12218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12219 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12220 recompute overflowing results in original rounding mode.
12221 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12222 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12223 recompute overflowing results in original rounding mode.
12224 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12225 (libc_feholdsetround_ctx): New macro.
12226 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12227 * sysdeps/i386/fpu/libm-test-ulps: Update.
12228 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12230 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12232 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12233 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12234 corresponding .cpsetup call.
12236 2014-06-26 Roland McGrath <roland@hack.frob.com>
12238 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12239 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12240 * sysdeps/arm/Makefile [$(subdir) = csu]
12241 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12242 (static-only-routines): Add aeabi_read_tp here.
12243 (shared-only-routines): Add libc-aeabi_read_tp here.
12244 (CFLAGS-libc-start.c): Add -fexceptions here.
12245 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12246 (sysdep_routines, static-only-routines, shared-only-routines):
12247 Don't add to these here.
12248 (CFLAGS-libc-start.c): Likewise.
12250 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12251 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12252 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12253 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12254 * sysdeps/arm/Makefile [$(subdir) = rt]
12255 (librt-sysdep_routines, librt-shared-only-routines):
12256 Append rt-aeabi_unwind_cpp_pr1 here.
12257 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12258 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12259 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12260 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12261 Append nptl-aeabi_unwind_cpp_pr1 here.
12262 (tests): Filter out tst-cleanupx4 here.
12263 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12264 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12265 Don't do those here.
12267 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12269 * scripts/list-sources.sh: Do not handle ports specially.
12271 2014-06-26 Roland McGrath <roland@hack.frob.com>
12273 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12274 * sysdeps/arm/feupdateenv.c: Likewise.
12276 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12278 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12280 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12281 trailing whitespace removed.
12282 * scripts/config.guess: Update to version 2014-03-23.
12283 * scripts/config.sub: Update to version 2014-05-01
12284 * scripts/install-sh: Update to version 2013-12-25.23.
12285 * scripts/move-if-change: Update from gnulib.
12287 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12289 * debug/memmove_chk.c: Remove pagecopy.h include.
12291 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12293 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12294 identical to gnulib mktime.
12296 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12298 * configure.ac: Do not test for machine being rs6000. Do not test
12299 for powerpc*-*soft.
12300 * configure: Regenerated.
12303 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12305 * configure: Regenerated.
12306 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12307 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12308 Remove configure test.
12309 * sysdeps/arm/configure: Regenerated.
12310 * sysdeps/nptl/configure.ac: Do not check
12311 libc_cv_asm_cfi_directives.
12312 * sysdeps/nptl/configure: Regenerated.
12313 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12314 * sysdeps/x86_64/nptl/configure: Remove generated file.
12315 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12317 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12319 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12321 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12322 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12323 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12326 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12327 instead of whether it is defined.
12328 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12329 * sysdeps/hppa/dl-machine.h: Likewise.
12330 * sysdeps/ia64/dl-machine.h: Likewise.
12331 * sysdeps/m68k/dl-machine.h: Likewise.
12332 * sysdeps/microblaze/dl-machine.h: Likewise.
12333 * sysdeps/mips/dl-machine.: Likewise.
12334 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12335 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12336 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12337 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12338 * sysdeps/sh/dl-machine.h: Likewise.
12339 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12340 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12341 * sysdeps/tile/dl-machine.h: Likewise.
12342 * sysdeps/x86_64/dl-machine.h: Likewise.
12344 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12346 (verify_persistent_db): Likewise.
12348 2014-06-26 Roland McGrath <roland@hack.frob.com>
12350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12351 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12353 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12356 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12359 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12361 Identical file removed.
12362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12363 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12365 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12367 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12369 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12371 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12374 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12376 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12378 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12381 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12383 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12385 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12387 Identical file removed.
12388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12389 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12391 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12394 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12397 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12399 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12401 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12403 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12405 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12408 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12411 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12413 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12416 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12418 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12420 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12422 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12423 * sysdeps/unix/sysv/linux/s390/Versions
12424 (libpthread: GLIBC_2.19): New version set.
12425 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12426 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12427 (librt: GLIBC_2.3.3): New version set.
12428 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12429 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12430 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12431 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12432 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12433 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12434 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12435 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12436 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12437 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12438 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12439 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12440 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12441 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12442 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12443 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12444 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12445 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12446 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12448 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12450 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12452 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12453 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12454 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12455 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12456 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12457 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12458 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12459 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12460 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12461 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12462 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12463 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12464 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12466 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12467 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12468 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12469 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12470 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12471 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12472 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12474 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12475 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12476 (__libc_vfork): Define the function under this name.
12477 [!NOT_IN_libc] (__vfork): Make this an alias.
12478 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12479 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12480 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12481 (__libc_vfork): Define the function under this name.
12482 [!NOT_IN_libc] (__vfork): Make this an alias.
12483 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12484 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12485 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12487 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12488 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12490 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12491 code that was previously under [RESET_PID].
12492 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12493 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12494 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12496 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12497 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12498 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12499 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12500 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12501 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12502 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12503 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12504 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12505 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12506 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12508 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12509 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12510 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12511 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12512 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12513 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12514 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12515 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12516 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12517 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12518 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12519 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12520 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12521 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12522 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12523 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12524 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12525 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12526 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12527 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12528 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12529 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12530 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12531 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12532 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12533 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12534 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12535 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12536 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12538 2014-06-25 Roland McGrath <roland@hack.frob.com>
12540 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12541 that was previously under [RESET_PID].
12542 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12544 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12546 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12547 not undefine and redefine.
12548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12549 [O_CLOEXEC]: Make code unconditional.
12550 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12551 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12552 <kernel-features.h>.
12553 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12554 conditional variable definition.
12555 (shm_open) [O_CLOEXEC]: Make code unconditional.
12556 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12559 * configure.ac (USE_REGPARMS): Don't define here.
12560 * configure: Regenerated.
12561 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12562 * sysdeps/i386/configure: Regenerated.
12564 * nptl/createthread.c: Don't include kernel-features.h.
12565 * nptl/pthread_cancel.c: Likewise.
12566 * nptl/pthread_condattr_setclock.c: Likewise.
12567 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12568 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12569 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12570 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12571 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12572 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12573 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12574 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12575 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12576 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12577 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12578 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12579 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12580 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12581 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12582 * nscd/gai.c: Likewise.
12583 * nss/nss_db/db-open.c: Likewise.
12584 * sysdeps/generic/ldsodefs.h: Likewise.
12585 * sysdeps/sh/nptl/tls.h: Likewise.
12586 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12587 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12588 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12589 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12590 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12591 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12592 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12593 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12594 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12595 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12596 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12597 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12598 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12599 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12600 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12601 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12602 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12603 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12604 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12605 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12606 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12607 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12608 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12609 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12610 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12611 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12612 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12613 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12614 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12615 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12616 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12617 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12618 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12619 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12620 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12621 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12622 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12623 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12624 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12625 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12626 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12627 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12628 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12629 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12630 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12631 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12632 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12633 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12634 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12635 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12636 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12637 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12638 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12639 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12640 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12641 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12642 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12643 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12666 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12667 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12668 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12669 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12670 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12671 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12672 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12673 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12674 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12675 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12676 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12677 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12678 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12679 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12680 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12681 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12682 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12683 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12684 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12685 * sysdeps/unix/sysv/linux/system.c: Likewise.
12686 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12687 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12688 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12689 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12690 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12691 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12692 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12694 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12695 * configure: Regenerated.
12696 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12698 * configure.ac (base_machine): Do not set specially for particular
12700 * configure: Regenerated.
12701 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12702 settings from configure.ac.
12703 * sysdeps/i386/preconfigure: New file.
12704 * sysdeps/s390/preconfigure: Likewise.
12705 * sysdeps/sh/preconfigure: Likewise.
12706 * sysdeps/sparc/preconfigure: Likewise.
12708 2014-06-25 Roland McGrath <roland@hack.frob.com>
12710 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12711 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12712 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12713 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12714 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12715 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12716 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12717 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12718 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12719 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12720 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12721 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12722 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12723 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12724 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12725 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12726 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12727 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12728 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12730 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12731 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12732 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12733 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12734 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12735 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12736 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12737 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12738 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12739 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12740 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12741 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12742 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12743 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12744 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12745 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12746 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12747 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12748 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12749 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12750 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12751 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12752 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12753 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12754 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12755 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12756 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12757 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12758 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12759 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12760 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12761 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12762 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12763 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12764 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12765 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12766 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12767 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12770 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12772 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12775 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12778 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12780 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12783 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12785 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12787 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12789 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12792 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12795 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12797 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12800 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12802 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12804 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12806 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12808 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12811 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12814 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12816 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12819 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12821 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12823 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12825 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12828 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12831 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12833 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12836 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12838 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12840 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12842 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12844 * timezone/checktab.awk: Update from tzcode 2014e.
12845 * timezone/private.h: Likewise.
12846 * timezone/tzfile.h: Likewise.
12847 * timezone/zdump.c: Likewise.
12848 * timezone/zic.c: Likewise.
12850 * sysdeps/unix/sysv/linux/kernel-features.h
12851 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12852 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12853 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12854 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12855 Remove conditional code.
12857 2014-06-25 Will Newton <will.newton@linaro.org>
12859 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12860 (_dl_arm_cap_flags): Add HWCAP2 values.
12861 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12862 (_DL_HWCAP_COUNT): Increase to 37.
12863 (_DL_HWCAP_LAST): New define.
12864 (_DL_HWCAP2_LAST): New define.
12865 (_dl_procinfo): Add support for printing
12867 (_dl_string_hwcap): Use _dl_hwcap_string.
12869 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12873 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12875 * README: Do not mention ports directory.
12877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12879 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12880 <kernel-features.h>.
12881 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12882 conditional variable definition.
12883 (__futimes): Update comment.
12884 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12885 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12888 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12889 arguments close to 0.
12890 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12892 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12894 * math/auto-libm-test-in: Add more tests of exp10.
12895 * math/auto-libm-test-out: Regenerated.
12896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12898 * sysdeps/unix/sysv/linux/kernel-features.h
12899 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12900 * sysdeps/unix/sysv/linux/readv.c: Do not include
12901 <kernel-features.h>.
12902 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12903 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12904 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12906 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12908 * sysdeps/unix/sysv/linux/writev.c: Do not include
12909 <kernel-features.h>.
12910 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12911 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12912 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12914 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12917 2014-06-25 Will Newton <will.newton@linaro.org>
12919 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12920 comment changes throughout the file. Remove checks
12921 for HAVE_*_H definitions that are not required.
12922 (__gen_tempname): Call abort if an unknown kind value is
12925 2014-06-25 Andreas Schwab <schwab@suse.de>
12928 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12929 scalbln, scalblnf, scalblnl in libc.
12931 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12934 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12935 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12936 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12938 2014-06-24 Roland McGrath <roland@hack.frob.com>
12940 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12941 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12942 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12943 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12945 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12946 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12948 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12949 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12950 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12951 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12952 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12953 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12954 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12955 * sysdeps/x86/bits/semaphore.h: ... here.
12956 * sysdeps/x86/nptl/elide.h: Moved ...
12957 * sysdeps/x86/elide.h: ... here.
12958 * sysdeps/x86_64/nptl/Implies: File removed.
12959 * sysdeps/i386/nptl/Implies: File removed.
12961 2014-06-24 Joseph Myers <joseph@codesourcery.com>
12964 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12965 return the argument for normal arguments with exponent below -64.
12966 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12968 * math/auto-libm-test-in: Add another test of expm1.
12969 * math/auto-libm-test-out: Regenerated.
12972 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12973 calling __erfcl for arguments at least 16.
12974 * math/auto-libm-test-in: Add more tests of erf.
12975 * math/auto-libm-test-out: Regenerated.
12977 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12978 individual architectures.
12979 * sysdeps/unix/sysv/linux/configure: Regenerated.
12980 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12981 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12982 * sysdeps/unix/sysv/linux/powerpc/configure.ac
12983 (ldd_rewrite_script): Define variable.
12984 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12989 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12990 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12991 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12992 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12993 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12994 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12995 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12996 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12998 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13001 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13002 Rename member __data.d to __data.__elision_data.
13004 2014-06-24 Wilco <wdijkstr@arm.com>
13006 * NEWS: Add 16918 to fixed bug list.
13008 2014-06-24 Wilco <wdijkstr@arm.com>
13010 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13012 2014-06-24 Wilco <wdijkstr@arm.com>
13014 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13015 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13016 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13017 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13018 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13019 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13020 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13023 2014-06-24 Wilco <wdijkstr@arm.com>
13025 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13027 2014-06-24 Wilco <wdijkstr@arm.com>
13029 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13030 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13031 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13032 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13034 2014-06-24 Wilco <wdijkstr@arm.com>
13037 * sysdeps/arm/feupdateenv.c (feupdateenv):
13038 Rewrite to reduce FPSCR accesses and fix return value.
13040 2014-06-24 Wilco <wdijkstr@arm.com>
13042 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13043 Optimize to avoid unnecessary FPSCR writes.
13044 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13045 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13046 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13047 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13049 2014-06-24 Wilco <wdijkstr@arm.com>
13051 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13052 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13053 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13054 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13055 Call libc_fetestexcept_vfp.
13056 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13057 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13058 __SOFTFP__ ifdef so that they can be built for softfp.
13060 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13062 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13063 argument type signed char.
13065 * Makerules (check-abi): Dump diff of symlist if the test
13068 2014-06-23 Roland McGrath <roland@hack.frob.com>
13070 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13073 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13074 Remove unused variable ST.
13076 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13080 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13081 small arguments before calling __expm1.
13082 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13083 small arguments before calling __expm1f.
13084 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13085 small arguments before calling __expm1l.
13086 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13088 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13089 * math/auto-libm-test-in: Add more cosh tests. Do not allow
13090 spurious underflow for some cosh tests.
13091 * math/auto-libm-test-out: Regenerated.
13092 * sysdeps/i386/fpu/libm-test-ulps: Update.
13095 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13096 (__ieee754_y1): Set errno if return value overflows.
13097 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13098 (__ieee754_y1f): Set errno if return value overflows.
13099 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13100 (__ieee754_y1l): Set errno if return value overflows.
13101 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13102 (__ieee754_y1l): Set errno if return value overflows.
13103 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13104 * math/auto-libm-test-out: Regenerated.
13106 * math/gen-auto-libm-tests.c: Document use of
13107 ignore-zero-inf-sign.
13108 (input_flag_type): Add value flag_ignore_zero_inf_sign.
13109 (input_flags): Add ignore-zero-inf-sign.
13110 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13111 * math/gen-libm-test.pl (generate_testfile): Handle
13112 ignore-zero-inf-sign.
13113 * math/auto-libm-test-in: Mark some cpow tests with
13114 ignore-zero-inf-sign and some with xfail-rounding.
13115 * math/auto-libm-test-out: Regenerated.
13116 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13117 * sysdeps/i386/fpu/libm-test-ulps: Update.
13118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13121 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13122 overflowing or underflowing operations take place with sign of
13124 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13125 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13126 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13127 (__ieee754_pow): Recompute overflowing and underflowing results in
13128 original rounding mode.
13129 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13130 (__powl_helper): Allow negative argument X and scale negated value
13131 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13132 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13133 overflowing or underflowing operations take place with sign of
13135 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13137 * math/auto-libm-test-in: Add more tests of pow.
13138 * math/auto-libm-test-out: Regenerated.
13139 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13140 (pow_tonearest_test_data): Remove.
13141 (pow_test_tonearest): Likewise.
13142 (pow_towardzero_test_data): Likewise.
13143 (pow_test_towardzero): Likewise.
13144 (pow_downward_test_data): Likewise.
13145 (pow_test_downward): Likewise.
13146 (pow_upward_test_data): Likewise.
13147 (pow_test_upward): Likewise.
13148 (main): Don't call removed functions.
13149 * sysdeps/i386/fpu/libm-test-ulps: Update.
13150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13152 2014-06-23 Roland McGrath <roland@hack.frob.com>
13154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13328 2014-06-23 Will Newton <will.newton@linaro.org>
13329 Wilco <wdijkstr@arm.com>
13331 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13332 implementation. Include get-rounding-mode.h.
13333 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13334 [!libc_feholdsetround_noex_ctx]: Define
13335 libc_feholdsetround_noex_ctx.
13336 [!libc_feholdsetround_noexf_ctx]: Define
13337 libc_feholdsetround_noexf_ctx.
13338 [!libc_feholdsetround_noexl_ctx]: Define
13339 libc_feholdsetround_noexl_ctx.
13340 (libc_feholdsetround_ctx): New function.
13341 (libc_feresetround_ctx): New function.
13342 (libc_feholdsetround_noex_ctx): New function.
13343 (libc_feresetround_noex_ctx): New function.
13345 2014-06-23 Roland McGrath <roland@hack.frob.com>
13347 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13348 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13349 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13350 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13351 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13352 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13354 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13355 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13356 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13357 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13358 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13359 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13360 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13361 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13362 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13363 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13364 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13366 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13368 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13369 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13370 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13371 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13372 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13374 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13375 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13376 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13377 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13378 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13379 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13380 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13381 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13383 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13384 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13386 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13387 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13388 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13389 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13391 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13392 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13393 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13394 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13395 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13396 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13397 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13398 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13399 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13400 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13402 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13404 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13405 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13406 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13407 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13408 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13409 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13410 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13411 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13412 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13413 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13414 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13415 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13416 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13418 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13419 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13420 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13421 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13422 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13423 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13425 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13427 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13428 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13429 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13431 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13432 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13433 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13434 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13435 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13436 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13437 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13438 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13439 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13440 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13441 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13442 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13443 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13444 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13445 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13446 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13447 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13448 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13449 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13450 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13451 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13452 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13453 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13454 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13455 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13456 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13457 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13458 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13460 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13462 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13463 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13464 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13465 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13466 (IPV6_PMTUDISC_INTERFACE): Likewise.
13467 (IPV6_PMTUDISC_OMIT): Likewise.
13469 2014-06-23 Andreas Schwab <schwab@suse.de>
13471 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13472 Remove unused errout label.
13474 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13476 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13477 macro: hardware supports Vector Crypto instructions.
13479 2014-06-23 Will Newton <will.newton@linaro.org>
13481 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13482 rather than __builtin_expect.
13484 * elf/dl-lookup.c (undefined_msg): Remove variable.
13485 (_dl_lookup_symbol_x): Replace undefined_msg with string
13488 * elf/dl-lookup.c (do_lookup_unique): New function.
13489 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13490 to a separate function.
13492 2014-06-23 Andreas Schwab <schwab@suse.de>
13495 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13496 before reading the next line.
13498 2014-06-23 Will Newton <will.newton@linaro.org>
13500 * test-skeleton.c (signal_handler): Use printf and %m
13501 rather than perror. Use printf rather than fprintf to
13502 stderr. Use puts rather than fputs to stderr.
13505 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13507 * nscd/nscd.c (thread_info_t): Remove typedef.
13508 (thread_info): Remove variable.
13510 2014-06-21 Allan McRae <allan@archlinux.org>
13512 * NEWS: Mention CVE-2014-4043.
13514 2014-06-20 Roland McGrath <roland@hack.frob.com>
13516 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13517 * nptl/smp.h: ... here.
13519 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13521 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13522 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13523 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13524 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13526 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13527 * nptl/stack-aliasing.h: New file.
13528 * sysdeps/i386/i686/stack-aliasing.h: New file.
13529 * sysdeps/i386/i686/nptl/Makefile: File removed.
13530 * sysdeps/x86_64/stack-aliasing.h: New file.
13531 * sysdeps/x86_64/nptl/Makefile
13532 (CFLAGS-pthread_create.c): Variable removed.
13534 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13535 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13537 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13538 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13541 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13543 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13544 (__ASSUME_SIGFRAME_V2): Remove macro.
13545 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13546 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13547 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13548 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13549 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13550 Declare as function. Remove conditional macro definitions.
13551 (__default_rt_sa_restorer): Likewise.
13552 (__default_sa_restorer_v1): Remove declaration.
13553 (__default_sa_restorer_v2): Likewise.
13554 (__default_rt_sa_restorer_v1): Likewise.
13555 (__default_rt_sa_restorer_v2): Likewise.
13556 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13557 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13558 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13560 2014-06-20 Roland McGrath <roland@hack.frob.com>
13562 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13563 (libpthread-routines): Add sysdep.
13564 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13565 * sysdeps/unix/sysv/linux/sparc/Versions
13566 (libpthread: GLIBC_2.3.3): New version set.
13567 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13568 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13569 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13570 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13571 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13572 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13574 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13575 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13576 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13577 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13578 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13579 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13580 * sysdeps/sparc/nptl/sem_init.c: ... here.
13581 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13582 * sysdeps/sparc/nptl/sem_post.c: ... here.
13583 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13584 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13585 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13586 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13587 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13588 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13589 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13590 (libpthread-routines): Add cpu_relax.
13591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13593 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13594 (librt: GLIBC_2.3.3): New version set.
13595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13596 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13597 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13598 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13601 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13604 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13606 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13608 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13610 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13612 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13615 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13619 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13623 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13627 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13631 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13635 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13638 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13642 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13644 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13646 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13649 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13651 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13652 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13653 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13655 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13657 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13658 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13659 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13660 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13661 * nscd/nscd.c: Likewise.
13662 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13663 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13664 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13665 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13667 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13668 <kernel-features.h>.
13669 (init_mq_netlink): Remove conditional have_sock_cloexec
13670 definitions. Remove code conditional on have_sock_cloexec < 0.
13671 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13672 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13673 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13674 <kernel-features.h>.
13675 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13676 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13678 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13681 Add tests for memset_chk and memset.
13683 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13686 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13689 * elf/tst-dl-iter-static.c: New file.
13690 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13692 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13695 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13697 * sysdeps/unix/sysv/linux/kernel-features.h
13698 (__ASSUME_F_GETOWN_EX): Remove macro.
13699 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13700 <kernel-features.h>.
13701 (miss_F_GETOWN_EX): Remove variable or macro.
13702 (do_fcntl): Do not check miss_F_GETOWN_EX.
13703 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13705 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13708 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13709 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13711 * sysdeps/unix/sysv/linux/kernel-features.h
13712 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13713 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13714 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13715 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13717 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13720 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13721 Fix calculation of the symbol's value.
13722 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13723 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13724 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13725 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13726 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13727 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13728 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13729 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13730 (modules-names): Add `tst-armtlsdescmod',
13731 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13732 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13733 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13734 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13735 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13736 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13737 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13738 ($(objpfx)tst-armtlsdescloc): New dependency.
13739 ($(objpfx)tst-armtlsdescextnow): Likewise.
13740 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13741 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13742 TLS scheme support.
13743 * sysdeps/arm/configure: Regenerate.
13745 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13747 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13748 (__atfct_seterrno_2): Likewise.
13749 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13750 <kernel-features.h>.
13751 (__ASSUME_ATFCTS): Do not undefine and redefine.
13752 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13753 (__have_atfcts): Remove conditional definition.
13754 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13755 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13756 unreachable if [__ASSUME_ATFCTS].
13757 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13758 not undefine and redefine.
13759 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13760 <kernel-features.h>.
13761 (faccessat) [__NR_faccessat]: Make code unconditional.
13762 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13763 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13764 <kernel-features.h>.
13765 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13766 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13767 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13768 <kernel-features.h>.
13769 (fchownat) [__NR_fchownat]: Make code unconditional.
13770 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13771 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13772 <kernel-features.h>.
13773 (futimesat) [__NR_futimesat]: Make code unconditional.
13774 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13775 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13776 <kernel-features.h>.
13777 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13778 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13779 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13780 <kernel-features.h>.
13781 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13782 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13783 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13784 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13785 <kernel-features.h>.
13786 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13787 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13788 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13789 <kernel-features.h>.
13790 (linkat) [__NR_linkat]: Make code unconditional.
13791 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13792 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13793 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13794 <kernel-features.h>.
13795 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13796 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13797 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13798 <kernel-features.h>.
13799 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13800 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13801 * sysdeps/unix/sysv/linux/openat.c: Do not include
13802 <kernel-features.h>.
13803 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13804 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13805 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13806 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13807 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13808 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13809 <kernel-features.h>.
13810 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13811 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13812 result of INLINE_SYSCALL directly, not via int variable.
13813 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13814 <kernel-features.h>.
13815 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13816 (renameat) [__NR_renameat]: Make code unconditional.
13817 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13818 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13819 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13820 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13821 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13822 (__ASSUME_ATFCTS): Do not undefine and redefine.
13823 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13824 <kernel-features.h>.
13825 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13826 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13827 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13828 <kernel-features.h>.
13829 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13830 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13831 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13832 (__ASSUME_ATFCTS): Do not undefine and redefine.
13833 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13834 <kernel-features.h>.
13835 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13836 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13837 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13838 <kernel-features.h>.
13839 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13840 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13842 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13844 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13846 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13849 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13850 constructed tree before returning error.
13851 * posix/bug-regexp36.c: Expand test case.
13853 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13856 * math/libm-test.inc (scalbln_test_date):
13857 Add errno expectations.
13858 * math/w_scalblnf.c: New File.
13859 Add wrapper which checks for setting errno to ERANGE.
13860 Add weak_alias for corresponding scalbln function.
13861 * math/w_scalbln.c: Likewise.
13862 * math/w_scalblnl.c: Likewise.
13863 * math/Makefile (libm-calls): Add w_scalbln.
13864 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13865 Remove weak_alias for corresponding scalbln function.
13866 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13868 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13870 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13871 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13872 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13873 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13874 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13875 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13876 Remove long_double_symbol for scalblnl function in libm, libc.
13877 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13878 Add wrapper which checks for setting errno to ERANGE.
13879 Add long_double_symbol for scalblnl function in libm, libc.
13880 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13881 Remove long_double_symbol for scalblnl in libm.
13882 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13883 Add wrapper which checks for setting errno to ERANGE.
13884 Add long_double_symbol for scalblnl function in libm.
13885 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13886 Do not use wrapper because of own implementation.
13888 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13890 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13891 3 bytes for __pad1 for x32.
13892 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13894 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13895 H.J. Lu <hongjiu.lu@intel.com>
13897 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13898 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13899 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13900 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13901 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13903 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13906 * posix/regcomp.c (parse_expression): Deallocate partially
13907 constructed tree before returning error.
13908 * posix/Makefile.c (tests): Add bug-regex36.
13909 (generated): Add bug-regex36.mtrace.
13910 (tests-special): Add $(objpfx)bug-regex36-mem.out
13911 (bug-regex36-ENV): New variable.
13912 ($(objpfx)bug-regex36-mem.out): New rule.
13913 * posix/bug-regex36.c: New file.
13915 2014-06-19 Will Newton <will.newton@linaro.org>
13917 * malloc/malloc.c (systrim): If extra is zero then return
13920 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13922 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13924 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
13926 * sysdeps/aarch64/strchr.S: New file.
13928 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13931 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13932 from arguments -2 or below.
13933 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13934 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13936 2014-06-18 Andreas Schwab <schwab@suse.de>
13939 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13940 of a bracket expr not to run off the end of the string.
13941 * posix/Makefile (tests): Add tst-fnmatch3.
13942 * posix/tst-fnmatch3.c: New file.
13944 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13946 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13947 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13948 [$(cross-compiling) = no]: Likewise.
13949 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13950 [$(cross-compiling) = no]: Likewise.
13952 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13955 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13956 double, adjusted for any remainder from the high double.
13957 * math/libm-test.inc (nearbyint): Add tests.
13960 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13962 * nptl/sysdeps/powerpc/Makefile: Moved ...
13963 * sysdeps/powerpc/nptl/Makefile: ... here.
13964 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13965 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13966 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13967 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13968 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13969 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13970 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13971 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13972 * nptl/sysdeps/powerpc/tls.h: Moved ...
13973 * sysdeps/powerpc/nptl/tls.h: ... here.
13975 2014-06-16 Joseph Myers <joseph@codesourcery.com>
13978 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13979 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13980 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13981 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13982 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13983 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13984 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13985 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13986 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13988 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
13990 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13992 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
13994 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13997 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14000 2014-06-16 Florian Weimer <fweimer@redhat.com>
14003 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14004 non-executed part of the test.
14006 2014-06-16 Andreas Schwab <schwab@suse.de>
14008 * string/bits/string2.h (strdup, strndup): Update feature guard.
14010 2014-06-14 David S. Miller <davem@davemloft.net>
14012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14014 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
14016 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14017 that was previously under [RESET_PID].
14018 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14020 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14021 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14022 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14023 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14024 (__libc_vfork): New strong alias.
14025 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14027 2014-06-14 Andi Kleen <ak@linux.intel.com>
14029 * sysdeps/generic/elide.h: New file.
14031 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14033 * Makefile (installed-headers): Adjust path of pthread.h header.
14035 2014-06-13 Roland McGrath <roland@hack.frob.com>
14037 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14038 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14039 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14040 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14042 * nptl/sysdeps/s390/Makefile: Moved ...
14043 * sysdeps/s390/nptl/Makefile: ... here.
14044 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14045 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14046 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14047 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14048 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14049 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14050 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14051 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14052 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14053 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14054 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14055 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14056 * nptl/sysdeps/s390/tls.h: Moved ...
14057 * sysdeps/s390/nptl/tls.h: ... here.
14059 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14060 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14062 2014-06-13 David S. Miller <davem@davemloft.net>
14064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14066 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14067 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14070 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14071 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14072 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14073 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14074 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14075 Remove RESET_PID cpp guards.
14076 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14077 Remove RESET_PID cpp guards.
14078 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14080 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14082 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14085 2014-06-13 Andi Kleen <ak@linux.intel.com>
14087 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14088 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14089 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14090 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14091 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14092 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14093 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14094 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14095 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14096 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14097 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14098 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14099 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14100 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14101 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14102 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14103 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14104 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14105 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14106 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14108 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14109 (pthread_rwlock_rdlock): Add elision.
14110 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14111 (pthread_rwlock_wrlock): Add elision.
14112 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14113 (pthread_rwlock_trywrlock): Add elision.
14114 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14115 (pthread_rwlock_tryrdlock): Add elision.
14116 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14117 (pthread_rwlock_tryrdlock): Add elision unlock.
14118 * nptl/sysdeps/pthread/pthread.h:
14119 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14120 (PTHREAD_RWLOCK_INITIALIZER,
14121 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14122 Handle new elision field.
14123 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14124 * sysdeps/arm/nptl/bits/pthreadtypes.h
14125 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14126 * sysdeps/sh/nptl/bits/pthreadtypes.h
14127 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14128 * sysdeps/tile/nptl/bits/pthreadtypes.h
14129 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14130 * sysdeps/a/nptl/bits/pthreadtypes.h
14131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14132 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14133 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14134 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14135 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14136 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14137 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14138 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14139 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14140 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14141 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14142 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14143 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14144 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14146 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14147 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14148 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14149 (elision_init): Set try_xbegin to zero when no RTM.
14150 * sysdeps/x86/nptl/bits/pthreadtypes.h
14151 (pthread_rwlock_t): Change __pad1 to __rwelision.
14152 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14154 2014-06-13 Andi Kleen <ak@linux.intel.com>
14156 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14157 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14158 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14159 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14161 2014-06-13 Meador Inge <meadori@codesourcery.com>
14164 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14165 that the cached result has been set before returning it.
14167 2014-06-12 Roland McGrath <roland@hack.frob.com>
14169 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14170 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14171 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14172 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14173 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14174 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14176 * nptl/sysdeps/sparc/Makefile: Moved ...
14177 * sysdeps/sparc/nptl/Makefile: ... here.
14178 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14179 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14180 * nptl/sysdeps/sparc/tls.h: Moved ...
14181 * sysdeps/sparc/nptl/tls.h: ... here.
14182 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14183 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14184 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14185 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14186 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14187 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14188 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14189 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14190 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14191 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14192 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14193 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14194 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14195 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14196 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14197 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14198 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14199 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14201 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14202 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14204 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14205 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14207 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14208 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14211 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14213 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14214 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14216 * sysdeps/pthread/posix-timer.h: Include <list.h>.
14217 (struct list_links): Type removed.
14218 (struct thread_node, struct timer_node): Replace struct list_links
14219 with struct list_head.
14220 (list_unlink_ip): Likewise.
14221 * sysdeps/pthread/timer_routines.c
14222 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14223 (list_append, list_insbefore): Likewise.
14224 (list_init): Function removed.
14225 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14226 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14227 * sysdeps/pthread/Makefile: ... here, new file.
14229 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14230 * sysdeps/nptl/Implies: ... here.
14231 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14232 * nptl/sysdeps/pthread/list.h: Moved ...
14233 * include/list.h: ... here.
14234 * nptl/sysdeps/pthread/createthread.c: Moved ...
14235 * nptl/createthread.c: ... here.
14236 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14237 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14238 * nptl/pt-longjmp.c: ... here.
14239 * nptl/sysdeps/pthread/Makefile: Moved ...
14240 * sysdeps/nptl/Makefile: ... here.
14241 * nptl/sysdeps/pthread/Subdirs: Moved ...
14242 * sysdeps/nptl/Subdirs: ... here.
14243 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14244 * sysdeps/nptl/aio_misc.h: ... here.
14245 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14246 * sysdeps/nptl/bits/libc-lock.h: ... here.
14247 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14248 * sysdeps/nptl/bits/libc-lockP.h: ... here.
14249 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14250 * sysdeps/nptl/bits/stdio-lock.h: ... here.
14251 * nptl/sysdeps/pthread/configure: Moved ...
14252 * sysdeps/nptl/configure: ... here.
14253 * nptl/sysdeps/pthread/configure.ac: Moved ...
14254 * sysdeps/nptl/configure.ac: ... here.
14255 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14256 * sysdeps/nptl/gai_misc.h: ... here.
14257 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14258 * sysdeps/nptl/librt-cancellation.c: ... here.
14259 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14260 * sysdeps/nptl/malloc-machine.h: ... here.
14261 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14262 * sysdeps/nptl/pthread-functions.h: ... here.
14263 * nptl/sysdeps/pthread/pthread.h: Moved ...
14264 * sysdeps/nptl/pthread.h: ... here.
14265 * nptl/sysdeps/pthread/setxid.h: Moved ...
14266 * sysdeps/nptl/setxid.h: ... here.
14267 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14268 * sysdeps/nptl/sigfillset.c: ... here.
14269 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14270 * sysdeps/nptl/tcb-offsets.h: ... here.
14271 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14272 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14273 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14274 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14275 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14276 * sysdeps/pthread/allocalim.h: ... here.
14277 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14278 * sysdeps/pthread/bits/sigthread.h: ... here.
14279 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14280 * sysdeps/pthread/flockfile.c: ... here.
14281 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14282 * sysdeps/pthread/ftrylockfile.c: ... here.
14283 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14284 * sysdeps/pthread/funlockfile.c: ... here.
14285 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14286 * sysdeps/pthread/posix-timer.h: ... here.
14287 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14288 * sysdeps/pthread/timer_create.c: ... here.
14289 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14290 * sysdeps/pthread/timer_delete.c: ... here.
14291 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14292 * sysdeps/pthread/timer_getoverr.c: ... here.
14293 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14294 * sysdeps/pthread/timer_gettime.c: ... here.
14295 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14296 * sysdeps/pthread/timer_routines.c: ... here.
14297 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14298 * sysdeps/pthread/timer_settime.c: ... here.
14299 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14300 * sysdeps/pthread/tst-timer.c: ... here.
14301 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14302 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14304 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14305 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14307 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14308 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14309 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14310 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14311 Update #include target.
14312 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14313 * sysdeps/i386/i686/nptl/Makefile: ... here.
14314 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14315 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14316 Update #include target.
14317 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14318 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14319 * nptl/sysdeps/i386/Makefile: Moved ...
14320 * sysdeps/i386/nptl/Makefile: ... here.
14321 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14322 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14323 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14324 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14325 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14326 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14327 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14328 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14329 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14330 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14331 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14332 * nptl/sysdeps/i386/tls.h: Moved ...
14333 * sysdeps/i386/nptl/tls.h: ... here.
14335 * sysdeps/sh/Makefile [$(subdir) = csu]
14336 (gen-as-const-headers): Add tcb-offsets.sym.
14337 * nptl/sysdeps/sh/Makefile: File removed.
14338 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14339 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14340 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14341 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14342 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14343 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14344 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14345 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14346 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14347 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14348 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14349 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14350 * nptl/sysdeps/sh/tls.h: Moved ...
14351 * sysdeps/sh/nptl/tls.h: ... here.
14352 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14353 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14354 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14355 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14356 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14357 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14358 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14359 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14360 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14361 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14362 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14363 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14364 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14365 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14366 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14367 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14368 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14369 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14370 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14371 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14372 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14373 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14374 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14375 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14376 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14378 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14379 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14381 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14382 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14383 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14384 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14385 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14386 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14387 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14388 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14389 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14390 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14391 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14392 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14393 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14394 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14395 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14396 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14397 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14398 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14399 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14401 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14403 * posix/spawn_faction_addopen.c: Include string.h.
14405 2014-06-11 Roland McGrath <roland@hack.frob.com>
14407 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14408 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14409 * nptl/sysdeps/x86_64/Makefile: Moved ...
14410 * sysdeps/x86_64/nptl/Makefile: ... here.
14411 * nptl/sysdeps/x86_64/configure: Moved ...
14412 * sysdeps/x86_64/nptl/configure: ... here.
14413 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14414 * sysdeps/x86_64/nptl/configure.ac: ... here.
14415 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14416 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14417 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14418 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14419 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14420 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14421 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14422 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14423 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14424 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14425 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14426 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14427 * nptl/sysdeps/x86_64/tls.h: Moved ...
14428 * sysdeps/x86_64/nptl/tls.h: ... here.
14429 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14430 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14431 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14432 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14434 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14436 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14440 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14442 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14444 [POSIX] (off_t): Likewise.
14445 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14446 [POSIX] (S_ISBLK): Require macro.
14447 [POSIX] (S_ISCHR): Likewise.
14448 [POSIX] (S_ISDIR): Likewise.
14449 [POSIX] (S_ISFIFO): Likewise.
14450 [POSIX] (S_ISREG): Likewise.
14451 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14453 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14455 [POSIX] (time_t): Likewise.
14456 [POSIX] (timer_t): Likewise.
14458 2014-06-11 Florian Weimer <fweimer@redhat.com>
14461 * posix/spawn_int.h (struct __spawn_action): Make the path string
14462 non-const to support deallocation.
14463 * posix/spawn_faction_addopen.c
14464 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14465 * posix/spawn_faction_destroy.c
14466 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14467 path in all spawn_do_open actions.
14468 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14469 posix_spawn_file_actions_addopen.
14471 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14473 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14474 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14475 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14476 conditional code always true.
14477 (__libc_vfork): New alias.
14479 2014-06-11 Roland McGrath <roland@hack.frob.com>
14481 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14482 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14484 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14486 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14487 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14489 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14490 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14492 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14493 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14495 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14497 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14498 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14499 multiarch strcmp for PPC64.
14500 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14501 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14503 multiarch optimizations.
14504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14505 (__libc_ifunc_impl_list): Likewise.
14507 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14509 * benchtests/scripts/validate_benchout.py: New script.
14510 * benchtests/Makefile (bench-func): Call it.
14511 * benchtests/scripts/benchout.schema.json: New file.
14513 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14515 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14516 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14517 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14518 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14519 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14520 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14521 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14522 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14523 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14524 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14525 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14526 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14527 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14528 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14529 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14530 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14635 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14636 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14637 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14638 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14640 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14642 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14643 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14644 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14645 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14646 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14647 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14648 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14649 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14650 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14651 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14652 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14653 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14654 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14656 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14657 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14659 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14661 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14664 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14665 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14666 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14667 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14668 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14669 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14670 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14672 2014-06-10 Wilco <wdijkstr@arm.com>
14674 * math/test-fenv-return.c: New file.
14675 * math/Makefile: Add new test test-fenv-return.
14677 2014-06-10 Joseph Myers <joseph@codesourcery.com>
14680 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14681 when x - 1 is zero.
14682 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14683 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14684 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14685 0.0L for an argument of 1.0L.
14686 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14688 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14689 value when x - 1 is zero.
14690 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14691 * sysdeps/i386/fpu/libm-test-ulps: Update.
14692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14694 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14697 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14699 2014-06-09 Roland McGrath <roland@hack.frob.com>
14701 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14702 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14704 2014-06-09 Roland McGrath <roland@hack.frob.com>
14706 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14707 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14709 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14710 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14712 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14713 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14715 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14716 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14718 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14719 if not already defined.
14720 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14721 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14722 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14723 (TLS_INIT_TP): Use it.
14724 (TLS_DEFINE_INIT_TP): New macro.
14725 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14727 2014-06-09 Joseph Myers <joseph@codesourcery.com>
14729 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14731 [POSIX] (IXANY): Likewise.
14732 [POSIX] (OLCUC): Likewise.
14733 [POSIX || POSIX2008] (CBAUD): Do not allow.
14734 [POSIX || POSIX2008] (DEFECHO): Likewise.
14735 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14736 [POSIX || POSIX2008] (ECHOKE): Likewise.
14737 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14738 [POSIX || POSIX2008] (EXTA): Likewise.
14739 [POSIX || POSIX2008] (EXTB): Likewise.
14740 [POSIX || POSIX2008] (FLUSHO): Likewise.
14741 [POSIX || POSIX2008] (LOBLK): Likewise.
14742 [POSIX || POSIX2008] (PENDIN): Likewise.
14743 [POSIX || POSIX2008] (SWTCH): Likewise.
14744 [POSIX || POSIX2008] (VDISCARD): Likewise.
14745 [POSIX || POSIX2008] (VDSUSP): Likewise.
14746 [POSIX || POSIX2008] (VLNEXT): Likewise.
14747 [POSIX || POSIX2008] (VREPRINT): Likewise.
14748 [POSIX || POSIX2008] (VSTATUS): Likewise.
14749 [POSIX || POSIX2008] (VWERASE): Likewise.
14750 (B*): Change to B[0123456789]*.
14751 * conform/data/time.h-data [POSIX || UNIX98]
14752 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14753 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14754 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14755 [POSIX] (tm_*): Do not allow.
14757 2014-06-07 Joseph Myers <joseph@codesourcery.com>
14759 * Makefile (install): Don't set LANGUAGE.
14760 * Makefile.in (install): Likewise.
14761 * assert/Makefile (test-assert-ENV): Remove variable.
14762 (test-assert-perr-ENV): Likewise.
14763 * elf/Makefile (neededtest4-ENV): Likewise.
14764 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14765 [$(cross-compiling) = no]: Don't set LANGUAGE.
14766 * io/ftwtest-sh (LANG): Remove variable.
14767 * libio/Makefile (tst-widetext-ENV): Likewise.
14768 * manual/install.texi (Running make install): Don't refer to
14769 environment settings for make install.
14770 * INSTALL: Regenerated.
14771 * nptl/tst-tls6.sh: Don't set LANG.
14772 * posix/globtest.sh (LANG): Remove variable.
14773 * string/Makefile (tester-ENV): Likewise.
14774 (inl-tester-ENV): Likewise.
14775 (noinl-tester-ENV): Likewise.
14776 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14777 [$(cross-compiling) = no]: Don't set LANGUAGE.
14778 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14779 without explicit environment settings.
14781 2014-06-06 Roland McGrath <roland@hack.frob.com>
14783 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14784 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14785 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14786 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14788 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14790 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14791 other files in the crypt directory.
14792 * crypt/crypt.c: Remove duplicate includes.
14793 * crypt/crypt-entry.c: Likewise.
14794 * crypt/crypt_util.c: Likewise.
14796 2014-06-06 Joseph Myers <joseph@codesourcery.com>
14798 * Makeconfig (run-program-env): New variable.
14799 (run-program-prefix-before-env): Likewise.
14800 (run-program-prefix-after-env): Likewise.
14801 (run-program-prefix): Define in terms of new variables.
14802 (built-program-cmd-before-env): New variable.
14803 (built-program-cmd-after-env): Likewise.
14804 (built-program-cmd): Define in terms of new variables.
14805 (test-program-prefix-before-env): New variable.
14806 (test-program-prefix-after-env): Likewise.
14807 (test-program-prefix): Define in terms of new variables.
14808 (test-program-cmd-before-env): New variable.
14809 (test-program-cmd-after-env): Likewise.
14810 (test-program-cmd): Define in terms of new variables.
14811 * Rules (make-test-out): Use $(run-program-env).
14812 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14813 (help): Do not mention environment variables. Mention
14814 --timeoutfactor option.
14815 (timeoutfactor): New variable.
14816 (blacklist_exports): Remove function.
14817 (exports): Remove variable.
14818 (command): Do not include ${exports}.
14819 * manual/install.texi (Configuring and compiling): Do not mention
14820 test wrappers preserving environment variables. Mention that last
14821 assignment to a variable must take precedence.
14822 * INSTALL: Regenerated.
14823 * benchtests/Makefile (run-bench): Use $(run-program-env).
14824 * catgets/Makefile ($(objpfx)test1.cat): Use
14825 $(built-program-cmd-before-env), $(run-program-env) and
14826 $(built-program-cmd-after-env).
14827 ($(objpfx)test2.cat): Do not specify environment variables
14829 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14830 $(run-program-env) and $(built-program-cmd-after-env).
14831 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14832 $(run-program-env) and $(test-program-cmd-after-env).
14833 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14835 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14836 run_program_env and test_program_cmd_after_env arguments.
14837 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14838 * elf/tst-pathopt.sh: Use run_program_env argument.
14839 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14840 $(test-wrapper-env) and $(run-program-env).
14841 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14842 run_program_env arguments.
14843 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14844 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14845 $(test-program-prefix-before-env), $(run-program-env) and
14846 $(test-program-prefix-after-env).
14847 ($(objpfx)tst-gettext2.out): Likewise.
14848 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14849 run_program_env and test_program_prefix_after_env arguments.
14850 * intl/tst-gettext2.sh: Likewise.
14851 * intl/tst-gettext4.sh: Do not set environment variables
14853 * intl/tst-gettext6.sh: Likewise.
14854 * intl/tst-translit.sh: Likewise.
14855 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14856 $(test-program-prefix-before-env), $(run-program-env) and
14857 $(test-program-prefix-after-env).
14858 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14859 run_program_env and test_program_prefix_after_env arguments.
14860 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14861 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14862 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14863 explicitly with each use of ${test_wrapper_env}.
14864 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14865 $(test-program-prefix-before-env), $(run-program-env) and
14866 $(test-program-prefix-after-env).
14867 * posix/tst-getconf.sh: Do not set environment variables
14869 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14870 run_program_env and test_program_prefix_after_env arguments.
14871 * stdio-common/tst-printf.sh: Do not set environment variables
14873 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14874 $(test-program-prefix-before-env), $(run-program-env) and
14875 $(test-program-prefix-after-env).
14876 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14877 run_program_env and test_program_prefix_after_env arguments.
14878 Split $test calls into $test_pre and $test.
14879 * timezone/Makefile (build-testdata): Use
14880 $(built-program-cmd-before-env), $(run-program-env) and
14881 $(built-program-cmd-after-env).
14883 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14885 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14886 strlen for non SHARED builds.
14888 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14890 * nptl/allocatestack.c (check_list): Inlined function...
14891 (__reclaim_stacks): ... here.
14893 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14896 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14899 2014-06-05 Joseph Myers <joseph@codesourcery.com>
14901 * Rules (make-test-out): Include
14902 LOCPATH=$(common-objpfx)localedata in default environment.
14903 * debug/Makefile (tst-chk1-ENV): Remove variable.
14904 (tst-chk2-ENV): Likewise.
14905 (tst-chk3-ENV): Likewise.
14906 (tst-chk4-ENV): Likewise.
14907 (tst-chk5-ENV): Likewise.
14908 (tst-chk6-ENV): Likewise.
14909 (tst-lfschk1-ENV): Likewise.
14910 (tst-lfschk2-ENV): Likewise.
14911 (tst-lfschk3-ENV): Likewise.
14912 (tst-lfschk4-ENV): Likewise.
14913 (tst-lfschk5-ENV): Likewise.
14914 (tst-lfschk6-ENV): Likewise.
14915 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14916 (tst-iconv7-ENV): Likewise.
14917 * intl/Makefile (LOCPATH-ENV): Likewise.
14918 (tst-codeset-ENV): Likewise.
14919 (tst-gettext3-ENV): Likewise.
14920 (tst-gettext5-ENV): Likewise.
14921 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14922 (tst-fopenloc-ENV): Likewise.
14923 (tst-fgetws-ENV): Remove variable.
14924 (tst-ungetwc1-ENV): Likewise.
14925 (tst-ungetwc2-ENV): Likewise.
14926 (bug-ungetwc2-ENV): Likewise.
14927 (tst-swscanf-ENV): Likewise.
14928 (bug-ftell-ENV): Likewise.
14929 (tst-fgetwc-ENV): Likewise.
14930 (tst-fseek-ENV): Likewise.
14931 (tst-ftell-partial-wide-ENV): Likewise.
14932 (tst-ftell-active-handler-ENV): Likewise.
14933 (tst-ftell-append-ENV): Likewise.
14934 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14935 (tst-regexloc-ENV): Likewise.
14936 (bug-regex1-ENV): Likewise.
14937 (tst-regex-ENV): Likewise.
14938 (tst-regex2-ENV): Likewise.
14939 (bug-regex5-ENV): Likewise.
14940 (bug-regex6-ENV): Likewise.
14941 (bug-regex17-ENV): Likewise.
14942 (bug-regex18-ENV): Likewise.
14943 (bug-regex19-ENV): Likewise.
14944 (bug-regex20-ENV): Likewise.
14945 (bug-regex22-ENV): Likewise.
14946 (bug-regex23-ENV): Likewise.
14947 (bug-regex25-ENV): Likewise.
14948 (bug-regex26-ENV): Likewise.
14949 (bug-regex30-ENV): Likewise.
14950 (bug-regex32-ENV): Likewise.
14951 (bug-regex33-ENV): Likewise.
14952 (bug-regex34-ENV): Likewise.
14953 (bug-regex35-ENV): Likewise.
14954 (tst-rxspencer-ENV): Likewise.
14955 (tst-rxspencer-no-utf8-ENV): Likewise.
14956 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14957 (tst-sscanf-ENV): Likewise.
14958 (tst-swprintf-ENV): Likewise.
14959 (tst-swscanf-ENV): Likewise.
14960 (test-vfprintf-ENV): Likewise.
14961 (scanf13-ENV): Likewise.
14962 (bug14-ENV): Likewise.
14963 (tst-grouping-ENV): Likewise.
14964 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14965 (tst-strtod3-ENV): Likewise.
14966 (tst-strtod4-ENV): Likewise.
14967 (tst-strtod5-ENV): Likewise.
14968 (testmb2-ENV): Likewise./
14969 * string/Makefile (tst-strxfrm-ENV): Likewise.
14970 (tst-strxfrm2-ENV): Likewise.
14971 (bug-strcoll1-ENV): Likewise.
14972 (test-strcasecmp-ENV): Likewise.
14973 (test-strncasecmp-ENV): Likewise.
14974 * time/Makefile (tst-strptime-ENV): Likewise.
14975 (tst-ftime_l-ENV): Likewise.
14976 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14977 (tst-mbrtowc-ENV): Likewise.
14978 (tst-wcrtomb-ENV): Likewise.
14979 (tst-mbrtowc2-ENV): Likewise.
14980 (tst-c16c32-1-ENV): Likewise.
14981 (tst-mbsnrtowcs-ENV): Likewise.
14983 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14985 * manual/resource.texi (How to get information about the memory
14986 subsystem?): Fix typo.
14987 Reported by Peon de la Parra Ivan <peon@keba.com>
14989 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
14992 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14993 (pthread_spin_lock): Branch out of spin loop to proper location.
14994 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14995 (pthread_spin_lock): Likewise.
14997 * nptl/tst-spin4.c: New test.
14998 * nptl/Makefile (tests): Add tst-spin4.
15000 2014-06-03 Andreas Schwab <schwab@suse.de>
15003 * resolv/res_send.c (send_dg): Reload file descriptor after
15006 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
15008 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15010 2014-06-03 Richard Henderson <rth@redhat.com>
15012 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15013 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15014 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15015 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
15016 in the SAVE_PID block.
15017 (__libc_vfork): New alias.
15018 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15020 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15021 child in registers, not on the stack. Remove RESET_PID conditionals.
15022 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15024 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15026 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15028 2014-06-03 Wilco <wdijkstr@arm.com>
15030 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15031 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15032 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15033 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15034 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15037 2014-06-03 Wilco <wdijkstr@arm.com>
15039 * sysdeps/aarch64/fpu/math_private.h
15040 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15041 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15042 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15043 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15046 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15048 * crypt/crypt-private.h: Include ufc-crypt.h.
15049 (__b64_from_24bit): Declare extern.
15050 * crypt/crypt_util.c(__b64_from_24bit): New function.
15051 (b64t): New static const variable.
15052 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15053 (b64t): Remove variable.
15054 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15055 * crypt/sha256-crypt.c: Include crypt-private.h.
15056 (b64t): Remove variable.
15057 (__sha256_crypt_r): Remove b64_from_24bit and replace
15058 with __b64_from_24bit.
15059 * crypt/sha512-crypt.c: Likewise.
15061 2014-06-02 Roland McGrath <roland@hack.frob.com>
15063 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15064 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15065 Label the code __libc_vfork rather than __vfork.
15066 [!NOT_IN_libc] (vfork): Define as weak alias.
15067 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15068 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15069 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15071 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15073 * malloc/malloc.c (malloc_info): Fix format specifier for
15076 2014-06-02 Wilco <wdijkstr@arm.com>
15078 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15081 2014-06-02 Wilco <wdijkstr@arm.com>
15084 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15085 Rewrite to reduce FPCR/FPSR accesses.
15087 2014-06-01 David S. Miller <davem@davemloft.net>
15089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15091 2014-05-31 David S. Miller <davem@davemloft.net>
15093 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15094 to occur in round to nearest mode when |x| >= 2.0
15096 2014-05-30 Richard Henderson <rth@twiddle.net>
15098 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15099 (PSEUDO_RET_NOERRNO): Remove.
15100 (ret): Don't redefine.
15101 (ret_NOERRNO): Define in terms of ret.
15102 (ret_ERRVAL): Likewise.
15104 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15105 use of PSEUDO_RET; perform the error check directly.
15107 2014-05-30 Marko Myllynen <myllynen@redhat.com>
15109 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15112 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15114 * malloc/malloc (malloc_info): Fix formatting.
15116 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15117 Roland McGrath <roland@hack.frob.com>
15119 * malloc/malloc (malloc_info): Also print mmapped statistics.
15121 2014-05-30 Roland McGrath <roland@hack.frob.com>
15123 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15124 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15126 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15128 * malloc/malloc.c (malloc_info): Inline mi_arena.
15130 2014-05-29 Richard Henderson <rth@twiddle.net>
15132 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15133 Remove comma before expanding ASM_ARGS_##nr.
15134 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15135 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15137 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15138 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15139 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15140 (ASM_ARGS_1): Add leading comma.
15142 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15143 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15144 to __errno_location.
15145 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15146 Remove the expected plt for __errno_location.
15148 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15149 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15152 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15153 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15154 it and break it down.
15155 (DOCARGS_0, DOCARGS_1): Do nothing.
15156 (DOCARGS_2): Update to store into the new stack frame.
15157 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15158 (UNDOCARGS_1): Update to restore from the new stack frame.
15159 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15160 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15162 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15163 (SINGLE_THREAD_P): New parameter for result regno.
15164 (PSEUDO): Update to match; use cbz instead of beq.
15166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15167 Use ENTRY to define the _nocancel entry point. Share the syscall
15168 and syscall error check paths with the cancel path.
15171 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15172 whitespace; tabs before and after asm mnemonics.
15174 2014-05-29 Eric Wong <normalperson@yhbt.net>
15177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15178 Call fstat64 or stat64 internally, depending on arguments passed.
15179 Replace stat buffer argument with file descriptor argument.
15180 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15181 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15182 Pass fd to __internal_statvfs instead of calling fstat64.
15183 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15184 Pass fd to __internal_statvfs64 instead of calling fstat64.
15185 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15186 Pass -1 to __internal_statvfs instead of calling stat64.
15187 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15188 Pass -1 to __internal_statvfs64 instead of calling stat64.
15190 2014-05-28 Roland McGrath <roland@hack.frob.com>
15192 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15193 that was previously under [RESET_PID].
15194 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15196 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15197 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15199 2014-05-27 Roland McGrath <roland@hack.frob.com>
15201 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15203 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15204 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15206 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
15208 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15210 2014-05-27 Andreas Schwab <schwab@suse.de>
15212 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15214 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15215 * elf/rtld.c (init_tls, dl_main): Likewise.
15216 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15217 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15218 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15219 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15220 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15221 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15222 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15223 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15224 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15225 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15226 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15227 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15228 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15229 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15230 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15231 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15232 * sysdeps/generic/tls.h: Update description.
15234 2014-05-27 Will Newton <will.newton@linaro.org>
15237 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15238 and restore r2 rather than just restoring.
15240 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15243 * libio/tst-ftell-append.c: New test case.
15244 * libio/Makefile (tests): Add test case.
15245 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15247 * libio/wfileops.c (do_ftell_wide): Likewise.
15249 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15253 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15257 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15258 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15259 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15260 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15261 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15262 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15263 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15269 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15270 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15271 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15272 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15273 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15275 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15276 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15278 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15280 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15282 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15283 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15284 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15286 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15287 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15288 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15289 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15297 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15304 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15307 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15312 conditional [RESET_PID].
15313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15314 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15316 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15321 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15322 (__libc_vfork): New strong alias.
15323 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15330 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15331 (__libc_vfork): New strong alias.
15332 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15334 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15337 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15339 * malloc/malloc.c (mi_arena): New function.
15340 (malloc_info): Remove nested function mi_arena. Call non-nosted
15343 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15345 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15347 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15348 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15349 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15350 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15351 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15352 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15353 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15355 2014-05-26 Andreas Schwab <schwab@suse.de>
15358 * locale/programs/repertoire.c (repertoire_read): Add slash
15359 between I18NPATH element and file name.
15360 * locale/programs/locfile.c (locfile_read): Likewise.
15362 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15364 * nptl/pthread_mutexattr_settype.c
15365 (__pthread_mutexattr_settype):
15366 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15368 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15370 * nptl/tst-mutex5 (do_test):
15371 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15373 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15375 * benchtests/README: Document 'init' directive.
15376 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15378 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15379 (parse_file): Recognize 'init' directive.
15381 2014-05-26 Kyle McMartin <kyle@redhat.com>
15384 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15385 alignment of struct pthread.
15387 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15390 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15391 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15392 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15393 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15395 2014-05-25 Richard Henderson <rth@twiddle.net>
15397 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15398 (SINGLE_THREAD_P_PIC): Remove.
15399 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15400 (SINGLE_THREAD_P_PIC): Remove.
15402 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15403 branch to syscall error ...
15404 (PSEUDO): ... here.
15405 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15406 from __local_syscall_error to .Lsyscall_error.
15407 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15408 (SYSCALL_ERROR): Update label name.
15410 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15411 Do not use DOARGS/UNDOARGS.
15412 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15413 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15414 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15415 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15416 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15418 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15421 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15422 define if !NOT_IN_libc.
15423 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15424 define with non-default symbol versions.
15426 2014-05-23 Richard Henderson <rth@twiddle.net>
15428 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15429 (vfork, __vfork): Define via compat_symbol.
15431 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15432 [!HAVE_IFUNC] (vfork_compat): Remove.
15433 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15435 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15438 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15439 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15442 2014-05-23 Richard Henderson <rth@twiddle.net>
15444 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15445 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15446 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15447 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15449 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15450 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15451 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15452 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15453 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15454 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15455 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15456 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15457 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15458 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15459 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15460 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15461 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15462 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15463 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15464 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15465 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15466 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15467 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15468 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15469 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15470 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15471 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15472 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15473 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15474 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15475 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15476 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15477 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15478 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15479 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15480 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15481 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15482 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15483 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15484 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15485 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15486 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15487 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15488 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15489 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15490 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15491 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15492 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15493 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15494 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15496 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15497 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15498 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15499 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15500 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15501 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15502 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15503 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15504 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15506 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15507 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15508 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15509 before exiting on error.
15510 (__libc_vfork): New strong alias.
15511 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15512 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15514 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15515 that was previously under [RESET_PID].
15516 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15518 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15520 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15523 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15524 value when x - 1 is zero.
15525 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15526 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15527 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15528 0.0L for an argument of 1.0L.
15529 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15531 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15532 value when x - 1 is zero.
15533 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15534 * sysdeps/i386/fpu/libm-test-ulps: Update.
15535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15537 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15539 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15540 alphasort and versionsort.
15542 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15544 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15546 [copysignf]: Likewise.
15548 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15550 * crypt/md5-crypt.c: Fix formatting.
15552 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15554 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15555 (b64_from_24bit): New function.
15557 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15559 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15560 libc_hidden_builtin_def to ifunc.
15561 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15562 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15564 2014-05-21 Roland McGrath <roland@hack.frob.com>
15566 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15567 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15569 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15571 * nscd/Depend (linuxthreads): Remove.
15573 * resolv/Depend (linuxthreads): Remove.
15574 * rt/Depend (linuxthreads): Remove.
15576 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15577 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15578 $(common-objpfx)elf/.
15579 (link-libc-before-gnulib): Likewise.
15580 (elfobjdir): Remove variable.
15581 * Makefile (install): Use $(elf-objpfx) instead of
15582 $(common-objpfx)elf/.
15583 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15585 (link-libc-deps): Likewise.
15586 ($(common-objpfx)libc.so): Likewise.
15587 ($(common-objpfx)linkobj/libc.so): Likewise.
15588 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15589 instead of $(common-objpfx)elf/.
15590 (symbolic-link-list): Likewise.
15591 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15592 [$(cross-compiling) = no]: Likewise.
15593 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15595 (static-gnulib-arch): Likewise.
15596 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15597 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15598 $(common-objpfx)elf/.
15600 2014-05-21 Richard Henderson <rth@redhat.com>
15602 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15603 (SINGLE_THREAD_P): Use the correct width load. Fold
15604 into the ldr offset.
15606 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15607 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15609 2014-05-20 Joseph Myers <joseph@codesourcery.com>
15611 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15612 (libgcc_s_resume): Use __attribute_used__.
15613 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15616 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15618 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15619 optimization when used with float constants.
15621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15623 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15626 * locale/nl_langinfo_l.c: Make direct reference to every
15627 _nl_current_CATEGORY symbol.
15628 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15629 (tests-static): Add tst-langinfo-static.
15630 (tests-special): Add tst-langinfo-static.out.
15631 ($(objpfx)tst-langinfo.out): Redirect output.
15632 ($(objpfx)tst-langinfo-static.out): New.
15633 * localedata/tst-langinfo.sh: Send output to stdout.
15634 * localedata/tst-langinfo-static.c: New file.
15637 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15638 when the shift amount is modulo the limb size.
15640 2014-05-20 Richard Henderson <rth@redhat.com>
15643 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15644 Change type of sa_flags from unsigned int to int.
15647 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15649 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15651 2014-05-20 Will Newton <will.newton@linaro.org>
15653 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15654 Test the return value of the system call in the nocancel case.
15656 2014-05-20 Will Newton <will.newton@linaro.org>
15657 Yvan Roux <yvan.roux@linaro.org>
15659 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15660 #include of asm/ptrace.h.
15661 (PTRACE_GET_THREAD_AREA): Remove #undef.
15662 (PTRACE_GETHBPREGS): Likewise.
15663 (PTRACE_SETHBPREGS): Likewise.
15664 (struct user_regs_struct): New structure.
15665 (struct user_fpsimd_struct): New structure.
15666 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15667 #include of asm/ptrace.h and second #include of sys/user.h.
15668 (PTRACE_GET_THREAD_AREA): Remove #undef.
15669 (PTRACE_GETHBPREGS): Likewise.
15670 (PTRACE_SETHBPREGS): Likewise.
15671 (ELF_NGREG): Use new struct user_regs_struct.
15672 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15674 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15676 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15677 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15679 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15683 membar to avoid block loads/stores to overlap previous stores.
15685 2014-05-17 Richard Henderson <rth@redhat.com>
15687 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15688 Create the __##syscall_name##_nocancel entry point.
15689 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15690 Remove; let the sysdep-cancel.h code create it.
15692 2014-05-17 David S. Miller <davem@davemloft.net>
15694 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15695 Protect with __USE_GNU.
15696 (TIOCSET_TEMPT): Likewise.
15697 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15698 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15699 these are already provided in bits/ioctl-types.h
15701 2014-05-16 Roland McGrath <roland@hack.frob.com>
15703 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15704 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15706 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15707 Use wait4 regardless of [__NR_waitpid].
15709 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15712 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15713 (_FP_NANSIGN_Q): Set the quiet bit.
15715 2014-05-16 Joseph Myers <joseph@codesourcery.com>
15717 * benchtests/Makefile
15718 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15719 not $(common-objpfx)math/libm.so.
15720 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15721 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15722 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15723 $(common-objpfx)dlfcn/libdl.so.
15724 ($(objpfx)tst-audit8): Depend on $(libm), not
15725 $(common-objpfx)math/libm.so.
15726 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15727 not $(common-objpfx)dlfcn/libdl.so.
15729 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15730 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15731 [$(build-shared) = yes].
15732 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15733 $(common-objpfx)nptl/libpthread.so.
15734 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15735 $(common-objpfx)math/libm.so$(libm.so-version) or
15736 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15737 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15738 $(common-objpfx)dlfcn/libdl.so.
15739 * setjmp/Makefile (link-libm): Remove variable.
15740 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15741 * stdio-common/Makefile (link-libm): Remove variable.
15742 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15743 * stdlib/Makefile (link-libm): Remove variable.
15744 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15745 ($(objpfx)tst-strtod-round): Likewise.
15746 ($(objpfx)tst-tininess): Likewise.
15747 ($(objpfx)tst-strtod-underflow): Likewise.
15748 ($(objpfx)tst-strtod6): Likewise.
15749 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15750 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15751 $(common-objpfx)dlfcn/libdl.so.
15753 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15755 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15756 BSD terminal modes definitions.
15758 2014-05-16 Roland McGrath <roland@hack.frob.com>
15760 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15761 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15763 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15764 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15765 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15766 Don't do #include_next.
15767 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15768 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15769 Don't do #include_next.
15770 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15771 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15772 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15773 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15775 2014-05-16 Allan McRae <allan@archlinux.org>
15777 * po/sv.po: Update Swedish translation from translation project.
15779 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15782 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15785 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15786 errno if the TIOCGPTN ioctl fails with an error different than
15788 * login/tst-ptsname.c: New file.
15789 * login/Makefile (tests): Add tst-ptsname.
15792 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15795 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15799 herrno to return EAI_AGAIN.
15801 2014-05-14 Roland McGrath <roland@hack.frob.com>
15803 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15804 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15805 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15806 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15807 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15808 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15809 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15810 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15811 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15812 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15813 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15814 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15815 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15816 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15817 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15818 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15819 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15820 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15821 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15822 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15823 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15824 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15825 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15826 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15827 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15828 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15829 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15830 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15831 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15832 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15834 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15836 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15839 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15841 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15843 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15845 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15847 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15849 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15851 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15853 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15855 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15857 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15859 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15861 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15863 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15865 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15868 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15870 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15872 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15874 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15876 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15878 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15880 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15882 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15884 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15886 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15889 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15891 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15893 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15894 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15895 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15896 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15897 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15898 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15899 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15900 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15901 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15902 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15903 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15904 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15905 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15906 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15907 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15908 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15909 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15910 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15911 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15912 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15913 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15914 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15915 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15916 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15917 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15918 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15919 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15920 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15921 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15922 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15923 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15925 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15926 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15928 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15929 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15930 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15931 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15932 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15933 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15935 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15936 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15938 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15939 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15941 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15942 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15944 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15945 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15946 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15947 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15949 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15950 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15951 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15952 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15953 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15954 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15955 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15956 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15958 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15959 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15961 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15963 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15964 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15965 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15966 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15967 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15969 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15971 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15973 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15974 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15975 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15976 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15977 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15978 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15980 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15981 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15983 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15984 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15986 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15987 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15989 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15990 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15991 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15992 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15994 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15995 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15996 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15997 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15998 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15999 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16000 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16001 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16003 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16004 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16006 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16008 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16009 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16010 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16011 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16012 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16014 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16016 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16018 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16019 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16020 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16021 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16022 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16023 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16024 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16025 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16026 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16027 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16029 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16030 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16032 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16033 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16035 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16036 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16038 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16039 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16040 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16041 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16042 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16043 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16045 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16046 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16047 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16048 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16049 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16050 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16051 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16052 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16054 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16055 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16057 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16059 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16060 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16061 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16062 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16063 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16065 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16067 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16069 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16070 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16071 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16072 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16073 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16074 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16075 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16076 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16077 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16078 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16079 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16081 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16082 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16084 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16085 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16087 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16088 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16089 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16090 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16091 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16092 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16093 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16094 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16095 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16096 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16097 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16098 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16099 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16100 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16101 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16102 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16103 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16104 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16106 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16107 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16108 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16109 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16111 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16112 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16113 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16114 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16115 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16116 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16117 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16120 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16123 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16124 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16125 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16126 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16127 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16129 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16130 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16131 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16132 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16133 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16134 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16135 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16136 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16137 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16138 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16139 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16141 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16142 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16143 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16144 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16145 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16147 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16148 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16149 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16150 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16151 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16152 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16153 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16154 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16155 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16156 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16158 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16159 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16161 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16162 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16163 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16164 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16165 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16166 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16167 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16168 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16169 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16170 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16171 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16172 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16173 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16174 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16179 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16183 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16185 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16187 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16191 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16193 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16195 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16196 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16197 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16198 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16199 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16200 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16201 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16202 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16203 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16204 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16205 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16206 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16207 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16208 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
16209 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
16211 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16212 that was previously under [RESET_PID].
16213 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16214 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16215 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16217 * sysdeps/i386/nptl/Implies: New file.
16218 * sysdeps/x86_64/nptl/Implies: New file.
16219 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16220 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16221 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16222 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16224 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16225 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16226 (__libc_vfork): New strong alias.
16227 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16228 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16230 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16231 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16232 (__libc_vfork): New strong alias.
16233 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16234 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16236 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16237 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16238 (__libc_vfork): New strong alias.
16239 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16240 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16241 * nptl/pt-vfork.c: New file.
16242 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16243 (libpthread: GLIBC_2.20): New version set (empty).
16245 2014-05-14 Will Newton <will.newton@linaro.org>
16247 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16250 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16253 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16254 arguments with exponent 65 or above.
16255 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16256 arguments 0x1p113L or above.
16257 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16258 to arguments 0x1p107L or above.
16259 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16260 positive arguments with exponent 65 or above.
16261 * math/auto-libm-test-in: Add more tests of log1p.
16262 * math/auto-libm-test-out: Regenerated.
16265 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16266 non-finite arguments is +0.
16267 * math/s_cacosf.c (__cacosf): Likewise.
16268 * math/s_cacosl.c (__cacosl): Likewise.
16269 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16270 * sysdeps/i386/fpu/libm-test-ulps: Update.
16271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16274 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16276 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16277 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16278 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16279 for explicit high bit of mantissa when testing for argument equal
16281 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16282 * sysdeps/i386/fpu/libm-test-ulps: Update.
16283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16286 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16287 (__erf): Scale by 16 instead of 8 in potentially underflowing
16288 case. Ensure exception if result actually underflows.
16289 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16290 (__erff): Scale by 16 instead of 8 in potentially underflowing
16291 case. Ensure exception if result actually underflows.
16292 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16293 (efx8): Remove variable.
16294 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16295 case. Ensure exception if result actually underflows.
16296 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16297 (efx8): Remove variable.
16298 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16299 case. Ensure exception if result actually underflows.
16300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16301 (efx8): Remove variable.
16302 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16303 case. Ensure exception if result actually underflows.
16304 * math/auto-libm-test-in: Add more tests of erf.
16305 * math/auto-libm-test-out: Regenerated.
16307 2014-05-14 Andreas Schwab <schwab@suse.de>
16309 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16310 Remove code conditionalized on USE___THREAD.
16312 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16313 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16316 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16319 Define unconditionally.
16320 (__ASSUME_O_CLOEXEC): Likewise.
16321 (__ASSUME_SOCK_CLOEXEC): Likewise.
16322 (__ASSUME_IN_NONBLOCK): Likewise.
16323 (__ASSUME_PIPE2): Likewise.
16324 (__ASSUME_EVENTFD2): Likewise.
16325 (__ASSUME_SIGNALFD4): Likewise.
16326 (__ASSUME_DUP3): Likewise.
16327 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16328 (__ASSUME_DUP3): Do not define.
16329 (__ASSUME_EVENTFD2): Likewise.
16330 (__ASSUME_IN_NONBLOCK): Likewise.
16331 (__ASSUME_O_CLOEXEC): Likewise.
16332 (__ASSUME_PIPE2): Likewise.
16333 (__ASSUME_SIGNALFD4): Likewise.
16334 (__ASSUME_SOCK_CLOEXEC): Likewise.
16335 (__ASSUME_UTIMES): Undefine.
16336 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16337 (__ASSUME_UTIMES): Do not define.
16338 (__ASSUME_O_CLOEXEC): Likewise.
16339 (__ASSUME_SOCK_CLOEXEC): Likewise.
16340 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16341 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16343 (__ASSUME_PIPE2): Likewise.
16344 (__ASSUME_EVENTFD2): Likewise.
16345 (__ASSUME_SIGNALFD4): Likewise.
16346 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16347 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16349 (__ASSUME_EVENTFD2): Likewise.
16350 (__ASSUME_SIGNALFD4): Likewise.
16351 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16352 (__ASSUME_32BITUIDS): Likewise.
16353 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16354 (__ASSUME_IPC64): Likewise.
16355 (__ASSUME_ST_INO_64_BIT): Likewise.
16356 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16357 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16358 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16359 (__ASSUME_UTIMES): Do not define.
16360 (__ASSUME_PSELECT): Likewise.
16361 (__ASSUME_PPOLL): Likewise.
16362 (__ASSUME_O_CLOEXEC): Likewise.
16363 (__ASSUME_SOCK_CLOEXEC): Likewise.
16364 (__ASSUME_IN_NONBLOCK): Likewise.
16365 (__ASSUME_PIPE2): Likewise.
16366 (__ASSUME_EVENTFD2): Likewise.
16367 (__ASSUME_SIGNALFD4): Likewise.
16368 (__ASSUME_DUP3): Likewise.
16369 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16370 (__ASSUME_UTIMES): Likewise.
16371 (__ASSUME_O_CLOEXEC): Likewise.
16372 (__ASSUME_SOCK_CLOEXEC): Likewise.
16373 (__ASSUME_IN_NONBLOCK): Likewise.
16374 (__ASSUME_PIPE2): Likewise.
16375 (__ASSUME_EVENTFD2): Likewise.
16376 (__ASSUME_SIGNALFD4): Likewise.
16377 (__ASSUME_DUP3): Likewise.
16378 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16379 (__ASSUME_UTIMES): Likewise.
16380 (__ASSUME_O_CLOEXEC): Likewise.
16381 (__ASSUME_SOCK_CLOEXEC): Likewise.
16382 (__ASSUME_IN_NONBLOCK): Likewise.
16383 (__ASSUME_PIPE2): Likewise.
16384 (__ASSUME_EVENTFD2): Likewise.
16385 (__ASSUME_SIGNALFD4): Likewise.
16386 (__ASSUME_DUP3): Likewise.
16387 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16389 (__ASSUME_UTIMES): Likewise.
16390 (__ASSUME_EVENTFD2): Likewise.
16391 (__ASSUME_SIGNALFD4): Likewise.
16392 * sysdeps/unix/sysv/linux/tile/kernel-features.h
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 (__ASSUME_UTIMES): Undefine.
16402 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16403 feclearexcept. Remove symbol versioning code.
16404 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16405 symbol versioning code.
16406 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16407 symbol versioning code.
16408 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16409 feupdateenv. Remove symbol versioning code.
16410 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16411 fegetexceptflag. Remove symbol versioning code.
16412 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16413 fesetexceptflag. Remove symbol versioning code.
16414 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16415 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16416 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16417 (__posix_fadvise64_l32): Remove prototype.
16418 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16421 2014-05-13 Roland McGrath <roland@hack.frob.com>
16423 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16424 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16425 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16426 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16428 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16430 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16431 current working directory
16433 2014-05-13 Roland McGrath <roland@hack.frob.com>
16435 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16436 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16437 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16438 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16439 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16440 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16441 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16442 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16443 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16444 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16445 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16446 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16447 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16448 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16449 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16450 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16451 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16452 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16453 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16454 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16455 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16456 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16457 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16458 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16459 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16460 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16461 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16462 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16463 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16464 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16465 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16466 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16467 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16468 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16469 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16470 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16471 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16472 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16473 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16474 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16475 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16476 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16478 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16479 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16481 * sysdeps/unix/sysv/linux/arm/Makefile
16482 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16483 Add rt-aeabi_unwind_cpp_pr1.
16484 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16485 Add nptl-aeabi_unwind_cpp_pr1.
16486 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16487 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16488 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16489 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16490 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16491 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16493 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16494 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16495 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16496 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16498 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16499 Deconditionalize the code that was previously under [RESET_PID].
16500 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16502 * sysdeps/generic/exit-thread.h: New file.
16503 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16504 * include/unistd.h (__exit_thread): Remove declaration.
16505 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16506 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16507 * csu/libc-start.c: Include <exit-thread.h>.
16508 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16509 * nptl/pthread_create.c: Include <exit-thread.h>.
16510 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16511 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16512 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16513 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16514 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16515 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16516 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16517 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16518 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16519 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16520 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16521 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16522 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16523 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16524 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16525 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16526 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16528 2014-05-13 Andreas Schwab <schwab@suse.de>
16530 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16532 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16534 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16535 (__ASSUME_UTIMES): Do not condition on kernel version.
16536 (__ASSUME_PSELECT): Define unconditionally.
16537 (__ASSUME_PPOLL): Likewise.
16538 (__ASSUME_ATFCTS): Likewise.
16539 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16540 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16541 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16542 (__ASSUME_UTIMENSAT): Define unconditionally.
16543 (__ASSUME_PRIVATE_FUTEX): Likewise.
16544 (__ASSUME_FALLOCATE): Likewise.
16545 (__ASSUME_O_CLOEXEC): Likewise.
16546 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16547 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16548 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16549 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16550 (__ASSUME_IN_NONBLOCK): Likewise.
16551 (__ASSUME_PIPE2): Likewise.
16552 (__ASSUME_EVENTFD2): Likewise.
16553 (__ASSUME_SIGNALFD4): Likewise.
16554 (__ASSUME_DUP3): Likewise.
16555 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16556 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16557 (__ASSUME_AT_RANDOM): Likewise.
16558 (__ASSUME_PREADV): Likewise.
16559 (__ASSUME_PWRITEV): Likewise.
16560 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16561 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16562 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16563 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16564 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16565 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16566 (__ASSUME_O_CLOEXEC): Define unconditionally.
16567 (__ASSUME_PSELECT): Do not undefine conditionally.
16568 (__ASSUME_PPOLL): Likewise.
16569 (__ASSUME_ATFCTS): Likewise.
16570 (__ASSUME_SET_ROBUST_LIST): Likewise.
16571 (__ASSUME_UTIMENSAT): Likewise.
16572 (__ASSUME_FDATASYNC): Define unconditionally.
16573 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16574 (__ASSUME_SIGFRAME_V2): Likewise.
16575 )__ASSUME_EVENTFD2): Likewise.
16576 (__ASSUME_SIGNALFD4): Likewise.
16577 (__ASSUME_PSELECT): Do not undefine conditionally.
16578 (__ASSUME_PPOLL): Likewise.
16579 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16580 (__ASSUME_PSELECT): Define unconditionally.
16581 (__ASSUME_PPOLL): Likewise.
16582 (__ASSUME_O_CLOEXEC): Likewise.
16583 (__ASSUME_SOCK_CLOEXEC): Likewise.
16584 (__ASSUME_IN_NONBLOCK): Likewise.
16585 (__ASSUME_PIPE2): Likewise.
16586 (__ASSUME_EVENTFD2): Likewise.
16587 (__ASSUME_SIGNALFD4): Likewise.
16588 (__ASSUME_DUP3): Likewise.
16589 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16590 (__ASSUME_O_CLOEXEC): Likewise.
16591 (__ASSUME_SOCK_CLOEXEC): Likewise.
16592 (__ASSUME_IN_NONBLOCK): Likewise.
16593 (__ASSUME_PIPE2): Likewise.
16594 (__ASSUME_EVENTFD2): Likewise.
16595 (__ASSUME_SIGNALFD4): Likewise.
16596 (__ASSUME_DUP3): Likewise.
16597 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16598 (__ASSUME_EVENTFD2): Likewise.
16599 (__ASSUME_SIGNALFD4): Likewise.
16600 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16602 2014-05-12 Andreas Schwab <schwab@suse.de>
16605 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16606 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16607 than maximum RPC packet size.
16608 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16609 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16610 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16611 (_nss_nis_getservbyport_r): Likewise.
16613 2014-05-12 Will Newton <will.newton@linaro.org>
16615 * malloc/Makefile (tests): Add tst-mallopt.
16616 * malloc/tst-mallopt.c: New file.
16618 2014-05-09 Roland McGrath <roland@hack.frob.com>
16620 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16621 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16623 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16625 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16626 (tst-tlsmod6.so): Likewise.
16628 2014-05-09 Roland McGrath <roland@hack.frob.com>
16630 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16632 2014-05-09 Joseph Myers <joseph@codesourcery.com>
16635 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16636 and <dl-procinfo.h>.
16637 (__fegetenv): Save SSE state in envp->__eip if supported.
16638 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16639 envp->__eip if supported.
16640 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16641 and <dl-procinfo.h>.
16642 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16643 __data_offset and __data_selector in environment to 0. Set SSE
16644 state if supported.
16645 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16647 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16649 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16651 2014-05-09 Will Newton <will.newton@linaro.org>
16653 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16654 and libc_relro_required for ARM.
16655 * sysdeps/arm/preconfigure: Regenerate.
16657 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16658 Stefan Liebler <stli@linux.vnet.ibm.com>
16660 * config.make.in (enable-lock-elision): New Makefile variable.
16661 * configure.ac: Likewise.
16662 * configure: Regenerate.
16663 * sysdeps/s390/configure.ac:
16664 Add check for gcc transactions support.
16665 * sysdeps/s390/configure: Regenerate.
16666 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16667 Build elision files if enabled.
16668 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16669 Add lock elision support for s390.
16670 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16671 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16672 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16673 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16674 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16675 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16676 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16678 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16680 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16682 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16684 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16685 (__lll_timedlock_elision, __lll_lock_elision)
16686 (__lll_unlock_elision, __lll_trylock_elision)
16687 (lll_timedlock_elision, lll_lock_elision)
16688 (lll_unlock_elision, lll_trylock_elision): Add.
16689 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16690 (pthread_mutex_t): Add lock elision support for s390.
16692 2014-05-14 Wilco <wdijkstr@arm.com>
16694 * sysdeps/arm/fclrexcpt.c: Cleanup.
16695 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16696 * sysdeps/arm/feenablxcpt.c: Cleanup.
16697 * sysdeps/arm/fegetenv.c: Cleanup.
16698 * sysdeps/arm/fegetexcept.c: Cleanup.
16699 * sysdeps/arm/fegetround.c: Cleanup.
16700 * sysdeps/arm/feholdexcpt.c: Cleanup.
16701 * sysdeps/arm/fesetenv.c: Cleanup.
16702 * sysdeps/arm/fesetround.c: Cleanup.
16703 * sysdeps/arm/feupdateenv.c: Cleanup.
16704 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16705 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16706 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16707 * sysdeps/arm/ftestexcept.c: Cleanup.
16708 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16709 * sysdeps/arm/setfpucw.c: Cleanup.
16711 2014-05-09 Will Newton <will.newton@linaro.org>
16713 * sysdeps/arm/armv7/strcmp.S: New file.
16714 * NEWS: Mention addition of ARMv7 optimized strcmp.
16716 2014-05-08 Roland McGrath <roland@hack.frob.com>
16718 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16719 look for %.ac rather than %.in.
16721 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16722 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16723 * sysdeps/mach/hurd/configure: Regenerated.
16724 * sysdeps/unix/sysv/linux/configure: Regenerated.
16726 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16728 2014-05-07 Steve Ellcey <sellcey@mips.com>
16731 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16735 2014-05-07 Andreas Schwab <schwab@suse.de>
16737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16738 when skipping over non-matching result from nscd.
16740 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
16743 * nptl/sockperf.c (client): Check socket return value.
16746 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16747 nscd security class.
16749 2014-05-06 Roland McGrath <roland@hack.frob.com>
16751 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16752 * sysdeps/arm/unwind.h: ... here.
16754 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16757 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16760 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16762 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16763 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16764 multiarch strncpy for PPC64.
16765 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16766 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16768 multiarch optimizations.
16769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16770 (__libc_ifunc_impl_list): Likewise.
16771 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16772 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16773 multiarch stpncpy for PPC64.
16774 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16775 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16777 2014-05-06 Andreas Schwab <schwab@suse.de>
16780 * gmon/mcount.c (_MCOUNT_DECL): Use
16781 atomic_compare_and_exchange_bool_acq instead of
16782 catomic_compare_and_exchange_bool_acq.
16784 2014-05-05 Roland McGrath <roland@hack.frob.com>
16786 * elf/Makefile (others, install-bin): Remove pldd.
16787 (pldd-modules): Variable removed.
16788 ($(objpfx)pldd): Target removed.
16789 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16790 (others, install-bin): Append pldd here.
16791 ($(objpfx)pldd): New target.
16793 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16794 to 0, so the first #if test emitted later doesn't see it undefined.
16795 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16796 * sysdeps/gnu/errlist.c: Regenerated.
16798 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16800 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16801 [libc_hidden_builtin_def]: Define to empty value.
16802 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16803 [libc_hidden_builtin_def]: Likewise.
16804 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16805 [libc_hidden_builtin_def]: Likewise.
16806 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16807 [libc_hidden_builtin_def]: Likewise.
16808 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16809 __redirect_memcpy and define ifunc as default hidden symbol.
16810 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16811 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16813 2014-05-04 Adam Conrad <adconrad@0c3.net>
16815 * locale/iso-4217.def: Reintroduce XDR currency.
16817 2014-05-04 Allan McRae <allan@archlinux.org>
16819 * po/eo.po: Update Esperanto translation from translation project.
16821 2014-05-02 Carlos O'Donell <carlos@redhat.com>
16823 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16824 and FEATURE_INDEX_MAX to 1.
16825 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16827 2014-05-01 Steve Ellcey <sellcey@mips.com>
16829 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16830 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16831 * iconvdata/big5.c (ONE_DIRECTION): Define.
16832 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16833 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16834 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16835 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16836 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16837 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16838 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16839 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16840 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16841 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16842 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16843 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16844 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16845 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16846 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16847 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16848 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16849 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16850 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16851 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16852 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16853 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16854 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16855 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16856 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16857 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16858 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16859 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16860 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16861 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16862 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16863 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16864 * iconvdata/johab.c (ONE_DIRECTION): Define.
16865 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16866 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16867 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16868 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16869 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16870 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16871 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16872 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16873 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16874 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16876 2014-05-01 Roland McGrath <roland@hack.frob.com>
16878 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16879 (_IO_JUMPS_OFFSET): Define to 0.
16881 * nptl/sysdeps/pthread/bits/libc-lock.h
16882 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16883 (__libc_lock_define_initialized_recursive): Always define using
16884 initializer. Modern compilers treat uninitialized (implicit zero) and
16885 explicit zero initializers the same (i.e. put the datum in bss).
16887 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16889 * nscd/nscd-client.h: Include <string.h>.
16891 2014-05-01 David S. Miller <davem@davemloft.net>
16894 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16895 multiple zero bytes exist at the end of a string.
16896 Reported by Aurelien Jarno <aurelien@aurel32.net>
16898 * string/test-strcmp.c (check): Add explicit test for situations where
16899 there are multiple zero bytes after the first.
16901 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16904 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16905 when compiling wprintf.
16906 * stdio-common/tstdiomisc.c (t3): New function.
16909 2014-05-01 Steve Ellcey <sellcey@mips.com>
16911 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16912 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16913 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16914 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16916 2014-05-01 Steve Ellcey <sellcey@mips.com>
16918 * stdlib/longlong.h: Updated from GCC.
16920 2014-05-01 Will Newton <will.newton@linaro.org>
16921 Bernard Ogden <bernie.ogden@linaro.org>
16923 * NEWS: Update fixed bug list.
16926 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16928 2014-04-30 David S. Miller <davem@davemloft.net>
16930 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16931 (libc_feholdexcept_setround_sparc_ctx): New function.
16932 (libc_fesetenv_sparc_ctx): Likewise.
16933 (libc_feupdateenv_sparc_ctx): Likewise.
16934 (libc_feholdsetround_sparc_ctx): Likewise.
16935 (libc_feholdexcept_setround_ctx): Define.
16936 (libc_feholdexcept_setroundf_ctx): Likewise.
16937 (libc_feholdexcept_setroundl_ctx): Likewise.
16938 (libc_fesetenv_ctx): Likewise.
16939 (libc_fesetenvf_ctx): Likewise.
16940 (libc_fesetenvl_ctx): Likewise.
16941 (libc_feupdateenv_ctx): Likewise.
16942 (libc_feupdateenvf_ctx): Likewise.
16943 (libc_feupdateenvl_ctx): Likewise.
16944 (libc_feresetround_ctx): Likewise.
16945 (libc_feresetroundf_ctx): Likewise.
16946 (libc_feresetroundl_ctx): Likewise.
16947 (libc_feholdsetround_ctx): Likewise.
16948 (libc_feholdsetroundf_ctx): Likewise.
16949 (libc_feholdsetroundl_ctx): Likewise.
16951 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16952 with __USE_GNU instead of XOPEN cpp guards.
16954 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16957 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16958 with XOPEN cpp guards.
16960 2014-04-30 Julian Brown <julian@codesourcery.com>
16963 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16966 2014-04-30 Joseph Myers <joseph@codesourcery.com>
16969 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16971 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16972 * sysdeps/unix/sysv/linux/configure: Regenerated.
16973 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16974 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16975 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16976 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16977 * README: Update reference to required Linux kernel version.
16978 * manual/install.texi (Linux): Update reference to required Linux
16979 kernel headers version.
16980 * INSTALL: Regenerated.
16982 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16984 [POSIX] (limits.h): Likewise.
16985 [POSIX] (math.h): Likewise.
16986 [POSIX] (sys/wait.h): Likewise.
16987 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16989 [POSIX] (stddef.h): Do not allow header inclusion.
16991 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16993 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16995 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
16997 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16998 Return immediately after lll_futex_wake.
17000 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17003 * nscd/nscd-client.h (datahead_init_common): Initialize entire
17005 (datahead_init_pos): Call datahead_init_common early.
17006 (datahead_init_neg): Likewise.
17008 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17009 datahead_init_neg): New functions.
17010 * nscd/aicache.c (addhstaiX): Use them.
17011 * nscd/grpcache.c (cache_addgr): Likewise.
17012 * nscd/hstcache.c (cache_addhst): Likewise.
17013 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17014 * nscd/netgroupcache.c (do_notfound): Likewise.
17015 (addgetnetgrentX): Likewise.
17016 (addinnetgrX): Likewise.
17017 * nscd/pwdcache.c (cache_addpw): Likewise.
17018 * nscd/servicescache.c (cache_addserv): Likewise.
17020 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17021 Atsushi Onoe <atsushi@onoe.org>
17026 * resolv/res_query.c (__libc_res_nsearch): Return if at least
17027 one response is valid.
17028 * resolv/res_send.c (send_dg): Check for validity of other
17029 response if the current response is a referral.
17031 2014-04-29 Steve Ellcey <sellcey@mips.com>
17033 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17035 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17038 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17039 Always divide by positive zero when computing -Inf result.
17040 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17041 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17043 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17045 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17046 FPSCR if value do not change.
17047 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17048 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17049 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17050 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17051 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17052 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17055 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17057 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17058 * sysdeps/unix/sysv/linux/hppa: Move directory from
17059 ports/systeps/unix/sysv/linux/hppa.
17060 * README: Update listing for hppa-*-linux-gnu.
17062 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17065 * manual/stdio.texi (Hook functions): Fix types of stream hook
17068 * socket/sys/socket.h: Fix typo in comment.
17070 2014-04-28 Wilco <wdijkstr@arm.com>
17072 * sysdeps/arm/fenv_private.h: New file.
17073 * sysdeps/arm/math_private.h: New file.
17074 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17076 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17078 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17080 (La_x86_64_retval): Likewise.
17082 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17084 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17085 fpsr if value didn't change.
17086 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17087 to fpcr if value didn't change.
17088 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17089 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17090 fpsr or fpcr if value didn't change.
17091 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17092 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17093 fpcr if value didn't change.
17094 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17095 to fpsr if value didn't change.
17097 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17099 * nptl/tst-sem3.c: Use test-skeleton.c
17100 (main): Rename to do_test. Use return instead of
17102 * nptl/tst-sem4.c: Use test-skeleton.c
17103 (main): Rename to do_test.
17105 2014-04-22 David S. Miller <davem@davemloft.net>
17107 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17108 (struct sigaction): New struct member __glibc_reserved0, change
17109 type of sa_flags to int.
17111 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
17113 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17114 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17116 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17118 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17119 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17121 2014-04-22 Will Newton <will.newton@linaro.org>
17122 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17124 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17125 (__longjmp): Add longjmp and longjmp_target SystemTap
17127 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17128 (__sigsetjmp): Add setjmp SystemTap probe.
17130 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17132 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17133 match manual order.
17135 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17137 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17139 * sysdeps/powerpc/fpu/fenv_private.h
17140 (libc_feholdexcept_setroundl_ctx): Define to
17141 libc_feholdexcept_setround_ppc_ctx.
17142 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17143 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17144 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17145 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17147 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17149 * sysdeps/aarch64/math-tests.h: New file.
17151 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
17153 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17156 Check and set bit_AVX2_Usable.
17157 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17159 (bit_AVX2): Likewise.
17160 (index_AVX2_Usable): Likewise.
17161 (CPUID_AVX2): Likewise.
17162 (HAS_AVX2): Likewise.
17164 2014-04-17 Will Newton <will.newton@linaro.org>
17166 * manual/setjmp.texi (System V contexts): Add note that
17167 calling setcontext on a context created by a call to a
17168 signal handler is undefined. Update text to note that
17169 setcontext from a signal handler is possible but not
17173 * stdlib/tst-setcontext.c: Include signal.h.
17174 (main): Check that the signal stack before and
17175 after swapcontext is the same.
17177 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17178 Re-implement to restore registers in user code and avoid
17179 rt_sigreturn system call.
17181 2014-04-17 Wilco <wdijkstr@arm.com>
17183 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17184 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17185 * math/test-fenv.c: Skip exception trap tests on targets which only
17186 support non-stop mode.
17188 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17189 Wilco Dijkstra <wilco.dijkstra@arm.com>
17191 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17192 (libc_feholdsetround_aarch64_ctx)
17193 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17194 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17195 (libc_feresetround_ctx, libc_feresetroundf_ctx)
17196 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17197 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17198 (libc_feresetround_noexl_ctx): Define.
17200 2014-04-16 Richard Henderson <rth@redhat.com>
17202 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17204 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17207 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17208 const from the non-libc, non-ldso copy.
17210 * sysdeps/alpha/libm-test-ulps: Regenerate.
17212 2014-04-16 Ian Bolton <ian.bolton@arm.com>
17213 Wilco Dijkstra <wilco.dijkstra@arm.com>
17215 * sysdeps/aarch64/fpu/math_private.h: New file.
17217 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17219 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17221 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
17224 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17225 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17227 Intel MPX bound registers before _dl_profile_fixup.
17228 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17229 registers after _dl_profile_fixup. Save and restore bound
17230 registers bnd0/bnd1 when calling _dl_call_pltexit.
17231 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17232 (LR_BND_OFFSET): Likewise.
17233 (LRV_BND0_OFFSET): Likewise.
17234 (LRV_BND1_OFFSET): Likewise.
17236 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17238 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17240 * sysdeps/mach/hurd/i386/tls.h: ... here.
17241 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17242 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17245 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17247 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17249 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17251 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17253 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17256 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17257 * sysdeps/s390/configure: Regenerate.
17260 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17261 Set round-to-nearest internally to reduce error accumulation.
17263 2014-04-16 Alan Modra <amodra@gmail.com>
17267 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17268 * math/libm-test.inc (frexp_test_data): Add tests.
17269 * NEWS: Update fixed bug list.
17271 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17273 * benchtests/Makefile: Depend on libraries in build directory.
17274 (bench-math): Separate out math tests.
17275 (bench-pthread): Separate out pthread tests.
17276 (bench): Include math and pthread tests.
17278 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17281 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17282 _dl_debug_initialize.
17284 * configure.ac: Remove SELinux header check.
17285 * configure: Regenerate.
17286 * nscd/selinux.c (perms): Array of const char* to permission names.
17287 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17288 default policy. Call string_to_security_class and string_to_av_perm to
17289 translate strings. Enforce default policy and call avs_has_perm with
17290 results of translated strings.
17292 2014-04-13 David S. Miller <davem@davemloft.net>
17294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17296 2014-04-12 Allan McRae <allan@archlinux.org>
17299 * manual/string.texi (Collation Functions): Fix qsort argument
17301 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17303 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17305 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17306 Make the test a no-op if there are no exceptions defined.
17308 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17310 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17311 enable-hardcoded-path-in-tests
17313 2014-04-11 Will Newton <will.newton@linaro.org>
17315 * benchtests/Makefile (extra-objs): Add json-lib.o.
17316 (bench-func): Tidy up JSON output.
17317 * benchtests/bench-skeleton.c: Include json-lib.h.
17318 (main): Use JSON library functions to do output of
17320 * benchtests/bench-timing-type.c (main): Output the
17321 timing type simply, leaving formatting to the user.
17322 * benchtests/json-lib.c: New file.
17323 * benchtests/json-lib.h: Likewise.
17325 2014-04-11 Torvald Riegel <triegel@redhat.com>
17328 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17329 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17330 memory barriers. Add comments.
17331 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17332 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17333 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17334 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17335 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17336 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17338 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17340 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17341 * sysdeps/s390/s390-64/configure.ac: ... this ...
17342 * sysdeps/s390/configure.ac: ... to here.
17343 * sysdeps/s390/s390-32/configure: Delete file.
17344 * sysdeps/s390/s390-64/configure: Delete file.
17345 * sysdeps/s390/configure: Regenerate.
17347 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17349 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17351 2014-04-11 Will Newton <will.newton@linaro.org>
17353 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17354 to zero if it is not defined elsewhere. (mtrim): Test
17355 the value of MALLOC_DEBUG with #if rather than #ifdef.
17357 2014-04-10 Torvald Riegel <triegel@redhat.com>
17359 * benchtests/pthread_once-inputs: New file.
17360 * benchtests/pthread_once-source.c: New file.
17361 * benchtests/README: Update documentation.
17363 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17364 H.J. Lu <hongjiu.lu@intel.com>
17367 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17368 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17369 * sysdeps/x86_64/configure: Regenerated.
17370 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17372 (REGISTER_SAVE_RAX): Likewise.
17373 (REGISTER_SAVE_RCX): Likewise.
17374 (REGISTER_SAVE_RDX): Likewise.
17375 (REGISTER_SAVE_RSI): Likewise.
17376 (REGISTER_SAVE_RDI): Likewise.
17377 (REGISTER_SAVE_R8): Likewise.
17378 (REGISTER_SAVE_R9): Likewise.
17379 (REGISTER_SAVE_BND0): Likewise.
17380 (REGISTER_SAVE_BND1): Likewise.
17381 (REGISTER_SAVE_BND2): Likewise.
17382 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17383 bound registers when calling _dl_fixup.
17385 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17387 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17388 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17390 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17391 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17392 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17393 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17394 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17395 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17396 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17398 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17401 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17402 pathconf(_PC_NAME_MAX).
17404 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17406 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17407 Remove macro usage.
17408 (__PTHREAD_SPINS): Move definition to ...
17409 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17410 (__PTHREAD_SPINS): ... here.
17411 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17412 (__PTHREAD_SPIN): Likewise.
17413 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17414 (__PTHREAD_SPIN): Likewise.
17415 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17416 (__PTHREAD_SPIN): Likewise.
17417 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17418 (__PTHREAD_SPIN): Likewise.
17419 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17420 (__PTHREAD_SPIN): Likewise.
17421 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17422 (__PTHREAD_SPIN): Likewise.
17423 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17424 (__PTHREAD_SPIN): Likewise.
17425 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17426 (__PTHREAD_SPIN): Likewise.
17427 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17428 (__PTHREAD_SPIN): Likewise.
17429 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17430 (__PTHREAD_SPIN): Likewise.
17431 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17432 (__PTHREAD_SPIN): Likewise.
17433 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17434 (__PTHREAD_SPIN): Likewise.
17436 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17437 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17438 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17439 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17441 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17442 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17443 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17444 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17445 correct imply path.
17446 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17447 strlen symbol for non multi-arch builds.
17448 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17449 missing hidden_def and weak_alias.
17451 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17453 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17455 2014-04-07 Will Newton <will.newton@linaro.org>
17457 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17458 and contents. [!_LIBC] Remove #ifndef and contents.
17459 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17460 * string/memccpy.c (__memccpy): Use ANSI prototype.
17461 * string/memfrob.c (memfrob): Likewise.
17462 * string/strcoll.c (STRCOLL): Likewise.
17463 * string/strlen.c (strlen): Likewise.
17464 * string/strtok.c (STRTOK): Likewise.
17465 * string/strcat.c: Remove unused #include of memcopy.h.
17466 (strcat): Use ANSI prototype.
17467 * string/strchr.c: Remove unused #include of memcopy.h.
17468 (strchr): Use ANSI prototype.
17469 * string/strcmp.c: Remove unused #include of memcopy.h.
17470 (strcmp): Use ANSI prototype.
17471 * string/strcpy.c: Remove unused #include of memcopy.h.
17472 (strcpy): Use ANSI prototype.
17474 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17476 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17477 * config.make.in (config-extra-cppflags): Set it from
17478 libc_extra_cppflags.
17479 * configure.ac (libc_extra_cflags): Make it accumulate over
17480 configure fragments.
17481 (libc_extra_cppflags): New flag.
17482 * configure. Regenerate.
17483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17484 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17485 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17489 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17490 result for FE_DOWNWARD rounding mode.
17491 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17495 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17497 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17498 in function argument name.
17500 2014-04-03 David Svoboda <svoboda@cert.org>
17503 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17506 2014-04-03 Roland McGrath <roland@hack.frob.com>
17508 * elf/dl-unmap-segments.h: New file.
17509 * sysdeps/generic/ldsodefs.h
17510 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17511 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17512 * elf/dl-fptr.c: Likewise.
17513 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17514 * sysdeps/aarch64/tlsdesc.c: Likewise.
17515 * sysdeps/arm/tlsdesc.c: Likewise.
17516 * sysdeps/i386/tlsdesc.c: Likewise.
17517 * sysdeps/tile/dl-runtime.c: Likewise.
17518 * sysdeps/x86_64/tlsdesc.c: Likewise.
17519 * elf/dl-load.h: New file.
17520 * elf/dl-load.c: Include it.
17521 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17522 Macros moved to dl-load.h.
17523 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17524 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17525 Use _dl_unmap_segments in place of __munmap.
17526 Break out segment-mapping loop into ...
17527 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17529 2014-04-03 Will Newton <will.newton@linaro.org>
17531 * elf/dl-lookup.c (do_lookup_x): Remove comment
17532 referring to nested function and move variable
17533 declarations down to before first use.
17535 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17539 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17541 * math/s_catanf.c (__catanf): Likewise.
17542 * math/s_catanh.c (__catanh): Likewise.
17543 * math/s_catanhf.c (__catanhf): Likewise.
17544 * math/s_catanhl.c (__catanhl): Likewise.
17545 * math/s_catanl.c (__catanl): Likewise.
17546 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17547 by positive zero when computing -Inf result.
17548 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17549 (catanh_test): Likewise.
17550 * sysdeps/i386/fpu/libm-test-ulps: Update.
17551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17554 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17555 instead of using underflowing value in computing result.
17556 * math/s_clog10.c (__clog10): Likewise.
17557 * math/s_clog10f.c (__clog10f): Likewise.
17558 * math/s_clog10l.c (__clog10l): Likewise.
17559 * math/s_clogf.c (__clogf): Likewise.
17560 * math/s_clogl.c (__clogl): Likewise.
17561 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17562 (clog10_test): Likewise.
17563 * sysdeps/i386/fpu/libm-test-ulps: Update.
17564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17566 2014-04-02 Alan Modra <amodra@gmail.com>
17569 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17570 output when value is near a power of two. Use int64_t for lx and
17571 remove casts. Use decimal rather than hex exponent constants.
17572 Don't use long double multiplication when double will suffice.
17573 * math/libm-test.inc (nextafter_test_data): Add tests.
17574 * NEWS: Add 16739 and 16786 to bug list.
17576 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17578 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17580 2014-04-01 Will Newton <will.newton@linaro.org>
17582 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17583 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17585 2014-04-01 Florian Weimer <fweimer@redhat.com>
17588 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17589 * nptl/tst-setuid2.c: New file.
17590 * nptl/Makefile (xtests): Add tst-setuid2.
17592 2014-04-01 Alan Modra <amodra@gmail.com>
17595 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17597 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17601 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17602 set errno as appropriate.
17603 * math/w_scalbf.c (__scalbf): Likewise.
17604 * math/w_scalbl.c (__scalbl): Likewise.
17605 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17606 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17607 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17608 Add more NaN tests.
17611 * math/w_atan2.c: Include <errno.h>.
17612 (__atan2): Set errno for result underflowing to zero.
17613 * math/w_atan2f.c: Include <errno.h>.
17614 (__atan2f): Set errno for result underflowing to zero.
17615 * math/w_atan2l.c: Include <errno.h>.
17616 (__atan2l): Set errno for result underflowing to zero.
17617 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17619 * math/auto-libm-test-out: Regenerated.
17621 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17623 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17624 Encode instruction correctly in little endian.
17625 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17627 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17629 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17631 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17634 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17637 * sysdeps/unix/sysv/linux/kernel-features.h
17638 [__sparc__ && !__arch64__ && !__sparc_v9__]
17639 (__ASSUME_SET_ROBUST_LIST): Do not define.
17640 [__sparc__ && !__arch64__ && !__sparc_v9__]
17641 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17642 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17644 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17645 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17646 (__ASSUME_REQUEUE_PI): Likewise.
17647 (__ASSUME_SET_ROBUST_LIST): Likewise.
17648 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17649 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17651 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17652 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17654 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17656 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17658 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17659 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17661 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17662 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17666 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17667 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17668 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17670 2014-03-31 Will Newton <will.newton@linaro.org>
17672 * benchtests/Makefile (bench): Add ffs and ffsll to list
17674 * benchtests/ffs-inputs: New file.
17675 * benchtests/ffsll-inputs: Likewise.
17677 2014-03-29 Joseph Myers <joseph@codesourcery.com>
17680 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17681 too large before casting to int.
17682 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17683 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17684 * math/libm-test.inc (scalb_test_data): Add more tests.
17686 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17688 * benchtests/Makefile (DETAILED_OPT): New make option.
17689 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17691 * benchtests/bench-skeleton.c: Include stdbool.h.
17692 (main): Store and print timings per input.
17693 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17694 member to each argument value.
17695 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17696 (_print_arg_data): Initialize per-input timing to 0.
17698 * benchtests/Makefile (timing-type): New binary.
17699 (bench-clean): Also remove bench-timing-type.
17700 (bench): New target for timing-type.
17701 (bench-func): Print output in JSON format.
17702 * benchtests/bench-skeleton.c (main): Print output in JSON
17704 * benchtests/bench-timing-type.c: New file.
17705 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17706 (TIMING_PRINT_STATS): Remove.
17707 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17710 * benchtests/bench-modf.c: Remove.
17711 * benchtests/modf-inputs: New inputs file.
17713 2014-03-28 Joseph Myers <joseph@codesourcery.com>
17716 * math/s_clog10.c (M_PI_LOG10E): New macro.
17717 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17718 imaginary parts are 0.
17719 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17720 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17721 imaginary parts are 0.
17722 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17723 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17724 imaginary parts are 0.
17725 * math/libm-test.inc (clog10_test_data): Update expected results
17726 for when real and imaginary parts are 0.
17728 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17730 * elf/dl-load.c: Finish conversion of __builtin_expect into
17731 __glibc_{un}likely.
17733 2014-03-27 Joseph Myers <joseph@codesourcery.com>
17736 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17737 1+x for argument with exponent below -67.
17738 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17740 * math/auto-libm-test-in: Add more tests of exp.
17741 * math/auto-libm-test-out: Regenerated.
17743 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17746 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17747 (nscd_getnetgrent): Use it.
17750 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17753 2014-03-27 Andi Kleen <ak@linux.intel.com>
17755 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17756 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17757 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17758 (lll_robust_unlock): Remove out of line section. Use cfi
17760 (LLL_STUB_UNWIND_INFO*): Remove.
17761 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17762 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17763 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17764 (lll_robust_unlock): Remove out of line section. Use cfi
17766 (LLL_STUB_UNWIND_INFO*): Remove.
17768 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17771 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17774 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17776 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17778 2014-03-26 Joseph Myers <joseph@codesourcery.com>
17781 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17783 * math/test-fenv-preserve.c: New file.
17784 * math/Makefile (tests): Add test-fenv-preserve.
17786 2014-03-26 Will Newton <will.newton@linaro.org>
17788 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17790 2014-03-25 Roland McGrath <roland@hack.frob.com>
17792 * scripts/versionlist.awk: Partition the version sets and emit all
17793 GLIBC_* (sorted) before all others (sorted).
17795 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17797 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17798 GLIBC_2.2.5 version.
17800 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17802 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17805 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17810 2014-03-25 Andreas Schwab <schwab@suse.de>
17812 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17813 label to be used after in6ailist is initialized.
17815 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17817 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17818 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17820 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17824 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17826 (fp_formats): Update initializers.
17827 (init_fp_formats): Initialize new field.
17828 (output_for_one_input_case): Allow underflow for results up to
17830 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17831 * math/auto-libm-test-in: Don't mark some underflows from asin and
17833 * math/auto-libm-test-out: Regenerated.
17834 * sysdeps/i386/fpu/libm-test-ulps: Update.
17835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17837 2014-03-25 Andreas Schwab <schwab@suse.de>
17839 * libio/Makefile (tst-ftell-partial-wide-ENV)
17840 (tst-ftell-active-handler-ENV): Define.
17842 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17844 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17846 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17848 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17850 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17852 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17853 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17854 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17856 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17859 * elf/dl-load.c (open_verify): Add mode parameter.
17860 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17861 (open_path): Change from boolean 'secure' to complete flag 'mode'
17862 (_dl_map_object): Adjust.
17863 * elf/Makefile (tests): Add tst-dlopen-aout.
17864 * elf/tst-dlopen-aout.c: New test.
17866 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17869 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17870 (struct stat): Rename member pad0 to __glibc_reserved0.
17873 * sysdeps/s390/s390-32/bits/wordsize.h
17874 (__WORDSIZE32_SIZE_ULONG): New define.
17875 * sysdeps/s390/s390-64/bits/wordsize.h
17876 (__WORDSIZE32_SIZE_ULONG): Likewise.
17877 * sysdeps/generic/stdint.h (SIZE_MAX):
17878 Define as UL if __WORDSIZE32_SIZE_ULONG.
17881 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17882 (__glibc_reserved0): New variable.
17883 (sa_flags): Change type to int.
17885 * posix/Makefile (before-compile): Use += before-compile instead
17888 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17889 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17891 2014-03-20 Andreas Schwab <schwab@suse.de>
17894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17895 non-matching result from nscd.
17897 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17899 * scripts/bench.py: Moved to ...
17900 * benchtests/scripts/bench.py: ... here.
17901 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17903 2014-03-24 Andreas Schwab <schwab@suse.de>
17906 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17907 alloca_account and account alloca use for struct in6ailist.
17909 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17912 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17913 rounding mode to recompute results that overflow to infinity or
17915 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17917 * math/auto-libm-test-out: Regenerated.
17918 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17919 (ccosh_test): Likewise.
17920 (csin_test_data): Use plus_oflow.
17921 (csin_test): Use ALL_RM_TEST.
17922 (csinh_test_data): Use plus_oflow.
17923 (csinh_test): Use ALL_RM_TEST.
17924 * sysdeps/i386/fpu/libm-test-ulps: Update.
17925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17927 2014-03-21 Joseph Myers <joseph@codesourcery.com>
17929 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17930 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17931 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17934 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17935 when x - 1 is zero.
17936 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17937 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17938 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17939 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17941 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17942 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17944 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17945 * sysdeps/i386/fpu/libm-test-ulps: Update.
17946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17948 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17950 * scripts/bench.pl: Remove file.
17951 * scripts/bench.py: New benchmark script.
17952 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17953 * benchtests/README: Mention python dependency.
17954 * scripts/pylintrc: New file.
17955 * scripts/pylint: New file.
17957 * bits/mathdef.h: Use #ifdef instead of #if.
17958 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17959 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17960 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17961 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17962 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17963 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17965 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17966 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17968 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17970 and strpbrk-ppc64 objects.
17971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17972 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17973 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17974 multiarch strpbrk for POWER7.
17975 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17976 multiarch strpbrk for PPC64.
17977 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17979 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17980 strpbrk for POWER7.
17982 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17984 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17985 (atan_test): Likewise.
17986 (atanh_test_data): Use NO_TEST_INLINE for two tests.
17987 (atanh_test): Use ALL_RM_TEST.
17988 (atan2_test_data): Likewise.
17989 (cabs_test): Likewise.
17990 (cacosh_test): Likewise.
17991 (carg_test): Likewise.
17992 (casin_test): Likewise.
17993 (casinh_test): Likewise.
17994 (cbrt_test): Likewise.
17995 (csqrt_test): Likewise.
17996 (erf_test): Likewise.
17997 (erfc_test): Likewise.
17998 (pow10_test): Likewise.
17999 (exp2_test): Likewise.
18000 (hypot_test): Likewise.
18001 (j0_test): Likewise.
18002 (j1_test): Likewise.
18003 (lgamma_test): Likewise.
18004 (gamma_test): Likewise.
18005 (sincos_test): Likewise.
18006 (tanh_test): Likewise.
18007 (y0_test): Likewise.
18008 (y1_test): Likewise.
18009 * sysdeps/i386/fpu/libm-test-ulps: Update.
18010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18012 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18014 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18016 and strcspn-ppc64 objects.
18017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18018 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18019 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18020 multiarch strcspn for POWER7.
18021 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18022 multiarch strcspn for PPC64.
18023 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18025 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18026 strcspn for POWER7.
18028 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18030 * math/gen-libm-test.pl (generate_testfile): Expect only function
18031 name as argument to AUTO_TESTS_* and pass results for all rounding
18032 modes to parse_args.
18033 (parse_auto_input): Separate inputs of automatic tests from
18034 outputs before storing in %auto_tests.
18035 * math/libm-test.inc (acos_test_data): Update call to
18037 (acos_test): Use ALL_RM_TEST.
18038 (acos_tonearest_test_data): Remove.
18039 (acos_test_tonearest): Likewise.
18040 (acos_towardzero_test_data): Likewise.
18041 (acos_test_towardzero): Likewise.
18042 (acos_downward_test_data): Likewise.
18043 (acos_test_downward): Likewise.
18044 (acos_upward_test_data): Likewise.
18045 (acos_test_upward): Likewise.
18046 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18047 (asin_test_data): Likewise.
18048 (asin_test): Use ALL_RM_TEST.
18049 (asin_tonearest_test_data): Remove.
18050 (asin_test_tonearest): Likewise.
18051 (asin_towardzero_test_data): Likewise.
18052 (asin_test_towardzero): Likewise.
18053 (asin_downward_test_data): Likewise.
18054 (asin_test_downward): Likewise.
18055 (asin_upward_test_data): Likewise.
18056 (asin_test_upward): Likewise.
18057 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18058 (atan_test_data): Likewise.
18059 (atanh_test_data): Likewise.
18060 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18061 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18062 (carg_test_data): Likewise.
18063 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18064 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18065 (ccosh_test_data): Likewise.
18066 (cexp_test_data): Likewise.
18067 (clog_test_data): Likewise.
18068 (clog10_test_data): Likewise.
18069 (cos_test_data): Update call to AUTO_TESTS_f_f.
18070 (cos_test): Use ALL_RM_TEST.
18071 (cos_tonearest_test_data): Remove.
18072 (cos_test_tonearest): Likewise.
18073 (cos_towardzero_test_data): Likewise.
18074 (cos_test_towardzero): Likewise.
18075 (cos_downward_test_data): Likewise.
18076 (cos_test_downward): Likewise.
18077 (cos_upward_test_data): Likewise.
18078 (cos_test_upward): Likewise.
18079 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18080 (cosh_test): Use ALL_RM_TEST.
18081 (cosh_tonearest_test_data): Remove.
18082 (cosh_test_tonearest): Likewise.
18083 (cosh_towardzero_test_data): Likewise.
18084 (cosh_test_towardzero): Likewise.
18085 (cosh_downward_test_data): Likewise.
18086 (cosh_test_downward): Likewise.
18087 (cosh_upward_test_data): Likewise.
18088 (cosh_test_upward): Likewise.
18089 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18090 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18091 (ctan_test_data): Likewise.
18092 (ctan_test): Use ALL_RM_TEST.
18093 (ctan_tonearest_test_data): Remove.
18094 (ctan_test_tonearest): Likewise.
18095 (ctan_towardzero_test_data): Likewise.
18096 (ctan_test_towardzero): Likewise.
18097 (ctan_downward_test_data): Likewise.
18098 (ctan_test_downward): Likewise.
18099 (ctan_upward_test_data): Likewise.
18100 (ctan_test_upward): Likewise.
18101 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18102 (ctanh_test): Use ALL_RM_TEST.
18103 (ctanh_tonearest_test_data): Remove.
18104 (ctanh_test_tonearest): Likewise.
18105 (ctanh_towardzero_test_data): Likewise.
18106 (ctanh_test_towardzero): Likewise.
18107 (ctanh_downward_test_data): Likewise.
18108 (ctanh_test_downward): Likewise.
18109 (ctanh_upward_test_data): Likewise.
18110 (ctanh_test_upward): Likewise.
18111 (erf_test_data): Update call to AUTO_TESTS_f_f.
18112 (erfc_test_data): Likewise.
18113 (exp_test_data): Likewise.
18114 (exp_test): Use ALL_RM_TEST.
18115 (exp_tonearest_test_data): Remove.
18116 (exp_test_tonearest): Likewise.
18117 (exp_towardzero_test_data): Likewise.
18118 (exp_test_towardzero): Likewise.
18119 (exp_downward_test_data): Likewise.
18120 (exp_test_downward): Likewise.
18121 (exp_upward_test_data): Likewise.
18122 (exp_test_upward): Likewise.
18123 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18124 (exp10_test): Use ALL_RM_TEST.
18125 (exp10_tonearest_test_data): Remove.
18126 (exp10_test_tonearest): Likewise.
18127 (exp10_towardzero_test_data): Likewise.
18128 (exp10_test_towardzero): Likewise.
18129 (exp10_downward_test_data): Likewise.
18130 (exp10_test_downward): Likewise.
18131 (exp10_upward_test_data): Likewise.
18132 (exp10_test_upward): Likewise.
18133 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18134 (expm1_test_data): Likewise.
18135 (expm1_test): Use ALL_RM_TEST.
18136 (expm1_tonearest_test_data): Remove.
18137 (expm1_test_tonearest): Likewise.
18138 (expm1_towardzero_test_data): Likewise.
18139 (expm1_test_towardzero): Likewise.
18140 (expm1_downward_test_data): Likewise.
18141 (expm1_test_downward): Likewise.
18142 (expm1_upward_test_data): Likewise.
18143 (expm1_test_upward): Likewise.
18144 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18145 (fma_test): Use ALL_RM_TEST.
18146 (fma_towardzero_test_data): Remove.
18147 (fma_test_towardzero): Likewise.
18148 (fma_downward_test_data): Likewise.
18149 (fma_test_downward): Likewise.
18150 (fma_upward_test_data): Likewise.
18151 (fma_test_upward): Likewise.
18152 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18153 (j0_test_data): Update call to AUTO_TESTS_f_f.
18154 (j1_test_data): Likewise.
18155 (jn_test_data): Update call to AUTO_TESTS_if_f.
18156 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18157 (log_test_data): Update call to AUTO_TESTS_f_f.
18158 (log10_test_data): Likewise.
18159 (log1p_test_data): Likewise.
18160 (log2_test_data): Likewise.
18161 (pow_test_data): Update call to AUTO_TESTS_ff_f.
18162 (pow_tonearest_test_data): Likewise.
18163 (sin_test_data): Update call to AUTO_TESTS_f_f.
18164 (sin_test): Use ALL_RM_TEST.
18165 (sin_tonearest_test_data): Remove.
18166 (sin_test_tonearest): Likewise.
18167 (sin_towardzero_test_data): Likewise.
18168 (sin_test_towardzero): Likewise.
18169 (sin_downward_test_data): Likewise.
18170 (sin_test_downward): Likewise.
18171 (sin_upward_test_data): Likewise.
18172 (sin_test_upward): Likewise.
18173 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18174 (sinh_test_data): Update call to AUTO_TESTS_f_f.
18175 (sinh_test): Use ALL_RM_TEST.
18176 (sinh_tonearest_test_data): Remove.
18177 (sinh_test_tonearest): Likewise.
18178 (sinh_towardzero_test_data): Likewise.
18179 (sinh_test_towardzero): Likewise.
18180 (sinh_downward_test_data): Likewise.
18181 (sinh_test_downward): Likewise.
18182 (sinh_upward_test_data): Likewise.
18183 (sinh_test_upward): Likewise.
18184 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18185 (sqrt_test): Use ALL_RM_TEST.
18186 (sqrt_tonearest_test_data): Remove.
18187 (sqrt_test_tonearest): Likewise.
18188 (sqrt_towardzero_test_data): Likewise.
18189 (sqrt_test_towardzero): Likewise.
18190 (sqrt_downward_test_data): Likewise.
18191 (sqrt_test_downward): Likewise.
18192 (sqrt_upward_test_data): Likewise.
18193 (sqrt_test_upward): Likewise.
18194 (tan_test_data): Update call to AUTO_TESTS_f_f.
18195 (tan_test): Use ALL_RM_TEST.
18196 (tan_tonearest_test_data): Remove.
18197 (tan_test_tonearest): Likewise.
18198 (tan_towardzero_test_data): Likewise.
18199 (tan_test_towardzero): Likewise.
18200 (tan_downward_test_data): Likewise.
18201 (tan_test_downward): Likewise.
18202 (tan_upward_test_data): Likewise.
18203 (tan_test_upward): Likewise.
18204 (tanh_test_data): Update call to AUTO_TESTS_f_f.
18205 (tgamma_test_data): Likewise.
18206 (y0_test_data): Likewise.
18207 (y1_test_data): Likewise.
18208 (yn_test_data): Update call to AUTO_TESTS_if_f.
18209 (main): Do not call removed functions.
18211 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18213 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18214 (ldexp_test_data): Remove.
18215 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
18217 (scalb_test): Use ALL_RM_TEST.
18219 2014-03-19 Andreas Schwab <schwab@suse.de>
18221 * nscd/nscd.service: Also invalidate netgroup cache on reload.
18223 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18226 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18227 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18228 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18229 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18230 (__ASSUME_PREADV): Undefine.
18231 (__ASSUME_PWRITEV): Likewise.
18233 2014-03-18 Roland McGrath <roland@hack.frob.com>
18235 * bits/mman-linux.h: Add comment about non-Linux use.
18236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18237 bits/mman-linux.h resting place.
18239 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18240 * bits/mman-linux.h: ... here.
18242 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18244 * conform/conformtest.pl: Add standard definition when calling C
18245 preprocessor on data files.
18246 (checknamespace): Remove unused variable.
18248 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18250 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18251 minus_oflow, plus_uflow and minus_uflow in expected results.
18252 * math/libm-test.inc (scalbn_test_data): Add more tests of
18253 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18255 (scalbn_test): Use ALL_RM_TEST.
18256 (scalbln_test_data): Add more tests of negative arguments. Use
18257 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18258 (scalbln_test): Use ALL_RM_TEST.
18260 2014-03-18 Roland McGrath <roland@hack.frob.com>
18262 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18264 2014-03-18 Will Newton <will.newton@linaro.org>
18266 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18267 inaccurate comment.
18269 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18271 * Makerules [!subdir] (check-abi): Exit with error status if a
18274 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18276 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18277 for rint. Include results for all rounding modes.
18278 (nearbyint_test): Use ALL_RM_TEST.
18279 (rint_test_data): Include all tests used for nearbyint.
18281 2014-03-17 Will Newton <will.newton@linaro.org>
18283 * nptl/sysdeps/pthread/pthread.h: Revert previous
18286 * sysdeps/generic/ldsodefs.h: Revert previous
18289 * libio/genops.c: Revert previous change.
18290 * libio/libioP.h: Likewise.
18291 * stdio-common/vfprintf.c: Likewise.
18293 * sysdeps/generic/math_private.h: Revert previous
18296 * sysdeps/generic/math_private.h: Check whether
18297 HAVE_RM_CTX is defined with #ifdef rather
18300 * argp/argp-fmtstream.h: Check whether
18301 __STRICT_ANSI__ is defined with #ifdef rather
18303 * argp/argp.h: Likewise.
18305 * libio/genops.c: Check whether
18306 _IO_JUMPS_OFFSET is defined with #ifdef rather
18308 * libio/libioP.h: Likewise.
18309 * stdio-common/vfprintf.c: Likewise.
18311 * sysdeps/generic/ldsodefs.h: Check whether
18312 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18315 * nptl/sysdeps/pthread/pthread.h: Check
18316 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18319 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18321 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18323 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18327 * libio/fileops.c (_IO_file_open): Seek to end of file but
18328 don't cache the offset.
18329 (get_file_offset): Remove function.
18330 (do_ftell): Use cached offset when available.
18331 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18332 don't cache the offset.
18333 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18335 (do_one_test): Call it.
18336 (do_ftell_test): Fix up expected old offset for a+ mode.
18337 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18340 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18341 up test status with function return status.
18342 (do_write_test): Likewise.
18343 (do_append_test): Likewise.
18345 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18346 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18349 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18351 * math/gen-libm-test.pl (parse_args): Handle results specified for
18352 each rounding mode separately.
18353 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18354 tests and results from lrint_tonearest_test_data,
18355 lrint_towardzero_test_data, lrint_downward_test_data and
18356 lrint_upward_test_data.
18357 (lrint_test): Use ALL_RM_TEST.
18358 (lrint_tonearest_test_data): Remove.
18359 (lrint_test_tonearest): Likewise.
18360 (lrint_towardzero_test_data): Likewise.
18361 (lrint_test_towardzero): Likewise.
18362 (lrint_downward_test_data): Likewise.
18363 (lrint_test_downward): Likewise.
18364 (lrint_upward_test_data): Likewise.
18365 (lrint_test_upward): Likewise.
18366 (llrint_test_data): Merge in per-rounding-mode tests and results
18367 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18368 llrint_downward_test_data and llrint_upward_test_data.
18369 (llrint_test): Use ALL_RM_TEST.
18370 (llrint_tonearest_test_data): Remove.
18371 (llrint_test_tonearest): Likewise.
18372 (llrint_towardzero_test_data): Likewise.
18373 (llrint_test_towardzero): Likewise.
18374 (llrint_downward_test_data): Likewise.
18375 (llrint_test_downward): Likewise.
18376 (llrint_upward_test_data): Likewise.
18377 (llrint_test_upward): Likewise.
18378 (rint_test_data): Merge in per-rounding-mode tests and results
18379 from rint_tonearest_test_data, rint_towardzero_test_data,
18380 rint_downward_test_data and rint_upward_test_data. Add
18381 per-rounding-mode results for tests not in those arrays.
18382 (rint_test): Use ALL_RM_TEST.
18383 (rint_tonearest_test_data): Remove.
18384 (rint_test_tonearest): Likewise.
18385 (rint_towardzero_test_data): Likewise.
18386 (rint_test_towardzero): Likewise.
18387 (rint_downward_test_data): Likewise.
18388 (rint_test_downward): Likewise.
18389 (rint_upward_test_data): Likewise.
18390 (rint_test_upward): Likewise.
18391 (main): Don't call removed functions.
18393 2014-03-14 Roland McGrath <roland@hack.frob.com>
18395 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18396 "Compiled on ..." crapola. It is anti-useful.
18398 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18400 * scripts/evaluate-test.sh: Handle fourth argument to determine
18401 whether test run should stop on failure.
18402 * Makeconfig (stop-on-test-failure): New variable.
18403 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18404 $(stop-on-test-failure).
18405 * Makefile (tests): Give a summary of results from testing and
18406 exit with failure status if they include an ERROR or FAIL.
18407 (xtests): Likewise.
18408 * manual/install.texi (Configuring and compiling): Mention
18409 stop-on-test-failure=y.
18410 * INSTALL: Regenerated.
18412 2014-03-14 Roland McGrath <roland@hack.frob.com>
18414 * scripts/versionlist.awk: New file.
18415 * Makerules [$(build-shared) = yes]
18416 (postclean-generated): Add Versions.def, not Versions.def.v and
18418 ($(common-objpfx)Versions.def.v.i): Target removed.
18419 ($(common-objpfx)Versions.def): New target.
18420 ($(common-objpfx)Versions.all): Depend on that rather that
18421 $(common-objpfx)Versions.def.v.
18422 * Versions.def: File removed.
18424 * Makeconfig (+gccwarn): Add -Wundef.
18425 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18426 a dl-sysdep.h breaking its contract.
18427 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18428 * include/stackinfo.h: New file.
18429 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18430 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18431 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18432 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18433 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18434 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18435 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18436 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18437 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18438 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18439 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18440 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18441 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18442 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18443 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18445 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18448 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18450 * math/libm-test.inc (round_test_data): Add more tests.
18453 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18455 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18458 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18460 * math/libm-test.inc (ceil_test_data): Add more tests.
18462 * math/libm-test.inc (trunc_test_data): Add more tests related to
18465 2014-03-14 Roland McGrath <roland@hack.frob.com>
18467 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18468 with #if rather than #ifdef.
18469 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18471 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18473 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18474 first. Disable AVX-512 GCC support if assembler doesn't support
18476 * sysdeps/x86_64/configure: Regenerated.
18478 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18480 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18481 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18482 (__old_pthread_attr_setstack): Likewise.
18483 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18484 [!_STACK_GROWS_DOWN]: Likewise.
18486 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18488 * config.make.in (have-bash2): Delete.
18489 * configure.ac (libc_cv_have_bash2): Delete.
18490 * configure: Regenerate.
18491 * elf/Makefile (common-ldd-rewrite): Rename to ...
18492 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18493 (sh-ldd-rewrite): Delete.
18494 (bash-ldd-rewrite): Delete.
18495 (have-bash2): Delete checks.
18496 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18499 * config.make.in (have-ksh): Delete.
18501 * configure.ac (libc_cv_have_ksh): Delete.
18502 * configure: Regenerate.
18504 * elf/Makefile: Delete $(have-ksh) check.
18505 ($(objpfx)sotruss): Change KSH to BASH.
18506 * elf/sotruss.ksh: Rename to ...
18507 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18508 function style to match POSIX. Drop ksh vim mode setting.
18510 * manual/time.texi (Specifying the Time Zone with TZ): Change
18511 Tuesday to Thursday.
18513 * debug/tst-longjmp_chk2.c: Update header comment.
18514 (stackoverflow_handler): Add comment. Call assert on pass value.
18516 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18519 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18520 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18521 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18522 (La_x86_64_vector): Add zmm.
18523 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18524 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18525 ($(objpfx)tst-audit10): New target.
18526 ($(objpfx)tst-audit10.out): Likewise.
18527 (tst-audit10-ENV): New.
18528 (AVX512-CFLAGS): Likewise.
18529 (CFLAGS-tst-audit10.c): Likewise.
18530 (CFLAGS-tst-auditmod10a.c): Likewise.
18531 (CFLAGS-tst-auditmod10b.c): Likewise.
18532 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18533 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18534 * sysdeps/x86_64/configure: Regenerated.
18535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18536 AVX-512 zmm register support.
18537 (_dl_x86_64_save_sse): Likewise.
18538 (_dl_x86_64_restore_sse): Likewise.
18539 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18540 size vector registers.
18541 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18542 (ZMM_SIZE): Likewise.
18543 * sysdeps/x86_64/tst-audit10.c: New file.
18544 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18545 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18547 2014-03-13 Roland McGrath <roland@hack.frob.com>
18549 * configure.ac (HAVE_EHDR_START): New check.
18550 * configure: Regenerated.
18551 * config.h.in (HAVE_EHDR_START): New #undef.
18552 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18553 assuming the lowest-addressed segment maps the start of the file.
18555 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18557 * INSTALL: Regenerated.
18559 2014-03-13 Will Newton <will.newton@linaro.org>
18561 * manual/setjmp.texi (System V contexts): Improve
18562 clarity and grammar of documentation.
18564 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18567 * elf/Makefile (tests): Add tst-pie2.
18568 (tests-pie): Add tst-pie2.
18569 * elf/tst-pie2.c: New file.
18570 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18572 * elf/rtld.c (map_doit): Load executable as lt_executable.
18573 (dl_main): Likewise.
18575 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18578 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18579 (__ASSUME_PSELECT): Undefine.
18581 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18584 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18585 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18587 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18588 selector for static builds.
18590 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18593 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18596 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18598 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18599 IFUNC selector for static builds.
18601 2014-03-11 Joseph Myers <joseph@codesourcery.com>
18603 * sysdeps/mips/math_private.h [__mips_hard_float]
18604 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18605 libc_feresetround_mips_ctx.
18606 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18607 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18608 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18611 * math/s_nextafter.c (__nextafter): Do not return value from
18612 overflowing computation.
18613 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18614 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18615 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18617 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18619 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18620 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18622 2014-03-11 Roland McGrath <roland@hack.frob.com>
18624 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18625 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18626 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18627 the new mov targetting sp.
18629 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18632 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18633 Define it for static builds as well.
18634 (NO_BZERO_IMPL): Likewise.
18636 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18638 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18639 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18640 multiarch strspn for PPC64.
18641 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18642 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18644 (__libc_ifunc_impl_list): Likewise.
18645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18646 multiarch optimizations
18647 * string/strspn.c (strspn): Using macro to redefine symbol name.
18649 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18650 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18652 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18653 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18654 multiarch strncat for PPC64.
18655 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18656 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18658 (__libc_ifunc_impl_list): Likewise.
18659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18660 multiarch optimizations
18662 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18665 * nscd/nscd.service: Make service type forking.
18667 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18669 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18670 sign in non default rounding modes.
18671 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18673 2014-03-08 Joseph Myers <joseph@codesourcery.com>
18675 * math/libm-test.inc (ALL_RM_TEST): New macro.
18676 (ceil_test): Use ALL_RM_TEST.
18677 (cimag_test): Likewise.
18678 (conj_test): Likewise.
18679 (copysign_test): Likewise.
18680 (cproj_test): Likewise.
18681 (creal_test): Likewise.
18682 (fabs_test): Likewise.
18683 (floor_test): Likewise.
18684 (fmax_test): Likewise.
18685 (fmin_test): Likewise.
18686 (fmod_test): Likewise.
18687 (fpclassify_test): Likewise.
18688 (frexp_test): Likewise.
18689 (ilogb_test): Likewise.
18690 (isfinite_test): Likewise.
18691 (finite_test): Likewise.
18692 (isgreater_test): Likewise.
18693 (isgreaterequal_test): Likewise.
18694 (isinf_test): Likewise.
18695 (isless_test): Likewise.
18696 (islessequal_test): Likewise.
18697 (islessgreater_test): Likewise.
18698 (isnan_test): Likewise.
18699 (isnormal_test): Likewise.
18700 (issignaling_test): Likewise.
18701 (isunordered_test): Likewise.
18702 (logb_test): Likewise.
18703 (logb_downward_test_data): Remove.
18704 (logb_test_downward): Likewise.
18705 (lround_test): Use ALL_RM_TEST.
18706 (llround_test): Likewise.
18707 (modf_test): Likewise.
18708 (nexttoward_test): Likewise.
18709 (remainder_test): Likewise.
18710 (drem_test): Likewise.
18711 (remainder_tonearest_test_data): Likewise.
18712 (remainder_test_tonearest): Likewise.
18713 (drem_test_tonearest): Likewise.
18714 (remainder_towardzero_test_data): Likewise.
18715 (remainder_test_towardzero): Likewise.
18716 (drem_test_towardzero): Likewise.
18717 (remainder_downward_test_data): Likewise.
18718 (remainder_test_downward): Likewise.
18719 (drem_test_downward): Likewise.
18720 (remainder_upward_test_data): Likewise.
18721 (remainder_test_upward): Likewise.
18722 (drem_test_upward): Likewise.
18723 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18724 (round_test): Use ALL_RM_TEST.
18725 (signbit_test): Likewise.
18726 (trunc_test): Likewise.
18727 (significand_test): Likewise.
18728 (main): Don't call removed functions.
18730 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18733 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18734 || __USE_XOPEN2K8].
18735 (ILL_ILLOPN): Likewise.
18736 (ILL_ILLADR): Likewise.
18737 (ILL_ILLTRP): Likewise.
18738 (ILL_PRVOPC): Likewise.
18739 (ILL_PRVREG): Likewise.
18740 (ILL_COPROC): Likewise.
18741 (ILL_BADSTK): Likewise.
18742 (FPE_INTDIV): Likewise.
18743 (FPE_INTOVF): Likewise.
18744 (FPE_FLTDIV): Likewise.
18745 (FPE_FLTOVF): Likewise.
18746 (FPE_FLTUND): Likewise.
18747 (FPE_FLTRES): Likewise.
18748 (FPE_FLTINV): Likewise.
18749 (FPE_FLTSUB): Likewise.
18750 (SEGV_MAPERR): Likewise.
18751 (SEGV_ACCERR): Likewise.
18752 (BUS_ADRALN): Likewise.
18753 (BUS_ADRERR): Likewise.
18754 (BUS_OBJERR): Likewise.
18755 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18756 (TRAP_TRACE): Likewise.
18757 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18759 (CLD_KILLED): Likewise.
18760 (CLD_DUMPED): Likewise.
18761 (CLD_TRAPPED): Likewise.
18762 (CLD_STOPPED): Likewise.
18763 (CLD_CONTINUED): Likewise.
18764 (POLL_IN): Likewise.
18765 (POLL_OUT): Likewise.
18766 (POLL_MSG): Likewise.
18767 (POLL_ERR): Likewise.
18768 (POLL_PRI): Likewise.
18769 (POLL_HUP): Likewise.
18770 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18772 (ILL_ILLOPN): Likewise.
18773 (ILL_ILLADR): Likewise.
18774 (ILL_ILLTRP): Likewise.
18775 (ILL_PRVOPC): Likewise.
18776 (ILL_PRVREG): Likewise.
18777 (ILL_COPROC): Likewise.
18778 (ILL_BADSTK): Likewise.
18779 (FPE_INTDIV): Likewise.
18780 (FPE_INTOVF): Likewise.
18781 (FPE_FLTDIV): Likewise.
18782 (FPE_FLTOVF): Likewise.
18783 (FPE_FLTUND): Likewise.
18784 (FPE_FLTRES): Likewise.
18785 (FPE_FLTINV): Likewise.
18786 (FPE_FLTSUB): Likewise.
18787 (SEGV_MAPERR): Likewise.
18788 (SEGV_ACCERR): Likewise.
18789 (BUS_ADRALN): Likewise.
18790 (BUS_ADRERR): Likewise.
18791 (BUS_OBJERR): Likewise.
18792 (BUS_MCEERR_AR): Likewise.
18793 (BUS_MCEERR_AO): Likewise.
18794 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18795 (TRAP_TRACE): Likewise.
18796 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18798 (CLD_KILLED): Likewise.
18799 (CLD_DUMPED): Likewise.
18800 (CLD_TRAPPED): Likewise.
18801 (CLD_STOPPED): Likewise.
18802 (CLD_CONTINUED): Likewise.
18803 (POLL_IN): Likewise.
18804 (POLL_OUT): Likewise.
18805 (POLL_MSG): Likewise.
18806 (POLL_ERR): Likewise.
18807 (POLL_PRI): Likewise.
18808 (POLL_HUP): Likewise.
18809 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18810 (ILL_ILLOPN): Likewise.
18811 (ILL_ILLADR): Likewise.
18812 (ILL_ILLTRP): Likewise.
18813 (ILL_PRVOPC): Likewise.
18814 (ILL_PRVREG): Likewise.
18815 (ILL_COPROC): Likewise.
18816 (ILL_BADSTK): Likewise.
18817 (FPE_INTDIV): Likewise.
18818 (FPE_INTOVF): Likewise.
18819 (FPE_FLTDIV): Likewise.
18820 (FPE_FLTOVF): Likewise.
18821 (FPE_FLTUND): Likewise.
18822 (FPE_FLTRES): Likewise.
18823 (FPE_FLTINV): Likewise.
18824 (FPE_FLTSUB): Likewise.
18825 (SEGV_MAPERR): Likewise.
18826 (SEGV_ACCERR): Likewise.
18827 (BUS_ADRALN): Likewise.
18828 (BUS_ADRERR): Likewise.
18829 (BUS_OBJERR): Likewise.
18830 (BUS_MCEERR_AR): Likewise.
18831 (BUS_MCEERR_AO): Likewise.
18832 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18833 (TRAP_TRACE): Likewise.
18834 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18836 (CLD_KILLED): Likewise.
18837 (CLD_DUMPED): Likewise.
18838 (CLD_TRAPPED): Likewise.
18839 (CLD_STOPPED): Likewise.
18840 (CLD_CONTINUED): Likewise.
18841 (POLL_IN): Likewise.
18842 (POLL_OUT): Likewise.
18843 (POLL_MSG): Likewise.
18844 (POLL_ERR): Likewise.
18845 (POLL_PRI): Likewise.
18846 (POLL_HUP): Likewise.
18847 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18849 (ILL_ILLOPN): Likewise.
18850 (ILL_ILLADR): Likewise.
18851 (ILL_ILLTRP): Likewise.
18852 (ILL_PRVOPC): Likewise.
18853 (ILL_PRVREG): Likewise.
18854 (ILL_COPROC): Likewise.
18855 (ILL_BADSTK): Likewise.
18856 (ILL_BADIADDR): Likewise.
18857 (ILL_BREAK): Likewise.
18858 (FPE_INTDIV): Likewise.
18859 (FPE_INTOVF): Likewise.
18860 (FPE_FLTDIV): Likewise.
18861 (FPE_FLTOVF): Likewise.
18862 (FPE_FLTUND): Likewise.
18863 (FPE_FLTRES): Likewise.
18864 (FPE_FLTINV): Likewise.
18865 (FPE_FLTSUB): Likewise.
18866 (FPE_DECOVF): Likewise.
18867 (FPE_DECDIV): Likewise.
18868 (FPE_DECERR): Likewise.
18869 (FPE_INVASC): Likewise.
18870 (FPE_INVDEC): Likewise.
18871 (SEGV_MAPERR): Likewise.
18872 (SEGV_ACCERR): Likewise.
18873 (SEGV_PSTKOVF): Likewise.
18874 (BUS_ADRALN): Likewise.
18875 (BUS_ADRERR): Likewise.
18876 (BUS_OBJERR): Likewise.
18877 (BUS_MCEERR_AR): Likewise.
18878 (BUS_MCEERR_AO): Likewise.
18879 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18880 (TRAP_TRACE): Likewise.
18881 (TRAP_BRANCH): Likewise.
18882 (TRAP_HWBKPT): Likewise.
18883 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18885 (CLD_KILLED): Likewise.
18886 (CLD_DUMPED): Likewise.
18887 (CLD_TRAPPED): Likewise.
18888 (CLD_STOPPED): Likewise.
18889 (CLD_CONTINUED): Likewise.
18890 (POLL_IN): Likewise.
18891 (POLL_OUT): Likewise.
18892 (POLL_MSG): Likewise.
18893 (POLL_ERR): Likewise.
18894 (POLL_PRI): Likewise.
18895 (POLL_HUP): Likewise.
18896 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18897 (ILL_ILLOPN): Likewise.
18898 (ILL_ILLADR): Likewise.
18899 (ILL_ILLTRP): Likewise.
18900 (ILL_PRVOPC): Likewise.
18901 (ILL_PRVREG): Likewise.
18902 (ILL_COPROC): Likewise.
18903 (ILL_BADSTK): Likewise.
18904 (FPE_INTDIV): Likewise.
18905 (FPE_INTOVF): Likewise.
18906 (FPE_FLTDIV): Likewise.
18907 (FPE_FLTOVF): Likewise.
18908 (FPE_FLTUND): Likewise.
18909 (FPE_FLTRES): Likewise.
18910 (FPE_FLTINV): Likewise.
18911 (FPE_FLTSUB): Likewise.
18912 (SEGV_MAPERR): Likewise.
18913 (SEGV_ACCERR): Likewise.
18914 (BUS_ADRALN): Likewise.
18915 (BUS_ADRERR): Likewise.
18916 (BUS_OBJERR): Likewise.
18917 (BUS_MCEERR_AR): Likewise.
18918 (BUS_MCEERR_AO): Likewise.
18919 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18920 (TRAP_TRACE): Likewise.
18921 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18923 (CLD_KILLED): Likewise.
18924 (CLD_DUMPED): Likewise.
18925 (CLD_TRAPPED): Likewise.
18926 (CLD_STOPPED): Likewise.
18927 (CLD_CONTINUED): Likewise.
18928 (POLL_IN): Likewise.
18929 (POLL_OUT): Likewise.
18930 (POLL_MSG): Likewise.
18931 (POLL_ERR): Likewise.
18932 (POLL_PRI): Likewise.
18933 (POLL_HUP): Likewise.
18934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18935 (ILL_ILLOPN): Likewise.
18936 (ILL_ILLADR): Likewise.
18937 (ILL_ILLTRP): Likewise.
18938 (ILL_PRVOPC): Likewise.
18939 (ILL_PRVREG): Likewise.
18940 (ILL_COPROC): Likewise.
18941 (ILL_BADSTK): Likewise.
18942 (FPE_INTDIV): Likewise.
18943 (FPE_INTOVF): Likewise.
18944 (FPE_FLTDIV): Likewise.
18945 (FPE_FLTOVF): Likewise.
18946 (FPE_FLTUND): Likewise.
18947 (FPE_FLTRES): Likewise.
18948 (FPE_FLTINV): Likewise.
18949 (FPE_FLTSUB): Likewise.
18950 (SEGV_MAPERR): Likewise.
18951 (SEGV_ACCERR): Likewise.
18952 (BUS_ADRALN): Likewise.
18953 (BUS_ADRERR): Likewise.
18954 (BUS_OBJERR): Likewise.
18955 (BUS_MCEERR_AR): Likewise.
18956 (BUS_MCEERR_AO): Likewise.
18957 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18958 (TRAP_TRACE): Likewise.
18959 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18961 (CLD_KILLED): Likewise.
18962 (CLD_DUMPED): Likewise.
18963 (CLD_TRAPPED): Likewise.
18964 (CLD_STOPPED): Likewise.
18965 (CLD_CONTINUED): Likewise.
18966 (POLL_IN): Likewise.
18967 (POLL_OUT): Likewise.
18968 (POLL_MSG): Likewise.
18969 (POLL_ERR): Likewise.
18970 (POLL_PRI): Likewise.
18971 (POLL_HUP): Likewise.
18972 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18973 (ILL_ILLOPN): Likewise.
18974 (ILL_ILLADR): Likewise.
18975 (ILL_ILLTRP): Likewise.
18976 (ILL_PRVOPC): Likewise.
18977 (ILL_PRVREG): Likewise.
18978 (ILL_COPROC): Likewise.
18979 (ILL_BADSTK): Likewise.
18980 (FPE_INTDIV): Likewise.
18981 (FPE_INTOVF): Likewise.
18982 (FPE_FLTDIV): Likewise.
18983 (FPE_FLTOVF): Likewise.
18984 (FPE_FLTUND): Likewise.
18985 (FPE_FLTRES): Likewise.
18986 (FPE_FLTINV): Likewise.
18987 (FPE_FLTSUB): Likewise.
18988 (SEGV_MAPERR): Likewise.
18989 (SEGV_ACCERR): Likewise.
18990 (BUS_ADRALN): Likewise.
18991 (BUS_ADRERR): Likewise.
18992 (BUS_OBJERR): Likewise.
18993 (BUS_MCEERR_AR): Likewise.
18994 (BUS_MCEERR_AO): Likewise.
18995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18996 (TRAP_TRACE): Likewise.
18997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18999 (CLD_KILLED): Likewise.
19000 (CLD_DUMPED): Likewise.
19001 (CLD_TRAPPED): Likewise.
19002 (CLD_STOPPED): Likewise.
19003 (CLD_CONTINUED): Likewise.
19004 (POLL_IN): Likewise.
19005 (POLL_OUT): Likewise.
19006 (POLL_MSG): Likewise.
19007 (POLL_ERR): Likewise.
19008 (POLL_PRI): Likewise.
19009 (POLL_HUP): Likewise.
19010 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19011 (ILL_ILLOPN): Likewise.
19012 (ILL_ILLADR): Likewise.
19013 (ILL_ILLTRP): Likewise.
19014 (ILL_PRVOPC): Likewise.
19015 (ILL_PRVREG): Likewise.
19016 (ILL_COPROC): Likewise.
19017 (ILL_BADSTK): Likewise.
19018 (ILL_DBLFLT): Likewise.
19019 (ILL_HARDWALL): Likewise.
19020 (FPE_INTDIV): Likewise.
19021 (FPE_INTOVF): Likewise.
19022 (FPE_FLTDIV): Likewise.
19023 (FPE_FLTOVF): Likewise.
19024 (FPE_FLTUND): Likewise.
19025 (FPE_FLTRES): Likewise.
19026 (FPE_FLTINV): Likewise.
19027 (FPE_FLTSUB): Likewise.
19028 (SEGV_MAPERR): Likewise.
19029 (SEGV_ACCERR): Likewise.
19030 (BUS_ADRALN): Likewise.
19031 (BUS_ADRERR): Likewise.
19032 (BUS_OBJERR): Likewise.
19033 (BUS_MCEERR_AR): Likewise.
19034 (BUS_MCEERR_AO): Likewise.
19035 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19036 (TRAP_TRACE): Likewise.
19037 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19039 (CLD_KILLED): Likewise.
19040 (CLD_DUMPED): Likewise.
19041 (CLD_TRAPPED): Likewise.
19042 (CLD_STOPPED): Likewise.
19043 (CLD_CONTINUED): Likewise.
19044 (POLL_IN): Likewise.
19045 (POLL_OUT): Likewise.
19046 (POLL_MSG): Likewise.
19047 (POLL_ERR): Likewise.
19048 (POLL_PRI): Likewise.
19049 (POLL_HUP): Likewise.
19050 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19051 (ILL_ILLOPN): Likewise.
19052 (ILL_ILLADR): Likewise.
19053 (ILL_ILLTRP): Likewise.
19054 (ILL_PRVOPC): Likewise.
19055 (ILL_PRVREG): Likewise.
19056 (ILL_COPROC): Likewise.
19057 (ILL_BADSTK): Likewise.
19058 (FPE_INTDIV): Likewise.
19059 (FPE_INTOVF): Likewise.
19060 (FPE_FLTDIV): Likewise.
19061 (FPE_FLTOVF): Likewise.
19062 (FPE_FLTUND): Likewise.
19063 (FPE_FLTRES): Likewise.
19064 (FPE_FLTINV): Likewise.
19065 (FPE_FLTSUB): Likewise.
19066 (SEGV_MAPERR): Likewise.
19067 (SEGV_ACCERR): Likewise.
19068 (BUS_ADRALN): Likewise.
19069 (BUS_ADRERR): Likewise.
19070 (BUS_OBJERR): Likewise.
19071 (BUS_MCEERR_AR): Likewise.
19072 (BUS_MCEERR_AO): Likewise.
19073 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19074 (TRAP_TRACE): Likewise.
19075 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19077 (CLD_KILLED): Likewise.
19078 (CLD_DUMPED): Likewise.
19079 (CLD_TRAPPED): Likewise.
19080 (CLD_STOPPED): Likewise.
19081 (CLD_CONTINUED): Likewise.
19082 (POLL_IN): Likewise.
19083 (POLL_OUT): Likewise.
19084 (POLL_MSG): Likewise.
19085 (POLL_ERR): Likewise.
19086 (POLL_PRI): Likewise.
19087 (POLL_HUP): Likewise.
19088 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19089 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19092 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19093 before #include of <time.h>.
19094 [!__USE_XOPEN2K] (__need_timespec): Likewise.
19095 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19096 (test-xfail-UNIX98/sched.h/conform): Likewise.
19098 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
19100 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19101 error absence of trapping exception support.
19102 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19104 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19106 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19107 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19108 * timezone/Makefile (testdata): Move definition above include of
19110 (test-zones): New variable.
19111 (tests-special): Add zone files.
19112 (build-testdata): Use $(evaluate-test).
19114 * elf/Makefile (tests-special): Rename tests to end with .out.
19115 ($(objpfx)noload-mem): Likewise.
19116 ($(objpfx)tst-leaks1-mem): Likewise.
19117 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19118 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19119 $(objpfx)test-iconvconfig.out.
19120 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19121 set -e inside subshell and redirect output to file.
19122 * iconvdata/Makefile (generated): Rename tests to end with .out.
19124 (tests-special): Rename tests to end with .out.
19125 ($(objpfx)mtrace-tst-loading): Likewise.
19126 * intl/Makefile (generated): Likewise.
19127 (tests-special): Likewise.
19128 ($(objpfx)mtrace-tst-gettext): Likewise.
19129 * misc/Makefile (generated): Likewise.
19130 (tests-special): Likewise.
19131 ($(objpfx)tst-error1-mem): Likewise.
19132 * nptl/Makefile (tests-special): Likewise.
19133 ($(objpfx)tst-stack3-mem): Likewise.
19134 (generated): Likewise.
19135 * posix/Makefile (generated): Likewise.
19136 (tests-special): Likewise.
19137 (xtests-special): Likewise.
19138 ($(objpfx)tst-fnmatch-mem): Likewise.
19139 ($(objpfx)bug-regex2-mem): Likewise.
19140 ($(objpfx)bug-regex14-mem): Likewise.
19141 ($(objpfx)bug-regex21-mem): Likewise.
19142 ($(objpfx)bug-regex31-mem): Likewise.
19143 ($(objpfx)tst-vfork3-mem): Likewise.
19144 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19145 ($(objpfx)tst-pcre-mem): Likewise.
19146 ($(objpfx)tst-boost-mem): Likewise.
19147 ($(objpfx)bug-ga2-mem): Likewise.
19148 ($(objpfx)bug-glob2-mem): Likewise.
19149 * resolv/Makefile (generate): Likewise.
19150 (tests-special): Likewise.
19151 (xtests-special): Likewise.
19152 (generated): Likewise.
19153 ($(objpfx)mtrace-tst-leaks): Likewise.
19154 ($(objpfx)mtrace-tst-leaks2): Likewise.
19156 * scripts/merge-test-results.sh: New file.
19157 * Makefile (tests-special-notdir): New variable.
19158 (tests): Run merge-test-results.sh.
19159 (xtests): Likewise.
19160 * Rules (tests-special-notdir): New variable.
19161 (xtests-special-notdir): Likewise.
19162 (tests): Run merge-test-results.sh
19163 (xtests): Likewise.
19165 * Makeconfig (test-xfail-name): New variable.
19166 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19167 compute variable name for expected failures.
19168 * conform/Makefile (conformtest-headers-data): New variable.
19169 (conformtest-standards): Likewise.
19170 (conformtest-headers-ISO): Likewise.
19171 (conformtest-headers-ISO99): Likewise.
19172 (conformtest-headers-ISO11): Likewise.
19173 (conformtest-headers-POSIX): Likewise.
19174 (conformtest-headers-XPG3): Likewise.
19175 (conformtest-headers-XPG4): Likewise.
19176 (conformtest-headers-UNIX98): Likewise.
19177 (conformtest-headers-XOPEN2K): Likewise.
19178 (conformtest-headers-POSIX2008): Likewise.
19179 (conformtest-headers-XOPEN2K8): Likewise.
19180 (conformtest-header-list-base): Likewise.
19181 (conformtest-header-list-tests): Likewise.
19182 (conformtest-header-base): Likewise.
19183 (conformtest-header-tests): Likewise.
19184 (tests-special): Add $(conformtest-header-list-tests). If
19185 [$(fast-check) && !$(cross-compiling)], add
19186 $(conformtest-header-tests) instead of
19187 $(objpfx)run-conformtest.out.
19188 (generated): Add $(conformtest-header-list-base). If
19189 [$(fast-check) && !$(cross-compiling)], add
19190 $(conformtest-header-base). Remove previous setting.
19191 ($(conformtest-header-list-tests)): New target.
19192 (test-xfail-run-conformtest): Remove variable.
19193 ($(objpfx)run-conformtest.out): Remove target.
19194 (test-xfail-ISO11/complex.h/conform): New variable.
19195 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19196 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19197 (test-xfail-XPG3/varargs.h/conform): Likewise.
19198 (test-xfail-XPG4/varargs.h/conform): Likewise.
19199 (test-xfail-UNIX98/varargs.h/conform): Likewise.
19200 (test-xfail-XPG4/ndbm.h/conform): Likewise.
19201 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19202 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19203 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19204 (test-xfail-XPG3/fcntl.h/conform): Likewise.
19205 (test-xfail-XPG3/ftw.h/conform): Likewise.
19206 (test-xfail-XPG3/grp.h/conform): Likewise.
19207 (test-xfail-XPG3/langinfo.h/conform): Likewise.
19208 (test-xfail-XPG3/limits.h/conform): Likewise.
19209 (test-xfail-XPG3/pwd.h/conform): Likewise.
19210 (test-xfail-XPG3/search.h/conform): Likewise.
19211 (test-xfail-XPG3/signal.h/conform): Likewise.
19212 (test-xfail-XPG3/stdio.h/conform): Likewise.
19213 (test-xfail-XPG3/stdlib.h/conform): Likewise.
19214 (test-xfail-XPG3/string.h/conform): Likewise.
19215 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19216 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19217 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19218 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19219 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19220 (test-xfail-XPG3/sys/types.h/conform): Likewise.
19221 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19222 (test-xfail-XPG3/termios.h/conform): Likewise.
19223 (test-xfail-XPG3/time.h/conform): Likewise.
19224 (test-xfail-XPG3/unistd.h/conform): Likewise.
19225 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19226 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19227 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19228 (test-xfail-XPG4/netdb.h/conform): Likewise.
19229 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19230 (test-xfail-XPG4/signal.h/conform): Likewise.
19231 (test-xfail-XPG4/stdio.h/conform): Likewise.
19232 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19233 (test-xfail-XPG4/stropts.h/conform): Likewise.
19234 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19235 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19236 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19237 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19238 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19239 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19240 (test-xfail-XPG4/sys/time.h/conform): Likewise.
19241 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19242 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19243 (test-xfail-XPG4/termios.h/conform): Likewise.
19244 (test-xfail-XPG4/ucontext.h/conform): Likewise.
19245 (test-xfail-XPG4/unistd.h/conform): Likewise.
19246 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19247 (test-xfail-POSIX/sched.h/conform): Likewise.
19248 (test-xfail-POSIX/signal.h/conform): Likewise.
19249 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19250 (test-xfail-POSIX/tar.h/conform): Likewise.
19251 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19252 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19253 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19254 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19255 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19256 (test-xfail-UNIX98/sched.h/conform): Likewise.
19257 (test-xfail-UNIX98/signal.h/conform): Likewise.
19258 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19259 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19260 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19261 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19262 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19263 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19264 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19265 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19266 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19267 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19268 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19269 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19270 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19271 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19272 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19273 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19274 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19275 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19276 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19277 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19278 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19279 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19280 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19281 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19282 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19283 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19284 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19285 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19286 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19287 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19288 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19289 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19290 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19291 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19292 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19293 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19294 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19295 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19296 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19297 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19298 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19299 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19300 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19301 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19302 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19303 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19304 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19305 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19306 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19307 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19308 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19309 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19310 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19311 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19312 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19313 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19314 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19315 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19316 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19317 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19318 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19319 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19320 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19321 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19322 (conformtest-cc-flags): Likewise.
19323 ($(conformtest-header-tests): New target.
19324 * conform/check-header-lists.sh: New file.
19325 * conform/run-conformtest.sh: Remove.
19327 * conform/conformtest.pl: Allow ' and \ in values given for
19329 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19331 [POSIX] (sys/types.h): Likewise.
19332 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19334 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19336 * conform/data/signal.h-data (SIGIO): Remove expectation.
19337 [XPG3] (SIGBUS): Do not expect.
19338 [POSIX || XPG3] (SIGPOLL): Likewise.
19339 [POSIX || XPG3] (SIGPROF): Likewise.
19340 [POSIX || XPG3] (SIGSYS): Likewise.
19341 [XPG3] (SIGTRAP): Likewise.
19342 [POSIX || XPG3] (SIGURG): Likewise.
19343 [POSIX || XPG3] (SIGVTALRM): Likewise.
19344 [POSIX || XPG3] (SIGXCPU): Likewise.
19345 [POSIX || XPG3] (SIGXFSZ): Likewise.
19346 [POSIX] (SA_SIGINFO): Expect.
19347 [XPG3] (siginfo_t): Do not expect type or contents.
19348 [POSIX] (si_pid): Do not expect element.
19349 [POSIX] (si_uid): Likewise.
19350 [POSIX] (si_addr): Likewise.
19351 [POSIX] (si_status): Likewise.
19352 [POSIX] (si_band): Likewise.
19353 [XPG4] (si_value): Likewise.
19354 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19355 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19356 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19357 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19358 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19359 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19360 [POSIX || XPG3] (ILL_COPROC): Likewise.
19361 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19362 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19363 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19364 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19365 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19366 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19367 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19368 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19369 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19370 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19371 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19372 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19373 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19374 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19375 [POSIX || XPG3] (CLD_EXITED): Likewise.
19376 [POSIX || XPG3] (CLD_KILLED): Likewise.
19377 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19378 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19379 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19380 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19381 [POSIX || XPG3] (POLL_IN): Likewise.
19382 [POSIX || XPG3] (POLL_OUT): Likewise.
19383 [POSIX || XPG3] (POLL_MSG): Likewise.
19384 [POSIX || XPG3] (POLL_ERR): Likewise.
19385 [POSIX || XPG3] (POLL_PRI): Likewise.
19386 [POSIX || XPG3] (POLL_HUP): Likewise.
19387 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19388 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19389 (SIG*): Do not allow.
19390 [XPG3] (si_*): Likewise.
19391 [XPG3] (SI_*): Likewise.
19392 [XPG3 || XPG4] (sigev_*): Likewise.
19393 [XPG3 || XPG4] (SIGEV_*): Likewise.
19394 [XPG3 || XPG4] (sival_*): Likewise.
19395 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19396 [POSIX || XPG3] (BUS_*): Likewise.
19397 [POSIX || XPG3] (CLD_*): Likewise.
19398 [POSIX || XPG3] (FPE_*): Likewise.
19399 [POSIX || XPG3] (ILL_*): Likewise.
19400 [POSIX || XPG3] (POLL_*): Likewise.
19401 [POSIX || XPG3] (SEGV_*): Likewise.
19402 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19403 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19404 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19405 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19406 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19407 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19408 Specify type and value.
19409 (TVERSLEN): Likewise.
19410 (REGTYPE): Likewise.
19411 (AREGTYPE): Likewise.
19412 (LNKTYPE): Likewise.
19413 (SYMTYPE): Likewise.
19414 (CHRTYPE): Likewise.
19415 (BLKTYPE): Likewise.
19416 (DIRTYPE): Likewise.
19417 (FIFOTYPE): Likewise.
19418 (CONTTYPE): Likewise.
19422 (TUREAD): Likewise.
19423 (TUWRITE): Likewise.
19424 (TUEXEC): Likewise.
19425 (TGREAD): Likewise.
19426 (TGWRITE): Likewise.
19427 (TGEXEC): Likewise.
19428 (TOREAD): Likewise.
19429 (TOWRITE): Likewise.
19430 (TOEXEC): Likewise.
19431 [POSIX] (TSVTX): Expect constant.
19433 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19435 * Makefile (tests): Change dependencies to ....
19436 (tests-special): ... additions to this variable.
19437 (tests): Depend on $(tests-special).
19438 * Makerules (check-abi-list): New variable.
19439 (check-abi): Depend on $(check-abi-list).
19440 [$(subdir) = elf] (tests-special): Add
19441 $(objpfx)check-abi-libc.out.
19442 [$(build-shared) = yes && subdir] (tests-special): Add
19444 [$(build-shared) = yes && subdir] (tests): Do not depend on
19446 * Rules (tests): Depend on $(tests-special).
19447 (xtests): Depend on $(xtests-special).
19448 * catgets/Makefile (tests): Change dependencies to ....
19449 (tests-special): ... additions to this variable.
19450 * conform/Makefile (tests): Change dependencies to ....
19451 (tests-special): ... additions to this variable.
19452 * elf/Makefile (tests): Change dependencies to ....
19453 (tests-special): ... additions to this variable.
19454 * grp/Makefile (tests): Change dependencies to ....
19455 (tests-special): ... additions to this variable.
19456 * iconv/Makefile (xtests): Change dependencies to ....
19457 (xtests-special): ... additions to this variable.
19458 * iconvdata/Makefile (tests): Change dependencies to ....
19459 (tests-special): ... additions to this variable.
19460 * intl/Makefile (tests): Change dependencies to ....
19461 (tests-special): ... additions to this variable. Also add
19462 $(objpfx)tst-gettext.out.
19463 * io/Makefile (tests): Change dependencies to ....
19464 (tests-special): ... additions to this variable.
19465 * libio/Makefile (tests): Change dependencies to ....
19466 (tests-special): ... additions to this variable.
19467 * malloc/Makefile (tests): Change dependencies to ....
19468 (tests-special): ... additions to this variable.
19469 * misc/Makefile (tests): Change dependencies to ....
19470 (tests-special): ... additions to this variable.
19471 * nptl/Makefile (tests): Change dependencies to ....
19472 (tests-special): ... additions to this variable.
19473 * nptl_db/Makefile (tests): Change dependencies to ....
19474 (tests-special): ... additions to this variable.
19475 * posix/Makefile (tests): Change dependencies to ....
19476 (tests-special): ... additions to this variable.
19477 (xtests): Change dependencies to ....
19478 (xtests-special): ... additions to this variable.
19479 * resolv/Makefile (tests): Change dependencies to ....
19480 (tests-special): ... additions to this variable.
19481 (xtests): Change dependencies to ....
19482 (xtests-special): ... additions to this variable.
19483 * stdio-common/Makefile (tests): Change dependencies to ....
19484 (tests-special): ... additions to this variable.
19485 (do-tst-unbputc): Remove target.
19486 (do-tst-printf): Likewise.
19487 * stdlib/Makefile (tests): Change dependencies to ....
19488 (tests-special): ... additions to this variable.
19489 * string/Makefile (tests): Change dependencies to ....
19490 (tests-special): ... additions to this variable.
19491 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19492 (tests-special): ... additions to this variable.
19494 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19496 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19498 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19499 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19501 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19502 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19503 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19504 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19505 * conform/data/libgen.h-data [XPG3]: Likewise.
19506 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19507 * conform/data/ndbm.h-data [XPG3]: Likewise.
19508 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19509 * conform/data/netdb.h-data [XPG3]: Likewise.
19510 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19511 * conform/data/poll.h-data [XPG3]: Likewise.
19512 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19513 * conform/data/strings.h-data [XPG3]: Likewise.
19514 * conform/data/stropts.h-data [XPG3]: Likewise.
19515 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19516 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19517 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19519 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19520 * conform/data/sys/time.h-data [XPG3]: Likewise.
19521 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19522 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19523 * conform/data/sys/un.h-data [XPG3]: Likewise.
19524 * conform/data/syslog.h-data [XPG3]: Likewise.
19525 * conform/data/ucontext.h-data [XPG3]: Likewise.
19526 * conform/data/utmpx.h-data [XPG3]: Likewise.
19527 * conform/data/varargs.h-data [UNIX98]: Enable file.
19529 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19531 * math/libm-test.inc (struct test_f_f_data): Move expected results
19532 into structure for each rounding mode.
19533 (struct test_ff_f_data): Likewise.
19534 (struct test_ff_f_data_nexttoward): Likewise.
19535 (struct test_fi_f_data): Likewise.
19536 (struct test_fl_f_data): Likewise.
19537 (struct test_if_f_data): Likewise.
19538 (struct test_fff_f_data): Likewise.
19539 (struct test_c_f_data): Likewise.
19540 (struct test_f_f1_data): Likewise.
19541 (struct test_fF_f1_data): Likewise.
19542 (struct test_ffI_f1_data): Likewise.
19543 (struct test_c_c_data): Likewise.
19544 (struct test_cc_c_data): Likewise.
19545 (struct test_f_i_data): Likewise.
19546 (struct test_ff_i_data): Likewise.
19547 (struct test_f_l_data): Likewise.
19548 (struct test_f_L_data): Likewise.
19549 (struct test_fFF_11_data): Likewise.
19551 (RM_FE_DOWNWARD): Likewise.
19552 (RM_FE_TONEAREST): Likewise.
19553 (RM_FE_TOWARDZERO): Likewise.
19554 (RM_FE_UPWARD): Likewise.
19555 (RUN_TEST_LOOP_f_f): Update references to expected results.
19556 (RUN_TEST_LOOP_2_f): Likewise.
19557 (RUN_TEST_LOOP_fff_f): Likewise.
19558 (RUN_TEST_LOOP_c_f): Likewise.
19559 (RUN_TEST_LOOP_f_f1): Likewise.
19560 (RUN_TEST_LOOP_fF_f1): Likewise.
19561 (RUN_TEST_LOOP_fI_f1): Likewise.
19562 (RUN_TEST_LOOP_ffI_f1): Likewise.
19563 (RUN_TEST_LOOP_c_c): Likewise.
19564 (RUN_TEST_LOOP_cc_c): Likewise.
19565 (RUN_TEST_LOOP_f_i): Likewise.
19566 (RUN_TEST_LOOP_f_i_tg): Likewise.
19567 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19568 (RUN_TEST_LOOP_f_b): Likewise.
19569 (RUN_TEST_LOOP_f_b_tg): Likewise.
19570 (RUN_TEST_LOOP_f_l): Likewise.
19571 (RUN_TEST_LOOP_f_L): Likewise.
19572 (RUN_TEST_LOOP_fFF_11): Likewise.
19573 * math/gen-libm-test.pl (parse_args): Output four copies of
19574 expected results for each test.
19576 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19577 (__ASSUME_UTIMES): Remove.
19578 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19579 (__ASSUME_UTIMES): Likewise.
19581 * math/gen-auto-libm-tests.c: Update comment on output format.
19582 (output_for_one_input_case): Generate before-rounding and
19583 after-rounding information as conditions on output flags not
19584 floating-point format.
19585 * math/auto-libm-test-out: Regenerated.
19586 * math/gen-libm-test.pl (cond_value): New function.
19587 (or_cond_value): Use cond_value.
19588 (generate_testfile): Handle conditional exceptions.
19590 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19592 * math/libm-test.inc (max_valid_error): New variable.
19593 (init_max_error): Take new argument specifying whether function
19594 results are exactly determined. Set max_valid_error and bound
19595 other variables for errors based on this argument.
19596 (set_max_error): Do not record results above max_valid_error.
19597 (check_float_internal): Only accept errors of up to 0.5ulps if
19598 also at most max_valid_error.
19599 (START): Take new argument EXACT and pass it to init_max_error.
19600 (acos_test): Update call to START.
19601 (acos_test_tonearest): Likewise.
19602 (acos_test_towardzero): Likewise.
19603 (acos_test_downward): Likewise.
19604 (acos_test_upward): Likewise.
19605 (acosh_test): Likewise.
19606 (asin_test): Likewise.
19607 (asin_test_tonearest): Likewise.
19608 (asin_test_towardzero): Likewise.
19609 (asin_test_downward): Likewise.
19610 (asin_test_upward): Likewise.
19611 (asinh_test): Likewise.
19612 (atan_test): Likewise.
19613 (atanh_test): Likewise.
19614 (atan2_test): Likewise.
19615 (cabs_test): Likewise.
19616 (cacos_test): Likewise.
19617 (cacosh_test): Likewise.
19618 (carg_test): Likewise.
19619 (casin_test): Likewise.
19620 (casinh_test): Likewise.
19621 (catan_test): Likewise.
19622 (catanh_test): Likewise.
19623 (cbrt_test): Likewise.
19624 (ccos_test): Likewise.
19625 (ccosh_test): Likewise.
19626 (ceil_test): Likewise.
19627 (cexp_test): Likewise.
19628 (cimag_test): Likewise.
19629 (clog_test): Likewise.
19630 (clog10_test): Likewise.
19631 (conj_test): Likewise.
19632 (copysign_test): Likewise.
19633 (cos_test): Likewise.
19634 (cos_test_tonearest): Likewise.
19635 (cos_test_towardzero): Likewise.
19636 (cos_test_downward): Likewise.
19637 (cos_test_upward): Likewise.
19638 (cosh_test): Likewise.
19639 (cosh_test_tonearest): Likewise.
19640 (cosh_test_towardzero): Likewise.
19641 (cosh_test_downward): Likewise.
19642 (cosh_test_upward): Likewise.
19643 (cpow_test): Likewise.
19644 (cproj_test): Likewise.
19645 (creal_test): Likewise.
19646 (csin_test): Likewise.
19647 (csinh_test): Likewise.
19648 (csqrt_test): Likewise.
19649 (ctan_test): Likewise.
19650 (ctan_test_tonearest): Likewise.
19651 (ctan_test_towardzero): Likewise.
19652 (ctan_test_downward): Likewise.
19653 (ctan_test_upward): Likewise.
19654 (ctanh_test): Likewise.
19655 (ctanh_test_tonearest): Likewise.
19656 (ctanh_test_towardzero): Likewise.
19657 (ctanh_test_downward): Likewise.
19658 (ctanh_test_upward): Likewise.
19659 (erf_test): Likewise.
19660 (erfc_test): Likewise.
19661 (exp_test): Likewise.
19662 (exp_test_tonearest): Likewise.
19663 (exp_test_towardzero): Likewise.
19664 (exp_test_downward): Likewise.
19665 (exp_test_upward): Likewise.
19666 (exp10_test): Likewise.
19667 (exp10_test_tonearest): Likewise.
19668 (exp10_test_towardzero): Likewise.
19669 (exp10_test_downward): Likewise.
19670 (exp10_test_upward): Likewise.
19671 (pow10_test): Likewise.
19672 (exp2_test): Likewise.
19673 (expm1_test): Likewise.
19674 (expm1_test_tonearest): Likewise.
19675 (expm1_test_towardzero): Likewise.
19676 (expm1_test_downward): Likewise.
19677 (expm1_test_upward): Likewise.
19678 (fabs_test): Likewise.
19679 (fdim_test): Likewise.
19680 (floor_test): Likewise.
19681 (fma_test): Likewise.
19682 (fma_test_towardzero): Likewise.
19683 (fma_test_downward): Likewise.
19684 (fma_test_upward): Likewise.
19685 (fmax_test): Likewise.
19686 (fmin_test): Likewise.
19687 (fmod_test): Likewise.
19688 (fpclassify_test): Likewise.
19689 (frexp_test): Likewise.
19690 (hypot_test): Likewise.
19691 (ilogb_test): Likewise.
19692 (isfinite_test): Likewise.
19693 (finite_test): Likewise.
19694 (isgreater_test): Likewise.
19695 (isgreaterequal_test): Likewise.
19696 (isinf_test): Likewise.
19697 (isless_test): Likewise.
19698 (islessequal_test): Likewise.
19699 (islessgreater_test): Likewise.
19700 (isnan_test): Likewise.
19701 (isnormal_test): Likewise.
19702 (issignaling_test): Likewise.
19703 (isunordered_test): Likewise.
19704 (j0_test): Likewise.
19705 (j1_test): Likewise.
19706 (jn_test): Likewise.
19707 (ldexp_test): Likewise.
19708 (lgamma_test): Likewise.
19709 (gamma_test): Likewise.
19710 (lrint_test): Likewise.
19711 (lrint_test_tonearest): Likewise.
19712 (lrint_test_towardzero): Likewise.
19713 (lrint_test_downward): Likewise.
19714 (lrint_test_upward): Likewise.
19715 (llrint_test): Likewise.
19716 (llrint_test_tonearest): Likewise.
19717 (llrint_test_towardzero): Likewise.
19718 (llrint_test_downward): Likewise.
19719 (llrint_test_upward): Likewise.
19720 (log_test): Likewise.
19721 (log10_test): Likewise.
19722 (log1p_test): Likewise.
19723 (log2_test): Likewise.
19724 (logb_test): Likewise.
19725 (logb_test_downward): Likewise.
19726 (lround_test): Likewise.
19727 (llround_test): Likewise.
19728 (modf_test): Likewise.
19729 (nearbyint_test): Likewise.
19730 (nextafter_test): Likewise.
19731 (nexttoward_test): Likewise.
19732 (pow_test): Likewise.
19733 (pow_test_tonearest): Likewise.
19734 (pow_test_towardzero): Likewise.
19735 (pow_test_downward): Likewise.
19736 (pow_test_upward): Likewise.
19737 (remainder_test): Likewise.
19738 (drem_test): Likewise.
19739 (remainder_test_tonearest): Likewise.
19740 (drem_test_tonearest): Likewise.
19741 (remainder_test_towardzero): Likewise.
19742 (drem_test_towardzero): Likewise.
19743 (remainder_test_downward): Likewise.
19744 (drem_test_downward): Likewise.
19745 (remainder_test_upward): Likewise.
19746 (drem_test_upward): Likewise.
19747 (remquo_test): Likewise.
19748 (rint_test): Likewise.
19749 (rint_test_tonearest): Likewise.
19750 (rint_test_towardzero): Likewise.
19751 (rint_test_downward): Likewise.
19752 (rint_test_upward): Likewise.
19753 (round_test): Likewise.
19754 (scalb_test): Likewise.
19755 (scalbn_test): Likewise.
19756 (scalbln_test): Likewise.
19757 (signbit_test): Likewise.
19758 (sin_test): Likewise.
19759 (sin_test_tonearest): Likewise.
19760 (sin_test_towardzero): Likewise.
19761 (sin_test_downward): Likewise.
19762 (sin_test_upward): Likewise.
19763 (sincos_test): Likewise.
19764 (sinh_test): Likewise.
19765 (sinh_test_tonearest): Likewise.
19766 (sinh_test_towardzero): Likewise.
19767 (sinh_test_downward): Likewise.
19768 (sinh_test_upward): Likewise.
19769 (sqrt_test): Likewise.
19770 (sqrt_test_tonearest): Likewise.
19771 (sqrt_test_towardzero): Likewise.
19772 (sqrt_test_downward): Likewise.
19773 (sqrt_test_upward): Likewise.
19774 (tan_test): Likewise.
19775 (tan_test_tonearest): Likewise.
19776 (tan_test_towardzero): Likewise.
19777 (tan_test_downward): Likewise.
19778 (tan_test_upward): Likewise.
19779 (tanh_test): Likewise.
19780 (tgamma_test): Likewise.
19781 (trunc_test): Likewise.
19782 (y0_test): Likewise.
19783 (y1_test): Likewise.
19784 (yn_test): Likewise.
19785 (significand_test): Likewise.
19787 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19788 individual tests in comment.
19789 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19790 (prev_max_error): New variable.
19791 (prev_real_max_error): Likewise.
19792 (prev_imag_max_error): Likewise.
19793 (compare_ulp_data): Don't refer to test names in comment.
19794 (find_test_ulps): Remove function.
19795 (find_function_ulps): Likewise.
19796 (find_complex_function_ulps): Likewise.
19797 (init_max_error): Take function name as argument. Look up ulps
19799 (print_ulps): Remove function.
19800 (print_max_error): Use prev_max_error instead of calling
19801 find_function_ulps.
19802 (print_complex_max_error): Use prev_real_max_error and
19803 prev_imag_max_error instead of calling find_complex_function_ulps.
19804 (check_float_internal): Take max_ulp parameter instead of calling
19805 find_test_ulps. Don't call print_ulps.
19806 (check_float): Update call to check_float_internal.
19807 (check_complex): Update calls to check_float_internal.
19808 (START): Pass argument to init_max_error.
19809 * math/gen-libm-test.pl (%results): Don't include "kind"
19811 (parse_ulps): Don't handle ulps of individual tests.
19812 (print_ulps_file): Likewise.
19813 (output_ulps): Likewise.
19814 * math/README.libm-test: Update.
19815 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19817 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19818 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19819 * sysdeps/arm/libm-test-ulps: Likewise.
19820 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19821 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19822 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19823 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19824 * sysdeps/microblaze/libm-test-ulps: Likewise.
19825 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19826 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19827 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19828 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19829 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19830 * sysdeps/sh/libm-test-ulps: Likewise.
19831 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19832 * sysdeps/tile/libm-test-ulps: Likewise.
19833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19835 2014-03-04 Joseph Myers <joseph@codesourcery.com>
19837 * math/libm-test.inc (print_complex_max_error): Check separately
19838 whether real and imaginary errors are within allowed range and
19839 pass 0 to print_complex_function_ulps instead of value within
19842 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19844 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19846 (get_handles_fopen): Likewise.
19847 (do_write_test): Likewise.
19849 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19851 * libio/fileops.c (do_ftell): Use cached offset when
19853 * libio/iofwide.c (do_ftell_wide): Likewise.
19854 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19856 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19859 * libio/libioP.h (get_file_offset): New function.
19860 * libio/fileops.c (get_file_offset): Likewise.
19861 (do_ftell): Likewise.
19862 (_IO_new_file_seekoff): Split out ftell logic.
19863 * libio/wfileops.c (do_ftell_wide): Likewise.
19864 (_IO_wfile_seekoff): Split out ftell logic.
19865 * libio/tst-ftell-active-handler.c: New test case.
19866 * libio/Makefile (tests): Add it.
19868 2014-03-03 Roland McGrath <roland@hack.frob.com>
19870 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19871 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19873 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19876 * nscd/connections.c (nscd_init): Call do_exit.
19877 (start_threads): Call do_exit and notify_parent.
19878 (begin_drop_privileges): Call do_exit.
19879 (finish_drop_privileges): Likewise.
19880 * nscd/selinux.c (preserve_capabilities): Likewise.
19881 (install_real_capabilities): Likewise.
19882 (nscd_selinux_enabled): Likewise.
19883 (avc_create_thread): Likewise.
19884 (avc_alloc_lock): Likewise.
19885 (nscd_avc_init): Likewise.
19886 * nscd/nscd.c (parent_fd): New static variable.
19887 (main): Create a pipe between parent and child processes.
19888 Skip closing parent_fd.
19889 (monitor_child): New function.
19890 (do_exit): Likewise.
19891 (notify_parent): Likewise.
19892 * nscd/nscd.h (notify_parent): Likewise.
19893 (do_exit): Likewise.
19895 2014-03-03 Carlos O'Donell <carlos@redhat.com>
19897 * malloc/malloc.c (__libc_calloc): Revert last change.
19899 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19903 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19905 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19909 (__libc_ifunc_impl_list): Likewise.
19910 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19911 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19912 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19913 * string/strrchr.c: Define STRRCHR.
19915 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
19917 * benchtest/bench-strtok.c (simple_strtok): Delete.
19918 (strtok_string): Use as benchmark.
19919 * string/strtok (STRTOK): New macro.
19921 2014-02-28 Carlos O'Donell <carlos@redhat.com>
19923 * manual/threads.texi: Add header and standard comments to all
19926 * elf/dl-lookup.c (check_match): New function.
19927 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19928 (do_lookup_x): Remove nested function check_match. Use non-nested
19929 function check_match.
19931 2014-02-28 Roland McGrath <roland@hack.frob.com>
19933 * csu/Makefile (generated, before-compile): Use += rather than =.
19934 * catgets/Makefile (generated, generated-dirs): Likewise.
19935 * debug/Makefile (generated): Likewise.
19936 * dlfcn/Makefile (generated): Likewise.
19937 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19938 * iconvdata/Makefile (before-compile, generated): Likewise.
19939 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19940 * libio/Makefile (generated): Likewise.
19941 * malloc/Makefile (generated): Likewise.
19942 * manual/Makefile (generated, generated-dirs): Likewise.
19943 * misc/Makefile (generated): Likewise.
19944 * posix/Makefile (generated): Likewise.
19945 * resolv/Makefile (generated): Likewise.
19946 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19947 * timezone/Makefile (generated, generated-dirs): Likewise.
19949 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19951 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19954 power8 implementation.
19955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19956 file: POWER8 llround ifunc implementation.
19957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19958 (__lllround): Add POWER8 implementation.
19959 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19960 POWER8 llround implementation.
19962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19963 power8 implementation.
19964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19965 file: POWER8 llrint ifunc implementation.
19966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19967 Add POWER8 implementation.
19968 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19969 POWER8 llrint implementation.
19971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19972 power8 implementation.
19973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19974 file: POWER8 finite ifunc implementation.
19975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19976 Add POWER8 implementation.
19977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19979 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19980 POWER8 finite implementation.
19981 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19984 power8 implementation.
19985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19986 file: POWER8 isinf ifunc implementation.
19987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19988 POWER8 implementation.
19989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19991 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19992 isinf implementation.
19993 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19995 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19996 (INIT_ARCH): Add hwcap2 initialization.
19997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19998 power8 implementation.
19999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20000 file: POWER8 isnan ifunc implementation.
20001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20002 POWER8 implementation.
20003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20005 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20006 isnan implementation.
20007 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20009 2014-02-27 Joey Ye <joey.ye@arm.com>
20011 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20012 (_FP_NANFRAC_Q): Set to zero.
20014 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20017 * math/auto-libm-test-in: New test inputs.
20018 * math/auto-libm-test-out: Regenerate.
20019 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20022 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20024 2014-02-27 Joseph Myers <joseph@codesourcery.com>
20026 * scripts/evaluate-test.sh: Take new argument indicating whether
20027 failure is expected.
20028 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20029 indicating whether failure is expected.
20030 * conform/Makefile (test-xfail-run-conformtest): New variable.
20031 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20033 * posix/Makefile (test-xfail-annexc): New variable.
20034 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20036 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20038 * argp/Makefile: Include Makeconfig immediately after defining
20040 * assert/Makefile: Likewise.
20041 * benchtests/Makefile: Likewise.
20042 * catgets/Makefile: Likewise.
20043 * conform/Makefile: Likewise.
20044 * crypt/Makefile: Likewise.
20045 * csu/Makefile: Likewise.
20046 (all): Remove target.
20047 * ctype/Makefile: Include Makeconfig immediately after defining
20049 * debug/Makefile: Likewise.
20050 * dirent/Makefile: Likewise.
20051 * dlfcn/Makefile: Likewise.
20052 * gmon/Makefile: Likewise.
20053 * gnulib/Makefile: Likewise.
20054 * grp/Makefile: Likewise.
20055 * gshadow/Makefile: Likewise.
20056 * hesiod/Makefile: Likewise.
20057 * hurd/Makefile: Likewise.
20058 (all): Remove target.
20059 * iconvdata/Makefile: Include Makeconfig immediately after
20061 * inet/Makefile: Likewise.
20062 * intl/Makefile: Likewise.
20063 * io/Makefile: Likewise.
20064 * libio/Makefile: Likewise.
20065 (all): Remove target.
20066 * locale/Makefile: Include Makeconfig immediately after defining
20068 * login/Makefile: Likewise.
20069 * mach/Makefile: Likewise.
20070 (all): Remove target.
20071 * malloc/Makefile: Include Makeconfig immediately after defining
20073 (all): Remove target.
20074 * manual/Makefile: Include Makeconfig immediately after defining
20076 * math/Makefile: Likewise.
20077 * misc/Makefile: Likewise.
20078 * nis/Makefile: Likewise.
20079 * nss/Makefile: Likewise.
20080 * po/Makefile: Likewise.
20081 (all): Remove target.
20082 * posix/Makefile: Include Makeconfig immediately after defining
20084 * pwd/Makefile: Likewise.
20085 * resolv/Makefile: Likewise.
20086 * resource/Makefile: Likewise.
20087 * rt/Makefile: Likewise.
20088 * setjmp/Makefile: Likewise.
20089 * shadow/Makefile: Likewise.
20090 * signal/Makefile: Likewise.
20091 * socket/Makefile: Likewise.
20092 * soft-fp/Makefile: Likewise.
20093 * stdio-common/Makefile: Likewise.
20094 * stdlib/Makefile: Likewise.
20095 * streams/Makefile: Likewise.
20096 * string/Makefile: Likewise.
20097 * sunrpc/Makefile: Likewise.
20098 (all): Remove target.
20099 * sysvipc/Makefile: Include Makeconfig immediately after defining
20101 * termios/Makefile: Likewise.
20102 * time/Makefile: Likewise.
20103 * timezone/Makefile: Likewise.
20104 (all): Remove target.
20105 * wcsmbs/Makefile: Include Makeconfig immediately after defining
20107 * wctype/Makefile: Likewise.
20109 2014-02-26 Steve Ellcey <sellcey@mips.com>
20111 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20112 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20113 (libc_feholdexcept_setround_mips): Ditto.
20114 (libc_feholdsetround): New.
20115 (libc_feholdsetroundf): New.
20116 (libc_feholdsetroundl): New.
20117 (libc_feupdateenv_test_mips): New.
20118 (libc_feupdateenv_test): New.
20119 (libc_feupdateenv_testf): New.
20120 (libc_feupdateenv_testl): New.
20121 (libc_feresetround): New.
20122 (libc_feresetroundf): New.
20123 (libc_feresetroundl): New.
20124 (libc_fetestexcept_mips): New.
20125 (libc_fetestexcept): New.
20126 (libc_fetestexceptf): New.
20127 (libc_fetestexceptl): New.
20128 (HAVE_RM_CTX): New.
20129 (libc_feholdexcept_setround_mips_ctx): New.
20130 (libc_feholdexcept_setround_ctx): New.
20131 (libc_feholdexcept_setroundf_ctx): New.
20132 (libc_feholdexcept_setroundl_ctx): New.
20133 (libc_fesetenv_mips_ctx): New.
20134 (libc_fesetenv_ctx): New.
20135 (libc_fesetenv_ctxf): New.
20136 (libc_fesetenv_ctxl): New.
20137 (libc_feupdateenv_mips_ctx): New.
20138 (libc_feupdateenv_ctx): New.
20139 (libc_feupdateenvf_ctx): New.
20140 (libc_feupdateenvl_ctx): New.
20141 (libc_feholdsetround_mips_ctx): New.
20142 (libc_feholdsetround_ctx): New.
20143 (libc_feholdsetroundf_ctx): New.
20144 (libc_feholdsetroundl_ctx): New.
20145 (libc_feresetround_mips_ctx): New.
20146 (libc_feresetround_ctx): New.
20147 (libc_feresetroundf_ctx): New.
20148 (libc_feresetroundl_ctx): New.
20150 2014-02-26 Carlos O'Donell <carlos@redhat.com>
20152 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20154 * manual/ipc.texi: New file.
20155 * manual/Makefile (chapters): Add ipc.
20156 * manual/job.texi: Add "Inter-Process Communication" to next.
20157 * manual/process.texi: Add "Inter-Process Communication" to prev.
20159 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20163 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
20165 * malloc/malloc.c (__libc_calloc): Simplify implementation.
20167 * manual/arith.texi: Fix spaces after sentences.
20168 * manual/charset.texi: Likewise.
20169 * manual/errno.texi: Likewise.
20170 * manual/install.texi: Likewise.
20171 * manual/llio.texi: Likewise.
20172 * manual/locale.texi: Likewise.
20173 * manual/maint.texi: Likewise.
20174 * manual/math.texi: Likewise.
20175 * manual/memory.texi: Likewise.
20176 * manual/message.texi: Likewise.
20177 * manual/probes.texi: Likewise.
20178 * manual/resource.texi: Likewise.
20179 * manual/signal.texi: Likewise.
20180 * manual/socket.texi: Likewise.
20181 * manual/stdio.texi: Likewise.
20182 * manual/string.texi: Likewise.
20183 * manual/time.texi: Likewise.
20184 * manual/users.texi: Likewise.
20186 2014-02-25 Carlos O'Donell <carlos@redhat.com>
20189 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20190 _DEFAULT_SOURCE is defined.
20192 2014-02-25 Ulrich Drepper <drepper@gmail.com>
20193 Carlos O'Donell <carlos@redhat.com>
20196 * elf/dl-tls.c (_dl_count_modids): New function.
20197 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20198 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20199 audit library and increment generation counter.
20200 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20201 * elf/tst-audit9.c: New file.
20202 * elf/tst-auditmod9a.c: New file.
20203 * elf/tst-auditmod9b.c: New file.
20204 * elf/Makefile: Add rules to build and run tst-audit9.
20206 2014-02-25 Florian Weimer <fweimer@redhat.com>
20209 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20211 2014-02-25 Will Newton <will.newton@linaro.org>
20213 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20214 (__longjmp): Restore sp and lr before restoring callee
20215 saved registers. Add longjmp and longjmp_target
20216 SystemTap probe point.
20217 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20218 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20219 Define to zero to match jmpbuf layout.
20220 * sysdeps/arm/setjmp.S: Include stap-probe.h.
20221 (__sigsetjmp): Save sp and lr before saving callee
20222 saved registers. Add setjmp SystemTap probe point.
20224 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20226 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20228 2014-02-24 Andreas Schwab <schwab@suse.de>
20231 * elf/pldd.c (wait_for_ptrace_stop): New function.
20232 (main): Call it after attaching.
20234 2014-02-22 Roland McGrath <roland@hack.frob.com>
20236 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20237 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20238 Versions files is now verboten.
20239 * hurd/Versions (libc: GLIBC_2.0):
20240 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20241 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20242 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20243 * mach/Versions: Likewise.
20245 * csu/Versions: Remove unused %include.
20246 * resolv/Versions: Likewise.
20248 2014-02-21 Joseph Myers <joseph@codesourcery.com>
20250 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20251 ($(objpfx)check-local-headers.out): Likewise.
20252 ($(objpfx)begin-end-check.out): Likewise.
20253 * Makerules (check-abi-%.out): Likewise.
20254 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20255 ($(objpfx)test2.cat): Likewise.
20256 ($(objpfx)de/libc.cat): Likewise.
20257 ($(objpfx)test-gencat.out): Likewise.
20258 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20259 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20260 ($(objpfx)noload-mem): Likewise.
20261 ($(objpfx)tst-pathopt.out): Likewise.
20262 ($(objpfx)tst-rtld-load-self.out): Likewise.
20263 ($(objpfx)tst-array1-cmp.out): Likewise.
20264 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20265 ($(objpfx)tst-array2-cmp.out): Likewise.
20266 ($(objpfx)tst-array3-cmp.out): Likewise.
20267 ($(objpfx)tst-array4-cmp.out): Likewise.
20268 ($(objpfx)tst-array5-cmp.out): Likewise.
20269 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20270 ($(objpfx)check-textrel.out): Likewise.
20271 ($(objpfx)check-execstack.out): Likewise.
20272 ($(objpfx)check-localplt.out): Likewise.
20273 ($(objpfx)order2-cmp.out): Likewise.
20274 ($(objpfx)tst-leaks1-mem): Likewise.
20275 ($(objpfx)tst-leaks1-static-mem): Likewise.
20276 ($(objpfx)tst-initorder-cmp.out): Likewise.
20277 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20278 ($(objpfx)tst-unused-dep.out): Likewise.
20279 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20280 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20281 * iconv/Makefile (test-iconvconfig): Likewise.
20282 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20283 ($(objpfx)iconv-test.out): Likewise.
20284 ($(objpfx)tst-tables.out): Likewise.
20285 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20286 ($(objpfx)tst-gettext.out): Likewise.
20287 ($(objpfx)tst-translit.out): Likewise.
20288 ($(objpfx)tst-gettext2.out): Likewise.
20289 ($(objpfx)tst-gettext4.out): Likewise.
20290 ($(objpfx)tst-gettext6.out): Likewise.
20291 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20292 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20293 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20294 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20295 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20296 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20297 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20298 ($(objpfx)wordexp-tst.out): Likewise.
20299 ($(objpfx)annexc.out): Likewise.
20300 ($(objpfx)tst-fnmatch-mem): Likewise.
20301 ($(objpfx)bug-regex2-mem): Likewise.
20302 ($(objpfx)bug-regex14-mem): Likewise.
20303 ($(objpfx)bug-regex21-mem): Likewise.
20304 ($(objpfx)bug-regex31-mem): Likewise.
20305 ($(objpfx)tst-vfork3-mem): Likewise.
20306 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20307 ($(objpfx)tst-pcre-mem): Likewise.
20308 ($(objpfx)tst-boost-mem): Likewise.
20309 ($(objpfx)tst-getconf.out): Likewise.
20310 ($(objpfx)bug-ga2-mem): Likewise.
20311 ($(objpfx)bug-glob2-mem): Likewise.
20312 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20313 ($(objpfx)mtrace-tst-leaks2): Likewise.
20314 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20315 ($(objpfx)tst-printf.out): Likewise.
20316 ($(objpfx)tst-setvbuf1.out): Likewise.
20317 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20318 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20319 ($(objpfx)tst-fmtmsg.out): Likewise.
20320 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20321 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20323 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20324 * bits/sigaction.h [__USE_MISC]: Likewise.
20325 * bits/waitstatus.h: Update #endif comments.
20326 * ctype/ctype.h: Likewise.
20327 * dirent/dirent.h: Likewise.
20328 [__USE_MISC]: Remove redundant conditionals.
20329 * grp/grp.h: Update #endif comments.
20330 [__USE_GNU]: Remove redundant conditionals.
20331 [__USE_MISC]: Likewise.
20332 * inet/netinet/in.h [__USE_GNU]: Likewise.
20333 * io/sys/stat.h [__USE_MISC]: Likewise.
20334 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20335 * libio/bits/stdio.h: Update #endif comments.
20336 [__USE_MISC]: Remove redundant conditionals.
20337 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20338 * libio/stdio.h: Update #endif comments.
20339 [__USE_MISC]: Remove redundant conditionals.
20340 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20341 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20342 * math/math.h: Update #else and #endif comments.
20343 [__USE_MISC]: Remove redundant conditionals.
20344 * misc/sys/uio.h: Update #endif comments.
20345 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20346 * posix/glob.h [__USE_MISC]: Likewise.
20347 * posix/sys/types.h: Update #endif comments.
20348 [__USE_MISC]: Remove redundant conditionals.
20349 * posix/sys/wait.h: Update #endif comments.
20350 [__USE_MISC]: Remove redundant conditionals.
20351 * posix/unistd.h: Update #endif comments.
20352 [__USE_MISC]: Remove redundant conditionals.
20353 * pwd/pwd.h [__USE_GNU]: Likewise.
20354 [__USE_MISC]: Likewise.
20355 * resolv/netdb.h [__USE_GNU]: Likewise.
20356 * signal/signal.h: Update #endif comments.
20357 [__USE_MISC]: Remove redundant conditionals.
20358 * stdlib/stdlib.h: Update #else and #endif comments.
20359 [__USE_MISC]: Remove redundant conditionals.
20360 [__USE_GNU]: Likewise.
20361 * string/bits/string2.h [__USE_MISC]: Likewise.
20362 * string/string.h: Update #endif comments.
20363 [__USE_MISC]: Remove redundant conditionals.
20364 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20366 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20367 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20368 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20370 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20374 [__USE_MISC]: Remove redundant conditionals.
20375 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20376 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20377 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20378 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20379 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20381 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20382 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20384 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20385 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20387 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20389 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20390 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20392 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20394 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20395 * sysdeps/x86/bits/string.h: Update #endif comments.
20396 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20398 * time/sys/time.h: Update #endif comments.
20399 * time/time.h: Likewise.
20400 [__USE_MISC]: Remove redundant conditionals.
20402 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20405 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20407 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20409 * Versions.def (librt): Add GLIBC_2.17.
20411 2014-02-21 Adam Conrad <adconrad@0c3.net>
20413 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20414 synonym for _SYS_AUXV_H to allow direct inclusion.
20415 * sysdeps/sparc/bits/hwcap.h: Likewise.
20416 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20417 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20418 * sysdeps/sparc/sysdep.h: Likewise.
20420 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20422 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20424 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20426 * benchtests/bench-strrchr.c: Print length instead of position.
20428 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20431 * sysdeps/unix/sysv/linux/kernel-features.h
20432 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20433 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20434 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20435 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20437 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20438 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20439 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20440 (__ASSUME_SENDMMSG): Define instead of using previous
20441 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20442 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20443 (__ASSUME_SENDMMSG_SYSCALL): Define.
20444 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20445 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20447 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20448 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20450 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20451 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20453 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20454 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20455 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20456 [__ASSUME_SENDMMSG]: Change conditionals to
20457 [__ASSUME_SENDMMSG_SOCKETCALL].
20458 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20459 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20461 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20462 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20464 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20465 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20466 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20467 [!__ASSUME_SENDMMSG]: Change conditional to
20468 [!__ASSUME_SENDMMSG_SOCKETCALL].
20469 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20470 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20474 * sysdeps/unix/sysv/linux/kernel-features.h
20475 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20476 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20477 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20478 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20479 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20480 [__i386__ || __sparc__]
20481 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20482 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20483 (__ASSUME_RECVMMSG): Define instead of using previous
20484 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20485 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20486 (__ASSUME_RECVMMSG_SYSCALL): Define.
20487 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20488 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20490 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20491 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20493 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20494 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20496 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20497 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20498 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20499 [__ASSUME_RECVMMSG]: Change condition to
20500 [__ASSUME_RECVMMSG_SOCKETCALL].
20501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20502 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20504 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20505 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20506 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20508 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20509 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20510 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20511 [!__ASSUME_RECVMMSG]: Change condition to
20512 [!__ASSUME_RECVMMSG_SOCKETCALL].
20513 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20514 (__ASSUME_RECVMMSG_SYSCALL): Define.
20517 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20518 __powerpc__ || __s390__ || __sh__ || __sparc__]
20519 (__ASSUME_SOCKETCALL): Define.
20520 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20521 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20522 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20523 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20524 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20525 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20526 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20527 (__ASSUME_ACCEPT4): Define instead of using previous
20528 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20529 __powerpc__ || __sparc__ || __s390__)] condition.
20530 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20531 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20532 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20533 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20534 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20535 [!__ASSUME_ACCEPT4]: Change condition to
20536 [!__ASSUME_ACCEPT4_SOCKETCALL].
20537 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20538 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20539 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20540 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20541 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20542 __ASSUME_ACCEPT4_SYSCALL.
20543 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20544 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20545 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20546 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20547 __ASSUME_ACCEPT4_SYSCALL.
20548 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20549 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20550 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20551 [__ASSUME_ACCEPT4]: Change condition to
20552 [__ASSUME_ACCEPT4_SOCKETCALL].
20553 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20554 (__ASSUME_SOCKETCALL): Define.
20555 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20556 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20557 (__ASSUME_SOCKETCALL): Define.
20558 (__ASSUME_ACCEPT4): Remove.
20559 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20561 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20562 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20564 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20565 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20567 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20569 (HWCAP_ARM_LPAE): Likewise.
20570 (HWCAP_ARM_EVTSTRM): Likewise.
20571 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20572 Add vpfd32, lpae and evtstrm.
20573 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20576 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20578 * math/auto-libm-test-in: Add tests of clog10.
20579 * math/auto-libm-test-out: Regenerated.
20580 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20581 * sysdeps/i386/fpu/libm-test-ulps: Update.
20582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20584 2014-02-18 Andreas Schwab <schwab@suse.de>
20587 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20588 Store non-zero if the second buffer was newly allocated.
20589 (send_dg): Likewise.
20590 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20591 to send_vc and send_dg.
20592 (res_nsend): Pass NULL for ansp2_malloced.
20593 * resolv/res_query.c (__libc_res_nquery): Add parameter
20594 answerp2_malloced and pass it down to __libc_res_nsend.
20595 (res_nquery): Pass additional NULL to __libc_res_nquery.
20596 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20597 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20598 second answer buffer if answerp2_malloced was set.
20599 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20600 (__libc_res_nquerydomain): Add parameter
20601 answerp2_malloced and pass it down to __libc_res_nquery.
20602 (res_nquerydomain): Pass additional NULL to
20603 __libc_res_nquerydomain.
20604 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20605 additional NULL to __libc_res_nsend and __libc_res_nquery.
20606 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20607 additional NULL to __libc_res_nsearch.
20608 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20609 parameter of __libc_res_nsearch to check for separately allocated
20611 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20613 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20614 additional NULL to __libc_res_nquery.
20615 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20616 __libc_res_nsearch.
20617 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20618 * include/resolv.h: Update prototypes of __libc_res_nquery,
20619 __libc_res_nsearch, __libc_res_nsend.
20621 2014-02-18 Joseph Myers <joseph@codesourcery.com>
20623 * math/auto-libm-test-in: Add tests of fma.
20624 * math/auto-libm-test-out: Regenerated.
20625 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20626 (fma_towardzero_test_data): Likewise.
20627 (fma_downward_test_data): Likewise.
20628 (fma_upward_test_data): Likewise.
20629 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20631 (rounding_modes): Add values for new field.
20632 (func_calc_method): Add value mpfr_fff_f.
20633 (func_calc_desc): Add mpfr_fff_f union field.
20634 (test_function): Add field exact_args.
20635 (FUNC): Add macro argument EXACT_ARGS.
20636 (FUNC_mpfr_f_f): Update call to FUNC.
20637 (FUNC_mpfr_f_f): Likewise.
20638 (FUNC_mpfr_ff_f): Likewise.
20639 (FUNC_mpfr_if_f): Likewise.
20640 (FUNC_mpc_c_f): Likewise.
20641 (FUNC_mpc_c_c): Likewise.
20642 (test_functions): Add fma. Update calls to FUNC.
20643 (handle_input_arg): Add argument exact_args.
20644 (add_test): Update call to handle_input_arg.
20645 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20646 (output_for_one_input_case): Update call to calc_generic_results.
20647 Recalculate exact zero results in each rounding mode.
20649 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20650 non-negative before setting low bit.
20651 * math/auto-libm-test-in: Mark one asin test possibly having
20652 spurious underflow.
20653 * math/auto-libm-test-out: Regenerated.
20654 * sysdeps/i386/fpu/libm-test-ulps: Update.
20655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20657 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20659 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20660 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20661 ports/sysdeps/unix/sysv/linux/microblaze.
20662 * README: Add missing listing for microblaze*-*-linux-gnu.
20664 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
20666 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20669 2014-02-16 Mike Frysinger <vapier@gentoo.org>
20671 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20672 * sysdeps/unix/sysv/linux/ia64: Move directory from
20673 ports/sysdeps/unix/sysv/linux/ia64.
20674 * README: Update listing for ia64-*-linux-gnu.
20676 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20677 Joseph Myers <joseph@codesourcery.com>
20679 * Makeconfig (test-name): New variable.
20680 (evaluate-test): Likewise.
20681 * Makerules (do-test-clean): Remove .test-result files.
20682 (common-mostlyclean): Likewise.
20683 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20684 * scripts/evaluate-test.sh: New file.
20686 2014-02-14 Joseph Myers <joseph@codesourcery.com>
20688 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20689 separate $(objpfx)tst-fopenloc-cmp.out and
20690 $(objpfx)tst-fopenloc-mem.out targets.
20691 (tests): Update dependencies.
20692 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20693 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20694 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20695 (tst-rxspencer-no-utf8-ARGS): New variable.
20696 (tst-rxspencer-no-utf8-ENV): Likewise.
20697 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20698 instead of $(objpfx)tst-rxspencer-mem.
20699 ($(objpfx)tst-rxspencer-mem): Change target to
20700 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20701 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20702 * posix/tst-rxspencer-no-utf8.c: New file.
20704 * elf/Makefile ($(objpfx)order.out): Remove rule.
20705 [$(run-built-tests) = yes] (tests): Depend on
20706 $(objpfx)order-cmp.out.
20707 ($(objpfx)order-cmp.out): New rule.
20708 [$(run-built-tests) = yes] (tests): Depend on
20709 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20710 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20711 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20712 $(objpfx)tst-array5-static-cmp.out.
20713 ($(objpfx)tst-array1.out): Remove rule.
20714 ($(objpfx)tst-array1-cmp.out): New rule.
20715 ($(objpfx)tst-array1-static.out): Remove rule.
20716 ($(objpfx)tst-array1-static-cmp.out): New rule.
20717 ($(objpfx)tst-array2.out): Remove rule.
20718 ($(objpfx)tst-array2-cmp.out): New rule.
20719 ($(objpfx)tst-array3.out): Remove rule.
20720 ($(objpfx)tst-array3-cmp.out): New rule.
20721 ($(objpfx)tst-array4.out): Remove rule.
20722 ($(objpfx)tst-array4-cmp.out): New rule.
20723 ($(objpfx)tst-array5.out): Remove rule.
20724 ($(objpfx)tst-array5-cmp.out): New rule.
20725 ($(objpfx)tst-array5-static.out): Remove rule.
20726 ($(objpfx)tst-array5-static-cmp.out): New rule.
20727 [$(run-built-tests) = yes] (tests): Depend on
20728 $(objpfx)order2-cmp.out.
20729 ($(objpfx)order2.out): Remove rule.
20730 ($(objpfx)order2-cmp.out): New rule.
20731 ($(objpfx)tst-initorder.out): Remove rule.
20732 [$(run-built-tests) = yes] (tests): Depend on
20733 $(objpfx)tst-initorder-cmp.out.
20734 ($(objpfx)tst-initorder-cmp.out): New rule.
20735 ($(objpfx)tst-initorder2.out): Remove rule.
20736 [$(run-built-tests) = yes] (tests): Depend on
20737 $(objpfx)tst-initorder2-cmp.out.
20738 ($(objpfx)tst-initorder2-cmp.out): New rule.
20739 [$(run-built-tests) = yes] (tests): Depend on
20740 $(objpfx)tst-unused-dep-cmp.out.
20741 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20742 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20743 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20744 on $(objpfx)tst-setvbuf1-cmp.out.
20745 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20746 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20747 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20748 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20749 ($(objpfx)tst-svc.out): Remove rule.
20750 ($(objpfx)tst-svc-cmp.out): New rule.
20752 2014-02-13 Joseph Myers <joseph@codesourcery.com>
20754 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20755 * ctype/ctype.h [__USE_MISC]: Likewise.
20756 * dirent/dirent.h [__USE_MISC]: Likewise.
20757 * grp/grp.h [__USE_MISC]: Likewise.
20758 * io/fcntl.h [__USE_MISC]: Likewise.
20759 * io/sys/stat.h [__USE_MISC]: Likewise.
20760 * libio/stdio.h [__USE_MISC]: Likewise.
20761 * posix/unistd.h [__USE_MISC]: Likewise.
20762 * pwd/pwd.h [__USE_MISC]: Likewise.
20763 * stdlib.h [__USE_MISC]: Likewise.
20764 * string/bits/string2.h [__USE_MISC]: Likewise.
20765 * string/string.h [__USE_MISC]: Likewise.
20766 * time/time.h [__USE_MISC]: Likewise.
20768 2014-02-13 Andreas Schwab <schwab@suse.de>
20771 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20772 second answer buffer if it was separately allocated.
20774 2014-02-12 Joseph Myers <joseph@codesourcery.com>
20776 * sysdeps/mips/math-tests.h: Include <features.h>.
20777 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20778 (ROUNDING_TESTS_long_double): Do not define.
20779 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20780 (EXCEPTION_TESTS_long_double): Likewise.
20781 * sysdeps/mips/mips64/libm-test-ulps: Update.
20783 * include/features.h (__USE_BSD): Remove macro definitions.
20784 (__USE_SVID): Likewise.
20785 (_BSD_SOURCE): Likewise.
20786 (_SVID_SOURCE): Likewise.
20787 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20788 from definition of _DEFAULT_SOURCE.
20789 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20791 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20792 * bits/mman.h [__USE_BSD]: Likewise.
20793 * bits/termios.h [__USE_BSD]: Likewise.
20794 * bits/waitstatus.h [__USE_BSD]: Likewise.
20795 * ctype/ctype.h [__USE_SVID]: Likewise.
20796 * dirent/dirent.h [__USE_BSD]: Likewise.
20797 * grp/grp.h [__USE_SVID]: Likewise.
20798 [__USE_BSD]: Likewise.
20799 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20800 * io/fcntl.h [__USE_BSD]: Likewise.
20801 * io/ftw.h [__USE_BSD]: Likewise.
20802 * io/sys/stat.h [__USE_BSD]: Likewise.
20803 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20804 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20805 * libio/stdio.h [__USE_SVID]: Likewise.
20806 [__USE_BSD]: Likewise.
20807 * math/math.h [__USE_SVID]: Likewise.
20808 [__USE_BSD]: Likewise.
20809 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20810 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20811 * misc/search.h [__USE_SVID]: Likewise.
20812 * misc/sys/mman.h [__USE_BSD]: Likewise.
20813 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20814 * misc/sys/uio.h [__USE_BSD]: Likewise.
20815 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20816 * posix/glob.h [__USE_BSD]: Likewise.
20817 * posix/regex.h [__USE_BSD]: Likewise.
20818 * posix/sys/types.h [__USE_BSD]: Likewise.
20819 [__USE_SVID]: Likewise.
20820 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20821 * posix/sys/wait.h [__USE_BSD]: Likewise.
20822 [__USE_SVID]: Likewise.
20823 * posix/unistd.h [__USE_BSD]: Likewise.
20824 [__USE_SVID]: Likewise.
20825 * pwd/pwd.h [__USE_SVID]: Likewise.
20826 * resolv/netdb.h [__USE_BSD]: Likewise.
20827 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20828 * signal/signal.h [__USE_BSD]: Likewise.
20829 [__USE_SVID]: Likewise.
20830 * socket/sys/socket.h [__USE_BSD]: Likewise.
20831 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20832 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20833 [__USE_SVID]: Likewise.
20834 * string/bits/string2.h [__USE_BSD]: Likewise.
20835 [__USE_SVID]: Likewise.
20836 * string/bits/string3.h [__USE_BSD]: Likewise.
20837 * string/endian.h [__USE_BSD]: Likewise.
20838 * string/string.h [__USE_SVID]: Likewise.
20839 [__USE_BSD]: Likewise.
20840 * string/strings.h [__USE_BSD]: Likewise.
20841 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20842 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20843 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20844 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20845 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20846 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20848 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20850 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20851 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20853 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20854 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20856 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20858 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20859 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20860 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20862 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20864 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20865 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20866 * termios/termios.h [__USE_BSD]: Likewise.
20867 * time/sys/time.h [__USE_BSD]: Likewise.
20868 * time/time.h [__USE_BSD]: Likewise.
20869 [__USE_SVID]: Likewise.
20871 * Makefile (subdir_targets): Remove subdir_lint.out.
20873 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20874 (do-tst-printf): Likewise.
20875 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20876 $(objpfx)tst-printf.out.
20878 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20880 * Makerules (check-abi-%): Change target to
20881 $(objpfx)check-abi-%.out.
20882 (check-abi target): Update dependencies.
20883 (check-abi-pattern variable): Redirect output of diff to $@.
20884 (check-abi variable): Likewise.
20885 * elf/Makefile (check-abi): Update dependencies.
20887 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20889 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20890 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20892 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20893 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20894 value has largest subnormal exponent.
20895 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20896 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20897 * sysdeps/aarch64/soft-fp/sfp-machine.h
20898 (_FP_TININESS_AFTER_ROUNDING): New macro.
20899 * sysdeps/alpha/soft-fp/sfp-machine.h
20900 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20901 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20903 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20904 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20905 * sysdeps/mips/soft-fp/sfp-machine.h
20906 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20907 * sysdeps/powerpc/soft-fp/sfp-machine.h
20908 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20909 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20911 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20912 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20913 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20914 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20915 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20918 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
20921 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20924 2014-02-12 Richard Henderson <rth@redhat.com>
20926 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20927 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20928 * sysdeps/unix/sysv/linux/alpha: Move directory from
20929 ports/sysdeps/unix/sysv/linux/alpha.
20930 * README: Update listing for alpha-*-linux-gnu.
20932 2014-02-11 Joseph Myers <joseph@codesourcery.com>
20934 * include/features.h: Update comment documenting feature test
20936 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20938 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20939 (_SVID_SOURCE): Likewise.
20940 (_DEFAULT_SOURCE): Update description of default features.
20941 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20943 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20944 (S_ISVTX): Likewise.
20945 * manual/math.texi (Mathematical Constants): Likewise.
20946 * manual/signal.texi (Interrupted Primitives): Likewise.
20947 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20948 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20949 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20950 Don't refer to _SVID_SOURCE in warning text.
20952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20954 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20956 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20957 * sysdeps/mips/dl-lookup.c: Remove.
20958 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20960 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20963 * math/auto-libm-test-in: Add testcase for expl.
20964 * math/auto-libm-test-out: Regenerate.
20965 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20966 calculation of unsafe.
20967 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20969 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
20971 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20972 * sysdeps/unix/sysv/linux/aarch64: Move directory from
20973 ports/sysdeps/unix/sysv/linux/aarch64.
20974 * README: Update listing for aarch64*-*-linux-gnu.
20976 2014-02-11 Will Newton <will.newton@linaro.org>
20978 * manual/probes.texi (Mathematical Function Probes): Use
20979 "triggered" instead of "hit".
20981 * manual/probes.texi (Internal Probes): Add documentation
20982 of setjmp, longjmp and longjmp_target probes.
20984 * include/stap-probe.h: Add comment about probe argument
20987 * malloc/mtrace.c (attribute_hidden): Remove unused macro
20988 definition. (tr_where, tr_freehook, tr_mallochook,
20989 tr_reallochook, tr_memalignhook): Use ANSI protoype.
20991 2014-02-11 David S. Miller <davem@davemloft.net>
20993 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20994 processing int_tests.
20996 2014-02-10 Joseph Myers <joseph@codesourcery.com>
20998 * sysdeps/mips: Move directory from ports/sysdeps/mips.
20999 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21000 * sysdeps/unix/sysv/linux/mips: Move directory from
21001 ports/sysdeps/unix/sysv/linux/mips.
21002 * README: Update listing for mips-*-linux-gnu and
21003 mips64-*-linux-gnu.
21005 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
21007 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21008 * sysdeps/unix/sysv/linux/m68k: Move directory from
21009 ports/sysdeps/unix/sysv/linux/m68k.
21010 * README: Update listing for m68k-*-linux-gnu.
21012 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
21014 * sysdeps/tile: Move directory from ports/sysdeps/tile.
21015 * sysdeps/unix/sysv/linux/generic: Move directory from
21016 ports/sysdeps/unix/sysv/linux/generic.
21017 * sysdeps/unix/sysv/linux/tile: Move directory from
21018 ports/sysdeps/unix/sysv/linux/tile.
21019 * README: Update listing for tile*-*-linux-gnu.
21021 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
21023 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21025 * benchtests/bench-memmem.c (simple_memmem): Likewise.
21026 * catgets/open_catalog.c (__open_catalog): Likewise.
21027 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21028 * debug/confstr_chk.c: Likewise.
21029 * debug/fread_chk.c (__fread_chk): Likewise.
21030 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21031 * debug/getgroups_chk.c: Likewise.
21032 * debug/mbsnrtowcs_chk.c: Likewise.
21033 * debug/mbsrtowcs_chk.c: Likewise.
21034 * debug/mbstowcs_chk.c: Likewise.
21035 * debug/memcpy_chk.c: Likewise.
21036 * debug/memmove_chk.c: Likewise.
21037 * debug/mempcpy_chk.c: Likewise.
21038 * debug/memset_chk.c: Likewise.
21039 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21040 * debug/strcat_chk.c (__strcat_chk): Likewise.
21041 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21042 * debug/strncat_chk.c (__strncat_chk): Likewise.
21043 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21044 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21045 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21046 * debug/wcpncpy_chk.c: Likewise.
21047 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21048 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21049 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21050 * debug/wcsncpy_chk.c: Likewise.
21051 * debug/wcsnrtombs_chk.c: Likewise.
21052 * debug/wcsrtombs_chk.c: Likewise.
21053 * debug/wcstombs_chk.c: Likewise.
21054 * debug/wmemcpy_chk.c: Likewise.
21055 * debug/wmemmove_chk.c: Likewise.
21056 * debug/wmempcpy_chk.c: Likewise.
21057 * debug/wmemset_chk.c: Likewise.
21058 * dirent/scandirat.c (SCANDIRAT): Likewise.
21059 * dlfcn/dladdr1.c (dladdr1): Likewise.
21060 * dlfcn/dladdr.c (dladdr): Likewise.
21061 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21062 * dlfcn/dlerror.c (__dlerror): Likewise.
21063 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21064 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21065 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21066 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21067 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21068 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21069 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21070 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21072 * elf/dl-conflict.c: Likewise.
21073 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21074 * elf/dl-dst.h: Likewise.
21075 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21076 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21077 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21078 * elf/dl-init.c (call_init, _dl_init): Likewise.
21079 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21080 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21081 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21083 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21085 * elf/dl-minimal.c (__libc_memalign): Likewise.
21086 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21087 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21088 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21089 * elf/dl-sym.c (do_sym): Likewise.
21090 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21091 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21092 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21093 * elf/dl-writev.h (_dl_writev): Likewise.
21094 * elf/ldconfig.c (search_dir): Likewise.
21095 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21096 (dl_main): Likewise.
21097 * elf/setup-vdso.h (setup_vdso): Likewise.
21098 * grp/compat-initgroups.c (compat_call): Likewise.
21099 * grp/fgetgrent.c (fgetgrent): Likewise.
21100 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21101 * grp/putgrent.c (putgrent): Likewise.
21102 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21104 * hurd/hurdinit.c: Likewise.
21105 * iconvdata/8bit-gap.c (struct): Likewise.
21106 * iconvdata/ansi_x3.110.c : Likewise.
21107 * iconvdata/big5.c : Likewise.
21108 * iconvdata/big5hkscs.c : Likewise.
21109 * iconvdata/cp1255.c: Likewise.
21110 * iconvdata/cp1258.c : Likewise.
21111 * iconvdata/cp932.c : Likewise.
21112 * iconvdata/euc-cn.c: Likewise.
21113 * iconvdata/euc-jisx0213.c : Likewise.
21114 * iconvdata/euc-jp.c: Likewise.
21115 * iconvdata/euc-jp-ms.c : Likewise.
21116 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21117 * iconvdata/gb18030.c : Likewise.
21118 * iconvdata/gbbig5.c (const): Likewise.
21119 * iconvdata/gbgbk.c: Likewise.
21120 * iconvdata/gbk.c : Likewise.
21121 * iconvdata/ibm1364.c : Likewise.
21122 * iconvdata/ibm930.c : Likewise.
21123 * iconvdata/ibm932.c: Likewise.
21124 * iconvdata/ibm933.c : Likewise.
21125 * iconvdata/ibm935.c : Likewise.
21126 * iconvdata/ibm937.c : Likewise.
21127 * iconvdata/ibm939.c : Likewise.
21128 * iconvdata/ibm943.c: Likewise.
21129 * iconvdata/iso_11548-1.c: Likewise.
21130 * iconvdata/iso-2022-cn.c : Likewise.
21131 * iconvdata/iso-2022-cn-ext.c : Likewise.
21132 * iconvdata/iso-2022-jp-3.c: Likewise.
21133 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21134 * iconvdata/iso-2022-kr.c : Likewise.
21135 * iconvdata/iso646.c (gconv_end): Likewise.
21136 * iconvdata/iso_6937-2.c : Likewise.
21137 * iconvdata/iso_6937.c : Likewise.
21138 * iconvdata/iso8859-1.c: Likewise.
21139 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21140 * iconvdata/shift_jisx0213.c : Likewise.
21141 * iconvdata/sjis.c : Likewise.
21142 * iconvdata/t.61.c : Likewise.
21143 * iconvdata/tcvn5712-1.c : Likewise.
21144 * iconvdata/tscii.c: Likewise.
21145 * iconvdata/uhc.c : Likewise.
21146 * iconvdata/unicode.c (gconv_end): Likewise.
21147 * iconvdata/utf-16.c (gconv_end): Likewise.
21148 * iconvdata/utf-32.c (gconv_end): Likewise.
21149 * iconvdata/utf-7.c (base64): Likewise.
21150 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21151 * iconv/gconv_close.c (__gconv_close): Likewise.
21152 * iconv/gconv_open.c (__gconv_open): Likewise.
21153 * iconv/gconv_simple.c (internal_ucs4_loop_single)
21154 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21155 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21156 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21157 (ucs4le_internal_loop_single): Likewise.
21158 * iconv/iconv.c (iconv): Likewise.
21159 * iconv/iconv_close.c: Likewise.
21160 * iconv/loop.c (SINGLE): Likewise.
21161 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21162 * include/atomic.h: Likewise.
21163 * inet/inet6_option.c (option_alloc): Likewise.
21164 * intl/bindtextdom.c (set_binding_values): Likewise.
21165 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21166 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21167 * intl/localealias.c (read_alias_file): Likewise.
21168 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21169 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21170 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21171 * libio/fmemopen.c (fmemopen): Likewise.
21172 * libio/iofgets.c (_IO_fgets): Likewise.
21173 * libio/iofgets_u.c (fgets_unlocked): Likewise.
21174 * libio/iofgetws.c (fgetws): Likewise.
21175 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21176 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21177 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21178 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21179 * locale/findlocale.c (_nl_find_locale): Likewise.
21180 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21181 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21183 * locale/setlocale.c (setlocale): Likewise.
21184 * login/programs/pt_chown.c (main): Likewise.
21185 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21186 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21187 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21188 (mmap, mmap64, mremap, munmap): Likewise.
21189 * math/e_exp2l.c: Likewise.
21190 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21191 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21192 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21193 * math/s_catan.c (__catan): Likewise.
21194 * math/s_catanf.c (__catanf): Likewise.
21195 * math/s_catanh.c (__catanh): Likewise.
21196 * math/s_catanhf.c (__catanhf): Likewise.
21197 * math/s_catanhl.c (__catanhl): Likewise.
21198 * math/s_catanl.c (__catanl): Likewise.
21199 * math/s_ccosh.c (__ccosh): Likewise.
21200 * math/s_ccoshf.c (__ccoshf): Likewise.
21201 * math/s_ccoshl.c (__ccoshl): Likewise.
21202 * math/s_cexp.c (__cexp): Likewise.
21203 * math/s_cexpf.c (__cexpf): Likewise.
21204 * math/s_cexpl.c (__cexpl): Likewise.
21205 * math/s_clog10.c (__clog10): Likewise.
21206 * math/s_clog10f.c (__clog10f): Likewise.
21207 * math/s_clog10l.c (__clog10l): Likewise.
21208 * math/s_clog.c (__clog): Likewise.
21209 * math/s_clogf.c (__clogf): Likewise.
21210 * math/s_clogl.c (__clogl): Likewise.
21211 * math/s_csin.c (__csin): Likewise.
21212 * math/s_csinf.c (__csinf): Likewise.
21213 * math/s_csinh.c (__csinh): Likewise.
21214 * math/s_csinhf.c (__csinhf): Likewise.
21215 * math/s_csinhl.c (__csinhl): Likewise.
21216 * math/s_csinl.c (__csinl): Likewise.
21217 * math/s_csqrt.c (__csqrt): Likewise.
21218 * math/s_csqrtf.c (__csqrtf): Likewise.
21219 * math/s_csqrtl.c (__csqrtl): Likewise.
21220 * math/s_ctan.c (__ctan): Likewise.
21221 * math/s_ctanf.c (__ctanf): Likewise.
21222 * math/s_ctanh.c (__ctanh): Likewise.
21223 * math/s_ctanhf.c (__ctanhf): Likewise.
21224 * math/s_ctanhl.c (__ctanhl): Likewise.
21225 * math/s_ctanl.c (__ctanl): Likewise.
21226 * math/w_pow.c: Likewise.
21227 * math/w_powf.c: Likewise.
21228 * math/w_powl.c: Likewise.
21229 * math/w_scalb.c (sysv_scalb): Likewise.
21230 * math/w_scalbf.c (sysv_scalbf): Likewise.
21231 * math/w_scalbl.c (sysv_scalbl): Likewise.
21232 * misc/error.c (error_tail): Likewise.
21233 * misc/pselect.c (__pselect): Likewise.
21234 * nis/nis_callback.c (__nis_create_callback): Likewise.
21235 * nis/nis_call.c (__nisfind_server): Likewise.
21236 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21237 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21238 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21239 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21240 * nis/nis_lookup.c (nis_lookup): Likewise.
21241 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21242 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21243 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21244 * nis/nis_xdr.c (xdr_endpoint): Likewise.
21245 * nis/nss_compat/compat-grp.c (getgrent_next_file)
21246 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21247 * nis/nss_compat/compat-initgroups.c (add_group)
21248 (internal_getgrent_r): Likewise.
21249 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21250 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21251 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21252 (internal_getspnam_r): Likewise.
21253 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21254 (_nss_nis_getaliasbyname_r): Likewise.
21255 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21256 (_nss_nis_getntohost_r): Likewise.
21257 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21258 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21259 (_nss_nis_getgrgid_r): Likewise.
21260 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21261 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21262 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21263 (_nss_nis_gethostbyname4_r): Likewise.
21264 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21265 (initgroups_netid): Likewise.
21266 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21267 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21268 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21269 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21270 (_nss_nis_getprotobynumber_r): Likewise.
21271 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21272 (_nss_nis_getsecretkey): Likewise.
21273 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21274 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21275 (_nss_nis_getpwuid_r): Likewise.
21276 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21277 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21278 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21279 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21280 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21281 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21282 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21284 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21285 (_nss_nisplus_getntohost_r): Likewise.
21286 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21287 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21288 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21289 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21291 * nis/nss_nisplus/nisplus-initgroups.c
21292 (_nss_nisplus_initgroups_dyn): Likewise.
21293 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21294 (_nss_nisplus_getnetbyaddr_r): Likewise.
21295 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21296 (_nss_nisplus_getprotobynumber_r): Likewise.
21297 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21298 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21299 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21301 * nis/nss_nisplus/nisplus-service.c
21302 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21303 (_nss_nisplus_getservbyport_r): Likewise.
21304 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21305 (_nss_nisplus_getspnam_r): Likewise.
21306 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21308 * nscd/aicache.c (addhstaiX): Likewise.
21309 * nscd/cache.c (cache_search, prune_cache): Likewise.
21310 * nscd/connections.c (register_traced_file, send_ro_fd)
21311 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21312 (main_loop_epoll): Likewise.
21313 * nscd/grpcache.c (addgrbyX): Likewise.
21314 * nscd/hstcache.c (addhstbyX): Likewise.
21315 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21316 * nscd/mem.c (gc, mempool_alloc): Likewise.
21317 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21318 (addinnetgrX): Likewise.
21319 * nscd/nscd-client.h (__nscd_acquire_maplock)
21320 (__nscd_drop_map_ref): Likewise.
21321 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21322 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21323 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21325 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21326 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21327 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21328 (__nscd_get_map_ref): Likewise.
21329 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21330 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21332 * nscd/pwdcache.c (addpwbyX): Likewise.
21333 * nscd/selinux.c (preserve_capabilities): Likewise.
21334 * nscd/servicescache.c (addservbyX): Likewise.
21335 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21336 * posix/fnmatch.c (fnmatch): Likewise.
21337 * posix/getopt.c (_getopt_internal_r): Likewise.
21338 * posix/glob.c (glob, glob_in_dir): Likewise.
21339 * posix/wordexp.c (exec_comm_child): Likewise.
21340 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21341 (getanswer_r, gaih_getanswer_slice): Likewise.
21342 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21343 * resolv/res_init.c: Likewise.
21344 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21345 * resolv/res_query.c (__libc_res_nquery): Likewise.
21346 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21348 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21349 * stdio-common/perror.c (perror): Likewise.
21350 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21351 * stdio-common/tmpnam.c (tmpnam): Likewise.
21352 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21353 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21354 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21356 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21357 * stdlib/putenv.c (putenv): Likewise.
21358 * stdlib/setenv.c (__add_to_environ): Likewise.
21359 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21360 * stdlib/strtol_l.c (INTERNAL): Likewise.
21361 * string/memmem.c (memmem): Likewise.
21362 * string/strerror.c (strerror): Likewise.
21363 * string/strnlen.c (__strnlen): Likewise.
21364 * string/test-memmem.c (simple_memmem): Likewise.
21365 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21366 * sunrpc/pm_getport.c (__get_socket): Likewise.
21367 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21368 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21369 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21370 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21372 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21373 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21374 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21375 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21376 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21377 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21379 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21381 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21382 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21383 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21384 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21385 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21387 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21388 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21389 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21390 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21391 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21392 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21394 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21396 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21398 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21399 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21400 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21401 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21402 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21403 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21404 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21406 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21407 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21408 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21409 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21410 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21411 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21412 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21413 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21415 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21417 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21419 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21421 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21422 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21423 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21425 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21426 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21427 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21428 * sysdeps/posix/sleep.c: Likewise.
21429 * sysdeps/posix/tempname.c: Likewise.
21430 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21431 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21433 * sysdeps/powerpc/powerpc32/dl-machine.h
21434 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21435 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21437 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21438 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21440 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21441 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21442 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21443 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21444 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21445 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21446 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21447 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21448 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21449 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21451 (elf_machine_lazy_rel): Likewise.
21452 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21453 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21454 (elf_machine_lazy_rel): Likewise.
21455 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21456 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21457 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21458 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21459 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21460 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21461 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21464 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21465 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21466 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21467 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21468 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21469 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21470 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21471 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21472 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21473 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21474 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21476 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21477 (__posix_fallocate64_l64): Likewise.
21478 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21479 (posix_fallocate): Likewise.
21480 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21482 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21483 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21484 (getifaddrs_internal): Likewise.
21485 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21486 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21487 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21488 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21489 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21490 (__posix_fallocate64_l64): Likewise.
21491 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21493 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21494 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21495 (__get_clockfreq): Likewise.
21496 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21497 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21498 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21499 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21501 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21502 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21503 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21505 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21506 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21507 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21508 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21509 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21510 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21511 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21513 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21514 (posix_fallocate): Likewise.
21515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21516 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21517 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21518 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21519 (elf_machine_rela, elf_machine_rela_relative)
21520 (elf_machine_lazy_rel): Likewise.
21521 * time/asctime.c (asctime_internal): Likewise.
21522 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21523 * time/tzset.c (__tzset_parse_tz): Likewise.
21524 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21525 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21526 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21527 * wcsmbs/wcsmbsload.h: Likewise.
21530 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21532 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21533 (arena_get2): Remove THREAD_STATS conditionals.
21534 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21535 (__malloc_stats, int): Likewise.
21537 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21539 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21540 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21542 * manual/setjmp.texi: Fix typos/grammar errors.
21544 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21545 Only return early when n is <= 0. Delete unused return statement.
21547 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21548 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21549 * debug/tst-longjmp_chk3.c: New file.
21551 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21552 (test_main): Replace code with set_fortify_handler call.
21553 * debug/test-strcpy_chk.c: Likewise.
21554 * debug/tst-chk1.c: Likewise.
21555 * debug/tst-longjmp_chk.c: Likewise.
21556 * test-skeleton.c: Include fcntl.h & paths.h
21557 (set_fortify_handler): Define.
21559 * debug/tst-longjmp_chk.c: Add header comment and include
21560 ../test-skeleton.c.
21561 (do_test): Mark static.
21562 (TEST_FUNCTION): Define.
21564 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21565 (IP_PMTUDISC_INTERFACE): Likewise.
21566 (IP_MULTICAST_IF): Likewise.
21567 (IP_MULTICAST_TTL): Likewise.
21568 (IP_MULTICAST_LOOP): Likewise.
21569 (IP_ADD_MEMBERSHIP): Likewise.
21570 (IP_DROP_MEMBERSHIP): Likewise.
21571 (IP_UNBLOCK_SOURCE): Likewise.
21572 (IP_BLOCK_SOURCE): Likewise.
21573 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21574 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21575 (IP_MSFILTER): Likewise.
21576 (MCAST_JOIN_GROUP): Likewise.
21577 (MCAST_BLOCK_SOURCE): Likewise.
21578 (MCAST_UNBLOCK_SOURCE): Likewise.
21579 (MCAST_LEAVE_GROUP): Likewise.
21580 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21581 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21582 (MCAST_MSFILTER): Likewise.
21583 (IP_MULTICAST_ALL): Likewise.
21584 (IP_UNICAST_IF): Likewise.
21586 * timezone/Makefile: Delete $(have-ksh) check.
21587 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21588 * timezone/tzselect.ksh: Add +x mode bits.
21590 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21591 (ANON_INODE_FS_MAGIC): Likewise.
21592 (BDEVFS_MAGIC): Likewise.
21593 (BINFMTFS_MAGIC): Likewise.
21594 (BTRFS_TEST_MAGIC): Likewise.
21595 (CRAMFS_MAGIC_WEND): Likewise.
21596 (DEBUGFS_MAGIC): Likewise.
21597 (ECRYPTFS_SUPER_MAGIC): Likewise.
21598 (EXT3_SUPER_MAGIC): Likewise.
21599 (EXT4_SUPER_MAGIC): Likewise.
21600 (FUTEXFS_SUPER_MAGIC): Likewise.
21601 (HOSTFS_SUPER_MAGIC): Likewise.
21602 (HUGETLBFS_MAGIC): Likewise.
21603 (MINIX3_SUPER_MAGIC): Likewise.
21604 (MTD_INODE_FS_MAGIC): Likewise.
21605 (NILFS_SUPER_MAGIC): Likewise.
21606 (OPENPROM_SUPER_MAGIC): Likewise.
21607 (PIPEFS_MAGIC): Likewise.
21608 (PSTOREFS_MAGIC): Likewise.
21609 (QNX6_SUPER_MAGIC): Likewise.
21610 (RAMFS_MAGIC): Likewise.
21611 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21612 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21613 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21614 (SECURITYFS_MAGIC): Likewise.
21615 (SELINUX_MAGIC): Likewise.
21616 (SMACK_MAGIC): Likewise.
21617 (SOCKFS_MAGIC): Likewise.
21618 (SQUASHFS_MAGIC): Likewise.
21619 (STACK_END_MAGIC): Likewise.
21620 (TMPFS_MAGIC): Likewise.
21621 (USBDEVICE_SUPER_MAGIC): Likewise.
21622 (V9FS_MAGIC): Likewise.
21623 (XENFS_SUPER_MAGIC): Likewise.
21624 (CRAMFS_MAGIC): Fix typo in comment.
21625 (EXT2_SUPER_MAGIC): Update comment.
21626 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21628 2014-02-08 Joseph Myers <joseph@codesourcery.com>
21630 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21631 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21632 * sysdeps/unix/sysv/linux/arm: Move directory from
21633 ports/sysdeps/unix/sysv/linux/arm.
21634 * README: Update listing for arm-*-linux-gnueabi.
21636 * README: Remove mention of am33.
21638 2014-02-07 Roland McGrath <roland@hack.frob.com>
21640 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21641 than the comma operator, to avoid "rhs of comma has no effect"
21643 (__sigfillset, __sigandset, __sigorset): Likewise.
21644 * include/signal.h (__sigemptyset): Likewise.
21645 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21647 2014-02-07 Allan McRae <allan@archlinux.org>
21649 * version.h (RELEASE): Set to "development".
21650 (VERSION): Set to "2.19.90"
21651 * NEWS: Add 2.20 section.
21653 2014-02-06 Carlos O'Donell <carlos@redhat.com>
21656 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21658 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21660 * manual/contrib.texi: Update entry for Carlos O'Donell,
21661 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21663 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
21665 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21667 * sysdeps/unix/sysv/linux/kernel-features.h
21668 [__LINUX_KERNEL_VERSION >= 0x020621]
21669 (__ASSUME_PROC_PID_TASK_COMM): Define.
21671 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21674 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21675 conversion when destination buffer does not have enough space.
21676 * libio/tst-ftell-partial-wide.c: New test case.
21677 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21679 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21680 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21681 Leonard and Allan McRae.
21683 2014-02-04 David S. Miller <davem@davemloft.net>
21685 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21688 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21717 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21719 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21720 * shlib-versions: Likewise.
21722 2014-02-04 Roland McGrath <roland@hack.frob.com>
21723 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21725 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21726 (abilist-pattern): New variable, set to %-le.abilist.
21728 * Makerules (abilist-pattern): New variable.
21729 (vpath): Use $(abilist-pattern) in place of %.abilist.
21730 (check-abi-% pattern rule): Likewise.
21731 (check-abi, update-abi): Likewise.
21733 2014-02-04 Eric Wong <normalperson@yhbt.net>
21735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21737 2014-02-03 Carlos O'Donell <carlos@redhat.com>
21739 * manual/startup.texi: Add next, previous, and top entries for
21740 the `Program Arguments' and `Environment Variables' nodes.
21742 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
21744 * manual/macros.texi: Add comments before MTASC-safety macros.
21746 * manual/users.texi: Document MTASC-safety properties.
21748 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21749 (pthread_getspecific, pthread_setspecific): Format with
21750 @deftypefun, and add @safety note.
21751 * manual/signal.texi: Move comments that analyze the above
21752 functions to their home place.
21754 2014-02-03 Allan McRae <allan@archlinux.org>
21756 * po/sl.po: Update Slovenian translation from translation project.
21758 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
21760 * manual/time.texi (timegm): Add missing blank after @c.
21761 Reported by Joseph Myers <joseph@codesourcery.com>.
21763 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
21765 * manual/check-safety.sh: New.
21766 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21768 * manual/terminal.texi: Document MTASC-safety properties.
21770 * manual/filesys.texi: Document MTASC-safety properties.
21772 * manual/errno.texi: Document MTASC-safety properties.
21774 * manual/intro.texi: Document safety identifiers and
21777 * manual/string.texi (wcstok): Fix prototype.
21778 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21780 * manual/time.texi: Document MTASC-safety properties.
21782 * manual/string.texi: Document MTASC-safety properties.
21784 * manual/threads.texi: Document MTASC-safety properties.
21786 * manual/stdio.texi: Document MTASC-safety properties.
21788 * manual/syslog.texi: Document MTASC-safety properties.
21790 * manual/sysinfo.texi: Document MTASC-safety properties.
21792 * manual/startup.texi: Document MTASC-safety properties.
21794 * manual/socket.texi: Document MTASC-safety properties.
21796 * manual/signal.texi: Document MTASC-safety properties.
21798 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
21800 * manual/setjmp.texi: Document MTASC-safety properties.
21802 * manual/search.texi: Document MTASC-safety properties.
21804 * manual/resource.texi: Document MTASC-safety properties.
21806 * manual/process.texi: Document MTASC-safety properties.
21808 * manual/platform.texi: Document MTASC-safety properties.
21810 * manual/pipe.texi: Document MTASC-safety properties.
21812 * manual/pattern.texi: Document MTASC-safety properties.
21814 * manual/message.texi: Document MTASC-safety properties.
21817 * manual/memory.texi: Document MTASC-safety properties.
21819 * manual/math.texi: Document MTASC-safety properties.
21821 * manual/locale.texi: Document MTASC-safety properties.
21823 * manual/llio.texi: Document MTASC-safety properties.
21825 * manual/libdl.texi: New.
21827 * manual/lang.texi: Document MTASC-safety properties.
21829 * manual/job.texi: Document MTASC-safety properties.
21831 * manual/getopt.texi: Document MTASC-safety properties.
21833 * manual/ctype.texi: Document MTASC-safety properties.
21835 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21838 * csu/libc-tls.c (static_map): Remove variable.
21839 (__libc_setup_tls): Use main executable's link map for TLS data.
21840 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21841 casing for LM_ID_BASE and GL(dl_nns).
21842 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21843 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21844 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21845 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21846 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21848 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21851 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
21853 * manual/debug.texi: Document MTASC-safety properties.
21855 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21858 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21859 of __x86_64__ when disabling x87 inline functions.
21861 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
21863 * manual/charset.texi: Document MTASC-safety properties.
21865 * manual/crypt.texi: Document MTASC-safety properties.
21867 * manual/conf.texi: Document MTASC-safety properties.
21869 * manual/arith.texi: Document MTASC-safety properties.
21871 * manual/argp.texi: Document MTASC-safety properties.
21873 * manual/macros.texi: Introduce macros to document multi
21874 thread, asynchronous signal and asynchronous cancellation
21876 * manual/intro.texi: Introduce the properties themselves.
21878 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21880 * sysdeps/sh/sh4/Makefile: New file.
21882 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21884 * math/gen-libm-test.pl ($srcdir): New variable.
21885 ($auto_input): Use it.
21887 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21890 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21891 access beyond array bounds when parsing netgroups file.
21893 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21894 the old buffer before realloc.
21896 2014-01-27 Allan McRae <allan@archlinux.org>
21898 * po/fr.po: Update French translation from translation project.
21900 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21902 * sysdeps/sh/libm-test-ulps: Regenerate.
21904 2014-01-24 David S. Miller <davem@davemloft.net>
21906 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21908 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21910 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21911 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21913 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21916 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21917 string pointers after reallocation.
21919 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21921 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21922 __SH4A__ instead of __SH_FPU_ANY__.
21924 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21926 * sysdeps/sh/fpu_control.h: New file.
21927 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21928 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21929 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21930 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21931 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21932 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21933 * sysdeps/sh/sys/ucontext.h: Remove.
21934 * sysdeps/sh/sys: Remove directory.
21936 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21938 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21939 s390/sys/ucontext.h.
21940 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21941 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21943 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21946 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21948 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21951 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21952 Adjust the vDSO correctly for internal calls.
21953 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21955 2014-01-20 Allan McRae <allan@archlinux.org>
21957 * po/ca.po: Update Catalan translation from translation project.
21959 2014-01-16 Mike Frysinger <vapier@gentoo.org>
21961 * sysdeps/s390/sotruss-lib.c: New file.
21963 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21966 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21967 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21968 local calls issues by not having a PLT stub required for IFUNC calls.
21969 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21971 2014-01-16 Joseph Myers <joseph@codesourcery.com>
21973 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21974 * math/test-fpucw-static.c: Likewise.
21976 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21979 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21981 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21983 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21984 implementation for powerpc.
21986 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
21989 * sysdeps/posix/system.c (__libc_system): Do not enable
21990 asynchronous cancellation.
21992 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21995 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21996 handling only for numbers special also in the IEEE case.
21998 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22000 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22002 2014-01-11 Allan McRae <allan@archlinux.org>
22004 * po/bg.po: Update Bulgarian translation from translation project.
22006 * po/de.po: Update German translation from translation project.
22008 2014-01-10 Roland McGrath <roland@hack.frob.com>
22010 * sysdeps/generic/gcc-compat.h: New file.
22012 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22014 * benchtests/asin-inputs: Correct slow inputs.
22015 * benchtests/acos-inputs: Likewise.
22017 2014-01-10 Allan McRae <allan@archlinux.org>
22019 * po:sv.po: Update Swedish translation from translation project.
22021 * po/vi.po: Update Vietnamese translation from translation project.
22023 * po/eo.po: Update Esperanto translation from translation project.
22025 * po/cs.po: Update Czech translation from translation project.
22027 * po/nl.po: Update Dutch translation from translation project.
22029 * po/pl.po: Update Polish translation from translation project.
22031 * po/ru.po: Update Russian translation from translation project.
22033 * po/uk.po: Update Ukrainian translation from translation project.
22035 2014-01-08 Brooks Moses <bmoses@google.com>
22037 * elf/dl-load.c: Fix comment typo.
22039 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22041 * po/header.pot: Rename to...
22042 * po/pot.header: ... this.
22043 * po/Makefile: Use pot.header.
22045 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22046 Maxim Kuvyrkov <maxim@kugelworks.com>
22049 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22050 SRC and DEST against LEN.
22052 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22055 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22057 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22059 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22063 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22066 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22067 for large positive arguments.
22069 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22071 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22073 * math/auto-libm-test-in: Mark various tests with
22074 xfail-rounding:ldbl-128ibm.
22075 * math/auto-libm-test-out: Regenerated.
22078 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22079 Increase overflow threshold.
22081 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22084 * stdio-common/vfprintf.c: Check for integer overflow.
22086 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22088 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22089 the first argument and return value of __tls_get_addr_internal.
22091 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22093 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22094 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22096 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22098 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22099 * sysdeps/s390/rtld-global-offsets.sym: New file.
22100 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22102 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22103 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22104 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22106 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22107 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22113 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22114 halfs of GPRs for high_gprs contexts.
22115 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22116 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22118 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22120 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22122 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22123 for high GPRs (uc_high_gprs) and for future extensions
22125 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22126 for future extensions (__reserved).
22127 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22129 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22130 SC_HIGHGPRS offset definition.
22131 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22132 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22134 * Versions.def: Add GLIBC_2.19 for libpthread.
22135 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22136 siglongjmp for libpthread with GLIBC_2.19 symver.
22137 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22138 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22139 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22140 * sysdeps/s390/__longjmp.c: New file.
22141 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22142 * sysdeps/s390/longjmp.c: New file.
22143 * sysdeps/s390/setjmp.S: New file.
22144 * sysdeps/s390/sigjmp.S: New file.
22145 * sysdeps/s390/v1-longjmp.c: New file.
22146 * sysdeps/s390/v1-setjmp.h: New file.
22147 * sysdeps/s390/v1-sigjmp.c: New file.
22148 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22149 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22150 GLIBC_2.19 version.
22151 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22152 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22153 versioned symbols for ____longjmp_chk.
22154 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22164 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22165 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22166 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22167 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22168 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22169 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22170 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22171 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22172 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22173 * sysdeps/s390/rtld-__longjmp.c: New file.
22174 * sysdeps/s390/rtld-setjmp.S: New file.
22176 2014-01-06 Joseph Myers <joseph@codesourcery.com>
22179 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22180 Return -__logl (x) for small positive arguments without evaluating
22183 2014-01-06 Mike Frysinger <vapier@gentoo.org>
22185 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22187 (__ptrace_peeksiginfo_args): ... this.
22188 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22189 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22190 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22192 2014-01-06 Allan McRae <allan@archlinux.org>
22194 * inet/netinet/in.h: Fix typo in comment.
22196 2014-01-05 Andreas Jaeger <aj@suse.de>
22198 * sysdeps/i386/fpu/libm-test-ulps: Update.
22200 2014-01-05 Allan McRae <allan@archlinux.org>
22202 * po/libc.pot: Regenerated.
22204 * malloc/memusagestat.c: Fix gettext call formatting.
22206 2014-01-04 Sami Kerola <kerolasa@iki.fi>
22208 * nscd/nscd.c: Improve usage() output.
22210 2014-01-04 Mike Frysinger <vapier@gentoo.org>
22212 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22213 * sysdeps/unix/sysv/linux/configure: Regenerated.
22214 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22215 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22217 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22220 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22221 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22223 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22225 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22226 extra tokens at end of #undef directive.
22227 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22228 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22229 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22231 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22233 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22235 * math/auto-libm-test-in: Mark various tests with
22236 xfail-rounding:ldbl-128ibm.
22237 * math/auto-libm-test-out: Regenerated.
22239 2014-01-02 Joseph Myers <joseph@codesourcery.com>
22242 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22243 numbers with subnormal high part when calculating exponent.
22246 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22250 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22252 (__ieee754_acoshl): Use __log1pl not __log1p.
22254 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22256 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22257 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22258 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22259 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22260 (reused_arena, arena_get2): Convert to GNU style.
22261 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22262 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22263 (memalign_check, __malloc_set_state): Likewise.
22264 * malloc/mallocbug.c (main): Likewise.
22265 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22266 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22267 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22268 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22269 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22270 (__posix_memalign, malloc_info): Likewise.
22271 * malloc/malloc.h: Likewise.
22272 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22273 (mallochook, memalignhook, reallochook, mabort): Likewise.
22274 * malloc/mcheck.h: Likewise.
22275 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22276 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22277 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22278 * malloc/morecore.c (__default_morecore): Likewise.
22279 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22280 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22281 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22282 (print_and_abort): Likewise.
22283 * malloc/obstack.h: Likewise.
22284 * malloc/set-freeres.c (__libc_freeres): Likewise.
22285 * malloc/tst-mallocstate.c (main): Likewise.
22286 * malloc/tst-mtrace.c (main): Likewise.
22287 * malloc/tst-realloc.c (do_test): Likewise.
22289 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22292 * nscd/netgroupcache.c (do_notfound): New function.
22293 (addgetnetgrentX): Use it.
22296 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22297 NSS_STATUS_NOTFOUND.
22299 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22301 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22304 2014-01-01 Allan McRae <allan@archlinux.org>
22306 * scripts/update-copyrights: Update configure input file suffix.
22308 * NEWS: Update copyright year.
22309 * catgets/gencat.c: Likewise.
22310 * csu/version.c: Likewise.
22311 * debug/catchsegv.sh: Likewise.
22312 * debug/pcprofiledump.c: Likewise.
22313 * debug/xtrace.sh: Likewise.
22314 * elf/ldconfig.c: Likewise.
22315 * elf/ldd.bash.in: Likewise.
22316 * elf/pldd.c: Likewise.
22317 * elf/sotruss.ksh: Likewise.
22318 * elf/sprof.c: Likewise.
22319 * iconv/iconv_prog.c: Likewise.
22320 * iconv/iconvconfig.c: Likewise.
22321 * locale/programs/locale.c: Likewise.
22322 * locale/programs/localedef.c: Likewise.
22323 * login/programs/pt_chown.c: Likewise.
22324 * malloc/memusage.sh: Likewise.
22325 * malloc/memusagestat.c: Likewise.
22326 * malloc/mtrace.pl: Likewise.
22327 * manual/libc.texinfo: Likewise.
22328 * nscd/nscd.c: Likewise.
22329 * nss/getent.c: Likewise.
22330 * nss/makedb.c: Likewise.
22331 * posix/getconf.c: Likewise.
22332 * scripts/test-installation.pl: Likewise.
22334 * All files with FSF copyright notices: Update copyright dates
22335 using scripts/update-copyrights.
22336 * intl/plural.c: Regenerated.
22337 * locale/programs/charmap-kw.h: Likewise.
22338 * locale/programs/locfile-kw.h: Likewise.
22340 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22342 * sysdeps/unix/sysv/linux/configure: Regenerated.
22343 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22344 the linux/fanotify.h header.
22345 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22346 HAVE_LINUX_FANOTIFY_H is defined.
22348 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22350 * benchtests/cos-inputs: New inputs.
22351 * benchtests/sin-inputs: Likewise.
22353 * benchtests/atan-inputs: New inputs. Fix name of multiple
22354 precision fallback inputs.
22356 * benchtests/atanh-inputs: New inputs.
22357 * benchtests/tanh-inputs: Likewise.
22359 * benchtests/acosh-inputs: New inputs.
22360 * benchtests/asinh-inputs: Likewise.
22362 * benchtests/cosh-inputs: New inputs.
22363 * benchtests/sinh-inputs: Likewise.
22365 * benchtests/acos-inputs: Add more inputs.
22366 * benchtests/asin-inputs: Likewise.
22368 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22371 * manual/arith.texi: Fix spelling.
22372 * manual/charset.texi: Likewise.
22373 * manual/errno.texi: Likewise.
22374 * manual/filesys.texi: Likewise.
22375 * manual/lang.texi: Likewise.
22376 * manual/llio.texi: Likewise.
22377 * manual/locale.texi: Likewise.
22378 * manual/message.texi: Likewise.
22379 * manual/resource.texi: Likewise.
22380 * manual/search.texi: Likewise.
22381 * manual/setjmp.texi: Likewise.
22382 * manual/stdio.texi: Likewise.
22383 * manual/string.texi: Likewise.
22384 * manual/sysinfo.texi: Likewise.
22385 * manual/time.texi: Likewise.
22387 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22389 * po/sl.po: New file.
22391 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22393 * .gitignore: Add core/.gdbinit/.gdb_history.
22395 2013-12-27 Allan McRae <allan@archlinux.org>
22398 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22399 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22401 2013-12-24 Brooks Moses <bmoses@google.com>
22403 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22404 all compilers that claim C++98 compliance, not just GCC.
22405 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22408 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22410 * NEWS: Restore accidentally deleted bug-fix entries.
22412 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22413 Ondřej Bílka <neleai@seznam.cz>
22416 * malloc/malloc.c (_int_free): Perform sanity check only if we
22419 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22422 * manual/stdio.texi (String Input Conversions): Clarify that character
22423 classes are not supported.
22425 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22429 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22432 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22433 Calculate results for small negative arguments directly rather
22434 than using reflection formula with special underflow handling.
22436 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22437 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22438 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22439 (fchflags): Likewise.
22440 (revoke): Likewise.
22441 (setlogin): Likewise.
22442 (sigaltstack): Likewise.
22444 (sigblock): Remove.
22445 (sigsetmask): Likewise.
22447 (waitpid): Likewise.
22448 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22449 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22451 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22452 * sysdeps/unix/bsd/Makefile: ... here.
22453 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22454 * sysdeps/unix/bsd/Versions: ... here.
22455 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22456 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22457 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22458 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22459 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22460 * sysdeps/unix/bsd/sigblock.c: ... here.
22461 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22462 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22463 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22464 * sysdeps/unix/bsd/sigvec.c: ... here.
22465 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22466 * sysdeps/unix/bsd/tcdrain.c: ... here.
22467 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22468 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22469 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22470 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22471 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22472 * sysdeps/unix/bsd/wait.c: ... here.
22473 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22474 * sysdeps/unix/bsd/wait3.c: ... here.
22475 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22476 * sysdeps/unix/bsd/waitpid.c: ... here.
22478 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22481 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22482 round-to-nearest for [!USE_AS_EXPM1L].
22483 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22484 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22485 more tests of exp and exp10. Expect some exp10 tests to miss
22486 exceptions or fail in directed rounding modes.
22487 * math/auto-libm-test-out: Regenerated.
22488 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22489 (exp10_test_tonearest): New function.
22490 (exp10_towardzero_test_data): New array.
22491 (exp10_test_towardzero): New function.
22492 (exp10_downward_test_data): New array.
22493 (exp10_test_downward): New function.
22494 (exp10_upward_test_data): New array.
22495 (exp10_test_upward): New function.
22496 (main): Call the new functions.
22497 * sysdeps/i386/fpu/libm-test-ulps: Update.
22498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22500 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22502 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22503 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22504 * math/auto-libm-test-out: Regenerated.
22505 * math/libm-test.inc (acosh_test_data): Add more tests.
22506 (atanh_test_data): Likewise.
22507 (ceil_test_data): Likewise.
22508 (copysign_test_data): Likewise.
22509 * sysdeps/i386/fpu/libm-test-ulps: Update.
22510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22512 * timezone/checktab.awk: Update from tzcode 2013i.
22513 * timezone/private.h: Likewise.
22514 * timezone/scheck.c: Likewise.
22515 * timezone/tzfile.h: Likewise.
22516 * timezone/tzselect.ksh: Likewise.
22517 * timezone/zdump.c: Likewise.
22518 * timezone/zic.c: Likewise.
22520 * math/auto-libm-test-in: Add tests of cpow.
22521 * math/auto-libm-test-out: Regenerated.
22522 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22523 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22525 (func_calc_desc): Add mpc_cc_c union field.
22526 (test_functions): Add cpow.
22527 (special_fill_2pi): New function.
22528 (special_real_inputs): Add 2pi.
22529 (calc_generic_results): Handle mpc_cc_c.
22530 * sysdeps/i386/fpu/libm-test-ulps: Update.
22531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22533 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22534 csqrt, ctan and ctanh.
22535 * math/auto-libm-test-out: Regenerated.
22536 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22537 (TEST_COND_x86): Likewise.
22538 (ccos_test_data): Use AUTO_TESTS_c_c.
22539 (ccosh_test_data): Likewise.
22540 (cexp_test_data): Likewise.
22541 (clog_test_data): Likewise.
22542 (csqrt_test_data): Likewise.
22543 (ctan_test_data): Likewise.
22544 (ctan_tonearest_test_data): Likewise.
22545 (ctan_towardzero_test_data): Likewise.
22546 (ctan_downward_test_data): Likewise.
22547 (ctan_upward_test_data): Likewise.
22548 (ctanh_test_data): Likewise.
22549 (ctanh_tonearest_test_data): Likewise.
22550 (ctanh_towardzero_test_data): Likewise.
22551 (ctanh_downward_test_data): Likewise.
22552 (ctanh_upward_test_data): Likewise.
22553 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22555 (func_calc_desc): Add mpc_c_c union field.
22556 (FUNC_mpc_c_c): New macro.
22557 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22558 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22560 (special_fill_min_subnorm_p120): New function.
22561 (special_real_inputs): Add min_subnorm_p120.
22562 (calc_generic_results): Handle mpc_c_c.
22563 * sysdeps/i386/fpu/libm-test-ulps: Update.
22564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22566 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22568 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22569 (do_sin_slow): New functions.
22570 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22571 (cslow2, csloww1, csloww2): Use the new functions.
22573 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22574 Use M to change sign of result instead of X. Assume X is
22576 (csloww1): Likewise.
22580 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22581 arguments A and DA.
22585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22587 (sloww1): Don't adjust sign of DX.
22588 (csloww1): Likewise.
22589 (sloww2): Use X directly and don't adjust sign of DX.
22590 (csloww2): Likewise.
22592 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22594 * math/auto-libm-test-in: Add tests of cabs and carg.
22595 * math/auto-libm-test-out: Regenerated.
22596 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22597 (carg_test_data): Likewise.
22598 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22600 (func_calc_desc): Add mpc_c_f union field.
22601 (test_functions): Add cabs and carg.
22602 (calc_generic_results): Handle mpc_c_f.
22604 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22605 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22606 as a macro and a compat symbol.
22607 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22608 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22609 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22610 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22611 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22612 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22614 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22616 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22618 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22620 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22622 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22624 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22625 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22628 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22632 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22634 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22635 trailing whitespace removed.
22636 * scripts/config.guess: Update to version 2013-11-29.
22637 * scripts/config.sub: Update to version 2013-10-01.
22639 * math/auto-libm-test-in: Add tests of sincos.
22640 * math/auto-libm-test-out: Regenerated.
22641 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22642 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22644 (func_calc_desc): Add mpfr_f_11 union field.
22645 (test_functions): Add sincos.
22646 (calc_generic_results): Handle mpfr_f_11.
22647 * sysdeps/i386/fpu/libm-test-ulps: Update.
22648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22650 2013-12-19 Andreas Schwab <schwab@suse.de>
22652 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22654 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22655 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22656 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22658 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22660 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22661 * sysdeps/i386/fpu/libm-test-ulps: Update.
22662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22665 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22666 round-to-nearest mode when using frndint.
22667 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22668 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22669 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22671 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22673 * math/auto-libm-test-out: Regenerated.
22674 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22675 (TEST_COND_x86): Likewise.
22676 (expm1_tonearest_test_data): New array.
22677 (expm1_test_tonearest): New function.
22678 (expm1_towardzero_test_data): New array.
22679 (expm1_test_towardzero): New function.
22680 (expm1_downward_test_data): New array.
22681 (expm1_test_downward): New function.
22682 (expm1_upward_test_data): New array.
22683 (expm1_test_upward): New function.
22684 (main): Run the new test functions.
22685 * sysdeps/i386/fpu/libm-test-ulps: Update.
22686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22688 * include/features.h: Update comment documenting feature test
22689 macros. Mention _DEFAULT_SOURCE in comment.
22690 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22691 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22692 _BSD_SOURCE and _SVID_SOURCE.
22693 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22694 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22695 !_SVID_SOURCE]: Likewise.
22696 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22697 (__USE_POSIX_IMPLICITLY): Define.
22698 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22699 (_POSIX_SOURCE): Undefine and redefine.
22700 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22701 (_POSIX_C_SOURCE): Likewise.
22702 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22703 (Feature Test Macros): Update documentation of default features.
22705 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22707 * benchtests/Makefile: Add bench-strtok.
22708 * benchtests/bench-strtok.c: New file: strtok benchtest.
22710 2013-12-19 Allan McRae <allan@archlinux.org>
22712 * manual/install.texi: Suppress menu for plain text output.
22713 * INSTALL: Regenerated.
22715 2013-12-18 Brooks Moses <bmoses@google.com>
22718 * misc/getauxval.c: Include errno.h.
22719 (__getauxval): Set errno to ENOENT if the requested type is not
22721 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22722 don't declare with __attribute_const__.
22723 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22724 * manual/startup.texi: Document that getauxval sets errno.
22726 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22728 * math/auto-libm-test-in: Add tests of jn and yn.
22729 * math/auto-libm-test-out: Regenerated.
22730 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22731 (yn_test_data): Likewise.
22732 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22734 (func_calc_desc): Add mpfr_if_f union field.
22735 (FUNC_mpfr_if_f): New macro.
22736 (test_functions): Add jn and yn.
22737 (calc_generic_results): Assert type of second input for
22738 mpfr_ff_f. Handle mpfr_if_f.
22739 (output_for_one_input_case): Disable all checking for arguments
22740 fitting floating-point types in case of an integer argument.
22741 * sysdeps/i386/fpu/libm-test-ulps: Update.
22742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22745 Don't expect fegetround reference in libm.so.
22747 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22749 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22750 $(config-cflags-nofma).
22752 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22754 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22755 * math/auto-libm-test-out: Regenerated.
22758 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22759 to determine exponent and adjust argument to have exponent of -1.
22760 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22762 * math/auto-libm-test-out: Regenerated.
22763 * sysdeps/i386/fpu/libm-test-ulps: Update.
22764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22766 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
22768 * manual/probes.texi: Remove cases when per-thread arenas are
22771 2013-12-18 Andreas Schwab <schwab@suse.de>
22773 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22774 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22775 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22776 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22777 * sysdeps/i386/i686/multiarch/Makefile: Update.
22778 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22780 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22782 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22783 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22785 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22788 Support TZ transition times < 00:00:00.
22789 This is needed for version-3 tz-format files; it supports time
22790 stamps past 2037 for America/Godthab (the only entry in the tz
22791 database for which this change is relevant).
22792 * manual/time.texi (TZ Variable): Document transition times
22793 from -167:59:59 through -00:00:01.
22794 * time/tzset.c (tz_rule): Time of day is now signed.
22795 (__tzset_parse_tz): Parse negative time of day.
22797 Document TZ transition times >= 25:00:00.
22798 * manual/time.texi (TZ Variable): Document transition times from
22799 25:00:00 through 167:59:59. These are already supported, and this
22800 support will help with version-3 tz-format files.
22802 * manual/time.texi (TZ Variable): Modernize North America example
22803 to reflect current (i.e., 2007-and-later) daylight saving rules.
22805 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22807 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22809 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22810 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22813 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22814 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22815 * sysdeps/unix/bsd/clock.c: Likewise.
22816 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22817 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22818 * sysdeps/unix/bsd/init-posix.c: Likewise.
22819 * sysdeps/unix/bsd/poll.c: Likewise.
22820 * sysdeps/unix/bsd/ptsname.c: Likewise.
22821 * sysdeps/unix/bsd/seekdir.c: Likewise.
22822 * sysdeps/unix/bsd/setegid.c: Likewise.
22823 * sysdeps/unix/bsd/seteuid.c: Likewise.
22824 * sysdeps/unix/bsd/setgid.c: Likewise.
22825 * sysdeps/unix/bsd/setrgid.c: Likewise.
22826 * sysdeps/unix/bsd/setruid.c: Likewise.
22827 * sysdeps/unix/bsd/setsid.c: Likewise.
22828 * sysdeps/unix/bsd/setuid.c: Likewise.
22829 * sysdeps/unix/bsd/sigaction.c: Likewise.
22830 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22831 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22832 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22833 * sysdeps/unix/bsd/telldir.c: Likewise.
22834 * sysdeps/unix/bsd/times.c: Likewise.
22835 * sysdeps/unix/bsd/usleep.c: Likewise.
22837 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22838 ($(objpfx)libbsd-compat.a): Remove rule.
22840 * include/features.h (__FAVOR_BSD): Do not define.
22841 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22842 features conflicting with POSIX.
22843 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22844 (_BSD_SOURCE): Remove description of not being a subset of other
22845 feature test macros.
22846 * manual/job.texi (getpgrp): Do not document BSD version.
22847 (getpgid): Do not document by reference to BSD getpgrp.
22848 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22849 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22850 * signal/signal.h [__FAVOR_BSD]: Likewise.
22851 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22852 instead of making contents conditional on [__FAVOR_BSD].
22853 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22855 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22859 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22862 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22863 values below 2**-450, not 2**-500.
22864 * math/auto-libm-test-in: Don't allow spurious underflow from
22866 * math/auto-libm-test-out: Regenerated.
22870 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22871 values of ha and hb and sort them after adjusting subnormal
22873 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22875 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22876 values of ea and eb and sort them after adjusting subnormal
22878 * math/auto-libm-test-in: Do not expect some hypot tests of
22879 subnormals to fail. Add more hypot tests.
22880 * math/auto-libm-test-out: Regenerated.
22882 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22885 * sysdeps/sh/s_fma.c: New file.
22886 * sysdeps/sh/s_fmaf.c: New file.
22887 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22889 * sysdeps/sh/Implies: Add sh/soft-fp.
22891 2013-12-16 Roland McGrath <roland@hack.frob.com>
22893 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22894 level of indirection to members `objname', `errstring', `malloced'.
22895 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22896 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22897 it as the __longjmp argument (just pass 1 instead).
22898 (_dl_catch_error): Initialize C with argument pointers and address of
22899 volatile local ERRCODE rather than copying values out of C at return.
22901 2013-12-16 Joseph Myers <joseph@codesourcery.com>
22903 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22904 * math/auto-libm-test-out: Regenerated.
22905 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22906 (hypot_test_data): Likewise.
22907 (pow_test_data): Likewise.
22908 (pow_tonearest_test_data): Likewise.
22909 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22911 (func_calc_desc): Add mpfr_ff_f union field.
22912 (FUNC_mpfr_ff_f): New macro.
22913 (test_functions): Add atan2, hypot and pow.
22914 (special_fill_min): New function.
22915 (special_fill_minus_min): Likewise.
22916 (special_fill_min_subnorm): Likewise.
22917 (special_fill_minus_min_subnorm): Likewise.
22918 (special_real_inputs): Add min, -min, min_subnorm and
22920 (calc_generic_results): Handle mpfr_ff_f.
22921 * sysdeps/i386/fpu/libm-test-ulps: Update.
22922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22924 2013-12-16 Will Newton <will.newton@linaro.org>
22926 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22927 (Aligned Memory Blocks): Add documentation for aligned_alloc
22928 and suggest it as an alternative to posix_memalign.
22929 (Hooks for Malloc): Document __memalign_hook is also called
22930 for aligned_alloc. (Summary of Malloc): Add summary for
22931 aligned alloc. Document __memalign_hook is also called
22934 2013-12-16 Will Newton <will.newton@linaro.org>
22936 * manual/memory.texi (Malloc Examples): Clarify default
22937 alignment documentation. Suggest posix_memalign rather
22938 than memalign or valloc.
22939 (Aligned Memory Blocks): Remove suggestion to use memalign
22940 or valloc. Remove obsolete comment about BSD.
22941 Document memalign errno values and mark the function obsolete.
22942 Document posix_memalign returned error codes. Mark valloc
22943 as obsolete. (Hooks for Malloc): __memalign_hook is also
22944 called for posix_memalign and valloc.
22945 (Summary of Malloc): Add posix_memalign to function summary.
22946 __memalign_hook is also called for posix_memalign and valloc.
22948 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22950 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22954 (sloww): Use mynumber union. Expand ternary operator into
22955 if-else statements.
22956 (cslow): use mynumber union.
22958 2013-12-16 Allan McRae <allan@archlinux.org>
22960 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22961 * configure: Regenerated.
22963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22966 * configure.ac: Added --enable-maintainer-mode. Check for
22967 autoconf when enabled.
22968 * configure: Regenerated.
22970 * nscd/nscd.service: New file.
22971 * nscd/nscd.tmpfiles: New file.
22973 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
22976 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22977 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22978 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22979 (strstr): Add __strstr_sse2_unaligned ifunc.
22980 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22981 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22982 (strcasestr): Remove __strcasestr_sse42 ifunc.
22983 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22984 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22987 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22989 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22990 * sysdeps/sh/bits/fenv.h: ... here.
22991 * sysdeps/sh/sh4/fpu/bits: Remove directory.
22993 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22995 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22998 hypotf multiarch implementations.
22999 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23000 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23001 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23002 multiarch hypot for PPC64.
23003 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23004 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23005 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23006 multiarch hypotf for PPC64.
23008 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23009 modff multiarch implementations.
23010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23013 multiarch modf for PPC64.
23014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23017 multiarch modff for PPC64.
23019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23020 and logl multiarch implementations.
23021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23024 multiarch logb for PPC64.
23025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23028 multiarch logb for PPC64.
23029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23032 multiarch logb for PPC64.
23034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23035 isinff multiarch implementation.
23036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23040 multiarch isinf for PPC64.
23041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23044 multiarch isinff for PPC64.
23046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23047 finitef multiarch implementation.
23048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23052 multiarch finite for PPC64.
23053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23056 multiarch finitef for PPC64.
23058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23059 lrint multiarch implementation.
23060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23064 multiarch llrint for PPC64.
23065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23066 multiarch lrint for PPC64.
23068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23069 copysignf multiarch implementation.
23070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23075 multiarch copysign for PPC64.
23076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23077 multiarch copysignf for PPC64.
23079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23080 multiarch implementation.
23081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23089 multiarch llround for PPC64.
23090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23091 multiarch trunc for PPC64.
23092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23093 multiarch truncf for PPC64.
23095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23096 multiarch implementation.
23097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23105 multiarch llround for PPC64.
23106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23107 multiarch round for PPC64.
23108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23109 multiarch roundf for PPC64.
23111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23112 multiarch implementation.
23113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23121 multiarch llround for PPC64.
23122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23123 multiarch floor for PPC64.
23124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23125 multiarch floorf for PPC64.
23127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23128 multiarch implementation.
23129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23137 multiarch llround for PPC64.
23138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23139 multiarch ceil for PPC64.
23140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23141 multiarch ceilf for PPC64.
23143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23144 multiarch implementation.
23145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23152 multiarch llround for PPC64.
23153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23154 multiarch lround for PPC64.
23156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23157 multiarch implementation.
23158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23165 multiarch isnan for PPC64.
23166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23167 multiarch isnanf for PPC64.
23169 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23170 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23171 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23172 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23173 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23176 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23177 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23178 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23179 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23182 multiarch implementations.
23183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23184 (__libc_ifunc_impl_list): Likewise.
23185 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23186 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23187 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23188 multiarch stpcpy for PPC64.
23190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23191 multiarch implementations.
23192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23193 (__libc_ifunc_impl_list): Likewise.
23194 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23195 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23196 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23197 multiarch strcpy for PPC64.
23199 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23200 redefine function name.
23201 (_wordcopy_fwd_dest_aligned): Likewise.
23202 (_wordcopy_bwd_aligned): Likewise.
23203 (_wordcopy_bwd_dest_aligned): Likewise.
23204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23205 multiarch implementations.
23206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23207 (__libc_ifunc_impl_list): Likewise.
23208 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23209 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23210 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23211 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23212 multiarch wcscpy for PPC64.
23214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23215 multiarch implementations.
23216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23217 (__libc_ifunc_impl_list): Likewise.
23218 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23219 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23220 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23221 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23222 multiarch wcscpy for PPC64.
23224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23225 multiarch implementations.
23226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23227 (__libc_ifunc_impl_list): Likewise.
23228 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23229 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23230 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23231 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23232 multiarch wcsrchr for PPC64.
23234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23235 multiarch implementations.
23236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23237 (__libc_ifunc_impl_list): Likewise.
23238 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23239 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23240 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23241 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23242 multiarch wcschr for PPC64.
23244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23245 multiarch implementations.
23246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23247 (__libc_ifunc_impl_list): Likewise.
23248 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23249 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23250 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23251 multiarch strchrnul for PPC64.
23253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23256 (__libc_ifunc_impl_list): Likewise.
23257 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23258 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23259 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23260 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23266 (__libc_ifunc_impl_list): Likewise.
23267 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23268 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23269 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23270 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23274 multiarch implementations.
23275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23276 (__libc_ifunc_impl_list): Likewise.
23277 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23278 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23279 strncasecmp for PPC64.
23280 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23281 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23282 multiarch strncasecmp_l for PPC64.
23284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23285 multiarch implementations.
23286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23287 (__libc_ifunc_impl_list): Likewise.
23288 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23289 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23290 multiarch strcasecmp for PPC64.
23291 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23293 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23294 multiarch strcasecmp_l for PPC64.
23296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23299 (__libc_ifunc_impl_list): Likewise.
23300 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23301 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23302 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23308 (__libc_ifunc_impl_list): Likewise.
23309 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23310 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23311 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23317 (__libc_ifunc_impl_list): Likewise.
23318 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23319 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23320 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23321 rawmemrchr for PPC64.
23323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23326 (__libc_ifunc_impl_list): Likewise.
23327 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23328 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23329 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23335 (__libc_ifunc_impl_list): Likewise.
23336 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23337 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23338 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23344 (__libc_ifunc_impl_list): Likewise.
23345 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23346 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23347 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23350 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23351 avoid cretion of __bzero symbol.
23352 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23354 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23356 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23359 multiarch implementations.
23360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23361 (__libc_ifunc_impl_list): Likewise.
23362 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23363 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23364 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23365 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23367 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23368 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23369 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23370 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23371 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23373 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23375 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23379 (__libc_ifunc_impl_list): Likewise.
23380 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23381 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23382 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23383 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23387 multiarch for POWER/PPC64.
23388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23389 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23390 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23391 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23392 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23393 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23394 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23395 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23396 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23399 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23400 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23401 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23402 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23403 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23404 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23405 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23406 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23407 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23408 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23409 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23410 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23411 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23412 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23413 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23422 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23424 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23426 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23428 * benchtests/Makefile (bench): Add exp2 and log2.
23429 (LDLIBS-bench-exp2): Add -lm.
23430 (LDLIBS-bench-log2): Likewise.
23431 * benchtests/exp2-inputs: New inputs file.
23432 * benchtests/log2-inputs: New inputs file.
23433 * benchtests/log-inputs: Add new inputs.
23434 * benchtests/tan-inputs: Likewise.
23436 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23438 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23440 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23441 (csloww2): ... from here.
23443 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23444 instead of structures.
23445 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23446 (POLYNOMIAL): Likewise.
23447 (TAYLOR_SLOW): Likewise.
23453 (sloww1); Likewise.
23454 (sloww2): Likewise.
23455 (bsloww1): Likewise.
23456 (bsloww2): Likewise.
23457 (cslow2): Likewise.
23458 (csloww): Likewise.
23459 (csloww1): Likewise.
23460 (csloww2): Likewise.
23462 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23464 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23465 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23466 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23467 * malloc/hooks.c (realloc_check): Likewise.
23469 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23470 * malloc/arena.c: Remove PER_THREAD conditional.
23471 [!PER_THREAD]: Remove code.
23472 (ptmalloc_unlock_all2): Likewise.
23473 (ptmalloc_init): Likewise.
23474 (_int_new_arena): Likewise.
23475 (arena_get2): Likewise.
23476 * malloc/hooks.c (__malloc_get_state): Likewise.
23477 (__malloc_set_state): Likewise.
23478 * malloc/malloc.c: Likewise.
23479 (struct malloc_state): Likewise.
23480 (struct malloc_par): Likewise.
23481 (__libc_realloc): Likewise.
23482 (__libc_mallopt): Likewise.
23484 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23486 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23488 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23490 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23491 macro to a function. Check for zero perturb_byte.
23492 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23494 * malloc/malloc.c: (force_reg): Remove.
23495 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23496 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23497 force_reg by atomic_forced_read.
23498 * malloc/arena.c (ptmalloc_init): Likewise.
23499 * malloc/hooks.c (top_check): Likewise.
23501 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23505 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23509 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23511 * math/auto-libm-test-in: Add tests of lgamma.
23512 * math/auto-libm-test-out: Regenerated.
23513 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23514 (M_LOG_2_SQRT_PIl): Likewise.
23515 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23516 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23518 (func_calc_desc): Add mpfr_f_f1 union field.
23519 (ARGS1): New macro.
23527 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23528 (test_functions): Add lgamma.
23529 (calc_generic_results): Handle mpfr_f_f1.
23530 * sysdeps/i386/fpu/libm-test-ulps: Update.
23531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23533 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23535 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23536 __mpn_add_n for PowerPC64/POWER7.
23537 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23538 __mpn_sub_n for PowerPC64/POWER7.
23540 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23541 __mpn_addmul_1 for PowerPC64.
23542 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23543 __mpn_submul_1 for PowerPC64.
23544 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23546 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23549 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23552 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23554 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23556 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23558 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23559 add multiarch folders.
23560 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23561 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23562 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23563 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23564 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23565 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23566 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23567 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23568 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23569 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23570 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23579 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23585 multiarch __ieee754_hypot for PowerPC32.
23586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23591 multiarch __ieee754_hypotf for PowerPC32.
23593 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23594 long_double_symbol only if __logbl is defined.
23595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23596 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23598 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23600 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23601 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23602 path for implementation.
23603 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23606 logb, and logbl multiarch implementations for PowerPC32.
23607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23612 multiarch logb for PowerPC32.
23613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23618 multiarch logbf for PowerPC32.
23619 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23623 multiarch logbl implementation for PowerPC32.
23625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23626 and modff multiarch implementations.
23627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23632 multiarch modf for PowerPC32.
23633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23638 multiarch modff for PowerPC32.
23640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23641 and lrintf multiarch implementations.
23642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23647 multiarch lrint for PowerPC32.
23648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23649 file: multiarch lrintf for PowerPC32.
23651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23652 and lroundf multiarch implementations.
23653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23660 multiarch lround for PowerPC32.
23661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23662 file: multiarch lroundf for PowerPC32.
23664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23665 copysign and copysignf multiarch implementations.
23666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23671 file: multiarch copysign for PowerPC32.
23672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23673 file: multiarch copysignf for PowerPC32.
23675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23676 and truncf multiarch implementations.
23677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23682 multiarch trunc for PowerPC32.
23683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23688 multiarch truncf for PowerPC32.
23690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23691 and roundf multiarch implementations.
23692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23697 multiarch round for PowerPC32.
23698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23703 multiarch roundf for PowerPC32.
23705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23706 and floorf multiarch implementations.
23707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23712 multiarch floor for PowerPC32.
23713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23718 multiarch floorf for PowerPC32.
23720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23721 and ceilf multiarch implementations.
23722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23727 multiarch ceil for PowerPC32.
23728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23733 multiarch ceilf for PowerPC32.
23735 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23737 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23738 FINITEF is defined.
23739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23740 and finitef multiarch implementations.
23741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23746 multiarch finite for PowerPC32.
23747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23750 file: multiarch finitef for PowerPC32.
23752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23753 and isinff multiarch implementations.
23754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23759 multiarch isinf for PowerPC32.
23760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23763 multiarch isinff for PowerPC32.
23765 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23766 alias when __isnan is defined.
23767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23768 and isnanf multiarch implementations.
23769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23778 multiarch isnan for PowerPC32.
23779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23784 multiarch isnanf for PowerPC32.
23786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23787 and sqrtf multiarch implementations.
23788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23793 multiarch sqrt for PowerPC32.
23794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23799 multiarch sqrtf for PowerPC32.
23801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23802 and llroundf multiarch implementations.
23803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23810 file: multiarch llround for PowerPC32.
23811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23812 file: multiarch llroundf for PowerPC32.
23814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23815 multiarch PowerPC32 fpu implementations.
23816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23821 multiarch llrint for PowerPC32.
23822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23831 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23833 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23835 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23837 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23838 multiarch wordcopy for PPC32.
23839 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23841 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23842 (__libc_ifunc_impl_list): Likewise.
23843 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23844 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23845 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23846 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23847 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23848 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23850 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23858 multiarch wcscpy for PPC32.
23859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23862 (__libc_ifunc_impl_list): Likewise.
23863 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23864 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23865 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23866 sysdeps/powerpc/power6/wcscpy.c.
23868 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23876 multiarch wcsrchr for PPC32.
23877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23880 (__libc_ifunc_impl_list): Likewise.
23881 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23882 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23883 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23884 sysdeps/powerpc/power6/wcsrchr.c.
23886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23888 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23890 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23892 multiarch wcschr for PPc32.
23893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23896 (__libc_ifunc_impl_list): Likewise.
23897 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23898 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23899 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23900 sysdeps/powerpc/power6/wcschr.c.
23902 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23903 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23905 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23906 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23907 file: multiarch strchr for PPC32.
23908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23911 (__libc_ifunc_impl_list): Likewise.
23913 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23915 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23917 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23919 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23920 multiarch strchrnul for PPC32.
23921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23924 (__libc_ifunc_impl_list): Likewise.
23926 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23928 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23929 multiarch strncasecmp for PPC32.
23930 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23932 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23933 multiarch strncasecmp_l for PPC32.
23934 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23935 strncasecmp multiarch objects.
23936 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23937 (__libc_ifunc_impl_list): Likewise.
23939 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23941 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23942 multiarch strncasecmp for PPC32.
23943 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23945 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23946 multiarch strcasecmp_l for PPC32.
23947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23950 (__libc_ifunc_impl_list): Likewise.
23952 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23954 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23956 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23957 multiarch strncmp for PPC32.
23958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23961 (__libc_ifunc_impl_list): Likewise.
23963 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23964 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23966 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23967 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23971 (__libc_ifunc_impl_list): Likewise.
23973 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23975 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23977 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23981 (__libc_ifunc_impl_list): Likewise.
23983 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23985 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23987 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23988 multiarch rawmemchr for PPC32.
23989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23992 (__libc_ifunc_impl_list): Likewise.
23994 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23996 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23998 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23999 file: memrchr multiarch for PPC32.
24000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24003 (__libc_ifunc_impl_list): Likewise.
24005 * string/memchr.c (__memchr): Using macro to redefine symbol name.
24006 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24008 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24009 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24010 multiarch memchr for PPC32.
24011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24014 (__libc_ifunc_impl_list): Likewise.
24016 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24017 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24019 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24021 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24022 file: multiarch mempcpy for PPC32.
24023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24026 (__libc_ifunc_impl_list): Likewise.
24028 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24029 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24030 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24031 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24032 multiarch bzero for PPC32.
24033 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24035 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24037 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24038 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24039 file: multiarch memset for PPC32.
24040 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24042 memset multiarch objects.
24043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24044 (__libc_ifunc_impl_list): Likewise.
24046 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24048 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24049 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24051 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24055 (__libc_ifunc_impl_list): Likewise.
24057 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24058 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24059 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24061 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24063 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24065 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24066 multiarch memcpy for PPC32.
24067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24070 (__libc_ifunc_impl_list): Likewise.
24072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24073 support multiarch for POWER/PPC32.
24074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24076 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24078 Implies file to make multiarch folder appers before the fpu and
24079 default folder for power4 configuration.
24081 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24083 * scripts/bench.pl: Append volatile keyword to type.
24085 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24087 * sysdeps/sh/sotruss-lib.c: New file.
24088 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24090 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24094 2013-12-05 Joseph Myers <joseph@codesourcery.com>
24097 * math/w_tgamma.c: Include <errno.h>.
24098 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
24099 * math/w_tgammaf.c: Include <errno.h>.
24100 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
24101 * math/w_tgammal.c: Include <errno.h>.
24102 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
24103 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24104 underflow. Add more tgamma tests.
24105 * math/auto-libm-test-out: Regenerated.
24106 * sysdeps/i386/fpu/libm-test-ulps: Update.
24107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24109 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24110 sin, sinh, tan, tanh, tgamma, y0 and y1.
24111 * math/auto-libm-test-out: Regenerated.
24112 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24113 (TEST_COND_x86): Likewise.
24114 (M_E2l): Remove macro.
24116 (M_2_SQRT_PIl): Likewise.
24117 (M_SQRT_PIl): Likewise.
24118 (M_1_DIV_El): Likewise.
24119 (log_test_data): Use AUTO_TESTS_f_f.
24120 (log10_test_data): Likewise.
24121 (log1p_test_data): Likewise.
24122 (log2_test_data): Likewise.
24123 (sin_test_data): Likewise.
24124 (sin_tonearest_test_data): Likewise.
24125 (sin_towardzero_test_data): Likewise.
24126 (sin_downward_test_data): Likewise.
24127 (sin_upward_test_data): Likewise.
24128 (sinh_test_data): Likewise.
24129 (sinh_tonearest_test_data): Likewise.
24130 (sinh_towardzero_test_data): Likewise.
24131 (sinh_downward_test_data): Likewise.
24132 (sinh_upward_test_data): Likewise.
24133 (tan_test_data): Likewise.
24134 (tan_tonearest_test_data): Likewise.
24135 (tan_towardzero_test_data): Likewise.
24136 (tan_downward_test_data): Likewise.
24137 (tan_upward_test_data): Likewise.
24138 (tanh_test_data): Likewise.
24139 (tgamma_test_data): Likewise.
24140 (y0_test_data): Likewise.
24141 (y1_test_data): Likewise.
24142 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24143 (special_real_inputs): Add pi/4.
24144 * sysdeps/i386/fpu/libm-test-ulps: Update.
24145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24147 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24149 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24150 "longjmp_target" static probes.
24151 (__longjmp): Rename to __longjmp_symbol.
24152 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24153 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24154 on which longjmp to generate.
24155 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24156 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24158 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24159 (__sigjmp_save): Rename to __sigjmp_save_symbol.
24160 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24161 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24162 and __sigjmp_save_symbol based on which sigsetjmp to generated.
24163 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24165 __longjmp_symbol based on which __longjmp to generate.
24166 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24168 (setjmp): Rename to setjmp_symbol.
24169 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24170 (_setjmp): Rename to _setjmp_symbol.
24171 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24172 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24173 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24174 which setjmp to generate.
24175 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24176 "longjmp_target" static probes.
24178 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24180 * benchtests/README: Add note about output arguments.
24181 * benchtests/bench-sincos.c: Remove file.
24182 * benchtests/sincos-inputs: New file.
24183 * scripts/bench.pl: Identify output arguments and define
24184 static variables for them.
24186 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24189 * Makefile (INSTALL): Add install-plain.texi as the primary
24191 * manual/install-plain.texi: New file.
24192 * manual/install.texi: Include node directive only for
24193 non-plaintext output.
24195 2013-12-04 Joseph Myers <joseph@codesourcery.com>
24197 * stdlib/longlong.h: Update from GCC.
24201 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24202 * math/w_j0f.c (y0f): Likewise.
24203 * math/w_j0l.c (__y0l): Likewise.
24204 * math/w_j1.c (y1): Likewise.
24205 * math/w_j1f.c (y1f): Likewise.
24206 * math/w_j1l.c (__y1l): Likewise
24207 * math/w_jn.c (yn): Likewise.
24208 * math/w_jnf.c (ynf): Likewise.
24209 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24210 Bessel function pole errors in _POSIX_ mode. Use NAN as return
24211 value for Bessel function domain errors outside _SVID_ mode.
24212 Adjust sign of return value for yn (negative integer, 0).
24213 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24214 by zero in return for negative x and set sign appropriately for
24216 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24217 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24218 * math/libm-test.inc (y0_test_data): Add more tests and adjust
24219 expectations in error cases.
24220 (y1_test_data): Likewise.
24221 (yn_test_data): Likewise.
24222 * sysdeps/i386/fpu/libm-test-ulps: Update.
24223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24225 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24227 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24228 "64" to "64-v1". Add "64-v2".
24229 (abi-64-options): Rename to ...
24230 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24231 (abi-64-condition): Rename to ...
24232 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24233 (abi-64-ld-soname): Rename to ...
24234 (abi-64-v1-ld-soname): ... this.
24235 (abi-64-v2-options): Define.
24236 (abi-64-v2-condition): Likewise.
24237 (abi-64-v2-ld-soname): Likewise.
24238 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24239 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24244 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24245 Alan Modra <amodra@gmail.com>
24247 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24248 New versions for use with the ELFv2 ABI.
24249 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24250 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24252 (struct La_ppc64v2_retval): Likewise.
24253 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24254 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24255 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24256 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24257 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24258 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24259 Do not save or restore CR.
24260 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24261 (_dl_profile_resolve): Do no save or restore CR. Support extended
24262 return values for ELFv2 ABI. Fix location of FPR return registers.
24263 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24264 updated values for _CALL_ELF == 2.
24265 (La_regs, La_retval, int_retval): Likewise.
24267 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24269 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24270 (FRAME_MIN_SIZE_PARM): Likewise.
24271 (FRAME_BACKCHAIN): Likewise.
24272 (FRAME_CR_SAVE): Likewise.
24273 (FRAME_LR_SAVE): Likewise.
24274 (FRAME_TOC_SAVE): Likewise.
24275 (FRAME_PARM_SAVE): Likewise.
24276 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24277 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24278 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24279 (call_mcount_parm_offset): New macro.
24280 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24281 (PROF): Use symbolic stack frame offsets.
24282 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24283 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24284 Redefine in terms of FRAME_MIN_SIZE.
24285 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24286 (_dl_profile_resolve): Likewise. Update comment.
24287 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24288 symbols stack frame offsets.
24289 (__sigsetjmp): Likewise.
24290 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24291 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24292 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24293 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24296 (FRAME_BACKCHAIN): Remove.
24297 (FRAME_CR_SAVE): Likewise.
24298 (FRAME_LR_SAVE): Likewise.
24299 (FRAME_COMPILER_DW): Likewise.
24300 (FRAME_LINKER_DW): Likewise.
24301 (FRAME_TOC_SAVE): Likewise.
24302 (FRAME_PARM_SAVE): Likewise.
24303 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24304 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24305 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24307 (CHECK_SP): Use symbolic stack frame offsets.
24308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24309 zone" instead of caller's parameter save area for temp storage.
24310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24311 Likewise. Also, use symbolic stack frame offsets.
24312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24313 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24314 our own stack frame instead of the caller's.
24315 (__socket): Use symbolic stack frame offsets.
24317 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24318 Alan Modra <amodra@gmail.com>
24320 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24322 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24323 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24324 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24326 (elf_machine_fixup_plt): Call it.
24327 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24329 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24330 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24331 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24332 r2 before calling target.
24334 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24335 Alan Modra <amodra@gmail.com>
24337 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24338 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24339 versions of macros to support ELFv2 ABI.
24340 (LOCALENTRY): New macro.
24341 (ENTRY, EALIGN): Use it.
24342 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24343 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24344 fall through into ENTRY entry point.
24345 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24346 Only define if _CALL_ELF != 2.
24348 (elf_machine_matches_host): Verify ABI version matches.
24349 (RTLD_START): Use LOCALENTRY.
24350 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24351 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24352 (PLT_ENTRY_WORDS): New macro.
24353 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24354 (elf_machine_runtime_setup): Support ELFv2 ABI.
24355 (elf_machine_fixup_plt): Likewise.
24356 (elf_machine_plt_conflict): Likewise.
24357 (resolve_ifunc): Likewise.
24358 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24359 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24362 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24364 (makecontext): Support ELFv2 ABI.
24365 * elf/elf.h (EF_PPC64_ABI): Define.
24367 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24369 * sysdeps/powerpc/powerpc64/sysdep.h
24370 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24371 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24372 (ENTRY) [ASSEMBLER]: ... but instead here ...
24373 (EALIGN) [ASSEMBLER]: ... and here.
24374 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24375 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24376 (ENTRY_2) [!ASSEMBLER]: Use it.
24377 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24378 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24379 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24380 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24381 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24383 Use PPC64_LOAD_FUNCPTR.
24385 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24387 2013-12-04 Alan Modra <amodra@gmail.com>
24389 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24390 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24391 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24392 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24394 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24395 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24396 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24397 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24398 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24399 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24401 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24404 (__makecontext): Fix incorrect CFI when backtracing out of
24405 context created via makecontext.
24406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24407 (__setcontext): Fix incorrect CFI during switch to new context.
24408 (__novec_setcontext): Likewise.
24410 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24413 * time/strptime_l.c (__strptime_internal): Allow modifiers
24415 * time/tst-strptime.c (day_tests): Add testcase.
24417 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24419 * scripts/bench.pl: Skip over blank lines.
24421 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24424 * manual/time.texi (Calendar Time): Clarify what timezone functions
24427 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24431 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24433 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24435 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24436 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24437 * debug/memset_chk.c (__memset_chk): Likewise.
24438 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24439 * debug/strncpy_chk.c: Likewise.
24441 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24445 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24446 (__ieee754_exp): For possibly underflowing results, check size of
24447 result and force underflow exception if required.
24448 * math/auto-libm-test-in: Add more tests of exp.
24449 * math/auto-libm-test-out: Regenerated.
24450 * sysdeps/i386/fpu/libm-test-ulps: Update.
24451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24454 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24455 * math/w_exp2f.c (__exp2f): Likewise.
24456 * math/w_exp2l.c (__exp2l): Likewise.
24457 * math/auto-libm-test-in: Do not allow missing errno on exp2
24459 * math/auto-libm-test-out: Regenerated.
24461 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24464 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24465 handle filename validation.
24466 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24469 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24472 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24473 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24474 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24476 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24477 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24478 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24479 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24480 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24481 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24482 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24483 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24484 Add more erfc tests.
24485 * math/auto-libm-test-out: Regenerated.
24486 * sysdeps/i386/fpu/libm-test-ulps: Update.
24487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24489 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24490 exp2, expm1, j0 and j1.
24491 * math/auto-libm-test-out: Regenerated.
24492 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24493 (erfc_test_data): Likewise.
24494 (exp_test_data): Likewise.
24495 (exp_tonearest_test_data): Likewise.
24496 (exp_towardzero_test_data): Likewise.
24497 (exp_downward_test_data): Likewise.
24498 (exp_upward_test_data): Likewise.
24499 (exp10_test_data): Likewise.
24500 (exp2_test_data): Likewise.
24501 (expm1_test_data): Likewise.
24502 (j0_test_data): Likewise.
24503 (j1_test_data): Likewise.
24504 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24505 (input_flag_type): Add flag_xfail_rounding.
24506 (input_flags): Add xfail-rounding.
24507 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24508 (output_for_one_input_case): Handle flag_xfail_rounding.
24509 * sysdeps/i386/fpu/libm-test-ulps: Update.
24510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24512 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24515 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24518 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24521 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24522 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24523 (STAP_PROBE0): New macro.
24524 (STAP_PROBE1): Likewise.
24525 (STAP_PROBE2): Likewise.
24526 (STAP_PROBE3): Likewise.
24527 (STAP_PROBE4): Likewise.
24529 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24531 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24533 2013-12-02 Steve Ellcey <sellcey@mips.com>
24535 * benchtests/Makefile (bench): Add sqrt.
24536 (LDLIBS-bench-sqrt): New.
24537 * benchtests/sqrt-input: New.
24539 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24541 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24542 (GAIH_EAI): Likewise.
24543 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24544 (gaih_inet): Likewise.
24545 (getaddrinfo): Don't use GAIH_EAI.
24547 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24548 (struct gaih): Remove definition.
24550 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24552 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24553 Use HERRNOP directly.
24555 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24559 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24561 * math/gen-auto-libm-tests.c (test_functions): Add more
24562 single-argument functions.
24563 (special_fill_pi_2): New function.
24564 (special_fill_minus_pi_2): Likewise.
24565 (special_fill_pi_6): Likewise.
24566 (special_fill_minus_pi_6): Likewise.
24567 (special_fill_pi_3): Likewise.
24568 (special_fill_2pi_3): Likewise.
24569 (special_fill_e): Likewise.
24570 (special_fill_1_e): Likewise.
24571 (special_fill_e_minus_1): Likewise.
24572 (special_real_inputs): Add more special inputs.
24573 (output_for_one_input_case): Do not require ERANGE on underflow to
24574 zero if round-to-nearest result does not underflow to zero, unless
24575 exact results required.
24576 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24577 atan, atanh, cbrt, cos and cosh.
24578 * math/auto-libm-test-out: Regenerated.
24579 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24580 (acos_tonearest_test_data): Likewise.
24581 (acos_towardzero_test_data): Likewise.
24582 (acos_downward_test_data): Likewise.
24583 (acos_upward_test_data): Likewise.
24584 (acosh_test_data): Likewise.
24585 (asin_test_data): Likewise.
24586 (asin_tonearest_test_data): Likewise.
24587 (asin_towardzero_test_data): Likewise.
24588 (asin_upward_test_data): Likewise.
24589 (asinh_test_data): Likewise.
24590 (atan_test_data): Likewise.
24591 (atanh_test_data): Likewise.
24592 (cbrt_test_data): Likewise.
24593 (cos_test_data): Likewise.
24594 (cos_tonearest_test_data): Likewise.
24595 (cos_towardzero_test_data): Likewise.
24596 (cos_downward_test_data): Likewise.
24597 (cos_upward_test_data): Likewise.
24598 (cosh_test_data): Likewise.
24599 (cosh_tonearest_test_data): Likewise.
24600 (cosh_towardzero_test_data): Likewise.
24601 (cosh_downward_test_data): Likewise.
24602 (cosh_upward_test_data): Likewise.
24603 * sysdeps/i386/fpu/libm-test-ulps: Update.
24604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24606 2013-11-29 Joseph Myers <joseph@codesourcery.com>
24609 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24610 * math/w_exp10f.c (__exp10f): Likewise.
24611 * math/w_exp10l.c (__exp10l): Likewise.
24612 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24613 errno settings in existing tests.
24616 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24617 precision control set to double precision.
24618 * sysdeps/i386/fpu/w_sqrt.c: New file.
24619 * math/auto-libm-test-in: Add more tests.
24620 * math/auto-libm-test-out: Update.
24622 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24623 (sqrt_test_tonearest): New function.
24624 (sqrt_towardzero_test_data): New variable.
24625 (sqrt_test_towardzero): New function.
24626 (sqrt_downward_test_data): New variable.
24627 (sqrt_test_downward): New function.
24628 (sqrt_upward_test_data): New variable.
24629 (sqrt_test_upward): New function.
24630 (main): Call the new functions.
24632 * math/gen-auto-libm-tests.c: New file.
24633 * math/auto-libm-test-in: Likewise.
24634 * math/auto-libm-test-out: New generated file.
24635 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24637 (%beautify): Add generated representations of zero.
24638 (top level): Set $auto_input and call parse_auto_input.
24639 (beautify): Remove trailing "f" from hex float constants.
24640 (parse_args): Handle XFAIL_TEST.
24641 (convert_condition): New function.
24642 (or_value): Likewise.
24643 (or_cond_value): Likewise.
24644 (generate_testfile): Handle AUTO_TESTS_* lines.
24645 (parse_auto_input): New function.
24646 * math/libm-test.inc (XFAIL_TEST): New macro.
24647 (ERRNO_UNCHANGED): Update value.
24648 (ERRNO_EDOM): Likewise.
24649 (ERRNO_ERANGE): Likewise.
24650 (IGNORE_RESULT): Likewise.
24651 (TEST_COND_flt_32): New macro.
24652 (TEST_COND_dbl_64): Likewise.
24653 (TEST_COND_ldbl_96_intel): Likewise.
24654 (TEST_COND_ldbl_96_m68k): Likewise.
24655 (TEST_COND_ldbl_128): Likewise.
24656 (TEST_COND_ldbl_128ibm): Likewise.
24657 (TEST_COND_long32): Likewise.
24658 (TEST_COND_long64): Likewise.
24659 (TEST_COND_before_rounding): Likewise.
24660 (TEST_COND_after_rounding): Likewise.
24661 (enable_test): Handle XFAIL_TEST flag.
24662 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24663 with finite results.
24664 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24665 auto-libm-test-out.
24667 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24668 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24671 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24672 __tls_get_addr_internal instead of __tls_get_offset in order to
24673 avoid GOT pointer dependency. Make rtld export
24674 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24675 __tls_get_addr since we are a __tls_get_offset platform.
24676 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24677 GOT pointer being set up before.
24678 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24680 2013-11-28 Joseph Myers <joseph@codesourcery.com>
24682 * manual/math.texi (Errors in Math Functions): Document accuracy
24686 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24687 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24689 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24690 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24691 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24692 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24693 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24695 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24696 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24697 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24698 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24703 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24704 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24705 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24706 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24707 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24709 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24711 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24713 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24714 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24715 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24716 atomic-feupdateenv and flt-rounds.
24717 * sysdeps/powerpc/nofpu/Versions (libc): Add
24718 __atomic_feholdexcept, __atomic_feclearexcept,
24719 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24720 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24721 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24722 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24723 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24728 * manual/arith.texi (FP Exceptions): Document that exceptions may
24729 not be raised when matherr is used.
24730 (Math Error Reporting): Document overflow in directed rounding
24731 modes. Document that errno may not be set when finite values are
24732 returned on overflow. Document intent to set errno on underflow
24733 only for underflow to zero.
24736 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24737 round-to-nearest then adjust result for other rounding modes.
24738 * include/fenv.h (fegetround): Use libm_hidden_proto.
24739 * math/fegetround.c (fegetround): Use libm_hidden_def.
24740 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24741 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24742 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24743 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24745 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24746 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24747 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24748 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24750 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24753 * nss/Versions (libnss_files): Add
24754 _nss_files_gethostbyname3_r.
24755 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24757 (HOST_DB_LOOKUP): Remove macro.
24758 (_nss_files_gethostbyname_r): Implement function without the
24759 HOST_DB_LOOKUP macro.
24760 (_nss_files_gethostbyname2_r): Likewise.
24762 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
24764 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24766 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
24768 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24769 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24772 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24774 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24775 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24776 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24777 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24778 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24779 __fe_nomask_env_priv and attribute_hidden.
24780 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24781 (libc_feupdateenv_test_ppc): Likewise.
24782 (libc_feresetround_ppc): Likewise.
24783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24784 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24785 compat_symbol macro.
24786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24787 (__fe_nomask_env): Likewise.
24788 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24790 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24792 * string/Makefile: Remove ifunc tests.
24793 * string/test-string.h: Define TEST_IFUNC.
24794 * string/test-bcopy-ifunc.c: Remove.
24795 * string/test-bzero-ifunc.c: Likewise.
24796 * string/test-memccpy-ifunc.c: Likewise.
24797 * string/test-memchr-ifunc.c: Likewise.
24798 * string/test-memcmp-ifunc.c: Likewise.
24799 * string/test-memcpy-ifunc.c: Likewise.
24800 * string/test-memmem-ifunc.c: Likewise.
24801 * string/test-memmove-ifunc.c: Likewise.
24802 * string/test-mempcpy-ifunc.c: Likewise.
24803 * string/test-memrchr-ifunc.c: Likewise.
24804 * string/test-memset-ifunc.c: Likewise.
24805 * string/test-rawmemchr-ifunc.c: Likewise.
24806 * string/test-stpcpy-ifunc.c: Likewise.
24807 * string/test-stpncpy-ifunc.c: Likewise.
24808 * string/test-strcasecmp-ifunc.c: Likewise.
24809 * string/test-strcasestr-ifunc.c: Likewise.
24810 * string/test-strcat-ifunc.c: Likewise.
24811 * string/test-strchr-ifunc.c: Likewise.
24812 * string/test-strchrnul-ifunc.c: Likewise.
24813 * string/test-strcmp-ifunc.c: Likewise.
24814 * string/test-strcpy-ifunc.c: Likewise.
24815 * string/test-strcspn-ifunc.c: Likewise.
24816 * string/test-strlen-ifunc.c: Likewise.
24817 * string/test-strncasecmp-ifunc.c: Likewise.
24818 * string/test-strncat-ifunc.c: Likewise.
24819 * string/test-strncmp-ifunc.c: Likewise.
24820 * string/test-strncpy-ifunc.c: Likewise.
24821 * string/test-strnlen-ifunc.c: Likewise.
24822 * string/test-strpbrk-ifunc.c: Likewise.
24823 * string/test-strrchr-ifunc.c: Likewise.
24824 * string/test-strspn-ifunc.c: Likewise.
24825 * string/test-strstr-ifunc.c: Likewise.
24827 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24829 * benchtests/Makefile: Remove ifunc tests.
24830 * benchtests/bench-string.h: Define TEST_IFUNC.
24831 * benchtests/bench-bcopy-ifunc.c: Remove.
24832 * benchtests/bench-bzero-ifunc.c: Likewise.
24833 * benchtests/bench-memccpy-ifunc.c: Likewise.
24834 * benchtests/bench-memchr-ifunc.c: Likewise.
24835 * benchtests/bench-memcmp-ifunc.c: Likewise.
24836 * benchtests/bench-memcpy-ifunc.c: Likewise.
24837 * benchtests/bench-memmem-ifunc.c: Likewise.
24838 * benchtests/bench-memmove-ifunc.c: Likewise.
24839 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24840 * benchtests/bench-memrchr-ifunc.c: Likewise.
24841 * benchtests/bench-memset-ifunc.c: Likewise.
24842 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24843 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24844 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24845 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24846 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24847 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24848 * benchtests/bench-strcat-ifunc.c: Likewise.
24849 * benchtests/bench-strchr-ifunc.c: Likewise.
24850 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24851 * benchtests/bench-strcmp-ifunc.c: Likewise.
24852 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24853 * benchtests/bench-strcpy-ifunc.c: Likewise.
24854 * benchtests/bench-strcspn-ifunc.c: Likewise.
24855 * benchtests/bench-strlen-ifunc.c: Likewise.
24856 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24857 * benchtests/bench-strncat-ifunc.c: Likewise.
24858 * benchtests/bench-strncmp-ifunc.c: Likewise.
24859 * benchtests/bench-strncpy-ifunc.c: Likewise.
24860 * benchtests/bench-strnlen-ifunc.c: Likewise.
24861 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24862 * benchtests/bench-strrchr-ifunc.c: Likewise.
24863 * benchtests/bench-strsep-ifunc.c: Likewise.
24864 * benchtests/bench-strspn-ifunc.c: Likewise.
24865 * benchtests/bench-strstr-ifunc.c: Likewise.
24867 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24869 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24871 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24873 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24874 * rt/aio.h: Likewise.
24875 * sysdeps/gnu/bits/utmp.h: Likewise.
24876 * sysdeps/gnu/bits/utmpx.h: Likewise.
24877 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24878 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24879 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24880 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24881 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24882 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24883 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24884 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24885 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24886 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24887 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24888 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24889 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24891 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24892 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24893 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24894 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24895 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24896 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24897 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24898 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24899 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24900 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24901 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24903 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24904 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24905 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24906 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24907 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24908 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24909 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24910 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24911 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24912 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24913 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24914 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24915 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24916 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24917 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24918 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24920 2013-11-25 Carlos O'Donell <carlos@redhat.com>
24923 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24924 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24926 2013-11-25 Joseph Myers <joseph@codesourcery.com>
24928 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24929 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24932 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24934 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24935 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24936 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24937 (__fesetround): Remove define.
24938 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24939 rounding and exceptions handling.
24940 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24941 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24942 (__fe_nomask_env): Likewise.
24943 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24944 __fegetround instead of fegetround.
24945 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24946 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24948 2013-11-21 Roland McGrath <roland@hack.frob.com>
24950 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24953 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24955 2013-11-21 Meador Inge <meadori@codesourcery.com>
24958 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24959 (encrypt_r): Likewise.
24960 * malloc/obstack.h (obstack_free): Likewise.
24961 * posix/unistd.h (encrypt): Likewise.
24963 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24965 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24966 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24967 DL_CALL_DT_FINI() that call the functions directly.
24968 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24969 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24970 * elf/dl-fini.c: Likewise.
24972 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
24974 * malloc/hooks.c (memalign_check): Add alignment rounding.
24975 * malloc/malloc.c (_mid_memalign): New function.
24976 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24977 Implement by calling _mid_memalign.
24978 * manual/probes.texi (Memory Allocation Probes): Remove
24979 memory_valloc_retry and memory_pvalloc_retry.
24981 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24983 * locale/programs/locarchive.c (open_archive): Add const
24984 qualifier to ARCHIVEFNAME and copy default fname to
24988 * libio/tst-widetext.input: Rename Oriya to Odia.
24989 * locale/iso-639.def: Likewise.
24991 * manual/probes.texi (Mathematical Function Probes): Add
24992 documentation for sin, cos, asin and acos probes.
24993 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24994 (__sin32): Add slowasin probe.
24995 (__cos32): Add slowacos probe.
24996 (__mpsin): Add slowsin probe.
24997 (__mpcos): Add slowcos probe.
24999 2013-11-19 Joseph Myers <joseph@codesourcery.com>
25002 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25003 thread-local __sim_exceptions_thread and global
25004 __sim_exceptions_global.
25005 (__sim_disabled_exceptions): Change to thread-local
25006 __sim_disabled_exceptions_thread and global
25007 __sim_disabled_exceptions_global.
25008 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25009 and global __sim_round_mode_global.
25010 (__simulate_exceptions): Use thread-local floating-point state and
25011 set global state from it as needed.
25012 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25013 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25014 __sim_round_mode_thread.
25015 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25016 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25017 and global __sim_exceptions_global.
25018 (__sim_disabled_exceptions): Change to thread-local
25019 __sim_disabled_exceptions_thread and global
25020 __sim_disabled_exceptions_global.
25021 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25022 and global __sim_round_mode_global.
25023 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25024 (SIM_SET_GLOBAL): Likewise.
25025 * sysdeps/powerpc/soft-fp/sfp-machine.h
25026 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25027 __sim_round_mode_thread.
25028 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25029 __sim_disabled_exceptions_thread.
25030 (__sim_exceptions): Change to __sim_exceptions_thread.
25031 (__sim_disabled_exceptions): Change to
25032 __sim_disabled_exceptions_thread.
25033 (__sim_round_mode): Change to __sim_round_mode_thread.
25034 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25035 thread-local floating-point state and set global state from it as
25037 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25038 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25039 (__sim_disabled_exceptions): Remove extern declaration.
25040 (feenableexcept): Use thread-local floating-point state and set
25041 global state from it as needed.
25042 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25043 extern declaration.
25044 (__sim_disabled_exceptions): Likewise.
25045 (__sim_round_mode): Likewise.
25046 (__fegetenv): Use thread-local floating-point state.
25047 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25048 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25049 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25050 floating-point state and set global state from it as needed.
25051 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25052 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25053 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25055 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25056 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25058 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25059 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25060 Use __sim_round_mode_thread.
25061 * math/test-fenv-tls.c: New file.
25062 * math/Makefile (tests): Add test-fenv-tls.
25063 ($(objpfx)test-fenv-tls): Depend on
25064 $(common-objpfx)nptl/libpthread.so.
25066 2013-11-19 Andreas Schwab <schwab@suse.de>
25068 * locale/programs/locale.c (show_info): Decode wordarray elements.
25069 * locale/categories.def (LC_MONETARY): Add element for
25070 _NL_MONETARY_CRNCYSTR.
25071 * locale/C-monetary.c (conversion_rate): New variable.
25072 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25075 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25077 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25078 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25080 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25082 * elf/Makefile (tst-auxv): New test.
25083 * elf/tst-auxv.c: New
25084 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25086 2013-11-18 Joseph Myers <joseph@codesourcery.com>
25088 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25089 (hidden_proto): Caller changed.
25090 (hidden_tls_proto): New macro.
25091 (libc_hidden_tls_proto): Likewise.
25092 (rtld_hidden_tls_proto): Likewise.
25093 (libm_hidden_tls_proto): Likewise.
25094 (libresolv_hidden_tls_proto): Likewise.
25095 (librt_hidden_tls_proto): Likewise.
25096 (libdl_hidden_tls_proto): Likewise.
25097 (libnss_files_hidden_tls_proto): Likewise.
25098 (libnsl_hidden_tls_proto): Likewise.
25099 (libnss_nisplus_hidden_tls_proto): Likewise.
25100 (libutil_hidden_tls_proto): Likewise.
25102 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
25105 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25106 (decompose_rpath): Defer expansion to fillin_rpath.
25107 (_dl_init_paths): Pass linkmap to fillin_rpath.
25109 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25111 * benchtests/Makefile: Add strsep.
25112 * benchtests/bench-strsep.c: New file: strsep benchtest.
25113 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25115 2013-11-18 Andreas Schwab <schwab@suse.de>
25117 * locale/programs/locale.c (show_info) [case byte]: Check for
25118 '\377' instead of '\177'.
25119 * locale/C-monetary.c (not_available): Always use "\377".
25120 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25121 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25122 detect unavailable sign_posn locale elements.
25123 * locale/localeconv.c (__localeconv): For grouping and
25124 mon_grouping handle "\177" and "\377" like no grouping.
25125 (INT_ELEM): New macro. Use it to set all numeric members.
25126 * locale/programs/ld-monetary.c (monetary_read)
25127 <tok_mon_grouping>: Normalize single -1 to the empty string.
25128 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25131 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25134 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25135 when we match (nil).
25136 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25138 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25140 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25141 (NO_TEST_INLINE): Update value.
25142 (ERRNO_UNCHANGED): Likewise.
25143 (ERRNO_EDOM): Likewise.
25144 (ERRNO_ERANGE): Likewise.
25145 (IGNORE_RESULT): Likewise.
25146 (check_float_internal): Check signs of NaN results if
25147 TEST_NAN_SIGN used.
25148 (check_complex): Pass TEST_NAN_SIGN flag through to second
25149 check_float_internal call.
25150 (copysign_test_data): Add tests with quiet NaNs as second
25151 argument. Use TEST_NAN_SIGN.
25152 (fabs_test_data): Add test of negative quiet NaN argument. Use
25154 (signbit_test_data): Add tests of quiet NaN argument.
25155 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25157 * math/gen-libm-test.pl (show_exceptions): Take extra argument
25159 (parse_args): Handle function results specified as IGNORE.
25160 * math/libm-test.inc (IGNORE_RESULT): New macro.
25161 (check_float_internal): Do not check numerical result if flag
25163 (check_complex): Pass through IGNORE_RESULT to second
25164 check_float_internal call.
25165 (check_int): Do not check numerical result if flag IGNORE_RESULT
25167 (check_long): Likewise.
25168 (check_bool): Likewise.
25169 (check_longlong): Likewise.
25170 (lrint_test_data): Add tests of infinite and NaN arguments.
25171 (lrint_tonearest_test_data): Likewise.
25172 (lrint_towardzero_test_data): Likewise.
25173 (lrint_downward_test_data): Likewise.
25174 (lrint_upward_test_data): Likewise.
25175 (llrint_test_data): Likewise.
25176 (llrint_tonearest_test_data): Likewise.
25177 (llrint_towardzero_test_data): Likewise.
25178 (llrint_downward_test_data): Likewise.
25179 (llrint_upward_test_data): Likewise.
25180 (lround_test_data): Likewise.
25181 (llround_test_data): Likewise.
25183 * math/libm-test.inc (NO_TEST_INLINE): New macro.
25184 (ERRNO_UNCHANGED): Update value.
25185 (ERRNO_EDOM): Likewise.
25186 (ERRNO_ERANGE): Likewise.
25187 (NO_TEST_INLINE_FLOAT): New macro.
25188 (NO_TEST_INLINE_DOUBLE): Likewise.
25189 (enable_test): New function.
25190 (RUN_TEST_f_f): Check enable_test before running test.
25191 (RUN_TEST_2_f): Likewise.
25192 (RUN_TEST_fff_f): Likewise.
25193 (RUN_TEST_c_f): Likewise.
25194 (RUN_TEST_f_f1): Likewise.
25195 (RUN_TEST_fF_f1): Likewise.
25196 (RUN_TEST_fI_f1): Likewise.
25197 (RUN_TEST_ffI_f1): Likewise.
25198 (RUN_TEST_c_c): Likewise.
25199 (RUN_TEST_cc_c): Likewise.
25200 (RUN_TEST_f_i): Likewise.
25201 (RUN_TEST_f_i_tg): Likewise.
25202 (RUN_TEST_ff_i_tg): Likewise.
25203 (RUN_TEST_f_b): Likewise.
25204 (RUN_TEST_f_b_tg): Likewise.
25205 (RUN_TEST_f_l): Likewise.
25206 (RUN_TEST_f_L): Likewise.
25207 (RUN_TEST_fFF_11): Likewise.
25208 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25210 (cosh_test_data): Likewise.
25211 (exp_test_data): Likewise.
25212 (expm1_test_data): Likewise.
25213 (hypot_test_data): Likewise.
25214 (pow_test_data): Likewise.
25215 (sinh_test_data): Likewise.
25216 (tanh_test_data): Likewise.
25217 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25220 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25221 tests with quiet NaN input and output.
25222 (acosh_test_data): Likewise.
25223 (asin_test_data): Likewise.
25224 (asinh_test_data): Likewise.
25225 (atan_test_data): Likewise.
25226 (atanh_test_data): Likewise.
25227 (atan2_test_data): Likewise.
25228 (cbrt_test_data): Likewise.
25229 (cos_test_data): Likewise.
25230 (cosh_test_data): Likewise.
25231 (erf_test_data): Likewise.
25232 (erfc_test_data): Likewise.
25233 (exp_test_data): Likewise.
25234 (exp10_test_data): Likewise.
25235 (exp2_test_data): Likewise.
25236 (expm1_test_data): Likewise.
25237 (hypot_test_data): Likewise.
25238 (j0_test_data): Likewise.
25239 (j1_test_data): Likewise.
25240 (jn_test_data): Likewise.
25241 (lgamma_test_data): Likewise.
25242 (log_test_data): Likewise.
25243 (log10_test_data): Likewise.
25244 (log1p_test_data): Likewise.
25245 (log2_test_data): Likewise.
25246 (pow_test_data): Likewise.
25247 (scalb_test_data): Likewise.
25248 (sin_test_data): Likewise.
25249 (sincos_test_data): Likewise.
25250 (sinh_test_data): Likewise.
25251 (tan_test_data): Likewise.
25252 (tanh_test_data): Likewise.
25253 (tgamma_test_data): Likewise.
25254 (y0_test_data): Likewise.
25255 (y1_test_data): Likewise.
25256 (yn_test_data): Likewise.
25259 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25260 argument being NaN and avoid computations with second argument in
25262 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25263 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25264 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25266 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25268 * locale/iso-639.def: Add Chitwani Tharu (the).
25270 2013-11-14 Andreas Schwab <schwab@suse.de>
25272 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25273 word instead of empty string.
25275 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25278 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25280 (__fe_nomask_env): Likewise.
25282 2013-11-13 Steve Ellcey <sellcey@mips.com>
25284 * benchtests/bench-timing.h: Include time.h.
25286 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25289 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25291 * sysdeps/unix/sysv/linux/configure: Regenerated.
25293 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25296 * stdlib/strtod_l.c (round_and_return): Do not consider
25297 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25298 exponent one less than half the least subnormal exponent.
25299 * stdlib/test-strtod-round-data: Add more tests.
25300 * stdlib/tst-strtod-round.c (tests): Regenerated.
25302 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25305 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25306 (__fe_mask_env): Likewise.
25307 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25308 libm_hidden_proto and add function prototype.
25309 (__fe_mask_env): Add function prototype.
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25311 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25313 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25315 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25317 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25319 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25320 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25322 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25324 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25325 of htab_find_slot().
25327 2013-11-11 David S. Miller <davem@davemloft.net>
25330 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25331 symbol in the non-vis3 case in static builds.
25332 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25333 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25334 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25335 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25337 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25340 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25343 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25345 * benchtests/Makefile: Add bench-strtod.
25346 * benchtests/bench-strtod.c: New file: strtod benchtest
25348 2013-11-11 Andreas Schwab <schwab@suse.de>
25351 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25352 terminating NUL in key length.
25354 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25356 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25357 Add artificial ODP entry for vDSO symbol for PPC64.
25358 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25359 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25361 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25364 * nss/getent.c (services_keys): Recognize services starting with digit.
25366 2013-11-06 David S. Miller <davem@davemloft.net>
25369 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25370 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25372 2013-11-06 Will Newton <will.newton@linaro.org>
25374 * manual/memory.texi (Malloc Examples): Remove register
25375 keyword from examples.
25377 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25379 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25381 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25384 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25385 depending on [__GCC_IEC_559 > 0].
25386 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25387 depending on [__GCC_IEC_559_COMPLEX > 0].
25389 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25391 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25394 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25396 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25398 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25401 * malloc/malloc (malloc_info): Do not handle first bin as
25404 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25406 * locale/iso-639.def: Add Central Nahuatl (nhn).
25408 2013-11-01 Bruno Haible <bruno@clisp.org>
25411 * manual/math.texi (BSD Random): Specify range upper bound as
25414 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25416 * locale/iso-639.def: Add Meadow Mari (mhr).
25418 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25420 [BZ #14752], [BZ #15763]
25421 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25423 * rt/tst_shm.c: Add test for escaping directory.
25425 2013-10-31 Andreas Schwab <schwab@suse.de>
25428 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25429 followed by 'x' as part of digit sequence.
25430 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25432 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25435 * configure.ac: allow GNU Make 4.0 and greater.
25436 * configure: Regenerated.
25438 2013-10-30 Will Newton <will.newton@linaro.org>
25441 * malloc/hooks.c (memalign_check): Limit alignment to the
25442 maximum representable power of two.
25443 * malloc/malloc.c (__libc_memalign): Likewise.
25444 * malloc/tst-memalign.c (do_test): Add test for very
25445 large alignment values.
25446 * malloc/tst-posix_memalign.c (do_test): Likewise.
25448 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25451 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25452 (munmap_chunk): Likewise.
25453 (mremap_chunk): Likewise.
25455 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25458 * stdlib/div.c (div): Remove obsolete code.
25459 * stdlib/ldiv.c (ldiv): Likewise.
25460 * stdlib/lldiv.c (lldiv): Likewise.
25462 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25465 * nss/nss_files/files-XXX.c (get_contents_ret): New
25467 (get_contents): New function.
25468 (internal_getent): Use it. Expand size of LINEBUFLEN.
25470 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25472 * configure.in: Moved to ...
25473 * configure.ac: ... here. Change reference to configure.in
25475 * sysdeps/arm/preconfigure.ac: ... here.
25476 configure.in to configure.ac.
25477 * sysdeps/gnu/configure.in: Moved to ...
25478 * sysdeps/gnu/configure.ac: ... here.
25479 * sysdeps/i386/configure.in: Moved to ...
25480 * sysdeps/i386/configure.ac: ... here.
25481 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25482 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25483 * sysdeps/mach/configure.in: Moved to ...
25484 * sysdeps/mach/configure.ac: ... here.
25485 * sysdeps/mach/hurd/configure.in: Moved to ...
25486 * sysdeps/mach/hurd/configure.ac: ... here.
25487 * sysdeps/powerpc/configure.in: Moved to ...
25488 * sysdeps/powerpc/configure.ac: ... here.
25489 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25490 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25491 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25492 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25493 * sysdeps/s390/s390-32/configure.in: Moved to ...
25494 * sysdeps/s390/s390-32/configure.ac: ... here.
25495 * sysdeps/s390/s390-64/configure.in: Moved to ...
25496 * sysdeps/s390/s390-64/configure.ac: ... here.
25497 * sysdeps/sh/configure.in: Moved to ...
25498 * sysdeps/sh/configure.ac: ... here.
25499 * sysdeps/sparc/configure.in: Moved to ...
25500 * sysdeps/sparc/configure.ac: ... here.
25501 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25502 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25503 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25504 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25505 * sysdeps/x86_64/configure.in: Moved to ...
25506 * sysdeps/x86_64/configure.ac: ... here.
25507 * sysdeps/x86_64/preconfigure.in: Moved to ...
25508 * sysdeps/x86_64/preconfigure.ac: ... here.
25509 * aclocal.m4: Change reference to configure.in to configure.ac.
25510 * config.h.in: Likewise.
25511 * manual/install.texi: Likewise.
25512 * manual/maint.texi: Likewise.
25513 * Makefile: Likewise.
25514 * malloc/Makefile: Likewise.
25515 * nscd/Makefile: Likewise.
25516 * Makeconfig: Change reference to configure.in and
25517 preconfigure.in to configure.ac and preconfigure.ac
25519 * INSTALL: Regenerated.
25520 * configure: Likewise.
25521 * sysdeps/gnu/configure: Likewise.
25522 * sysdeps/i386/configure: Likewise.
25523 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25524 * sysdeps/mach/configure: Likewise.
25525 * sysdeps/mach/hurd/configure: Likewise.
25526 * sysdeps/powerpc/configure: Likewise.
25527 * sysdeps/powerpc/powerpc32/configure: Likewise.
25528 * sysdeps/powerpc/powerpc64/configure: Likewise.
25529 * sysdeps/s390/s390-32/configure: Likewise.
25530 * sysdeps/s390/s390-64/configure: Likewise.
25531 * sysdeps/sh/configure: Likewise.
25532 * sysdeps/sparc/configure: Likewise.
25533 * sysdeps/unix/sysv/linux/configure: Likewise.
25534 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25535 * sysdeps/x86_64/configure: Likewise.
25536 * sysdeps/x86_64/preconfigure: Likewise.
25538 2013-10-29 Andreas Schwab <schwab@suse.de>
25540 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25542 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25544 * benchtests/pow-inputs: Add new inputs.
25546 * benchtests/exp-inputs: Add new inputs.
25548 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25549 conditional check for return value.
25550 (__cos32): Likewise.
25552 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25554 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25555 to provide a boost for large inputs with word alignment.
25556 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25557 implementation based on optimized PPC64 strcpy.
25558 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25559 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25560 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25561 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25563 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25566 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25568 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25571 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25572 * time/tst-strptime.c (day_tests): Add testcase.
25574 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25577 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25579 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25582 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25583 MAP_FAILED on error.
25585 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25588 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25589 heap for large requests.
25591 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25594 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25595 result if the result has no associated interface.
25596 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25597 interface for all 127.X.Y.Z addresses.
25599 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
25601 * locale/iso-639.def: Add Ligurian (lij)
25603 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
25606 * sunrpc/rpc_main.c: Document rpcgen -5.
25608 2013-10-19 Michael Stahl <mstahl@redhat.com>
25610 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25612 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25615 * posix/glob.c: Match only directories when trailing slash is present.
25616 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25617 (main): Add testcase.
25619 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25622 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25624 2013-10-18 Carlos O'Donell <carlos@redhat.com>
25626 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25627 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25628 AUTH_DES and cindex for FIPS 140-2.
25629 (DES Encryption): Add cindex FIPS 46-3.
25631 * locale/locarchive.h (struct locarhandle): Add fname.
25632 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25633 if an optional argument was specified to --list-archive,
25635 * locale/programs/locarchive.c (show_archive_content): Take new
25636 argument fname and pass it via ah.fname to open_archive.
25637 * locale/programs/localedef.h: Update decl.
25638 (open_archive): If AH->fname is non-null, open that file
25639 rather than the default file name, and don't ignore ENOENT.
25640 (create_archive): Set AH.fname to NULL.
25641 (delete_locales_from_archive): Likewise.
25642 (add_locales_to_archive): Likewise.
25643 * locale/programs/locfile.c (write_all_categories): Likewise.
25645 2013-10-18 Joseph Myers <joseph@codesourcery.com>
25646 Aldy Hernandez <aldyh@redhat.com>
25648 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25649 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25650 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25651 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25652 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25653 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25654 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25655 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25656 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25657 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25658 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25659 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25660 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25661 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25662 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25664 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25666 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25668 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25670 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25671 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25673 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25674 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25675 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25676 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25678 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25679 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25680 * sysdeps/powerpc/preconfigure: Likewise.
25681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25683 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25684 Replace contents of file by #include of <fenv_libc.h>.
25685 * sysdeps/powerpc/soft-fp/sfp-machine.h
25686 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25688 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25689 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25690 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25691 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25692 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25693 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25695 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25696 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25697 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25698 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25699 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25701 Allow copysignl PLT reference to be missing.
25703 2013-10-18 Richard Sandiford <richard@codesourcery.com>
25704 Joseph Myers <joseph@codesourcery.com
25707 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25709 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25711 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25713 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25714 * elf/tst-tls1.c: Likewise.
25715 * elf/tst-tls10.h: Likewise.
25716 * elf/tst-tls14.c: Likewise.
25717 * elf/tst-tls2.c: Likewise.
25718 * elf/tst-tls3.c: Likewise.
25719 * elf/tst-tls4.c: Likewise.
25720 * elf/tst-tls5.c: Likewise.
25721 * elf/tst-tls6.c: Likewise.
25722 * elf/tst-tls7.c: Likewise.
25723 * elf/tst-tls8.c: Likewise.
25724 * elf/tst-tls9.c: Likewise.
25725 * elf/tst-tlsmod1.c: Likewise.
25726 * elf/tst-tlsmod13.c: Likewise.
25727 * elf/tst-tlsmod13a.c: Likewise.
25728 * elf/tst-tlsmod14a.c: Likewise.
25729 * elf/tst-tlsmod16a.c: Likewise.
25730 * elf/tst-tlsmod16b.c: Likewise.
25731 * elf/tst-tlsmod2.c: Likewise.
25732 * elf/tst-tlsmod3.c: Likewise.
25733 * elf/tst-tlsmod4.c: Likewise.
25734 * elf/tst-tlsmod5.c: Likewise.
25735 * elf/tst-tlsmod6.c: Likewise.
25737 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
25740 * malloc/malloc.c: remove checks for statistics.
25742 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25745 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25746 * inet/tst-network.c: Add testcase.
25748 2013-10-17 Andreas Schwab <schwab@suse.de>
25751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25752 to determine canonical name.
25754 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25756 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25757 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25758 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25759 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25760 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25761 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25762 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25763 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25764 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25765 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25766 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25767 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25768 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25769 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25770 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25771 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25773 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25774 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25775 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25776 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25778 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25779 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25780 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25781 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25782 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25783 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25784 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25785 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25786 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25787 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25788 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25789 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25790 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25791 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25792 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25793 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25794 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25796 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25797 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25798 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25799 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25800 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25801 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25802 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25803 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25804 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25805 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25806 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25807 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25811 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25813 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25815 2013-10-17 Joseph Myers <joseph@codesourcery.com>
25818 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25819 make result into a quiet NaN.
25821 2013-10-16 Joseph Myers <joseph@codesourcery.com>
25823 * soft-fp/adddf3.c: Fix horizontal whitespace.
25824 * soft-fp/addsf3.c: Likewise.
25825 * soft-fp/addtf3.c: Likewise.
25826 * soft-fp/divdf3.c: Likewise.
25827 * soft-fp/divsf3.c: Likewise.
25828 * soft-fp/divtf3.c: Likewise.
25829 * soft-fp/double.h: Likewise.
25830 * soft-fp/eqdf2.c: Likewise.
25831 * soft-fp/eqsf2.c: Likewise.
25832 * soft-fp/eqtf2.c: Likewise.
25833 * soft-fp/extenddftf2.c: Likewise.
25834 * soft-fp/extended.h: Likewise.
25835 * soft-fp/extendsfdf2.c: Likewise.
25836 * soft-fp/extendsftf2.c: Likewise.
25837 * soft-fp/extendxftf2.c: Likewise.
25838 * soft-fp/fixdfdi.c: Likewise.
25839 * soft-fp/fixdfsi.c: Likewise.
25840 * soft-fp/fixdfti.c: Likewise.
25841 * soft-fp/fixsfdi.c: Likewise.
25842 * soft-fp/fixsfsi.c: Likewise.
25843 * soft-fp/fixsfti.c: Likewise.
25844 * soft-fp/fixtfdi.c: Likewise.
25845 * soft-fp/fixtfsi.c: Likewise.
25846 * soft-fp/fixtfti.c: Likewise.
25847 * soft-fp/fixunsdfdi.c: Likewise.
25848 * soft-fp/fixunsdfsi.c: Likewise.
25849 * soft-fp/fixunsdfti.c: Likewise.
25850 * soft-fp/fixunssfdi.c: Likewise.
25851 * soft-fp/fixunssfsi.c: Likewise.
25852 * soft-fp/fixunssfti.c: Likewise.
25853 * soft-fp/fixunstfdi.c: Likewise.
25854 * soft-fp/fixunstfsi.c: Likewise.
25855 * soft-fp/fixunstfti.c: Likewise.
25856 * soft-fp/floatdidf.c: Likewise.
25857 * soft-fp/floatdisf.c: Likewise.
25858 * soft-fp/floatditf.c: Likewise.
25859 * soft-fp/floatsidf.c: Likewise.
25860 * soft-fp/floatsisf.c: Likewise.
25861 * soft-fp/floatsitf.c: Likewise.
25862 * soft-fp/floattidf.c: Likewise.
25863 * soft-fp/floattisf.c: Likewise.
25864 * soft-fp/floattitf.c: Likewise.
25865 * soft-fp/floatundidf.c: Likewise.
25866 * soft-fp/floatundisf.c: Likewise.
25867 * soft-fp/floatunditf.c: Likewise.
25868 * soft-fp/floatunsidf.c: Likewise.
25869 * soft-fp/floatunsisf.c: Likewise.
25870 * soft-fp/floatunsitf.c: Likewise.
25871 * soft-fp/floatuntidf.c: Likewise.
25872 * soft-fp/floatuntisf.c: Likewise.
25873 * soft-fp/floatuntitf.c: Likewise.
25874 * soft-fp/fmadf4.c: Likewise.
25875 * soft-fp/fmasf4.c: Likewise.
25876 * soft-fp/fmatf4.c: Likewise.
25877 * soft-fp/gedf2.c: Likewise.
25878 * soft-fp/gesf2.c: Likewise.
25879 * soft-fp/getf2.c: Likewise.
25880 * soft-fp/ledf2.c: Likewise.
25881 * soft-fp/lesf2.c: Likewise.
25882 * soft-fp/letf2.c: Likewise.
25883 * soft-fp/muldf3.c: Likewise.
25884 * soft-fp/mulsf3.c: Likewise.
25885 * soft-fp/multf3.c: Likewise.
25886 * soft-fp/negdf2.c: Likewise.
25887 * soft-fp/negsf2.c: Likewise.
25888 * soft-fp/negtf2.c: Likewise.
25889 * soft-fp/op-1.h: Likewise.
25890 * soft-fp/op-2.h: Likewise.
25891 * soft-fp/op-4.h: Likewise.
25892 * soft-fp/op-8.h: Likewise.
25893 * soft-fp/op-common.h: Likewise.
25894 * soft-fp/quad.h: Likewise.
25895 * soft-fp/single.h: Likewise.
25896 * soft-fp/soft-fp.h: Likewise.
25897 * soft-fp/sqrtdf2.c: Likewise.
25898 * soft-fp/sqrtsf2.c: Likewise.
25899 * soft-fp/sqrttf2.c: Likewise.
25900 * soft-fp/subdf3.c: Likewise.
25901 * soft-fp/subsf3.c: Likewise.
25902 * soft-fp/subtf3.c: Likewise.
25903 * soft-fp/truncdfsf2.c: Likewise.
25904 * soft-fp/trunctfdf2.c: Likewise.
25905 * soft-fp/trunctfsf2.c: Likewise.
25906 * soft-fp/trunctfxf2.c: Likewise.
25907 * soft-fp/unorddf2.c: Likewise.
25908 * soft-fp/unordsf2.c: Likewise.
25909 * soft-fp/unordtf2.c: Likewise.
25911 2013-10-15 Joseph Myers <joseph@codesourcery.com>
25913 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25914 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25916 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
25918 * elf/dl-libc.c: Clear initfini list after freeing.
25920 2013-10-14 Joseph Myers <joseph@codesourcery.com>
25922 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25923 * soft-fp/addsf3.c: Likewise.
25924 * soft-fp/addtf3.c: Likewise.
25925 * soft-fp/divdf3.c: Likewise.
25926 * soft-fp/divsf3.c: Likewise.
25927 * soft-fp/divtf3.c: Likewise.
25928 * soft-fp/double.h: Likewise.
25929 * soft-fp/eqdf2.c: Likewise.
25930 * soft-fp/eqsf2.c: Likewise.
25931 * soft-fp/eqtf2.c: Likewise.
25932 * soft-fp/extenddftf2.c: Likewise.
25933 * soft-fp/extended.h: Likewise.
25934 * soft-fp/extendsfdf2.c: Likewise.
25935 * soft-fp/extendsftf2.c: Likewise.
25936 * soft-fp/extendxftf2.c: Likewise.
25937 * soft-fp/fixdfdi.c: Likewise.
25938 * soft-fp/fixdfsi.c: Likewise.
25939 * soft-fp/fixdfti.c: Likewise.
25940 * soft-fp/fixsfdi.c: Likewise.
25941 * soft-fp/fixsfsi.c: Likewise.
25942 * soft-fp/fixsfti.c: Likewise.
25943 * soft-fp/fixtfdi.c: Likewise.
25944 * soft-fp/fixtfsi.c: Likewise.
25945 * soft-fp/fixtfti.c: Likewise.
25946 * soft-fp/fixunsdfdi.c: Likewise.
25947 * soft-fp/fixunsdfsi.c: Likewise.
25948 * soft-fp/fixunsdfti.c: Likewise.
25949 * soft-fp/fixunssfdi.c: Likewise.
25950 * soft-fp/fixunssfsi.c: Likewise.
25951 * soft-fp/fixunssfti.c: Likewise.
25952 * soft-fp/fixunstfdi.c: Likewise.
25953 * soft-fp/fixunstfsi.c: Likewise.
25954 * soft-fp/fixunstfti.c: Likewise.
25955 * soft-fp/floatdidf.c: Likewise.
25956 * soft-fp/floatdisf.c: Likewise.
25957 * soft-fp/floatditf.c: Likewise.
25958 * soft-fp/floatsidf.c: Likewise.
25959 * soft-fp/floatsisf.c: Likewise.
25960 * soft-fp/floatsitf.c: Likewise.
25961 * soft-fp/floattidf.c: Likewise.
25962 * soft-fp/floattisf.c: Likewise.
25963 * soft-fp/floattitf.c: Likewise.
25964 * soft-fp/floatundidf.c: Likewise.
25965 * soft-fp/floatundisf.c: Likewise.
25966 * soft-fp/floatunsidf.c: Likewise.
25967 * soft-fp/floatunsisf.c: Likewise.
25968 * soft-fp/floatuntidf.c: Likewise.
25969 * soft-fp/floatuntisf.c: Likewise.
25970 * soft-fp/floatuntitf.c: Likewise.
25971 * soft-fp/fmadf4.c: Likewise.
25972 * soft-fp/fmasf4.c: Likewise.
25973 * soft-fp/fmatf4.c: Likewise.
25974 * soft-fp/gedf2.c: Likewise.
25975 * soft-fp/gesf2.c: Likewise.
25976 * soft-fp/getf2.c: Likewise.
25977 * soft-fp/ledf2.c: Likewise.
25978 * soft-fp/lesf2.c: Likewise.
25979 * soft-fp/letf2.c: Likewise.
25980 * soft-fp/muldf3.c: Likewise.
25981 * soft-fp/mulsf3.c: Likewise.
25982 * soft-fp/multf3.c: Likewise.
25983 * soft-fp/negdf2.c: Likewise.
25984 * soft-fp/negsf2.c: Likewise.
25985 * soft-fp/negtf2.c: Likewise.
25986 * soft-fp/op-1.h: Likewise.
25987 * soft-fp/op-2.h: Likewise.
25988 * soft-fp/op-4.h: Likewise.
25989 * soft-fp/op-8.h: Likewise.
25990 * soft-fp/op-common.h: Likewise.
25991 * soft-fp/quad.h: Likewise.
25992 * soft-fp/single.h: Likewise.
25993 * soft-fp/soft-fp.h: Likewise.
25994 * soft-fp/sqrtdf2.c: Likewise.
25995 * soft-fp/sqrtsf2.c: Likewise.
25996 * soft-fp/sqrttf2.c: Likewise.
25997 * soft-fp/subdf3.c: Likewise.
25998 * soft-fp/subsf3.c: Likewise.
25999 * soft-fp/subtf3.c: Likewise.
26000 * soft-fp/truncdfsf2.c: Likewise.
26001 * soft-fp/trunctfdf2.c: Likewise.
26002 * soft-fp/trunctfsf2.c: Likewise.
26003 * soft-fp/trunctfxf2.c: Likewise.
26004 * soft-fp/unorddf2.c: Likewise.
26005 * soft-fp/unordsf2.c: Likewise.
26006 * soft-fp/unordtf2.c: Likewise.
26008 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
26011 * misc/error.c (error_tail): Fix possible buffer overflow.
26013 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
26016 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26019 2013-10-14 P. J. McDermott <pj@pehjota.net>
26022 * elf/ldd.bash.in (try_trace): New function. Delete previous code
26023 testing pipefail option.
26025 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26027 * soft-fp/double.h: Indent preprocessor directives inside #if.
26028 * soft-fp/extended.h: Likewise.
26029 * soft-fp/op-2.h: Likewise.
26030 * soft-fp/op-4.h: Likewise.
26031 * soft-fp/op-common.h: Likewise.
26032 * soft-fp/quad.h: Likewise.
26033 * soft-fp/single.h: Likewise.
26034 * soft-fp/soft-fp.h: Likewise.
26036 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26038 * iconv/iconv_prog.c: Fix typos.
26039 * stdio-common/psiginfo-data.h: Likewise.
26041 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26044 * locale/setlocale.c: Fix typo.
26046 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26049 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26050 signaling NaN arguments.
26051 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26052 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26055 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26056 unordered operands.
26057 * soft-fp/gesf2.c (__gesf2): Likewise.
26058 * soft-fp/getf2.c (__getf2): Likewise.
26059 * soft-fp/ledf2.c (__ledf2): Likewise.
26060 * soft-fp/lesf2.c (__lesf2): Likewise.
26061 * soft-fp/letf2.c (__letf2): Likewise.
26063 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26064 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26065 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26066 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26067 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26068 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26069 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26070 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26071 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26072 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26073 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26074 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26075 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26076 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26077 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26078 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26079 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26080 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26081 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26082 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26083 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26084 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26085 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26086 * soft-fp/floatsisf.c (__floatsisf): Likewise.
26087 * soft-fp/floattidf.c (__floattidf): Likewise.
26088 * soft-fp/floattisf.c (__floattisf): Likewise.
26089 * soft-fp/floattitf.c (__floattitf): Likewise.
26090 * soft-fp/floatundidf.c (__floatundidf): Likewise.
26091 * soft-fp/floatundisf.c (__floatundisf): Likewise.
26092 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26093 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26094 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26095 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26096 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26097 * soft-fp/gesf2.c (__gesf2): Likewise.
26098 * soft-fp/getf2.c (__getf2): Likewise.
26099 * soft-fp/ledf2.c (__ledf2): Likewise.
26100 * soft-fp/lesf2.c (__lesf2): Likewise.
26101 * soft-fp/letf2.c (__letf2): Likewise.
26103 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26104 Undefine and redefine.
26105 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26106 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26107 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26108 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26109 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26110 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26111 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26112 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26113 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26114 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26115 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26116 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26117 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26118 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26119 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26122 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26123 without decrementing exponent if mantissa >= that for the
26124 denominator, not >.
26125 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26126 denominator, not >. Decrement exponent in < case instead of
26127 incrementing in >= case.
26128 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26129 without decrementing exponent if mantissa >= that for the
26130 denominator, not >.
26132 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26133 computing saturated result for unsigned overflow.
26135 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26136 Jeff Law <law@redhat.com>
26138 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26139 (atan2Mp): Add systemtap probe marker.
26140 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26141 (__ieee754_log): Add systemtap probe marker.
26142 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26143 (atanMp): Add systemtap probe marker.
26144 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26145 (tanMp): Add systemtap probe marker.
26146 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26147 (__slowexp): Add systemtap probe marker.
26148 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26149 (__slowpow): Add systemtap probe marker.
26150 * manual/probes.texi: Document probes.
26152 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
26155 * libio/fileops.c (_IO_new_file_write): Return count of bytes
26157 (_IO_new_file_xsputn): Don't return EOF if nothing has been
26159 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26160 written to buffer but not flushed.
26161 * libio/iofwrite_u.c: Likewise.
26162 * libio/iopadn.c: Return bytes returned even if EOF was
26164 * libio/iowpadn.c: Likewise.
26165 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26166 if _IO_padn does not write the whole buffer.
26167 [!COMPILE_WPRINTF] (PAD): Likewise.
26169 2013-10-10 David S. Miller <davem@davemloft.net>
26171 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26174 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26176 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26177 instead of FSF address.
26178 * soft-fp/fixdfti.c: Likewise.
26179 * soft-fp/fixsfti.c: Likewise.
26180 * soft-fp/fixtfti.c: Likewise.
26181 * soft-fp/fixunsdfti.c: Likewise.
26182 * soft-fp/fixunssfti.c: Likewise.
26183 * soft-fp/fixunstfti.c: Likewise.
26184 * soft-fp/floattidf.c: Likewise.
26185 * soft-fp/floattisf.c: Likewise.
26186 * soft-fp/floattitf.c: Likewise.
26187 * soft-fp/floatuntidf.c: Likewise.
26188 * soft-fp/floatuntisf.c: Likewise.
26189 * soft-fp/floatuntitf.c: Likewise.
26190 * soft-fp/trunctfxf2.c: Likewise.
26192 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
26193 * soft-fp/fixdfti.c: Likewise.
26194 * soft-fp/fixsfti.c: Likewise.
26195 * soft-fp/fixtfti.c: Likewise.
26196 * soft-fp/fixunsdfti.c: Likewise.
26197 * soft-fp/fixunssfti.c: Likewise.
26198 * soft-fp/fixunstfti.c: Likewise.
26199 * soft-fp/floattidf.c: Likewise.
26200 * soft-fp/floattisf.c: Likewise.
26201 * soft-fp/floattitf.c: Likewise.
26202 * soft-fp/floatuntidf.c: Likewise.
26203 * soft-fp/floatuntisf.c: Likewise.
26204 * soft-fp/floatuntitf.c: Likewise.
26205 * soft-fp/trunctfxf2.c: Likewise.
26207 2013-10-10 David S. Miller <davem@davemloft.net>
26209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26211 2013-10-10 Joseph Myers <joseph@codsourcery.com>
26213 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26214 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26215 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26216 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26217 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26218 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26219 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26221 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26222 for NaNs before doing comparisons on argument.
26223 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26226 2013-10-10 Will Newton <will.newton@linaro.org>
26228 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26229 passed to _int_memalign does not overflow.
26231 2013-10-10 Torvald Riegel <triegel@redhat.com>
26233 * scripts/bench.pl: Add include-sources directive.
26234 * benchtests/README: Update documentation.
26236 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26238 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26239 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26240 instead of FP_INIT_ROUNDMODE.
26241 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26242 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26245 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
26246 copy class of input value.
26247 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
26248 not handle exceptions.
26249 * soft-fp/negsf2.c (__negsf2): Likewise.
26250 * soft-fp/negtf2.c (__negtf2): Likewise.
26251 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26253 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26255 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26256 semicolon. From Linux kernel.
26258 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26260 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26262 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26265 * manual/socket.texi: Added statement about buffer
26266 for gethostbyname2_r.
26268 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26270 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26271 Use .p2align directive instead, throughout.
26272 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26273 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26274 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26275 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26276 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26277 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26278 * sysdeps/x86_64/strchr.S: Likewise.
26279 * sysdeps/x86_64/strrchr.S: Likewise.
26281 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26283 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26285 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26287 * sysdeps/generic/math_private.h (__mpsin1): Remove
26289 (__mpcos1): Likewise.
26290 (__mpsin): New argument __range_reduce.
26291 (__mpcos): Likewise.
26292 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26293 (slow): Use __mpsin and __mpcos.
26297 (sloww1): Likewise.
26298 (sloww2): Likewise.
26299 (bsloww): Likewise.
26300 (bsloww1): Likewise.
26301 (bsloww2): Likewise.
26302 (cslow2): Likewise.
26303 (csloww): Likewise.
26304 (csloww1): Likewise.
26305 (csloww2): Likewise.
26306 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26307 range_reduce. Merge in __mpsin1.
26308 (__mpcos): Likewise.
26309 (__mpsin1): Remove.
26310 (__mpcos1): Likewise.
26312 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26314 * locale/loadlocale.c (_nl_intern_locale_data): Use
26316 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26317 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26318 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26319 obstack data is appropriately aligned.
26320 (obstack_int32_grow_fast): Likewise.
26321 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26322 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26323 (add_locale_uint32_array): Likewise.
26325 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26327 * benchtests/Makefile: Remove ARGLIST and RET variables.
26328 ($(objpfx)bench-%.c): Pass only function name to the script.
26329 * benchtests/README: Update documentation.
26330 * benchtests/acos-inputs: Add new directives.
26331 * benchtests/acosh-inputs: Likewise.
26332 * benchtests/asin-inputs: Likewise.
26333 * benchtests/asinh-inputs: Likewise.
26334 * benchtests/atan-inputs: Likewise.
26335 * benchtests/atanh-inputs: Likewise.
26336 * benchtests/cos-inputs: Likewise.
26337 * benchtests/cosh-inputs: Likewise.
26338 * benchtests/exp-inputs: Likewise.
26339 * benchtests/log-inputs: Likewise.
26340 * benchtests/pow-inputs: Likewise.
26341 * benchtests/rint-inputs: Likewise.
26342 * benchtests/sin-inputs: Likewise.
26343 * benchtests/sinh-inputs: Likewise.
26344 * benchtests/tan-inputs: Likewise.
26345 * benchtests/tanh-inputs: Likewise.
26346 * scripts/bench.pl: Add support for new directives.
26348 2013-10-07 Alan Modra <amodra@gmail.com>
26350 * README: Fix careless merge.
26352 2013-10-05 Alan Modra <amodra@gmail.com>
26354 * NEWS: Mention powerpc64le support and bugs fixed.
26355 * README: Both big-endian and little-endian powerpc64 supported.
26357 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26359 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26360 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26361 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26362 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26364 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26366 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26369 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26371 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26372 Move -mhard-float appending from
26373 ports/sysdeps/powerpc/powerpc32/Makefile.
26374 [$(with-fp) = yes] (ASFLAGS): Likewise.
26375 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26376 * sysdeps/powerpc/nofpu: Move directory from
26377 ports/sysdeps/powerpc/nofpu.
26378 * sysdeps/powerpc/soft-fp: Move directory from
26379 ports/sysdeps/powerpc/soft-fp.
26380 * sysdeps/powerpc/powerpc32/405: Move directory from
26381 ports/sysdeps/powerpc/powerpc32/405.
26382 * sysdeps/powerpc/powerpc32/440: Move directory from
26383 ports/sysdeps/powerpc/powerpc32/440.
26384 * sysdeps/powerpc/powerpc32/464: Move directory from
26385 ports/sysdeps/powerpc/powerpc32/464.
26386 * sysdeps/powerpc/powerpc32/476: Move directory from
26387 ports/sysdeps/powerpc/powerpc32/476.
26388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26389 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26391 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26393 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26395 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26397 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26398 * README: Update for powerpc-*-linux-gnu software floating point
26401 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26402 case to powerpc/powerpc32*.
26403 * sysdeps/unix/sysv/linux/configure: Regenerated.
26405 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26406 (_FPU_MASK_OM): Define as 0x04.
26407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26415 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26418 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26421 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26422 and setcontext_e500.
26424 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26426 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26428 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26430 * manual/threads.texi (Default Thread Attributes): Fix typo.
26432 2013-10-04 Will Newton <will.newton@linaro.org>
26434 * malloc/Makefile: Add tst-memalign.
26435 * malloc/tst-memalign.c: New file.
26437 * malloc/tst-posix_memalign.c: Add comments.
26438 (do_test): Add comments and call free on all potentially
26439 allocated pointers. Add space after cast.
26441 * malloc/tst-pvalloc.c: Add comments.
26442 (do_test): Add comments and call free on all potentially
26443 allocated pointers. Remove duplicate check for NULL pointer.
26444 Add space after cast.
26446 * malloc/tst-valloc.c: Add comments.
26447 (do_test): Add comments and call free on all potentially
26448 allocated pointers. Remove duplicate check for NULL pointer.
26449 Add space after cast.
26451 2013-10-04 Alan Modra <amodra@gmail.com>
26453 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26454 Use stdint types in rather than __attribute__((mode())).
26455 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26457 2013-10-04 Alan Modra <amodra@gmail.com>
26459 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26460 Correct handling of unaligned relocs for little-endian.
26461 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26463 2013-10-04 Alan Modra <amodra@gmail.com>
26465 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26466 * configure: Regenerate.
26467 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26468 * shlib-versions: Likewise.
26470 2013-10-04 Alan Modra <amodra@gmail.com>
26472 * string/tester.c (test_memrchr): Increment reported test cycle.
26474 2013-10-04 Alan Modra <amodra@gmail.com>
26476 * string/test-memcpy.c (do_one_test): When reporting errors, print
26477 string address and don't overrun end of string.
26479 2013-10-04 Alan Modra <amodra@gmail.com>
26481 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26482 insrdi. Make better use of reg selection to speed exit slightly.
26483 Schedule entry path a little better. Remove useless "are we done"
26484 checks on entry to main loop. Handle wrapping around zero address.
26485 Correct main loop count. Handle single left-over word from main
26486 loop inline rather than by using loop_small. Remove extra word
26487 case in loop_small caused by wrong loop count. Add little-endian
26489 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26490 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26492 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26493 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26494 support. Avoid rlwimi.
26495 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26497 2013-10-04 Alan Modra <amodra@gmail.com>
26499 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26500 insrdi. Formatting.
26501 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26502 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26503 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26504 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26505 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26506 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26508 2013-10-04 Alan Modra <amodra@gmail.com>
26510 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26511 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26513 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26514 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26515 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26516 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26517 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26518 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26519 use of regs. Use power7 mtocrf. Tidy function tails.
26521 2013-10-04 Alan Modra <amodra@gmail.com>
26523 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26524 Formatting. Consistently use rXXX register defines or rN defines.
26525 Use early exit labels that avoid restoring unused non-volatile regs.
26526 Make cr field use more consistent with rWORDn compares. Rename
26527 regs used as shift registers for unaligned loop, using rN defines
26528 for short lifetime/multiple use regs.
26529 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26530 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26531 addi 1,1,64 to pop stack frame. Simplify return value code.
26532 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26534 2013-10-04 Alan Modra <amodra@gmail.com>
26536 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26537 support. Correct typos, formatting. Optimize tail. Use insrdi
26538 rather than rlwimi.
26539 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26540 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26541 little-endian support. Correct typos.
26542 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26543 rather than rlwimi.
26544 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26545 in loop and entry code to keep "and." results.
26546 (strchr): Add little-endian support. Comment. Move cntlzd
26548 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26550 2013-10-04 Alan Modra <amodra@gmail.com>
26552 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26553 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26554 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26555 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26557 2013-10-04 Alan Modra <amodra@gmail.com>
26559 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26560 (rTMP): Define as r11.
26561 (strcmp): Add little-endian support. Optimise tail.
26562 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26563 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26564 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26565 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26566 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26567 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26568 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26570 2013-10-04 Alan Modra <amodra@gmail.com>
26572 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26573 little-endian support. Remove unnecessary "are we done" tests.
26574 Handle "s" wrapping around zero and extremely large "size".
26575 Correct main loop count. Handle single left-over word from main
26576 loop inline rather than by using small_loop. Correct comments.
26577 Delete "zero" tail, use "end_max" instead.
26578 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26580 2013-10-04 Alan Modra <amodra@gmail.com>
26582 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26583 support. Don't branch over align.
26584 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26585 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26586 support. Rearrange tmp reg use to suit. Comment.
26587 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26589 2013-10-04 Alan Modra <amodra@gmail.com>
26591 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26593 2013-10-04 Alan Modra <amodra@gmail.com>
26595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26596 conditional form of branch and link when obtaining pc.
26597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26599 2013-10-04 Alan Modra <amodra@gmail.com>
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26606 2013-10-04 Alan Modra <amodra@gmail.com>
26608 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26609 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26610 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26611 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26612 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26613 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26614 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26615 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26616 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26617 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26619 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26620 Alistair Popple <alistair@ozlabs.au.ibm.com>
26621 Alan Modra <amodra@gmail.com>
26624 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26625 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26626 _dl_hwcap access for little-endian.
26627 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26628 destroy vmx regs when saving unaligned.
26629 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26630 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26631 destroy vmx regs when saving unaligned.
26633 2013-10-04 Alan Modra <amodra@gmail.com>
26635 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26636 Don't use a union to pack hi/low value.
26638 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26640 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26642 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26643 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26644 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26645 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26646 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26648 2013-10-04 Alan Modra <amodra@gmail.com>
26650 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26651 constants to usual value for .cst8 section, and remove redundant
26653 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26654 constant for 0x1p52. Load little-endian words of double from
26655 correct stack offsets.
26657 2013-10-04 Alan Modra <amodra@gmail.com>
26659 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26660 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26661 words of double from correct stack offsets.
26662 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26663 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26664 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26665 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26666 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26667 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26668 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26669 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26670 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26671 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26672 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26673 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26674 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26675 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26676 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26677 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26678 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26680 2013-10-04 Alan Modra <amodra@gmail.com>
26682 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26683 64-bit int/double union.
26684 (_FPU_SETCW): Likewise.
26685 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26686 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26688 2013-10-04 Alan Modra <amodra@gmail.com>
26690 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26691 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26693 2013-10-04 Alan Modra <amodra@gmail.com>
26695 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26696 use vector int constants.
26697 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26699 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26701 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26702 array with long long.
26703 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26704 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26705 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26706 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26707 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26708 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26709 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26710 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26711 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26712 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26713 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26714 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26715 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26717 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26719 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26720 (__signbit): Likewise. Correct for little-endian.
26721 (__signbitl): Call __signbit.
26722 (lrint): Correct for little-endian.
26723 (lrintf): Call lrint.
26725 2013-10-04 Alan Modra <amodra@gmail.com>
26727 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26728 union 32-bit int array member with 64-bit int array.
26729 (t515, tm256): Double rather than long double.
26730 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26732 2013-10-04 Alan Modra <amodra@gmail.com>
26734 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26736 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26737 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26738 version of math_ldbl.h.
26740 2013-10-04 Alan Modra <amodra@gmail.com>
26742 [BZ #15734], [BZ #15735]
26743 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26744 all uses of ieee875 long double macros and unions. Simplify test
26745 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26746 ldbl_extract_mantissa value for ix,iy exponents. Properly
26747 normalize after ldbl_extract_mantissa, and don't add hidden bit
26748 already handled. Don't treat low word of ieee854 mantissa like
26749 low word of IBM long double and mask off bit when testing for
26751 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26752 all uses of ieee875 long double macros and unions. Simplify tests
26753 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26754 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26755 two1022, instead use their values. Recognise that tests for large
26756 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26757 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26758 Rewrite all uses of ieee875 long double macros and unions. Simplify
26759 test for 0.0L and nan. Correct negation.
26760 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26761 ieee875 long double macros and unions. Correct output for large
26762 magnitude x. Correct absolute value calculation.
26763 (__erfcl): Likewise.
26764 * math/libm-test.inc: Add tests for errors discovered in IBM long
26765 double versions of fmodl, remainderl, erfl and erfcl.
26767 2013-10-04 Alan Modra <amodra@gmail.com>
26769 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26770 all uses of ieee854 long double macros and unions. Simplify tests
26771 for long doubles that are fully specified by the high double.
26772 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26774 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26775 Remove dead code too.
26776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26777 (__ieee754_ynl): Likewise.
26778 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26779 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26781 Remove dead code too.
26782 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26783 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26784 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26785 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26787 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26789 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26790 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26791 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26792 Comment on variable precision.
26793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26794 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26796 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26797 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26798 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26799 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26800 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26802 2013-10-04 Alan Modra <amodra@gmail.com>
26804 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26805 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26806 all uses of ieee854 long double macros and unions.
26807 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26808 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26809 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26810 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26811 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26812 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26814 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26815 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26816 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26817 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26818 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26820 Simplify sign and nan test too.
26821 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26822 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26823 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26824 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26826 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26827 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26829 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26830 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26831 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26832 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26833 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26834 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26836 2013-10-04 Alan Modra <amodra@gmail.com>
26838 * stdio-common/printf_size.c (__printf_size): Don't use
26839 union ieee854_long_double in fpnum union.
26840 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26841 signbit macro to retrieve sign from long double.
26842 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26843 retrieve sign from long double.
26844 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26845 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26846 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26847 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26848 * math/test-misc.c (main): Don't use union ieee854_long_double.
26850 2013-10-04 Alan Modra <amodra@gmail.com>
26853 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26854 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26855 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26856 calculation. Remove unnecessary test for denormal exponent.
26857 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26858 Correct handling of denormals. Avoid undefined shift behaviour.
26859 Correct normalisation of low mantissa when low double is denormal.
26860 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26861 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26862 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26863 Correct normalisation of low mantissa. Test for overflow of high
26864 mantissa and normalise.
26865 (ldbl_nearbyint): Use more readable constant for two52.
26866 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26867 (__mpn_construct_long_double): Fix test for overflow of high
26868 mantissa and correct normalisation. Avoid undefined shift.
26870 2013-10-04 Alan Modra <amodra@gmail.com>
26872 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26873 (union ibm_extended_long_double): Define as an array of ieee754_double.
26874 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26875 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26876 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26877 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26878 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26879 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26880 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26881 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26882 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26883 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26884 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26886 2013-10-03 Joseph Myers <joseph@codesourcery.com>
26888 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26889 page size instead of calling getpagesize.
26891 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26892 (LOCFILE_ALIGN_MASK): Likewise.
26893 (LOCFILE_ALIGN_UP): Likewise.
26894 (LOCFILE_ALIGNED_P): Likewise.
26895 * locale/programs/ld-collate.c (collate_output): Use the new
26896 macros instead of __alignof__ (int32_t).
26897 * locale/weight.h (findidx): Likewise.
26899 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
26902 * manual/string.texi: Fix strncat and wcsncat.
26904 2013-10-03 Brooks Moses <bmoses@google.com>
26907 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26908 * Makerules: ...here, and adjust associated comments.
26910 2013-10-02 Will Newton <will.newton@linaro.org>
26912 * malloc/Makefile: Add tst-pvalloc.
26913 * malloc/tst-pvalloc.c: New file.
26915 2013-10-02 Will Newton <will.newton@linaro.org>
26917 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26918 improve test coverage.
26920 2013-10-02 Will Newton <will.newton@linaro.org>
26922 * malloc/Makefile: Add tst-posix_memalign.
26923 * malloc/tst-posix_memalign.c: New file.
26925 2013-10-01 Eric Blake <eblake@redhat.com>
26927 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26928 Use __THROWNL rather than __THROW on static functions.
26930 2013-09-30 Petr Machata <pmachata@redhat.com>
26932 * elf/elf.h (R_AARCH64_ABS16): New macro.
26933 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26934 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26935 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26936 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26937 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26938 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26939 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26940 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26941 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26942 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26943 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26944 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26945 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26946 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26947 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26948 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26949 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26950 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26951 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26952 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26953 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26954 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26955 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26956 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26957 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26958 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26959 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26960 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26961 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26962 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26963 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26964 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26965 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26966 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26967 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26968 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26969 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26970 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26971 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26972 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26973 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26974 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26975 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26976 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26977 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26978 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26979 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26980 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26981 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26982 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26983 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26984 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26985 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26986 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26987 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26988 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26989 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26990 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26991 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26992 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26993 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26994 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26995 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26996 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26997 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26998 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26999 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27000 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27001 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27002 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27003 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27004 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27005 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27006 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27007 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27008 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27009 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27010 (R_AARCH64_TLSDESC_LDR): Likewise.
27011 (R_AARCH64_TLSDESC_ADD): Likewise.
27012 (R_AARCH64_TLSDESC_CALL): Likewise.
27014 2013-09-30 Andreas Schwab <schwab@suse.de>
27017 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27018 the nss database lookup.
27019 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27022 2013-09-28 Mike Frysinger <vapier@gentoo.org>
27024 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27026 2013-09-28 P. J. McDermott <pj@pehjota.net>
27028 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27029 ${Bash-specific parameter/pattern/string} parameter expansion.
27030 * sysdeps/unix/make-syscalls.sh: Likewise.
27032 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27034 * sysdeps/sh/stackguard-macros.h: New file.
27036 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27040 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27041 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27042 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27043 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27045 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27047 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27048 Fix thread ID register.
27050 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27052 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27053 [POSIX || UNIX98]: Require rather than permitting all symbols from
27055 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27056 element of struct sched_param.
27057 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27058 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27059 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27060 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27063 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27065 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27066 argument calculation.
27068 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27070 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27072 [POSIX] (pthread_attr_t): Do not require type.
27073 [POSIX] (pthread_cond_t): Likewise.
27074 [POSIX] (pthread_condattr_t): Likewise.
27075 [POSIX] (pthread_key_t): Likewise.
27076 [POSIX] (pthread_mutex_t): Likewise.
27077 [POSIX] (pthread_mutexattr_t): Likewise.
27078 [POSIX] (pthread_once_t): Likewise.
27079 [POSIX] (pthread_t): Likewise.
27080 [POSIX-based standards] (pthread_atfork): Expect function.
27082 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27083 Richard Sandiford <richard@codesourcery.com>
27085 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27086 (swap_endianness_p): New extern variable.
27087 (set_big_endian): New inline function.
27088 (maybe_swap_uint32): Likewise.
27089 (maybe_swap_uint32_array): Likewise.
27090 (maybe_swap_uint32_obstack): Likewise.
27091 * locale/programs/locfile.c: Include <stdbool.h>.
27092 (swap_endianness_p): New variable.
27093 (add_locale_uint32): Call maybe_swap_uint32.
27094 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27095 (write_locale_data): Call maybe_swap_uint32_array.
27096 * locale/programs/ld-collate.c (obstack_int32_grow): Call
27098 (obstack_int32_grow_fast): Likewise.
27099 (output_weightwc): Call maybe_swap_uint32_obstack.
27100 (collate_output): Likewise.
27101 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27102 (OPT_LITTLE_ENDIAN): Likewise.
27103 (options): Add --little-endian and --big-endian options.
27104 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27105 * locale/programs/locarchive.c: Include "locfile.h".
27109 (create_archive): Use the new macros to access fields of
27110 structures directly mapped from or written to locale archives.
27111 (oldlocrecentcmp): Likewise.
27112 (enlarge_archive): Likewise.
27113 (insert_name): Likewise.
27114 (add_alias): Likewise.
27115 (add_locale): Likewise.
27116 (delete_locales_from_archive): Likewise.
27117 (show_archive_content): Likewise.
27118 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27121 2013-09-24 Roland McGrath <roland@hack.frob.com>
27123 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27124 http://www.gnu.org/doc/freemanuals.texi.
27125 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27127 2013-09-24 Will Newton <will.newton@linaro.org>
27129 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27132 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27134 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27137 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27139 * manual/threads.texi (POSIX Threads): Fix a typo.
27141 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27144 * string/tst-strcoll-overflow.c: New test case.
27145 * string/Makefile (xtests): Add tst-strcoll-overflow.
27146 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27147 cache if string sizes may cause integer overflow.
27150 * string/strcoll_l.c (coll_seq): New members rule, idx,
27151 save_idx and back_us.
27152 (get_next_seq_nocache): New function.
27153 (do_compare_nocache): New function.
27154 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27157 2013-09-23 Carlos O'Donell <carlos@redhat.com>
27160 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27161 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27162 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27165 * elf/Makefile (tests): Add tst-ptrguard1.
27166 (tests-static): Add tst-ptrguard1-static.
27167 (tst-ptrguard1-ARGS): Define.
27168 (tst-ptrguard1-static-ARGS): Define.
27169 * elf/tst-ptrguard1.c: New file.
27170 * elf/tst-ptrguard1-static.c: New file.
27171 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27172 * sysdeps/i386/stackguard-macros.h: Likewise.
27173 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27174 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27175 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27176 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27177 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27178 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27180 2013-09-23 Hector Marco <hecmargi@upv.es>
27181 Ismael Ripoll <iripoll@disca.upv.es>
27182 Carlos O'Donell <carlos@redhat.com>
27185 * sysdeps/generic/stackguard-macros.h: Define
27186 __pointer_chk_guard_local and POINTER_CHK_GUARD.
27187 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27188 Define __pointer_chk_guard_local.
27189 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27190 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27192 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
27195 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27197 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
27199 * include/string.h (__ffs): Declare as hidden.
27200 * string/ffs.c (__ffs): Define as hidden.
27201 * sysdeps/i386/ffs.c (__ffs): Likewise.
27202 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27203 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27204 * sysdeps/s390/ffs.c (__ffs): Likewise.
27205 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27207 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
27209 * NEWS: Mention malloc probes.
27211 * malloc/arena.c (new_heap): New memory_heap_new probe.
27212 (grow_heap): New memory_heap_more probe.
27213 (shrink_heap): New memory_heap_less probe.
27214 (heap_trim): New memory_heap_free probe.
27215 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27216 (systrim): New memory_sbrk_less probe.
27217 * manual/probes.texi: Document them.
27219 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27220 * manual/probes.texi: Document it.
27222 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27223 (__libc_realloc): Add memory_realloc_retry probe.
27224 (__libc_memalign): Add memory_memalign_retry probe.
27225 (__libc_valloc): Add memory_valloc_retry probe.
27226 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27227 (__libc_calloc): Add memory_calloc_retry probe.
27228 * manual/probes.texi: Document them.
27230 * malloc/arena.c (get_free_list): Add probe
27231 memory_arena_reuse_free_list.
27232 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27233 and memory_arena_reuse.
27234 (arena_get2) [!PER_THREAD]: Likewise.
27235 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27236 memory_arena_reuse_realloc.
27237 * manual/probes.texi: Document them.
27239 * malloc/malloc.c (__libc_free): Add
27240 memory_mallopt_free_dyn_thresholds probe.
27241 (__libc_mallopt): Add multiple memory_mallopt probes.
27242 * manual/probes.texi: Document them.
27244 * malloc/malloc.c: Include stap-probe.h.
27245 (__libc_mallopt): Add memory_mallopt probe.
27246 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27247 * manual/probes.texi: New.
27248 * manual/Makefile (chapters): Add probes.
27249 * manual/threads.texi: Set next node.
27251 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27253 [BZ #15963, #13985]
27254 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27255 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27256 Add `Chinese' to `nan' entry name.
27258 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27260 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27261 (POLYNOMIAL): Likewise.
27262 (TAYLOR_SINCOS): Likewise.
27263 (TAYLOR_SLOW): Likewise.
27264 (__sin): Use TAYLOR_SINCOS.
27266 (slow): Use TAYLOR_SLOW.
27268 (bsloww): Likewise.
27269 (csloww): Likewise.
27271 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27273 * stdlib/strtod_l.c: Fix buffer overrun.
27275 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27277 * benchtests/Makefile (bench): Add sincos.
27278 * benchtests/bench-sincos.c: New file.
27280 * math/libm-test.inc (cos_test_data): New test inputs.
27281 (sin_test_data): Likewise.
27283 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27289 (sloww1): Likewise.
27290 (sloww2): Likewise.
27291 (bsloww1): Likewise.
27292 (bsloww2): Likewise.
27293 (cslow2): Likewise.
27294 (csloww1): Likewise.
27295 (csloww2): Likewise.
27297 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27302 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27306 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27308 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27309 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27310 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27311 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27312 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27313 * elf/cache.c (print_entry): Handle the new cache flags.
27315 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27316 Aldy Hernandez <aldyh@redhat.com>
27318 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27319 Change condition to [_SOFT_FLOAT].
27320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27332 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27335 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27338 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27340 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27341 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27342 (__longjmp): Use LOAD_GP to load saved GPRs.
27343 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27344 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27345 (__sigsetjmp): Use SAVE_GP to save GPRs.
27347 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27348 Do not append -msoft-float.
27349 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27351 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27353 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27355 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27358 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27359 (_FPU_GETCW): Use initial "__" on variable and field names but not
27360 on macro parameter name.
27361 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27362 parentheses around reference to macro parameter.
27364 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27366 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27368 (ctype_startup): Use uint32_t in cast and sizeof for
27371 2013-09-11 Jia Liu <proljc@gmail.com>
27373 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27375 [__FreeBSD__]: Likewise.
27377 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27380 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27381 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27382 (strchr): Remove __strchr_sse42 ifunc selection.
27383 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27384 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27386 2013-09-11 Will Newton <will.newton@linaro.org>
27388 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27389 parameter to RES. Remove hardcoded 1000 value.
27390 * benchtests/bench-skeleton.c (main): Pass RES parameter
27391 to TIMING_INIT and multiply result by 1000.
27393 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27397 2013-09-11 Andreas Schwab <schwab@suse.de>
27399 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27401 (O_TMPFILE) [__USE_GNU]: Define.
27402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27405 2013-09-11 Will Newton <will.newton@linaro.org>
27408 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27411 2013-09-11 Will Newton <will.newton@linaro.org>
27414 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27417 2013-09-11 Will Newton <will.newton@linaro.org>
27420 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27423 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27425 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27426 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27427 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27428 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27429 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27431 2013-09-10 Allan McRae <allan@archlinux.org>
27434 * manual/arith.texi (Parsing of Floats): Clarify
27438 * manual/install.texi (Running make install): Mention
27440 * INSTALL: Regenerated.
27442 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27444 * csu/init-first.c (_init): Remove the !SHARED condition around
27445 FPU control word initialization.
27446 * elf/dl-support.c (_dl_fpu_control): New variable.
27447 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27448 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27449 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27450 * math/test-fpucw-static.c: New file.
27451 * math/test-fpucw-ieee.c: New file.
27452 * math/test-fpucw-ieee-static.c: New file.
27453 * math/Makefile (tests): Add `test-fpucw-ieee' and
27455 (tests-static): New variable.
27456 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27458 [($(build-shared),yes)]
27459 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27461 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27464 2013-09-09 Allan McRae <allan@archlinux.org>
27467 * manual/string.texi (Collation Functions): Fix typo in
27469 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27472 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27475 * libio/memstream.c (open_memstream): Fix memory leak.
27476 * libio/wmemstream.c (open_wmemstream): Likewise.
27479 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27481 2013-09-09 Will Newton <will.newton@linaro.org>
27483 * malloc/Makefile: Add tst-realloc to tests.
27484 * malloc/tst-realloc.c: New file.
27486 2013-09-09 Allan McRae <allan@archlinux.org>
27489 * COPYING: Update from GNU website to fix FSF address.
27490 * COPYING.LIB: Likewise.
27492 2013-09-06 David S. Miller <davem@davemloft.net>
27494 * po/zh_TW.po: Update Chinese (traditional) translation from
27495 translation project.
27497 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27498 Joseph Myers <joseph@codesourcery.com>
27500 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27502 (obstack_chunk_alloc): New macro.
27503 (obstack_chunk_free): Likewise.
27504 (record_offset): New function.
27505 (init_locale_data): Likewise.
27506 (align_locale_data): Likewise.
27507 (add_locale_empty): Likewise.
27508 (add_locale_raw_data): Likewise.
27509 (add_locale_raw_obstack): Likewise.
27510 (add_locale_string): Likewise.
27511 (add_locale_wstring): Likewise.
27512 (add_locale_uint32): Likewise.
27513 (add_locale_uint32_array): Likewise.
27514 (add_locale_char): Likewise.
27515 (start_locale_structure): Likewise.
27516 (end_locale_structure): Likewise.
27517 (start_locale_prelude): Likewise.
27518 (end_locale_prelude): Likewise.
27519 (write_locale_data): Take locale_file structure rather than an
27521 * locale/programs/locfile.h: Include "obstack.h".
27522 (struct locale_file): Change to store locale file contents instead
27524 (init_locale_data): New prototype.
27525 (align_locale_data): Likewise.
27526 (add_locale_empty): Likewise.
27527 (add_locale_raw_data): Likewise.
27528 (add_locale_raw_obstack): Likewise.
27529 (add_locale_string): Likewise.
27530 (add_locale_wstring): Likewise.
27531 (add_locale_uint32): Likewise.
27532 (add_locale_uint32_array): Likewise.
27533 (add_locale_char): Likewise.
27534 (start_locale_structure): Likewise.
27535 (end_locale_structure): Likewise.
27536 (start_locale_prelude): Likewise.
27537 (end_locale_prelude): Likewise.
27538 (write_locale_data): Update prototype.
27539 * locale/programs/3level.h (struct TABLE): Remove result field.
27540 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27541 Use new locale_file interface.
27542 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27543 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27544 * locale/programs/ld-address.c (address_output): Use new
27545 locale_file interface.
27546 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27548 (collate_finish): Don't call collseq_table_finalize.
27549 (collate_output): Use new locale_file interface.
27550 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27552 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27553 (TABLE): Move defines earlier in file.
27554 (ELEMENT): Likewise.
27555 (DEFAULT): Likewise.
27556 (wctrans_table_add): Move macro and inline function earlier in
27558 (struct wctype_table): Move type earlier in file.
27559 (add_locale_wctype_table): New static prototype.
27560 (struct locale_ctype_t): Use logical types instead of struct iovec
27561 pointers for members.
27562 (ctype_output): Use new locale_file interface.
27563 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27564 new locale_file interface.
27565 (allocate_arrays): Update for use of new locale_file interface.
27566 * locale/programs/ld-identification.c (identification_output): Use
27567 new locale_file interface.
27568 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27569 * locale/programs/ld-messages.c (messages_output): Likewise.
27570 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27571 * locale/programs/ld-name.c (name_output): Likewise.
27572 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27573 * locale/programs/ld-paper.c (paper_output): Likewise.
27574 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27575 * locale/programs/ld-time.c (time_output): Likewise.
27577 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27579 * benchtests/Makefile: Add memrchr benchmark.
27580 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27581 benchmark as memrchr.
27582 * benchtests/bench-memrchr-ifunc.c: New file.
27583 * benchtests/bench-memrchr.c: New file.
27585 2013-09-06 Will Newton <will.newton@linaro.org>
27587 * benchtests/Makefile (string-bench): Add memcpy.
27589 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27590 Cong Wang <amwang@redhat.com>
27593 * sysdeps/unix/sysv/linux/bits/in.h
27594 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27595 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27596 before __USE_KERNEL_IPV6_DEFS uses.
27597 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27599 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27600 sockaddr_in6, or ipv6_mreq.
27602 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27604 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27605 memory access for final bytes in some large inputs.
27606 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27608 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27610 * string/test-memrchr.c: New file.
27611 * string/test-memrchr-ifunc.c: New file.
27612 * string/Makefile: Add new memrchr testcase.
27614 2013-09-05 Mike Frysinger <vapier@gentoo.org>
27616 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27617 fanotify_init returns EPERM.
27619 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27621 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27623 (top level): Treat second token from macro or constant entries for
27624 allowed headers as allowed.
27625 * include/complex.h: Condition internal declarations on
27627 * include/fenv.h: Condition include of <stdbool.h> and internal
27628 declarations on [!_ISOMAC].
27630 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27633 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27635 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27637 * configure.in (--enable-versioning): Remove configure option.
27638 (libc_cv_asm_symver_directive): Remove configure test.
27639 (libc_cv_ld_version_script_option): Likewise.
27640 (VERSIONING): Remove variable and AC_SUBST.
27641 (DO_VERSIONING): Remove AC_DEFINE.
27642 * configure: Regenerated.
27643 * config.h.in (DO_VERSIONING): Remove macro.
27644 * Makerules [$(versioning) = yes]: Change conditionals to
27645 [$(build-shared) = yes].
27646 * config.make.in (versioning): Remove variable.
27647 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27648 [$(build-shared) = yes].
27649 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27650 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27651 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27652 [$(build-shared) = yes].
27653 * extra-lib.mk [$(versioning) = yes]: Likewise.
27654 * hurd/Makefile [$(versioning) = yes]: Likewise.
27655 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27657 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27659 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27660 [SHARED && !NO_HIDDEN].
27661 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27663 [SHARED && DO_VERSIONING]: Likewise..
27664 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27665 [$(build-shared) = yes].
27666 * manual/install.texi (--disable-versioning): Remove
27668 * INSTALL: Regenerated.
27669 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27671 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27672 [$(build-shared) = yes].
27673 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27674 * sysdeps/i386/i686/multiarch/strstr-c.c
27675 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27676 [SHARED && !NO_HIDDEN].
27677 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27678 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27679 * sysdeps/powerpc/powerpc32/dl-machine.c
27680 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27681 * sysdeps/powerpc/powerpc32/sysdep.h
27682 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27683 to [SHARED && PIC && !NO_HIDDEN].
27684 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27685 conditional to [SHARED].
27687 2013-09-04 Will Newton <will.newton@linaro.org>
27689 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27690 * benchtests/bench-string.h: Include bench-timing.h instead
27691 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27692 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27693 call to HP_TIMING_DIFF_INIT.
27694 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27695 instead of hp-timing.h macros.
27696 * benchtests/bench-memchr.c: Likewise.
27697 * benchtests/bench-memcmp.c: Likewise.
27698 * benchtests/bench-memcpy.c: Likewise.
27699 * benchtests/bench-memmem.c: Likewise.
27700 * benchtests/bench-memmove.c: Likewise.
27701 * benchtests/bench-memset.c: Likewise.
27702 * benchtests/bench-rawmemchr.c: Likewise.
27703 * benchtests/bench-strcasecmp.c: Likewise.
27704 * benchtests/bench-strcasestr.c: Likewise.
27705 * benchtests/bench-strcat.c: Likewise.
27706 * benchtests/bench-strchr.c: Likewise.
27707 * benchtests/bench-strcmp.c: Likewise.
27708 * benchtests/bench-strcpy.c: Likewise.
27709 * benchtests/bench-strcpy_chk.c: Likewise.
27710 * benchtests/bench-strlen.c: Likewise.
27711 * benchtests/bench-strncasecmp.c: Likewise.
27712 * benchtests/bench-strncat.c: Likewise.
27713 * benchtests/bench-strncmp.c: Likewise.
27714 * benchtests/bench-strncpy.c: Likewise.
27715 * benchtests/bench-strnlen.c: Likewise.
27716 * benchtests/bench-strpbrk.c: Likewise.
27717 * benchtests/bench-strrchr.c: Likewise.
27718 * benchtests/bench-strspn.c: Likewise.
27719 * benchtests/bench-strstr.c: Likewise.
27721 2013-09-04 Will Newton <will.newton@linaro.org>
27723 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27725 2013-09-03 Joseph Myers <joseph@codesourcery.com>
27728 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27729 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27730 * math/libm-test.inc (lgamma_test_data): Add more tests.
27731 * sysdeps/i386/fpu/libm-test-ulps: Update.
27732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27734 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
27736 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27737 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27740 Add strcmp-sse2-unaligned
27741 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27743 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27745 * Versions.def (libc): Add GLIBC_2.19.
27747 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27749 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27750 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27752 2013-09-02 Joseph Myers <joseph@codesourcery.com>
27755 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27756 intermediate calculations in recurrence.
27757 (__ieee754_ynf): Likewise.
27758 * math/libm-test.inc (jn_test_data): Do not allow spurious
27759 underflow exception. Add more tests.
27760 (yn_test_data): Add more tests.
27761 * sysdeps/i386/fpu/libm-test-ulps: Update.
27762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27764 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
27766 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27768 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27770 * csu/init-first.c: Fix then/than typos.
27771 * locale/programs/ld-collate.c: Likewise.
27772 * locale/programs/linereader.h: Likewise.
27773 * manual/charset.texi: Likewise.
27774 * manual/filesys.texi: Likewise.
27775 * manual/stdio.texi: Likewise.
27776 * manual/string.texi: Likewise.
27777 * stdlib/fmtmsg.c: Likewise.
27778 * sysdeps/i386/stpncpy.S: Likewise.
27779 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27780 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27781 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27782 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27784 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27786 * elf/dl-open.c: Fix typos.
27787 * iconvdata/gbbig5.c: Likewise.
27788 * iconvdata/iso-2022-jp.c: Likewise.
27789 * iconv/gconv_int.h: Likewise.
27790 * iconv/loop.c: Likewise.
27791 * nis/rpcsvc/nis.h: Likewise.
27792 * resolv/ns_name.c: Likewise.
27793 * stdio-common/vfscanf.c: Likewise.
27794 * streams/stropts.h: Likewise.
27795 * sunrpc/rpc_thread.c: Likewise.
27796 * sysdeps/i386/strpbrk.S: Likewise.
27797 * sysdeps/ieee754/k_standard.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27800 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27801 * sysdeps/mach/hurd/profil.c: Likewise.
27802 * sysdeps/s390/dl-procinfo.h: Likewise.
27803 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27804 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27805 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27806 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27807 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27809 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27811 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27814 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27816 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27817 aix specific files.
27818 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27819 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27820 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27821 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27822 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27823 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27824 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27825 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27827 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27828 Roland McGrath <roland@hack.frob.com>
27830 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27831 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27833 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27835 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27836 __executable_start symbol instead of _start.
27838 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27840 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27841 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27843 * sysdeps/gnu/ldsodefs.h: ... this new file.
27845 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27846 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27847 instead of ELFOSABI_LINUX.
27849 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27850 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27851 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27852 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27854 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27855 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27856 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27858 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27859 (ibm_extended_long_double): Add ieee_nan member.
27860 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27861 (do_test): New function.
27863 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27865 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27866 functions, renamed from truncdfsf_test, trunctfsf_test,
27868 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27870 (do_test): Run all these.
27872 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27874 * argp/argp-help.c: Fix typos.
27875 * argp/argp-parse.c: Likewise.
27876 * debug/backtracesyms.c: Likewise.
27877 * elf/elf.h: Likewise.
27878 * malloc/malloc.c: Likewise.
27879 * nis/nis_print.c: Likewise.
27880 * resolv/res_comp.c: Likewise.
27881 * stdlib/stdlib.h: Likewise.
27882 * sunrpc/clnt_tcp.c: Likewise.
27883 * sunrpc/clnt_udp.c: Likewise.
27884 * sunrpc/clnt_unix.c: Likewise.
27885 * sysdeps/unix/bsd/ptsname.c: Likewise.
27886 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27887 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27894 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27896 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27898 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27901 2013-08-27 Mike Frysinger <vapier@gentoo.org>
27904 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27905 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27906 ($(objpfx)bug-dl-leaf): New rule.
27907 ($(objpfx)bug-dl-leaf.so): Likewise.
27908 ($(objpfx)bug-dl-leaf.out): Likewise.
27909 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27910 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27911 * dlfcn/bug-dl-leaf.c: New test.
27912 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27913 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27914 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27915 (dlclose): Likewise.
27916 (dlmopen): Likewise.
27918 2013-08-27 Roland McGrath <roland@hack.frob.com>
27920 * include/netdb.h [!_ISOMAC]:
27921 Don't include <tls.h>.
27922 (h_errno, __libc_h_errno): Move declaration and macros out of
27925 * include/resolv.h [_RESOLV_H_]:
27926 Don't include <tls.h>.
27927 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27928 * resolv/res_libc.c: Don't include <tls.h>.
27929 (_res): Use __attribute__ ((nocommon)) in place of
27930 __attribute__ ((section (".bss"))).
27932 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27933 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27935 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27937 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27938 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27940 * resolv/res_mkquery.c: Include <sys/time.h>.
27942 * inet/ifreq.c: Moved to ...
27943 * sysdeps/unix/ifreq.c: ... here.
27944 * inet/ifreq.c: New file, true stub version.
27946 * socket/sa_len.c: New file.
27947 * socket/Makefile (aux): Add it.
27948 * sysdeps/unix/sysv/linux/Makefile
27949 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27950 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27951 and #include <socket/sa_len.c>.
27952 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27953 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27955 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27956 * bits/socket.h: ... here.
27958 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27959 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27960 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27962 2013-08-27 Andreas Schwab <schwab@suse.de>
27965 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27966 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27967 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27968 * string/test-strcasecmp.c (test_main): Run tests in several
27970 * string/test-strncasecmp.c (test_main): Likewise.
27972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27973 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27974 to __strcasecmp_nonascii and __strncasecmp_nonascii.
27975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27976 (__strncasecmp_ssse3) [PIC]: Likewise.
27978 2013-08-26 Roland McGrath <roland@hack.frob.com>
27980 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27982 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27983 instead of explicitly declaring xdecrypt.
27984 * nis/nss_nis/nis-publickey.c: Likewise.
27986 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27989 * nscd/aicache.c: Include res_hconf.h.
27990 (addhstaiX): Initialize res_hconf.
27992 2013-08-26 Andreas Schwab <schwab@suse.de>
27994 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27995 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27997 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27999 * nscd/aicache.c (addhstaiX): Fix indentation.
28001 2013-08-25 Mike Frysinger <vapier@gentoo.org>
28003 * configure.ac: Quote $build_pt_chown test.
28004 * configure: Regenerated.
28006 2013-08-23 Joseph Myers <joseph@codesourcery.com>
28009 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28010 * math/s_cexpf.c (__cexpf): Likewise.
28011 * math/s_cexpl.c (__cexpl): Likewise.
28012 * math/libm-test.inc (cexp_test_data): Correct expected return
28013 value for NaN + i0. Add another test.
28015 2013-08-22 David S. Miller <davem@davemloft.net>
28017 * po/ca.po: Update Catalan translation from translation project.
28018 * po/uk.po: Add Ukrainian translations from translation project.
28020 2013-08-21 Joseph Myers <joseph@codesourcery.com>
28023 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28024 is infinite, not alongside NaN test.
28025 * math/s_fdimf.c (__fdimf): Likewise.
28026 * math/s_fdiml.c (__fdiml): Likewise.
28027 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
28028 errno is unchanged.
28030 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28032 * argp/argp-help.c: Fix typos.
28033 * crypt/speeds.c: Likewise.
28034 * csu/check_fds.c: Likewise.
28035 * elf/dl-load.c: Likewise.
28036 * elf/dl-open.c: Likewise.
28037 * elf/reldep3.c: Likewise.
28038 * elf/reldep.c: Likewise.
28039 * elf/sprof.c: Likewise.
28040 * iconv/iconv_charmap.c: Likewise.
28041 * iconv/skeleton.c: Likewise.
28042 * iconv/strtab.c: Likewise.
28043 * io/lockf64.c: Likewise.
28044 * libio/libioP.h: Likewise.
28045 * resolv/gai_notify.c: Likewise.
28046 * resolv/ns_name.c: Likewise.
28047 * resolv/ns_samedomain.c: Likewise.
28048 * resolv/res_send.c: Likewise.
28049 * stdlib/random.c: Likewise.
28050 * sunrpc/rpc/xdr.h: Likewise.
28051 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28052 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28053 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28054 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28055 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28056 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28058 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28059 * sysdeps/mach/hurd/check_fds.c: Likewise.
28060 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28061 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28062 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28063 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28064 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28065 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28066 * sysdeps/pthread/aio_notify.c: Likewise.
28067 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28068 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28069 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28071 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28073 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28075 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28076 version if bit_Slow_SSE4_2 is set.
28077 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28078 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28080 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28083 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28084 trampoline stack frame information.
28085 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28086 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28087 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28088 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28089 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28090 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28091 (_libc_vdso_platform_setup): Initialize the signal trampolines.
28092 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28094 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28095 interrupting a syscall and set with option SA_SIGINFO.
28097 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28100 * math/s_cproj.c (__cproj): Only return an infinity if one part of
28101 argument is infinite.
28102 * math/s_cprojf.c (__cprojf): Likewise.
28103 * math/s_cprojl.c (__cprojl): Likewise.
28104 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28105 * math/libm-test.inc (cproj_test_data): Add more tests.
28107 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28109 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28110 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28111 size. Use __ffs to determine corresponding shift.
28113 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28114 Roland McGrath <roland@hack.frob.com>
28116 * Makefile (INSTALL): Remove trailing blank lines from output of
28119 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28121 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28122 Align 32 bit compat elf_greg to 8 bytes.
28124 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28126 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28128 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28130 * string/strcoll_l.c (coll_seq): New structure.
28131 (get_next_seq_cached): New function.
28132 (get_next_seq): New function.
28133 (do_compare): New function.
28134 (STRCOLL): Use GNU style definition. Simplify implementation
28135 by using get_next_seq, get_next_seq_cached and do_compare.
28137 2013-08-16 Florian Weimer <fweimer@redhat.com>
28141 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28143 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28145 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28146 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28147 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
28149 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28150 GETDENTS_64BIT_ALIGNED.
28151 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28152 * manual/filesys.texi (Reading/Closing Directory): Document
28153 ENAMETOOLONG return value of readdir_r. Recommend readdir more
28155 * manual/conf.texi (Limits for Files): Add portability note to
28156 NAME_MAX, PATH_MAX.
28157 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28159 2013-08-13 Andreas Schwab <schwab@suse.de>
28162 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28164 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28165 LDBL_MAX_EXP >= 16384]: Add tests for it.
28167 2013-08-12 David S. Miller <davem@davemloft.net>
28169 * version.h (RELEASE): Set to "development".
28170 (VERSION): Set to "2.18.90".
28171 * NEWS: Add 2.19 section.
28173 2013-08-03 David S. Miller <davem@davemloft.net>
28175 * po/ko.po: Update Korean translation from translation project.
28177 2013-08-01 David S. Miller <davem@davemloft.net>
28179 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
28180 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28183 2013-07-30 David S. Miller <davem@davemloft.net>
28185 * po/fr.po: Update French translation from translation project.
28187 2013-07-28 David S. Miller <davem@davemloft.net>
28189 * po/cs.po: Update Czech translation from translation project.
28191 * po/sv.po: Update Swedish translation from translation project.
28193 2013-07-27 David S. Miller <davem@davemloft.net>
28195 * po/eo.po: Update Esperanto translation from translation project.
28197 * po/vi.po: Update Vietnamese translation from translation project.
28199 * po/de.po: Update German translation from translation project.
28201 2013-07-26 David S. Miller <davem@davemloft.net>
28203 * po/bg.po: Update Bulgarian translation from translation project.
28205 * po/nl.po: Update Dutch translation from translation project.
28206 * po/pl.po: Update Polish translation from translation project.
28207 * po/ru.po: Update Russian translation from translation project.
28209 2013-07-24 David S. Miller <davem@davemloft.net>
28211 * po/libc.pot: Update.
28213 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28215 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28216 variable page size.
28217 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28218 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28219 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28221 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28223 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28225 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28226 Andreas Schwab <schwab@suse.de>
28227 Roland McGrath <roland@hack.frob.com>
28228 Joseph Myers <joseph@codesourcery.com>
28229 Carlos O'Donell <carlos@redhat.com>
28232 * config.h.in: Define HAVE_PT_CHOWN.
28233 * config.make.in (build-pt-chown): New variable.
28234 * configure.in (--enable-pt_chown): New configure option.
28235 * configure: Regenerate.
28236 * login/Makefile: Include Makeconfig. Build pt_chown only if
28237 build-pt-chown is enabled.
28238 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28239 pt_chown to fix pty ownership.
28240 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28242 * manual/install.texi (Configuring and compiling): Mention
28243 --enable-pt_chown. Add @findex for grantpt.
28244 * INSTALL: Regenerate.
28246 2013-07-20 David S. Miller <davem@davemloft.net>
28248 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28249 difference between 32-bit and 64-bit.
28251 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28254 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28255 Avoid system header dependency with -ffreestanding.
28256 ($(objpfx)bits/syscall%d): Likewise.
28258 2013-07-13 David S. Miller <davem@davemloft.net>
28260 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28261 underflows from atanl/atan2l due to bug 15319.
28262 (casinh_test_data): Likewise.
28264 2013-07-07 David S. Miller <davem@davemloft.net>
28266 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28268 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28270 * sysdeps/i386/fpu/libm-test-ulps: Update.
28271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28273 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28275 * configure.in (--enable-lock-elision): Fix message text.
28276 * INSTALL: Regenerate.
28277 * configure: Regenerate.
28279 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28283 2013-07-03 Andreas Jaeger <aj@suse.de>
28285 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28287 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28288 (ptrace_peeksiginfo_args): Add.
28289 (__ptrace_peeksiginfo_flags): Add.
28290 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28292 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28294 2013-07-03 Allan McRae <allan@archlinux.org>
28296 * sysdeps/i386/fpu/libm-test-ulps: Update.
28298 2013-07-02 David S. Miller <davem@davemloft.net>
28300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28302 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28306 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28308 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28311 2013-07-02 Andi Kleen <ak@linux.intel.com>
28313 * config.h.in (ENABLE_LOCK_ELISION): Add.
28314 * configure.in (--enable-lock-elision): Add option.
28315 * manual/install.texi: Document --enable lock elision.
28316 * configure: Regenerate
28317 * INSTALL: Regenerate.
28319 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28321 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28322 SSE4.2 strcasecmp for libc.a.
28323 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28325 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28328 * soft-fp/op-common.h (_FP_FMA): New macro.
28329 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28330 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28331 (_FP_MUL_MEAT_1_imm): ... here.
28332 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28333 (_FP_MUL_MEAT_1_wide): ... here.
28334 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28335 (_FP_MUL_MEAT_1_hard): ... here.
28336 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28337 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28338 (_FP_MUL_MEAT_2_wide): ... here.
28339 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28340 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28341 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28342 (_FP_MUL_MEAT_2_gmp): ... here.
28343 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28344 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28345 (_FP_MUL_MEAT_4_wide): ... here.
28346 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28347 (_FP_MUL_MEAT_4_gmp): ... here.
28348 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28349 (_FP_WFRACBITS_DW_S): Likewise.
28350 (_FP_WFRACXBITS_DW_S): Likewise.
28351 (_FP_HIGHBIT_DW_S): Likewise.
28352 (FP_FMA_S): Likewise.
28353 (_FP_FRAC_HIGH_DW_S): Likewise.
28354 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28355 (_FP_WFRACBITS_DW_D): Likewise.
28356 (_FP_WFRACXBITS_DW_D): Likewise.
28357 (_FP_HIGHBIT_DW_D): Likewise.
28358 (FP_FMA_D): Likewise.
28359 (_FP_FRAC_HIGH_DW_D): Likewise.
28360 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28361 (_FP_WFRACBITS_DW_E): Likewise.
28362 (_FP_WFRACXBITS_DW_E): Likewise.
28363 (_FP_HIGHBIT_DW_E): Likewise.
28364 (FP_FMA_E): Likewise.
28365 (_FP_FRAC_HIGH_DW_E): Likewise.
28366 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28367 (_FP_WFRACBITS_DW_Q): Likewise.
28368 (_FP_WFRACXBITS_DW_Q): Likewise.
28369 (_FP_HIGHBIT_DW_Q): Likewise.
28370 (FP_FMA_Q): Likewise.
28371 (_FP_FRAC_HIGH_DW_Q): Likewise.
28372 * soft-fp/fmasf4.c: New file.
28373 * soft-fp/fmadf4.c: Likewise.
28374 * soft-fp/fmatf4.c: Likewise.
28376 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28379 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28381 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28383 (index_Slow_SSE4_2): Likewise.
28384 (index_Prefer_PMINUB_for_stringop): Likewise.
28385 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28386 bit_Slow_SSE4_2 is set.
28387 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28388 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28390 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28392 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28393 rtld_global._dl_hwcap2.
28394 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28396 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28397 POWER8 feature descriptions defined in _dl_hwcap2.
28398 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28399 string handling for POWER8 feature bits.
28400 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28401 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28402 _dl_powerpc_cap_flags.
28403 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28404 * sysdeps/powerpc/rtld-global-offsets.sym
28405 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28406 _dl_hwcap2 in the rtld_global_ro structure.
28408 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28410 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28411 hardware capabilities in support of AT_HWCAP2.
28412 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28413 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28415 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28416 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28417 explicitly the unknown a_type display mechanism is used.
28418 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28419 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28421 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28422 to macro prototype for AT_HWCAP2 support.
28423 * sysdeps/i386/dl-procinfo.h: Likewise.
28424 * sysdeps/s390/dl-procinfo.h: Likewise.
28425 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28426 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28427 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28428 return -1 for unknown a_type display fallback.
28429 * sysdeps/sparc/dl-procinfo.h: Likewise.
28430 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28431 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28433 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28435 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28436 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28438 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28441 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28442 mprotect making __stack_prot writable.
28444 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28445 Joseph Myers <joseph@codesourcery.com>
28447 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28448 as being properly aligned.
28450 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28452 * dlfcn/modstatic5.c: New file.
28453 * dlfcn/tststatic5.c: New file.
28454 * dlfcn/Makefile (tests): Add tststatic5.
28455 (tests-static): Likewise.
28456 (modules-names): Add modstatic5.
28457 (tststatic5-ENV): New variable.
28458 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28461 * elf/dl-support.c (_dl_main_map): New variable.
28462 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28463 (_dl_nns, _dl_load_adds): Set to 1.
28464 (_dl_initial_searchlist): Refer to _dl_main_map.
28465 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28466 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28467 call to _dl_get_origin.
28468 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28470 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28471 * dlfcn/modstatic3.c: New file.
28472 * dlfcn/tststatic3.c: New file.
28473 * dlfcn/tststatic4.c: New file.
28474 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28475 (tests-static): Likewise.
28476 (modules-names): Add modstatic3.
28477 (tststatic3-ENV, tststatic4-ENV): New variables.
28478 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28479 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28481 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28483 * configure.in (CC): Require GCC version 4.4 or later.
28484 * configure: Regenerated.
28485 * manual/install.texi (Tools for Compilation): Update GCC version
28487 * INSTALL: Regenerated.
28489 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28492 * string/test-memcmp.c (check2): New.
28493 (main): Call check2.
28495 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28497 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28500 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28502 (dl_open_worker) [!SHARED]: ... here.
28504 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28506 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28508 2013-06-25 Richard Henderson <rth@redhat.com>
28510 * locale/programs/locarchive.c: Include <libc-internal.h>
28512 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28514 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28515 trailing whitespace removed.
28517 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28520 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28521 * locale/programs/locarchive.c: Include libc-mmap.h.
28522 (prepare_address_space): Take two new outputs (the mmap base and len).
28523 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28525 (create_archive): Declare new mmap base and len values for
28526 prepare_address_space, and store the result in ah.
28527 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28528 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28529 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28530 Declare new mmap base and len values for
28531 prepare_address_space, and store the result in new_ah.
28532 (open_archive): Declare new mmap base and len values for
28533 prepare_address_space, and store the result in ah.
28534 (close_archive): If ah->mmap_base is not NULL, use that and
28535 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28536 * sysdeps/generic/libc-mmap.h: New file.
28538 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28540 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28541 (ALIGN_UP): Likewise.
28542 (PTR_ALIGN_DOWN): Likewise.
28543 (PTR_ALIGN_UP): Likewise.
28545 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28547 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28548 entry mapped to PPC_PLATFORM_POWER8.
28549 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28551 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28552 (_dl_string_platform): Add case for exporting platform position for
28554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28555 search path to sysdeps/powerpc/powerpc32/power8 directory.
28556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28557 search path to sysdeps/powerpc/powerpc64/power8 directory.
28558 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28559 power7 directories.
28560 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28561 power7 directories.
28563 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28565 * INSTALL: Regenerate.
28567 * nscd/connections.c (nscd_init): Fix comment.
28569 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28571 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28574 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28575 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28577 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28579 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28581 (DL_DST_REQ_STATIC): Remove macro.
28583 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28586 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28587 with a shift of 0 bits.
28589 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28591 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28594 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28597 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28599 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28601 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28602 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28603 accepts -fno-tree-loop-distribute-patterns.
28604 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28605 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28607 * string/memset.c (memset): Likewise.
28608 * string/test-memmove.c (simple_memmove): Disable loop transformation
28610 * string/test-memset.c (simple_memset): Likewise.
28611 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28612 * benchtests/bench-memset.c (simple_memset): Likewise.
28613 * configure: Regenerated.
28615 2013-06-20 Joseph Myers <joseph@codesourcery.com>
28617 * math/test-misc.c (main): Ignore fesetround failure when failures
28618 of subsequent rounding tests would be ignored.
28621 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28622 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28623 * math/fegetenv.c (__fegetenv): Return 0.
28624 * math/fegetexcept.c (fegetexcept): Return 0.
28625 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28627 * math/feholdexcpt.c (feholdexcept): Return 0.
28628 * math/fesetenv.c (__fesetenv): Return 0.
28629 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28630 argument FE_TONEAREST.
28631 * math/feupdateenv.c (__feupdateenv): Return 0.
28632 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28634 2013-06-18 Roland McGrath <roland@hack.frob.com>
28636 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28637 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28638 ($(objpfx)rtld-%.os rules): Use them.
28640 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28642 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28645 2013-06-17 Roland McGrath <roland@hack.frob.com>
28647 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28648 length of target pattern, then descending length of dependency pattern.
28649 * configure.in (AWK): Require gawk 3.1.2 or newer.
28650 * manual/install.texi (Tools for Compilation): Say that we do.
28651 * configure: Regenerated.
28653 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28654 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28655 * scripts/sysd-rules.awk: ... this new script.
28656 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28657 than a glob-style pattern.
28659 2013-06-17 Joseph Myers <joseph@codesourcery.com>
28661 * math/test-misc.c (main): Do not treat incorrectly rounded
28662 conversions as failure unless ROUNDING_TESTS passes.
28664 2013-06-15 Joseph Myers <joseph@codesourcery.com>
28667 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28668 restore exception state around main square root computation, then
28669 check for inexactness explicitly.
28671 * math/libm-test.inc (fma_test_data): Add another test.
28673 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28675 * manual/threads.texi (Non-POSIX Extensions): New document
28676 node. Document pthread_getattr_default_np and
28677 pthread_setattr_default_np.
28679 * Versions.def (libpthread): Add GLIBC_2.18.
28680 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28689 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28700 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28703 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28705 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28706 H.J. Lu <hjl.tools@gmail.com>
28709 * sysdeps/x86_64/rtld-memset.c: Remove file.
28710 * sysdeps/x86_64/rtld-memset.S: New file.
28712 2013-06-14 Joseph Myers <joseph@codesourcery.com>
28714 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28715 (test_in_one_mode): Take arguments for whether the rounding mode
28716 is supported for each floating-point type.
28717 (do_test): Pass new arguments to test_in_one_mode using
28720 2013-06-13 Roland McGrath <roland@hack.frob.com>
28722 * posix/tst-waitid.c (do_test): Distinguish different instances of
28723 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28724 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28725 before entering the kernel for waitpid.
28727 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28729 * NEWS: Fix note on clock function precision. Text by Roland
28732 2013-06-13 Roland McGrath <roland@hack.frob.com>
28734 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28735 it into place only when and if the sanity check passes.
28737 2013-06-13 Joseph Myers <joseph@codesourcery.com>
28739 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28740 output for whether conversion result is exact. Take argument
28741 indicating whether type is IBM long double.
28742 (round_for_all): Change need_exact field to ibm_ld.
28743 * stdlib/tst-strtod-round.c (struct exactness): New type.
28744 (struct test): Change bool ld_ok field to struct exactness exact.
28745 (TEST): Update all definitions for change to field.
28746 (tests): Regenerate array contents.
28747 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28748 field value. Check for IBM long double here.
28749 (do_test): Update calls to test_in_one_mode.
28751 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28754 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28755 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28757 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28760 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28761 generated by the compiler on loop optimizations.
28762 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28763 general definitions.
28765 2013-06-12 Joseph Myers <joseph@codesourcery.com>
28767 * math/bug-nextafter.c: Include <math-tests.h>.
28768 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28770 * math/bug-nexttoward.c: Include <math-tests.h>.
28771 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28773 * math/test-misc.c: Include <math-tests.h>.
28774 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28777 2013-06-12 Andreas Jaeger <aj@suse.de>
28779 * po/ia.po: Update Interlingua translation from translation
28782 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28784 * include/fenv.h: Include stdbool.h.
28785 (struct rm_ctx): New structure.
28786 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28788 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28789 (SET_RESTORE_ROUNDF): Likewise.
28790 (SET_RESTORE_ROUNDL): Likewise.
28791 (SET_RESTORE_ROUND_NOEX): Likewise.
28792 (SET_RESTORE_ROUND_NOEXF): Likewise.
28793 (SET_RESTORE_ROUND_NOEXL): Likewise.
28794 (SET_RESTORE_ROUND_53BIT): Likewise.
28795 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28796 (libc_feresetround_noexf_ctx): Likewise.
28797 (libc_feresetround_noexl_ctx): Likewise.
28798 (libc_feholdsetround_53bit_ctx): Likewise.
28799 (libc_feresetround_53bit_ctx): Likewise.
28800 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28801 (libc_feholdexcept_setround_sse_ctx): New function.
28802 (libc_fesetenv_sse_ctx): Likewise.
28803 (libc_feupdateenv_sse_ctx): Likewise.
28804 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28805 (libc_feholdexcept_setround_387_ctx): Likewise.
28806 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28807 (libc_feholdsetround_387_prec_ctx): Likewise.
28808 (libc_feholdsetround_387_ctx): Likewise.
28809 (libc_feholdsetround_387_53bit_ctx): Likewise.
28810 (libc_feholdsetround_sse_ctx): Likewise.
28811 (libc_feresetround_sse_ctx): Likewise.
28812 (libc_feresetround_387_ctx): Likewise.
28813 (libc_feupdateenv_387_ctx): Likewise.
28814 (libc_feholdexcept_setroundf_ctx): Define macro.
28815 (libc_fesetenvf_ctx): Likewise.
28816 (libc_feupdateenvf_ctx): Likewise.
28817 (libc_feholdsetroundf_ctx): Likewise.
28818 (libc_feresetroundf_ctx): Likewise.
28819 (libc_feholdexcept_setround_ctx): Likewise.
28820 (libc_fesetenv_ctx): Likewise.
28821 (libc_feupdateenv_ctx): Likewise.
28822 (libc_feholdsetround_ctx): Likewise.
28823 (libc_feresetround_ctx): Likewise.
28824 (libc_feholdexcept_setroundl_ctx): Likewise.
28825 (libc_feupdateenvl_ctx): Likewise.
28826 (libc_feholdsetroundl_ctx): Likewise.
28827 (libc_feresetroundl_ctx): Likewise.
28828 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28829 (libc_feresetround_53bit_ctx): Likewise.
28831 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28833 * locale/iso-639.def: Convert to UTF-8.
28835 2013-06-11 Joseph Myers <joseph@codesourcery.com>
28837 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28838 (EXCEPTION_TESTS_double): Likewise.
28839 (EXCEPTION_TESTS_long_double): Likewise.
28840 (EXCEPTION_TESTS): Likewise.
28841 * math/libm-test.inc (test_exceptions): Only test exceptions if
28842 EXCEPTION_TESTS (FLOAT).
28844 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28846 * benchtests/Makefile (string-bench): Add strcpy_chk and
28848 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28849 * benchtests/bench-stpcpy_chk.c: New file.
28850 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28851 * benchtests/bench-strcpy_chk.c: New file.
28852 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28854 (do_test): Likewise.
28856 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28858 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28859 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28860 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28861 with tabs where appropriate.
28862 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28864 [PPC_PLATFORM_PPC440]: Likewise.
28865 [PPC_PLATFORM_PPC464]: Likewise.
28866 [PPC_PLATFORM_PPC476]: Likewise.
28867 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28868 ppc464, and ppc476 platform strings merging from ports/
28871 2013-06-11 Andreas Schwab <schwab@suse.de>
28874 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28875 (from_ucs4_idx): Regenerate.
28876 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28877 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28878 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28879 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28880 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28881 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28882 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28883 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28884 from FROM_LOOP and TO_LOOP specific macros.
28885 (BODY): Handle combining characters.
28886 * iconvdata/BIG5HKSCS.irreversible: Update.
28887 * iconvdata/BIG5HKSCS.precomposed: New file.
28888 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28890 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28892 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28894 * include/sys/time.h: Fix indentation and add copyright header.
28896 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28897 (do_test): Likewise.
28898 * string/test-memchr.c (do_one_test): Likewise.
28899 (do_test): Likewise.
28900 * string/test-memcmp.c (do_one_test): Likewise.
28901 (do_test): Likewise.
28902 * string/test-memcpy.c (do_one_test): Likewise.
28903 (do_test): Likewise.
28904 * string/test-memmem.c (do_one_test): Likewise.
28905 (do_test): Likewise.
28906 (do_random_tests): Likewise.
28907 * string/test-memmove.c (do_one_test): Likewise.
28908 (do_test): Likewise.
28909 * string/test-memset.c (do_one_test): Likewise.
28910 (do_test): Likewise.
28911 * string/test-rawmemchr.c (do_one_test): Likewise.
28912 (do_test): Likewise.
28913 * string/test-strcasecmp.c (do_one_test): Likewise.
28914 (do_test): Likewise.
28915 * string/test-strcasestr.c (do_one_test): Likewise.
28916 (do_test): Likewise.
28917 * string/test-strcat.c (do_one_test): Likewise.
28918 (do_test): Likewise.
28919 * string/test-strchr.c (do_one_test): Likewise.
28920 (do_test): Likewise.
28921 * string/test-strcmp.c (do_one_test): Likewise.
28922 (do_test): Likewise.
28923 * string/test-strcpy.c (do_one_test): Likewise.
28924 (do_test): Likewise.
28925 * string/test-string.h: Likewise.
28926 (test_init): Likewise.
28927 * string/test-strlen.c (do_one_test): Likewise.
28928 (do_test): Likewise.
28929 * string/test-strncasecmp.c (do_one_test): Likewise.
28930 (do_test): Likewise.
28931 * string/test-strncat.c (do_one_test): Likewise.
28932 (do_test): Likewise.
28933 * string/test-strncmp.c (do_one_test): Likewise.
28934 (do_test_limit): Likewise.
28935 (do_test): Likewise.
28936 * string/test-strncpy.c (do_one_test): Likewise.
28937 (do_test): Likewise.
28938 * string/test-strnlen.c (do_one_test): Likewise.
28939 (do_test): Likewise.
28940 * string/test-strpbrk.c (do_one_test): Likewise.
28941 (do_test): Likewise.
28942 * string/test-strrchr.c (do_one_test): Likewise.
28943 (do_test): Likewise.
28944 * string/test-strspn.c (do_one_test): Likewise.
28945 (do_test): Likewise.
28946 * string/test-strstr.c (do_one_test): Likewise.
28947 (do_test): Likewise.
28949 * benchtests/Makefile (string-bench): Add string benchmarks.
28950 * benchtests/bench-bcopy-ifunc.c: New file.
28951 * benchtests/bench-bcopy.c: New file.
28952 * benchtests/bench-bzero-ifunc.c: New file.
28953 * benchtests/bench-bzero.c: New file.
28954 * benchtests/bench-memccpy-ifunc.c: New file.
28955 * benchtests/bench-memccpy.c: New file.
28956 * benchtests/bench-memchr-ifunc.c: New file.
28957 * benchtests/bench-memchr.c: New file.
28958 * benchtests/bench-memcmp-ifunc.c: New file.
28959 * benchtests/bench-memcmp.c: New file.
28960 * benchtests/bench-memmem-ifunc.c: New file.
28961 * benchtests/bench-memmem.c: New file.
28962 * benchtests/bench-memmove-ifunc.c: New file.
28963 * benchtests/bench-memmove.c: New file.
28964 * benchtests/bench-mempcpy-ifunc.c: New file.
28965 * benchtests/bench-mempcpy.c: New file.
28966 * benchtests/bench-memset-ifunc.c: New file.
28967 * benchtests/bench-memset.c: New file.
28968 * benchtests/bench-rawmemchr-ifunc.c: New file.
28969 * benchtests/bench-rawmemchr.c: New file.
28970 * benchtests/bench-stpcpy-ifunc.c: New file.
28971 * benchtests/bench-stpcpy.c: New file.
28972 * benchtests/bench-stpncpy-ifunc.c: New file.
28973 * benchtests/bench-stpncpy.c: New file.
28974 * benchtests/bench-strcasecmp-ifunc.c: New file.
28975 * benchtests/bench-strcasecmp.c: New file.
28976 * benchtests/bench-strcasestr-ifunc.c: New file.
28977 * benchtests/bench-strcasestr.c: New file.
28978 * benchtests/bench-strcat-ifunc.c: New file.
28979 * benchtests/bench-strcat.c: New file.
28980 * benchtests/bench-strchr-ifunc.c: New file.
28981 * benchtests/bench-strchr.c: New file.
28982 * benchtests/bench-strchrnul-ifunc.c: New file.
28983 * benchtests/bench-strchrnul.c: New file.
28984 * benchtests/bench-strcmp-ifunc.c: New file.
28985 * benchtests/bench-strcmp.c: New file.
28986 * benchtests/bench-strcpy-ifunc.c: New file.
28987 * benchtests/bench-strcpy.c: New file.
28988 * benchtests/bench-strcspn-ifunc.c: New file.
28989 * benchtests/bench-strcspn.c: New file.
28990 * benchtests/bench-strlen-ifunc.c: New file.
28991 * benchtests/bench-strlen.c: New file.
28992 * benchtests/bench-strncasecmp-ifunc.c: New file.
28993 * benchtests/bench-strncasecmp.c: New file.
28994 * benchtests/bench-strncat-ifunc.c: New file.
28995 * benchtests/bench-strncat.c: New file.
28996 * benchtests/bench-strncmp-ifunc.c: New file.
28997 * benchtests/bench-strncmp.c: New file.
28998 * benchtests/bench-strncpy-ifunc.c: New file.
28999 * benchtests/bench-strncpy.c: New file.
29000 * benchtests/bench-strnlen-ifunc.c: New file.
29001 * benchtests/bench-strnlen.c: New file.
29002 * benchtests/bench-strpbrk-ifunc.c: New file.
29003 * benchtests/bench-strpbrk.c: New file.
29004 * benchtests/bench-strrchr-ifunc.c: New file.
29005 * benchtests/bench-strrchr.c: New file.
29006 * benchtests/bench-strspn-ifunc.c: New file.
29007 * benchtests/bench-strspn.c: New file.
29008 * benchtests/bench-strstr-ifunc.c: New file.
29009 * benchtests/bench-strstr.c: New file.
29011 * benchtests/Makefile: Disable parallel execution of targets.
29012 (string-bench): Add memcpy.
29013 (benchset): New variable to store a list of benchmark sets.
29014 (bench-func): Renamed from bench.
29015 (bench-set): New target.
29016 (bench): Depend on bench-func and bench-set.
29017 * benchtests/README: Add section on benchmark sets.
29018 * benchtests/bench-memcpy-ifunc.c: New file.
29019 * benchtests/bench-memcpy.c: New file.
29020 * benchtests/bench-string.h: New file.
29022 2013-06-11 Andreas Schwab <schwab@suse.de>
29025 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29026 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29027 values in the triple.
29028 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29029 terminator in the group key.
29031 2013-06-11 Andreas Jaeger <aj@suse.de>
29033 * po/zh_TW.po: Update Chinese (traditional) translation from
29034 translation project.
29036 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29038 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29039 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29040 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29041 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29042 (clock_getcpuclockid): Likewise.
29043 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29044 Add weak_alias and libc_hidden_def.
29045 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29046 * rt/clock_gettime.c (clock_gettime): Rename to
29047 __clock_gettime. Add weak_alias and libc_hidden_def.
29048 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29049 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29050 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29051 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29052 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29054 * rt/clock_settime.c (clock_settime): Rename to
29055 __clock_settime. Add weak_alias and libc_hidden_def.
29056 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29058 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29060 * mach/err_boot.sub: Remove trailing whitespace.
29061 * mach/err_ipc.sub: Likewise.
29062 * mach/err_mach.sub: Likewise.
29064 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29065 (ROUNDING_TESTS_double): Likewise.
29066 (ROUNDING_TESTS_long_double): Likewise.
29067 (ROUNDING_TESTS): Likewise.
29068 * math/libm-test.inc: Include <math-tests.h>.
29069 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29070 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29071 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29072 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29074 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29076 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29079 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29081 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29082 otherwise empty TRANS lines.
29083 * sysdeps/gnu/errlist.c: Regenerated.
29085 * catgets/gencat.c (error_print): Use (void) in function
29087 * crypt/crypt_util.c (__init_des): Likewise.
29088 * crypt/speeds.c (Stop): Likewise.
29090 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29091 * inet/ruserpass.c (token): Likewise.
29092 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29093 * intl/localealias.c (extend_alias_table): Likewise.
29094 * intl/plural-exp.c (init_germanic_plural): Likewise.
29095 * libio/fcloseall.c (__fcloseall): Likewise.
29096 * libio/genops.c (_IO_flush_all): Likewise.
29097 (_IO_flush_all_linebuffered): Likewise.
29098 (_IO_cleanup): Likewise.
29099 (_IO_iter_begin): Likewise.
29100 (_IO_iter_end): Likewise.
29101 (_IO_list_lock): Likewise.
29102 (_IO_list_unlock): Likewise.
29103 (_IO_list_resetlock): Likewise.
29104 * libio/getchar.c (getchar): Likewise.
29105 * libio/getchar_u.c (getchar_unlocked): Likewise.
29106 * libio/getwchar.c (getwchar): Likewise.
29107 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29108 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29109 * login/getpt.c (__getpt): Likewise.
29110 * login/tst-utmp.c (main): Likewise.
29111 * malloc/hooks.c (__malloc_check_init): Likewise.
29112 * malloc/malloc.c (__malloc_stats): Likewise.
29113 * malloc/mtrace.c (tr_break): Likewise.
29114 (mtrace): Likewise.
29115 (muntrace): Likewise.
29116 * misc/fstab.c (endfsent): Likewise.
29117 * misc/getclktck.c (__getclktck): Likewise.
29118 * misc/getdtsz.c (__getdtablesize): Likewise.
29119 * misc/gethostid.c (gethostid): Likewise.
29120 * misc/getpagesize.c (__getpagesize): Likewise.
29121 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29122 (__get_nprocs): Likewise.
29123 (__get_phys_pages): Likewise.
29124 (__get_avphys_pages): Likewise.
29125 * misc/getttyent.c (getttyent): Likewise.
29126 (setttyent): Likewise.
29127 (endttyent): Likewise.
29128 * misc/getusershell.c (getusershell): Likewise.
29129 (endusershell): Likewise.
29130 (setusershell): Likewise.
29131 (initshells): Likewise.
29132 * misc/hsearch.c (__hdestroy): Likewise.
29133 * misc/sync.c (sync): Likewise.
29134 * misc/syslog.c (closelog_internal): Likewise.
29135 (closelog): Likewise.
29136 * misc/ttyslot.c (ttyslot): Likewise.
29137 * misc/vhangup.c (vhangup): Likewise.
29138 * posix/fork.c (__fork): Likewise.
29139 * posix/getegid.c (__getegid): Likewise.
29140 * posix/geteuid.c (__geteuid): Likewise.
29141 * posix/getgid.c (__getgid): Likewise.
29142 * posix/getpid.c (__getpid): Likewise.
29143 * posix/getppid.c (__getppid): Likewise.
29144 * posix/getuid.c (__getuid): Likewise.
29145 * posix/pause.c (pause): Likewise.
29146 * posix/setpgrp.c (setpgrp): Likewise.
29147 * posix/setsid.c (__setsid): Likewise.
29148 * posix/test-vfork.c (noop): Likewise.
29149 * resolv/gethnamaddr.c (_endhtent): Likewise.
29150 (_gethtent): Likewise.
29151 (ht_endhostent): Likewise.
29152 (gethostent): Likewise.
29153 (dns_service): Likewise.
29154 * stdlib/drand48.c (drand48): Likewise.
29155 * stdlib/lrand48.c (lrand48): Likewise.
29156 * stdlib/mrand48.c (mrand48): Likewise.
29157 * stdlib/rand.c (rand): Likewise.
29158 * stdlib/random.c (__random): Likewise.
29159 * stdlib/setenv.c (clearenv): Likewise.
29160 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29161 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29162 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29163 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29164 (__get_nprocs): Likewise.
29165 (__get_phys_pages): Likewise.
29166 (__get_avphys_pages): Likewise.
29167 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29168 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29169 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29170 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29171 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29172 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29173 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29174 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29175 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29176 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29177 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29178 * sysdeps/mach/hurd/sync.c (sync): Likewise.
29179 * sysdeps/posix/clock.c (clock): Likewise.
29180 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29181 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29182 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29183 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29184 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29186 (__get_nprocs_conf): Likewise.
29187 (__get_phys_pages): Likewise.
29188 (__get_avphys_pages): Likewise.
29189 * time/clock.c (clock): Likewise.
29190 * time/tzset.c (__tzname_max): Likewise.
29192 2013-06-07 Joseph Myers <joseph@codesourcery.com>
29194 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29195 (__bswap_32): Do not use "register".
29196 * crypt/crypt.c (_ufc_doit_r): Likewise.
29197 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29198 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29199 * gmon/gmon.c (__monstartup): Likewise.
29200 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29201 * hurd/hurdmalloc.c (more_memory): Likewise.
29202 (malloc): Likewise.
29204 (realloc): Likewise.
29205 (malloc_fork_prepare): Likewise.
29206 (malloc_fork_parent): Likewise.
29207 (malloc_fork_child): Likewise.
29208 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29209 (_svcauth_des): Likewise.
29210 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29211 * inet/inet_net.c (inet_network): Likewise.
29212 * inet/inet_netof.c (inet_netof): Likewise.
29213 * inet/rcmd.c (__validuser2_sa): Likewise.
29214 * io/fts.c (fts_open): Likewise.
29215 (fts_load): Likewise.
29216 (fts_close): Likewise.
29217 (fts_read): Likewise.
29218 (fts_children): Likewise.
29219 (fts_build): Likewise.
29220 (fts_stat): Likewise.
29221 (fts_sort): Likewise.
29222 (fts_alloc): Likewise.
29223 (fts_lfree): Likewise.
29224 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29225 (_IO_file_xsgetn): Likewise.
29226 (_IO_file_xsgetn_mmap): Likewise.
29227 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29228 (_IO_cookie_write): Likewise.
29229 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29230 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29231 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29232 * malloc/obstack.c (_obstack_begin): Likewise.
29233 (_obstack_begin_1): Likewise.
29234 (_obstack_newchunk): Likewise.
29235 (_obstack_allocated_p): Likewise.
29236 (obstack_free): Likewise.
29237 (_obstack_memory_used): Likewise.
29238 * misc/getttyent.c (getttynam): Likewise.
29239 (getttyent): Likewise.
29242 * misc/getusershell.c (initshells): Likewise.
29243 * misc/syslog.c (__vsyslog_chk): Likewise.
29244 * misc/ttyslot.c (ttyslot): Likewise.
29245 * nis/nis_hash.c (__nis_hash): Likewise.
29246 * posix/fnmatch_loop.c (FCT): Likewise.
29247 * posix/getconf.c (print_all): Likewise.
29249 * posix/getopt.c (exchange): Likewise.
29250 * posix/glob.c (globfree): Likewise.
29251 (prefix_array): Likewise.
29252 (__glob_pattern_type): Likewise.
29253 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29254 (NS_GET32): Likewise.
29255 (NS_PUT16): Likewise.
29256 (NS_PUT32): Likewise.
29257 * resolv/gethnamaddr.c (getanswer): Likewise.
29258 (gethostbyname2): Likewise.
29259 (gethostbyaddr): Likewise.
29260 (_gethtent): Likewise.
29261 (_gethtbyname2): Likewise.
29262 (_gethtbyaddr): Likewise.
29263 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29264 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29265 * resolv/res_init.c (__res_vinit): Likewise.
29266 (net_mask): Likewise.
29267 * resolv/res_mkquery.c (outchar): Likewise.
29269 * stdio-common/printf_fp.c (outchar): Likewise.
29271 * stdio-common/printf_fphex.c (outchar): Likewise.
29273 * stdio-common/printf_size.c (outchar): Likewise.
29275 * stdio-common/test_rdwr.c (main): Likewise.
29276 * stdio-common/tfformat.c (matches): Likewise.
29277 * stdio-common/vfprintf.c (outchar): Likewise.
29278 (printf_unknown): Likewise.
29279 (buffered_vfprintf): Likewise.
29280 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29281 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29282 (ReadFile): Likewise.
29283 * stdlib/qsort.c (SWAP): Likewise.
29284 (_quicksort): Likewise.
29285 * stdlib/setenv.c (__add_to_environ): Likewise.
29286 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29287 * stdlib/strtol_l.c (__strtol_l): Likewise.
29288 * stdlib/tst-strtod.c (main): Likewise.
29289 * stdlib/tst-strtol.c (main): Likewise.
29290 * stdlib/tst-strtoll.c (main): Likewise.
29291 * string/bits/string2.h (__strcmp_cc): Likewise.
29292 (__strcmp_cg): Likewise.
29293 (__strcspn_c1): Likewise.
29294 (__strcspn_c2): Likewise.
29295 (__strcspn_c3): Likewise.
29296 (__strspn_c1): Likewise.
29297 (__strspn_c2): Likewise.
29298 (__strspn_c3): Likewise.
29299 (__strsep_1c): Likewise.
29300 (__strsep_2c): Likewise.
29301 (__strsep_3c): Likewise.
29302 * string/memccpy.c (__memccpy): Likewise.
29303 * string/stpcpy.c (__stpcpy): Likewise.
29304 * string/strcmp.c (strcmp): Likewise.
29305 * string/strrchr.c (strrchr): Likewise.
29306 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29308 * sysdeps/mach/hurd/getcwd.c
29309 (_hurd_canonicalize_directory_name_internal): Likewise.
29310 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29311 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29312 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29313 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29314 Likewise, in both definitions.
29315 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29317 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29318 64] (__bswap_64): Likewise.
29319 * time/test_time.c (main): Likewise.
29320 * time/tzfile.c (__tzfile_read): Likewise.
29321 (__tzfile_compute): Likewise.
29322 * time/tzset.c (__tzset_parse_tz): Likewise.
29323 (tzset_internal): Likewise.
29324 (compute_change): Likewise.
29325 * wcsmbs/wcscat.c (__wcscat): Likewise.
29326 * wcsmbs/wcschr.c (wcschr): Likewise.
29327 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29328 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29329 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29330 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29331 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29332 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29333 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29334 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29335 * wcsmbs/wmemset.c (wmemset): Likewise.
29337 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29339 * scripts/config.guess: Update to version 2013-05-16.
29340 * scripts/config.sub: Update to version 2013-04-24.
29341 * scripts/install-sh: Update to version 2011-11-20.07.
29342 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29343 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29345 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29347 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29348 * elf/sln.c: Likewise.
29349 * hurd/hurd/ioctl.h: Likewise.
29350 * hurd/hurdmalloc.c: Likewise.
29351 * hurd/xattr.c: Likewise.
29352 * include/shlib-compat.h: Likewise.
29353 * inet/ruserpass.c: Likewise.
29354 * libio/iofgets_u.c: Likewise.
29355 * libio/iofgetws_u.c: Likewise.
29356 * locale/programs/ld-identification.c: Likewise.
29357 * locale/programs/ld-time.c: Likewise.
29358 * mach/msg-destroy.c: Likewise.
29359 * nss/nss_files/files-netgrp.c: Likewise.
29360 * resolv/res_data.c: Likewise.
29361 * soft-fp/op-1.h: Likewise.
29362 * soft-fp/op-2.h: Likewise.
29363 * soft-fp/op-4.h: Likewise.
29364 * soft-fp/op-common.h: Likewise.
29365 * stdio-common/printf_fphex.c: Likewise.
29366 * stdlib/strtod_l.c: Likewise.
29367 * sunrpc/rpc/clnt.h: Likewise.
29368 * sysdeps/generic/framestate.c: Likewise.
29369 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29370 * sysdeps/i386/bsd-setjmp.S: Likewise.
29371 * sysdeps/i386/__longjmp.S: Likewise.
29372 * sysdeps/i386/setjmp.S: Likewise.
29373 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29374 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29375 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29376 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29377 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29378 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29379 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29380 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29381 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29382 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29383 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29384 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29385 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29387 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29388 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29389 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29390 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29391 * sysdeps/ieee754/support.c: Likewise.
29392 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29393 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29394 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29395 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29396 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29397 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29398 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29399 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29400 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29401 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29402 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29403 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29404 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29405 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29406 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29407 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29408 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29411 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29413 * posix/transbug.c: Remove executable mode.
29415 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29417 * crypt/speeds.c: Remove trailing whitespace.
29418 * dlfcn/default.c: Likewise.
29419 * elf/ifuncdep2.c: Likewise.
29420 * elf/ifuncmain1.c: Likewise.
29421 * elf/ifuncmain1vis.c: Likewise.
29422 * elf/testobj.h: Likewise.
29423 * elf/tst-stackguard1.c: Likewise.
29424 * gmon/sys/gmon.h: Likewise.
29425 * hurd/hurdmsg.c: Likewise.
29426 * hurd/new-fd.c: Likewise.
29427 * hurd/ports-get.c: Likewise.
29428 * iconvdata/ibm1008_420.c: Likewise.
29429 * inet/tst-getni1.c: Likewise.
29430 * inet/tst-getni2.c: Likewise.
29431 * libio/ioungetc.c: Likewise.
29432 * libio/wfiledoalloc.c: Likewise.
29433 * manual/libm-err-tab.pl: Likewise.
29434 * math/w_dremf.c: Likewise.
29435 * misc/ftruncate.c: Likewise.
29436 * posix/bug-glob2.c: Likewise.
29437 * posix/tst-pcre.c: Likewise.
29438 * posix/wait4.c: Likewise.
29439 * resolv/README: Likewise.
29440 * resolv/res_debug.h: Likewise.
29441 * resolv/tst-inet_ntop.c: Likewise.
29442 * setjmp/bug269-setjmp.c: Likewise.
29443 * soft-fp/extended.h: Likewise.
29444 * soft-fp/op-1.h: Likewise.
29445 * soft-fp/op-2.h: Likewise.
29446 * soft-fp/op-4.h: Likewise.
29447 * soft-fp/op-8.h: Likewise.
29448 * soft-fp/testit.c: Likewise.
29449 * stdio-common/bug16.c: Likewise.
29450 * stdlib/random.c: Likewise.
29451 * sunrpc/rpcsvc/rquota.x: Likewise.
29452 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29453 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29454 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29455 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29456 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29457 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29458 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29459 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29460 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29461 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29462 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29463 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29464 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29465 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29466 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29467 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29468 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29469 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29470 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29471 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29473 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29474 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29475 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29476 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29479 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29480 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29481 * sysdeps/ieee754/s_lib_version.c: Likewise.
29482 * sysdeps/mach/hurd/check_fds.c: Likewise.
29483 * sysdeps/mach/hurd/getsockname.c: Likewise.
29484 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29485 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29486 * sysdeps/powerpc/bits/link.h: Likewise.
29487 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29488 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29489 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29490 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29491 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29492 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29493 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29494 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29495 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29496 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29497 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29498 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29499 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29500 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29501 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29502 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29503 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29504 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29505 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29506 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29507 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29508 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29509 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29510 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29511 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29512 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29513 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29514 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29515 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29516 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29517 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29518 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29519 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29520 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29521 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29522 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29523 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29524 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29525 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29526 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29527 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29528 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29529 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29530 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29531 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29532 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29533 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29534 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29535 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29536 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29538 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29539 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29540 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29541 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29542 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29543 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29544 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29545 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29546 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29547 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29548 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29549 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29550 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29551 * sysdeps/powerpc/sysdep.h: Likewise.
29552 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29553 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29554 * sysdeps/sh/dl-trampoline.S: Likewise.
29555 * sysdeps/sh/memset.S: Likewise.
29556 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29557 * sysdeps/sh/strlen.S: Likewise.
29558 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29559 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29560 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29561 * sysdeps/sparc/sparc32/rem.S: Likewise.
29562 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29563 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29564 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29565 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29566 * sysdeps/sparc/sparc32/urem.S: Likewise.
29567 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29568 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29569 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29570 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29571 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29572 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29573 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29574 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29575 * sysdeps/unix/bsd/times.c: Likewise.
29576 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29577 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29581 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29582 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29583 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29584 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29585 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29586 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29587 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29588 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29589 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29590 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29591 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29592 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29593 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29594 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29595 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29596 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29597 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29598 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29599 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29600 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29601 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29602 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29603 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29604 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29605 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29606 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29607 * sysdeps/x86_64/strcspn.S: Likewise.
29609 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29611 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29612 generated file. Regenerate properly from gen-translit.pl.
29613 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29614 locale/C-translit.h.
29616 2013-06-05 Andreas Schwab <schwab@suse.de>
29619 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29620 week as 6 instead of -1.
29621 * time/tst-strptime.c (day_tests): Add test case.
29623 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29625 * sysdeps/generic/math_private.h
29626 (libc_feholdexcept_setround_53bit): Replace with
29627 libc_feholdsetround_53bit.
29628 (libc_feupdateenv_53bit): Replace with
29629 libc_feresetround_53bit.
29630 (SET_RESTORE_ROUND_53BIT): Adjust.
29632 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29634 * string/test-strchrnul.c: Add copyright header.
29636 * posix/tst-getaddrinfo4.c: Increase test timeout.
29638 2013-06-03 Carlos O'Donell <carlos@redhat.com>
29641 * math/libm-test.inc (MAX_EXP): Remove
29643 (ulp): Use MIN_EXP - MANT_DIG.
29644 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29646 2013-05-31 Carlos O'Donell <carlos@redhat.com>
29648 * po/be.po: Revert last change.
29649 * po/zh_CN.po: Likewise.
29650 * po/header.pot: Likewise.
29652 2013-05-31 Joseph Myers <joseph@codesourcery.com>
29654 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29655 link-libc-deps to empty as target-specific variable.
29656 * Makerules (link-libc-args): New variable.
29657 (libc-for-link): Likewise.
29658 (link-libc-deps): Likewise.
29659 (lib%.so): Depend on $(link-libc-deps). Link with
29661 (build-module): Link with $(link-libc-args).
29662 (build-module-asneeded): Likewise.
29663 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29665 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29666 target-specific variable.
29667 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29668 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29669 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29671 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29673 ($(objpfx)libpcprofile.so): Likewise.
29674 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29676 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29677 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29678 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29680 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29681 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29682 * login/Makefile ($(objpfx)libutil.so): Likewise.
29683 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29684 * math/Makefile ($(objpfx)libm.so): Likewise.
29685 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29686 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29687 variable instead of depending directly on libc.
29688 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29689 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29691 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29693 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29694 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29695 ($(objpfx)libanl.so): Likewise.
29696 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29698 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29700 * sysdeps/i386/fpu/Makefile: Remove file.
29701 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29702 ($(objpfx)libm.so): Remove dependency on ld.so.
29704 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
29707 * nis/yp_xdr.c (XDRMAXNAME): Define.
29708 (XDRMAXRECORD): Define.
29709 (xdr_domainname): Use XDRMAXNAME.
29710 (xdr_mapname): Likewise.
29711 (xdr_peername): Likewise.
29712 (xdr_keydat): Use XDRMAXRECORD.
29713 (xdr_valdat): Likewise.
29715 2013-05-30 Jeff Law <law@redhat.com>
29718 * manual/errno.texi (ESTALE): Update to account for more than
29719 just NFS file systems.
29720 * sysdeps/gnu/errlist.c: Regenerated.
29722 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29725 * elf/Makefile (tests): Add tst-null-argv.
29726 (modules-names): Add tst-null-argv-lib.
29727 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29728 (tst-null-argv-ENV): Set environment for tst-null-argv.
29729 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29730 (RTLD_PROGNAME): New macro.
29731 * elf/tst-null-argv.c: New test case.
29732 * elf/tst-null-argv-lib.c: Library for test case.
29733 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29734 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29735 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29736 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29737 * elf/dl-init.c (call_init): Likewise.
29738 (_dl_init): Likewise.
29739 * elf/dl-load.c (print_search_path): Likewise.
29740 (_dl_map_object): Likewise.
29741 * elf/dl-lookup.c (do_lookup_x): Likewise.
29742 (add_dependency): Likewise.
29743 (_dl_lookup_symbol_x): Likewise.
29744 (_dl_debug_bindings): Likewise.
29745 * elf/dl-open.c (_dl_show_scope): Likewise.
29746 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29747 * elf/dl-version.c (match_symbol): Likewise.
29748 (_dl_check_map_versions): Likewise.
29749 * elf/rtld.c (dl_main): Likewise.
29750 (print_unresolved): Use RTLD_PROGNAME.
29751 (print_missing_version): Likewise.
29752 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29753 (elf_machine_rela): Likewise.
29754 * sysdeps/powerpc/powerpc32/dl-machine.c
29755 (__process_machine_rela): Likewise.
29756 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29758 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29760 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29762 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29765 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29769 2013-05-28 Carlos O'Donell <carlos@redhat.com>
29771 * po/be.po: Add descriptive title.
29772 * po/zh_CN.po: Likewise.
29773 * po/header.pot: Likewise.
29775 2013-05-28 Mike Frysinger <vapier@gentoo.org>
29777 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29779 (enlarge_archive): Likewise.
29781 2013-05-28 Ben North <ben@redfrontdoor.org>
29783 * manual/arith.texi (frexp): It is the magnitude of the return
29784 value which lies in [0.5, 1), not the return value itself.
29786 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29790 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29792 * stdio-common/bug26.c (main): Correct fscanf template.
29794 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29795 declare _dl_skip_args.
29797 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29800 * manual/platform.texi: Add missing @end deftypefun.
29802 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29805 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29806 bit of mantissa of 2^16382.
29807 * math/libm-test.inc (hypot_test_data): Add more tests.
29809 * math/libm-test.inc: Add drem and pow10 to list of tested
29811 (pow10_test): New function.
29812 (drem_test): Likewise.
29813 (drem_test_tonearest): Likewise.
29814 (drem_test_towardzero): Likewise.
29815 (drem_test_downward): Likewise.
29816 (drem_test_upward): Likewise.
29817 (main): Call the new functions.
29819 * math/libm-test.inc (finite_test_data): Remove.
29820 (finite_test): Run tests from isfinite_test_data.
29821 (gamma_test_data): Remove.
29822 (gamma_test): Run tests from lgamma_test_data.
29823 * sysdeps/i386/fpu/libm-test-ulps: Update.
29824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29826 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29828 * manual/platform.texi: Add PowerPC PPR function set documentation.
29829 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29832 2013-05-24 Carlos O'Donell <carlos@redhat.com>
29834 * math/libm-test.inc (MAX_EXP): Define.
29836 (ulp): New function.
29837 (check_float_internal): Use ULPDIFF.
29838 (cpow_test): Disable failing test.
29839 (check_ulp): Test ulp() implemetnation.
29840 (main): Call check_ulp before starting tests.
29842 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29844 * math/gen-libm-test.pl (generate_testfile): Do not handle
29845 START_DATA and END_DATA.
29846 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29848 (acos_tonearest_test_data): Likewise.
29849 (acos_towardzero_test_data): Likewise.
29850 (acos_downward_test_data): Likewise.
29851 (acos_upward_test_data): Likewise.
29852 (acosh_test_data): Likewise.
29853 (asin_test_data): Likewise.
29854 (asin_tonearest_test_data): Likewise.
29855 (asin_towardzero_test_data): Likewise.
29856 (asin_downward_test_data): Likewise.
29857 (asin_upward_test_data): Likewise.
29858 (asinh_test_data): Likewise.
29859 (atan_test_data): Likewise.
29860 (atanh_test_data): Likewise.
29861 (atan2_test_data): Likewise.
29862 (cabs_test_data): Likewise.
29863 (cacos_test_data): Likewise.
29864 (cacosh_test_data): Likewise.
29865 (carg_test_data): Likewise.
29866 (casin_test_data): Likewise.
29867 (casinh_test_data): Likewise.
29868 (catan_test_data): Likewise.
29869 (catanh_test_data): Likewise.
29870 (cbrt_test_data): Likewise.
29871 (ccos_test_data): Likewise.
29872 (ccosh_test_data): Likewise.
29873 (ceil_test_data): Likewise.
29874 (cexp_test_data): Likewise.
29875 (cimag_test_data): Likewise.
29876 (clog_test_data): Likewise.
29877 (clog10_test_data): Likewise.
29878 (conj_test_data): Likewise.
29879 (copysign_test_data): Likewise.
29880 (cos_test_data): Likewise.
29881 (cos_tonearest_test_data): Likewise.
29882 (cos_towardzero_test_data): Likewise.
29883 (cos_downward_test_data): Likewise.
29884 (cos_upward_test_data): Likewise.
29885 (cosh_test_data): Likewise.
29886 (cosh_tonearest_test_data): Likewise.
29887 (cosh_towardzero_test_data): Likewise.
29888 (cosh_downward_test_data): Likewise.
29889 (cosh_upward_test_data): Likewise.
29890 (cpow_test_data): Likewise.
29891 (cproj_test_data): Likewise.
29892 (creal_test_data): Likewise.
29893 (csin_test_data): Likewise.
29894 (csinh_test_data): Likewise.
29895 (csqrt_test_data): Likewise.
29896 (ctan_test_data): Likewise.
29897 (ctan_tonearest_test_data): Likewise.
29898 (ctan_towardzero_test_data): Likewise.
29899 (ctan_downward_test_data): Likewise.
29900 (ctan_upward_test_data): Likewise.
29901 (ctanh_test_data): Likewise.
29902 (ctanh_tonearest_test_data): Likewise.
29903 (ctanh_towardzero_test_data): Likewise.
29904 (ctanh_downward_test_data): Likewise.
29905 (ctanh_upward_test_data): Likewise.
29906 (erf_test_data): Likewise.
29907 (erfc_test_data): Likewise.
29908 (exp_test_data): Likewise.
29909 (exp_tonearest_test_data): Likewise.
29910 (exp_towardzero_test_data): Likewise.
29911 (exp_downward_test_data): Likewise.
29912 (exp_upward_test_data): Likewise.
29913 (exp10_test_data): Likewise.
29914 (exp2_test_data): Likewise.
29915 (expm1_test_data): Likewise.
29916 (fabs_test_data): Likewise.
29917 (fdim_test_data): Likewise.
29918 (finite_test_data): Likewise.
29919 (floor_test_data): Likewise.
29920 (fma_test_data): Likewise.
29921 (fma_towardzero_test_data): Likewise.
29922 (fma_downward_test_data): Likewise.
29923 (fma_upward_test_data): Likewise.
29924 (fmax_test_data): Likewise.
29925 (fmin_test_data): Likewise.
29926 (fmod_test_data): Likewise.
29927 (fpclassify_test_data): Likewise.
29928 (frexp_test_data): Likewise.
29929 (gamma_test_data): Likewise.
29930 (hypot_test_data): Likewise.
29931 (ilogb_test_data): Likewise.
29932 (isfinite_test_data): Likewise.
29933 (isgreater_test_data): Likewise.
29934 (isgreaterequal_test_data): Likewise.
29935 (isinf_test_data): Likewise.
29936 (isless_test_data): Likewise.
29937 (islessequal_test_data): Likewise.
29938 (islessgreater_test_data): Likewise.
29939 (isnan_test_data): Likewise.
29940 (isnormal_test_data): Likewise.
29941 (issignaling_test_data): Likewise.
29942 (isunordered_test_data): Likewise.
29943 (j0_test_data): Likewise.
29944 (j1_test_data): Likewise.
29945 (jn_test_data): Likewise.
29946 (ldexp_test_data): Likewise.
29947 (lgamma_test_data): Likewise.
29948 (lrint_test_data): Likewise.
29949 (lrint_tonearest_test_data): Likewise.
29950 (lrint_towardzero_test_data): Likewise.
29951 (lrint_downward_test_data): Likewise.
29952 (lrint_upward_test_data): Likewise.
29953 (llrint_test_data): Likewise.
29954 (llrint_tonearest_test_data): Likewise.
29955 (llrint_towardzero_test_data): Likewise.
29956 (llrint_downward_test_data): Likewise.
29957 (llrint_upward_test_data): Likewise.
29958 (log_test_data): Likewise.
29959 (log10_test_data): Likewise.
29960 (log1p_test_data): Likewise.
29961 (log2_test_data): Likewise.
29962 (logb_test_data): Likewise.
29963 (logb_downward_test_data): Likewise.
29964 (lround_test_data): Likewise.
29965 (llround_test_data): Likewise.
29966 (modf_test_data): Likewise.
29967 (nearbyint_test_data): Likewise.
29968 (nextafter_test_data): Likewise.
29969 (nexttoward_test_data): Likewise.
29970 (pow_test_data): Likewise.
29971 (pow_tonearest_test_data): Likewise.
29972 (pow_towardzero_test_data): Likewise.
29973 (pow_downward_test_data): Likewise.
29974 (pow_upward_test_data): Likewise.
29975 (remainder_test_data): Likewise.
29976 (remainder_tonearest_test_data): Likewise.
29977 (remainder_towardzero_test_data): Likewise.
29978 (remainder_downward_test_data): Likewise.
29979 (remainder_upward_test_data): Likewise.
29980 (remquo_test_data): Likewise.
29981 (rint_test_data): Likewise.
29982 (rint_tonearest_test_data): Likewise.
29983 (rint_towardzero_test_data): Likewise.
29984 (rint_downward_test_data): Likewise.
29985 (rint_upward_test_data): Likewise.
29986 (round_test_data): Likewise.
29987 (scalb_test_data): Likewise.
29988 (scalbn_test_data): Likewise.
29989 (scalbln_test_data): Likewise.
29990 (signbit_test_data): Likewise.
29991 (sin_test_data): Likewise.
29992 (sin_tonearest_test_data): Likewise.
29993 (sin_towardzero_test_data): Likewise.
29994 (sin_downward_test_data): Likewise.
29995 (sin_upward_test_data): Likewise.
29996 (sincos_test_data): Likewise.
29997 (sinh_test_data): Likewise.
29998 (sinh_tonearest_test_data): Likewise.
29999 (sinh_towardzero_test_data): Likewise.
30000 (sinh_downward_test_data): Likewise.
30001 (sinh_upward_test_data): Likewise.
30002 (sqrt_test_data): Likewise.
30003 (tan_test_data): Likewise.
30004 (tan_tonearest_test_data): Likewise.
30005 (tan_towardzero_test_data): Likewise.
30006 (tan_downward_test_data): Likewise.
30007 (tan_upward_test_data): Likewise.
30008 (tanh_test_data): Likewise.
30009 (tgamma_test_data): Likewise.
30010 (trunc_test_data): Likewise.
30011 (y0_test_data): Likewise.
30012 (y1_test_data): Likewise.
30013 (yn_test_data): Likewise.
30014 (significand_test_data): Likewise.
30016 * math/gen-libm-test.pl (@functions): Remove variable.
30017 (generate_testfile): Don't handle START and END lines.
30018 * math/libm-test.inc (START): New macro.
30020 (END_COMPLEX): Likewise.
30021 (acos_test): Use END macro without arguments.
30022 (acos_test_tonearest): Likewise.
30023 (acos_test_towardzero): Likewise.
30024 (acos_test_downward): Likewise.
30025 (acos_test_upward): Likewise.
30026 (acosh_test): Likewise.
30027 (asin_test): Likewise.
30028 (asin_test_tonearest): Likewise.
30029 (asin_test_towardzero): Likewise.
30030 (asin_test_downward): Likewise.
30031 (asin_test_upward): Likewise.
30032 (asinh_test): Likewise.
30033 (atan_test): Likewise.
30034 (atanh_test): Likewise.
30035 (atan2_test): Likewise.
30036 (cabs_test): Likewise.
30037 (cacos_test): Use END_COMPLEX macro without arguments.
30038 (cacosh_test): Likewise.
30039 (carg_test): Use END macro without arguments.
30040 (casin_test): Use END_COMPLEX macro without arguments.
30041 (casinh_test): Likewise.
30042 (catan_test): Likewise.
30043 (catanh_test): Likewise.
30044 (cbrt_test): Use END macro without arguments.
30045 (ccos_test): Use END_COMPLEX macro without arguments.
30046 (ccosh_test): Likewise.
30047 (ceil_test): Use END macro without arguments.
30048 (cexp_test): Use END_COMPLEX macro without arguments.
30049 (cimag_test): Use END macro without arguments.
30050 (clog_test): Use END_COMPLEX macro without arguments.
30051 (clog10_test): Likewise.
30052 (conj_test): Likewise.
30053 (copysign_test): Use END macro without arguments.
30054 (cos_test): Likewise.
30055 (cos_test_tonearest): Likewise.
30056 (cos_test_towardzero): Likewise.
30057 (cos_test_downward): Likewise.
30058 (cos_test_upward): Likewise.
30059 (cosh_test): Likewise.
30060 (cosh_test_tonearest): Likewise.
30061 (cosh_test_towardzero): Likewise.
30062 (cosh_test_downward): Likewise.
30063 (cosh_test_upward): Likewise.
30064 (cpow_test): Use END_COMPLEX macro without arguments.
30065 (cproj_test): Likewise.
30066 (creal_test): Use END macro without arguments.
30067 (csin_test): Use END_COMPLEX macro without arguments.
30068 (csinh_test): Likewise.
30069 (csqrt_test): Likewise.
30070 (ctan_test): Likewise.
30071 (ctan_test_tonearest): Likewise.
30072 (ctan_test_towardzero): Likewise.
30073 (ctan_test_downward): Likewise.
30074 (ctan_test_upward): Likewise.
30075 (ctanh_test): Likewise.
30076 (ctanh_test_tonearest): Likewise.
30077 (ctanh_test_towardzero): Likewise.
30078 (ctanh_test_downward): Likewise.
30079 (ctanh_test_upward): Likewise.
30080 (erf_test): Use END macro without arguments.
30081 (erfc_test): Likewise.
30082 (exp_test): Likewise.
30083 (exp_test_tonearest): Likewise.
30084 (exp_test_towardzero): Likewise.
30085 (exp_test_downward): Likewise.
30086 (exp_test_upward): Likewise.
30087 (exp10_test): Likewise.
30088 (exp2_test): Likewise.
30089 (expm1_test): Likewise.
30090 (fabs_test): Likewise.
30091 (fdim_test): Likewise.
30092 (finite_test): Likewise.
30093 (floor_test): Likewise.
30094 (fma_test): Likewise.
30095 (fma_test_towardzero): Likewise.
30096 (fma_test_downward): Likewise.
30097 (fma_test_upward): Likewise.
30098 (fmax_test): Likewise.
30099 (fmin_test): Likewise.
30100 (fmod_test): Likewise.
30101 (fpclassify_test): Likewise.
30102 (frexp_test): Likewise.
30103 (gamma_test): Likewise.
30104 (hypot_test): Likewise.
30105 (ilogb_test): Likewise.
30106 (isfinite_test): Likewise.
30107 (isgreater_test): Likewise.
30108 (isgreaterequal_test): Likewise.
30109 (isinf_test): Likewise.
30110 (isless_test): Likewise.
30111 (islessequal_test): Likewise.
30112 (islessgreater_test): Likewise.
30113 (isnan_test): Likewise.
30114 (isnormal_test): Likewise.
30115 (issignaling_test): Likewise.
30116 (isunordered_test): Likewise.
30117 (j0_test): Likewise.
30118 (j1_test): Likewise.
30119 (jn_test): Likewise.
30120 (ldexp_test): Likewise.
30121 (lgamma_test): Likewise.
30122 (lrint_test): Likewise.
30123 (lrint_test_tonearest): Likewise.
30124 (lrint_test_towardzero): Likewise.
30125 (lrint_test_downward): Likewise.
30126 (lrint_test_upward): Likewise.
30127 (llrint_test): Likewise.
30128 (llrint_test_tonearest): Likewise.
30129 (llrint_test_towardzero): Likewise.
30130 (llrint_test_downward): Likewise.
30131 (llrint_test_upward): Likewise.
30132 (log_test): Likewise.
30133 (log10_test): Likewise.
30134 (log1p_test): Likewise.
30135 (log2_test): Likewise.
30136 (logb_test): Likewise.
30137 (logb_test_downward): Likewise.
30138 (lround_test): Likewise.
30139 (llround_test): Likewise.
30140 (modf_test): Likewise.
30141 (nearbyint_test): Likewise.
30142 (nextafter_test): Likewise.
30143 (nexttoward_test): Likewise.
30144 (pow_test): Likewise.
30145 (pow_test_tonearest): Likewise.
30146 (pow_test_towardzero): Likewise.
30147 (pow_test_downward): Likewise.
30148 (pow_test_upward): Likewise.
30149 (remainder_test): Likewise.
30150 (remainder_test_tonearest): Likewise.
30151 (remainder_test_towardzero): Likewise.
30152 (remainder_test_downward): Likewise.
30153 (remainder_test_upward): Likewise.
30154 (remquo_test): Likewise.
30155 (rint_test): Likewise.
30156 (rint_test_tonearest): Likewise.
30157 (rint_test_towardzero): Likewise.
30158 (rint_test_downward): Likewise.
30159 (rint_test_upward): Likewise.
30160 (round_test): Likewise.
30161 (scalb_test): Likewise.
30162 (scalbn_test): Likewise.
30163 (scalbln_test): Likewise.
30164 (signbit_test): Likewise.
30165 (sin_test): Likewise.
30166 (sin_test_tonearest): Likewise.
30167 (sin_test_towardzero): Likewise.
30168 (sin_test_downward): Likewise.
30169 (sin_test_upward): Likewise.
30170 (sincos_test): Likewise.
30171 (sinh_test): Likewise.
30172 (sinh_test_tonearest): Likewise.
30173 (sinh_test_towardzero): Likewise.
30174 (sinh_test_downward): Likewise.
30175 (sinh_test_upward): Likewise.
30176 (sqrt_test): Likewise.
30177 (tan_test): Likewise.
30178 (tan_test_tonearest): Likewise.
30179 (tan_test_towardzero): Likewise.
30180 (tan_test_downward): Likewise.
30181 (tan_test_upward): Likewise.
30182 (tanh_test): Likewise.
30183 (tgamma_test): Likewise.
30184 (trunc_test): Likewise.
30185 (y0_test): Likewise.
30186 (y1_test): Likewise.
30187 (yn_test): Likewise.
30188 (significand_test): Likewise.
30190 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
30193 * libio/genops.c (_IO_no_init): Initialize wide struct info.
30195 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
30198 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30199 __ppc_mdoio and __ppc_mdoom.
30200 * manual/platform.texi: Document new functions __ppc_yield,
30201 __ppc_mdoio and __ppc_mdoom.
30203 2013-05-22 Carlos O'Donell <carlos@redhat.com>
30205 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30206 (main): Mention "tls" pseudo-hwcap is legacy.
30207 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30209 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30211 * math/gen-libm-test.pl (parse_args): Output only string of
30212 arguments as text for test name, not full call or descriptions of
30213 tests for extra outputs.
30214 (generate_testfile): Do not pass function name to parse_args.
30215 Generate this_func variable from START.
30216 * math/libm-test.inc (struct test_f_f_data): Rename test_name
30218 (struct test_ff_f_data): Likewise.
30219 (test_ff_f_data_nexttoward): Likewise.
30220 (struct test_fi_f_data): Likewise.
30221 (struct test_fl_f_data): Likewise.
30222 (struct test_if_f_data): Likewise.
30223 (struct test_fff_f_data): Likewise.
30224 (struct test_c_f_data): Likewise.
30225 (struct test_f_f1_data): Likewise. Remove field extra_name.
30226 (struct test_fF_f1_data): Likewise.
30227 (struct test_ffI_f1_data): Likewise.
30228 (struct test_c_c_data): Rename test_name field to arg_str.
30229 (struct test_cc_c_data): Likewise.
30230 (struct test_f_i_data): Likewise.
30231 (struct test_ff_i_data): Likewise.
30232 (struct test_f_l_data): Likewise.
30233 (struct test_f_L_data): Likewise.
30234 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30236 (COMMON_TEST_SETUP): New macro.
30237 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30238 (COMMON_TEST_CLEANUP): Likewise.
30239 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30240 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
30242 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30243 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
30245 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30246 (RUN_TEST_fff_f): Take argument string. Call new setup and
30248 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30249 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
30251 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30252 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30254 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30255 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30257 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30258 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30260 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30261 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30263 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30264 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30266 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30267 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30269 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30270 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30272 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30273 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30275 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30276 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30278 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30279 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30281 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30282 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30284 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30285 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30287 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30288 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30290 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30291 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30293 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30295 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30297 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30298 to _sifields.sigfault.
30299 (si_addr_lsb): Define new macro.
30300 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30301 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30302 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30304 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30307 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30309 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30311 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30312 loading the domain.
30314 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30316 * math/gen-libm-test.pl (parse_args): Do not include expected
30317 result in test name.
30318 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30319 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30320 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30321 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30322 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30325 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30327 * benchtests/Makefile: Sort function entries.
30329 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30330 tanh, asinh, acosh, atanh.
30331 * benchtests/acos-inputs: New file.
30332 * benchtests/acosh-inputs: New file.
30333 * benchtests/asin-inputs: New file.
30334 * benchtests/asinh-inputs: New file.
30335 * benchtests/atanh-inputs: New file.
30336 * benchtests/cosh-inputs: New file.
30337 * benchtests/log-inputs: New file.
30338 * benchtests/sinh-inputs: New file.
30339 * benchtests/tanh-inputs: New file.
30341 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30344 * posix/tst-getaddrinfo4.c: New test.
30345 * posix/Makefile (tests): Add it.
30347 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30350 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30351 when no services were used.
30352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30353 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30355 2013-05-21 Andreas Schwab <schwab@suse.de>
30358 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30359 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30361 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30362 redundant variable declarations and reallocation of buffer when
30363 parsing as IPv6 address. Always set NSS status when called from
30364 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30365 buffer too small. Correct computation of needed size.
30366 * nss/Makefile (tests): Add test-digits-dots.
30367 * nss/test-digits-dots.c: New test.
30369 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30371 * benchtests/Makefile: Remove instructions for adding
30373 * benchtests/README: New file to explain how to execute and
30374 enhance the benchmark tests.
30376 2013-05-21 Andreas Schwab <schwab@suse.de>
30379 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30380 * setjmp/tst-sigsetjmp.c: New test.
30382 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30384 * sysdeps/x86_64/memset.S (memset): New implementation.
30385 (__bzero): Likewise.
30386 (__memset_tail): New function.
30388 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30390 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30391 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30392 __memcpy_sse2_unaligned ifunc selection.
30393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30394 Add memcpy-sse2-unaligned.S.
30395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30396 Add: __memcpy_sse2_unaligned.
30398 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30401 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30402 math_force_eval before restoring floating-point envrionment.
30403 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30404 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30406 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30408 (__nearbyintl): Use math_force_eval before restoring
30409 floating-point environment.
30410 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30412 * math/gen-libm-test.pl (special_functions): Remove.
30413 (parse_args): Don't handle TEST_extra. Handle functions with no
30415 * math/libm-test.inc (struct test_sincos_data): Replace with
30416 struct test_fFF_11_data.
30417 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30418 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30419 (sincos_test_data): Change element type to struct
30420 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30421 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30422 RUN_TEST_LOOP_sincos.
30423 * math/README.libm-test: Don't mention special handling of
30424 individual functions.
30425 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30426 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30427 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30428 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30429 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30432 * math/gen-libm-test.pl (get_variable): Remove function.
30433 (parse_args): Don't show pointer parameters to call in test
30434 names. Use "extra output N" in test names for extra outputs
30435 rather than naming variables.
30437 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30440 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30441 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30442 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30444 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30446 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30449 * math/gen-libm-test.pl (@tests): Remove variable.
30450 ($count): Likewise.
30451 (new_test): Remove function.
30452 (show_exceptions): New function.
30453 (special_functions): Use show_exceptions instead of new_test.
30454 (parse_args): Likewise.
30455 (generate_testfile): Pass only function name in generated call to
30456 print_max_error or print_complex_max_error.
30457 (get_ulps): Do not handle complex tests specially.
30458 (output_test): Rename to ...
30459 (get_all_ulps_for_test): ... this. Return a string rather than
30460 printing to a file. Require ulps to be present.
30461 (output_ulps): Generate arrays rather than #defines.
30462 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30463 (struct ulp_data): New type.
30464 (BUILD_COMPLEX_ULP): Remove macro.
30465 (compare_ulp_data): New function.
30466 (find_ulps): Likewise.
30467 (find_test_ulps): Likewise.
30468 (find_function_ulps): Likewise.
30469 (find_complex_function_ulps): Likewise.
30470 (print_max_error): Determine allowed ulps using
30471 find_function_ulps.
30472 (print_complex_max_error): Determine allowed ulps using
30473 find_complex_function_ulps.
30474 (check_float_internal): Determine max ulps using find_test_ulps.
30475 (check_float): Do not take max_ulp parameter. Update call to
30476 check_float_internal.
30477 (check_complex): Likewise.
30478 (check_int): Do not take max_ulp parameter.
30479 (check_long): Likewise.
30480 (check_bool): Likewise.
30481 (check_longlong): Likewise.
30482 (struct test_f_f_data): Remove max_ulp field.
30483 (struct test_ff_f_data): Likewise.
30484 (struct test_ff_f_data_nexttoward): Likewise.
30485 (struct test_fi_f_data): Likewise.
30486 (struct test_fl_f_data): Likewise.
30487 (struct test_if_f_data): Likewise.
30488 (struct test_fff_f_data): Likewise.
30489 (struct test_c_f_data): Likewise.
30490 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30491 (struct test_fF_f1_data): Likewise.
30492 (struct test_ffI_f1_data): Likewise.
30493 (struct test_c_c_data): Remove max_ulp field.
30494 (struct test_cc_c_data): Likewise.
30495 (struct test_f_i_data): Likewise.
30496 (struct test_ff_i_data): Likewise.
30497 (struct test_f_l_data): Likewise.
30498 (struct test_f_L_data): Likewise.
30499 (struct test_sincos_data): Likewise.
30500 (RUN_TEST_f_f): Do not handle ulps.
30501 (RUN_TEST_LOOP_f_f): Likewise.
30502 (RUN_TEST_2_f): Likewise.
30503 (RUN_TEST_LOOP_2_f): Likewise.
30504 (RUN_TEST_fff_f): Likewise.
30505 (RUN_TEST_LOOP_fff_f): Likewise.
30506 (RUN_TEST_c_f): Likewise.
30507 (RUN_TEST_LOOP_c_f): Likewise.
30508 (RUN_TEST_f_f1): Likewise.
30509 (RUN_TEST_LOOP_f_f1): Likewise.
30510 (RUN_TEST_fF_f1): Likewise.
30511 (RUN_TEST_LOOP_fF_f1): Likewise.
30512 (RUN_TEST_fI_f1): Likewise.
30513 (RUN_TEST_LOOP_fI_f1): Likewise.
30514 (RUN_TEST_ffI_f1): Likewise.
30515 (RUN_TEST_LOOP_ffI_f1): Likewise.
30516 (RUN_TEST_c_c): Likewise.
30517 (RUN_TEST_LOOP_c_c): Likewise.
30518 (RUN_TEST_cc_c): Likewise.
30519 (RUN_TEST_LOOP_cc_c): Likewise.
30520 (RUN_TEST_f_i): Likewise.
30521 (RUN_TEST_LOOP_f_i): Likewise.
30522 (RUN_TEST_f_i_tg): Likewise.
30523 (RUN_TEST_LOOP_f_i_tg): Likewise.
30524 (RUN_TEST_ff_i_tg): Likewise.
30525 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30526 (RUN_TEST_f_b): Likewise.
30527 (RUN_TEST_LOOP_f_b): Likewise.
30528 (RUN_TEST_f_b_tg): Likewise.
30529 (RUN_TEST_LOOP_f_b_tg): Likewise.
30530 (RUN_TEST_f_l): Likewise.
30531 (RUN_TEST_LOOP_f_l): Likewise.
30532 (RUN_TEST_f_L): Likewise.
30533 (RUN_TEST_LOOP_f_L): Likewise.
30534 (RUN_TEST_sincos): Likewise.
30535 (RUN_TEST_LOOP_sincos): Likewise.
30537 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30541 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30542 main case of finite arguments, set rounding mode to FE_TONEAREST
30543 and discard exceptions.
30544 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30546 (remainder_tonearest_test_data): New variable.
30547 (remainder_test_tonearest): New function.
30548 (remainder_towardzero_test_data): New variable.
30549 (remainder_test_towardzero): New function.
30550 (remainder_downward_test_data): New variable.
30551 (remainder_test_downward): New function.
30552 (remainder_upward_test_data): New variable.
30553 (remainder_test_upward): New function.
30554 (main): Call the new test functions.
30556 * math/libm-test.inc (struct test_f_f1_data): Remove field
30558 (struct test_fF_f1_data): Likewise.
30559 (struct test_ffI_f1_data): Likewise.
30560 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30561 based on value of EXTRA_EXPECTED.
30562 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30563 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30564 EXTRA_VAR based on value of EXTRA_EXPECTED.
30565 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30566 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30567 EXTRA_VAR based on value of EXTRA_EXPECTED.
30568 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30569 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30570 EXTRA_VAR based on value of EXTRA_EXPECTED.
30571 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30572 * math/gen-libm-test.pl (parse_args): Don't output initializers
30573 for extra output values.
30575 * math/libm-test.inc (check_int): Expect result to be exactly
30576 equal to expected value and do not handle ulps.
30577 (check_long): Likewise.
30578 (check_longlong): Likewise.
30580 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30582 (cimag_test_data): Likewise.
30583 (conj_test_data): Likewise.
30584 (copysign_test_data): Likewise.
30585 (cproj_test_data): Likewise.
30586 (creal_test_data): Likewise.
30587 (fabs_test_data): Likewise.
30588 (fdim_test_data): Likewise.
30589 (finite_test_data): Likewise.
30590 (floor_test_data): Likewise.
30591 (fmax_test_data): Likewise.
30592 (fmin_test_data): Likewise.
30593 (fmod_test_data): Likewise.
30594 (fpclassify_test_data): Likewise.
30595 (frexp_test_data): Likewise.
30596 (ilogb_test_data): Likewise.
30597 (isfinite_test_data): Likewise.
30598 (isgreater_test_data): Likewise.
30599 (isgreaterequal_test_data): Likewise.
30600 (isinf_test_data): Likewise.
30601 (isless_test_data): Likewise.
30602 (islessequal_test_data): Likewise.
30603 (islessgreater_test_data): Likewise.
30604 (isnan_test_data): Likewise.
30605 (isnormal_test_data): Likewise.
30606 (issignaling_test_data): Likewise.
30607 (isunordered_test_data): Likewise.
30608 (ldexp_test_data): Likewise.
30609 (lrint_test_data): Likewise.
30610 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30611 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30612 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30613 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30614 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30615 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30617 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30618 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30619 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30620 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30622 (lrint_downward_test_data): Test for "inexact" exceptions.
30623 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30624 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30625 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30627 (lrint_upward_test_data): Test for "inexact" exceptions.
30628 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30630 (llrint_test_data): Test for "inexact" exceptions.
30631 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30632 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30633 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30634 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30635 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30636 (llrint_downward_test_data): Test for "inexact" exceptions.
30637 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30638 (llrint_upward_test_data): Test for "inexact" exceptions.
30639 (logb_test_data): Likewise.
30640 (logb_downward_test_data): Likewise.
30641 (nextafter_test_data): Likewise.
30642 (nexttoward_test_data): Likewise.
30643 (remainder_test_data): Likewise.
30644 (remquo_test_data): Likewise.
30645 (scalbn_test_data): Likewise.
30646 (scalbln_test_data): Likewise.
30647 (signbit_test_data): Likewise.
30648 (sqrt_test_data): Likewise.
30649 (significand_test_data): Likewise.
30651 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30654 * benchtests/bench-modf.c (struct args): Mark arg0 as
30656 * scripts/bench.pl: Mark members of struct args as volatile.
30658 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30661 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30662 negative infinity on POWER6 or lower.
30663 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30665 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30668 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30669 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30670 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30671 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30672 (_FP_SETQNAN): New macro.
30673 (_FP_SETQNAN_SEMIRAW): Likewise.
30674 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30675 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30676 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30677 (FP_EXTEND): Use _FP_FRAC_SNANP.
30678 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30679 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30681 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30683 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30686 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30688 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30689 with DIVIDE_BY_ZERO_EXCEPTION.
30690 (gamma_test_data): Likewise.
30691 (lgamma_test_data): Likewise.
30692 (log_test_data): Likewise.
30693 (log10_test_data): Likewise.
30694 (log2_test_data): Likewise.
30695 (tgamma_test_data): Likewise.
30697 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30698 (acos_test_tonearest): Likewise.
30699 (acos_test_towardzero): Likewise.
30700 (acos_test_downward): Likewise.
30701 (acos_test_upward): Likewise.
30702 (acosh_test): Likewise.
30703 (asin_test): Likewise.
30704 (asin_test_tonearest): Likewise.
30705 (asin_test_towardzero): Likewise.
30706 (asin_test_downward): Likewise.
30707 (asin_test_upward): Likewise.
30708 (asinh_test): Likewise.
30709 (atan_test): Likewise.
30710 (atanh_test): Likewise.
30711 (atan2_test): Likewise.
30712 (cabs_test): Likewise.
30713 (cacos_test): Likewise.
30714 (cacosh_test): Likewise.
30715 (casin_test): Likewise.
30716 (casinh_test): Likewise.
30717 (catan_test): Likewise.
30718 (catanh_test): Likewise.
30719 (cbrt_test): Likewise.
30720 (ccos_test): Likewise.
30721 (ccosh_test): Likewise.
30722 (cexp_test): Likewise.
30723 (clog_test): Likewise.
30724 (clog10_test): Likewise.
30725 (cos_test): Likewise.
30726 (cos_test_tonearest): Likewise.
30727 (cos_test_towardzero): Likewise.
30728 (cos_test_downward): Likewise.
30729 (cos_test_upward): Likewise.
30730 (cosh_test): Likewise.
30731 (cosh_test_tonearest): Likewise.
30732 (cosh_test_towardzero): Likewise.
30733 (cosh_test_downward): Likewise.
30734 (cosh_test_upward): Likewise.
30735 (cpow_test): Likewise.
30736 (csin_test): Likewise.
30737 (csinh_test): Likewise.
30738 (csqrt_test): Likewise.
30739 (ctan_test): Likewise.
30740 (ctan_test_tonearest): Likewise.
30741 (ctan_test_towardzero): Likewise.
30742 (ctan_test_downward): Likewise.
30743 (ctan_test_upward): Likewise.
30744 (ctanh_test): Likewise.
30745 (ctanh_test_tonearest): Likewise.
30746 (ctanh_test_towardzero): Likewise.
30747 (ctanh_test_downward): Likewise.
30748 (ctanh_test_upward): Likewise.
30749 (erf_test): Likewise.
30750 (erfc_test): Likewise.
30751 (exp_test): Likewise.
30752 (exp_test_tonearest): Likewise.
30753 (exp_test_towardzero): Likewise.
30754 (exp_test_downward): Likewise.
30755 (exp_test_upward): Likewise.
30756 (exp10_test): Likewise.
30757 (exp2_test): Likewise.
30758 (expm1_test): Likewise.
30759 (fmod_test): Likewise.
30760 (gamma_test): Likewise.
30761 (hypot_test): Likewise.
30762 (j0_test): Likewise.
30763 (j1_test): Likewise.
30764 (jn_test): Likewise.
30765 (lgamma_test): Likewise.
30766 (log_test): Likewise.
30767 (log10_test): Likewise.
30768 (log1p_test): Likewise.
30769 (log2_test): Likewise.
30770 (logb_test_downward): Likewise.
30771 (pow_test): Likewise.
30772 (pow_test_tonearest): Likewise.
30773 (pow_test_towardzero): Likewise.
30774 (pow_test_downward): Likewise.
30775 (pow_test_upward): Likewise.
30776 (remainder_test): Likewise.
30777 (remquo_test): Likewise.
30778 (sin_test): Likewise.
30779 (sin_test_tonearest): Likewise.
30780 (sin_test_towardzero): Likewise.
30781 (sin_test_downward): Likewise.
30782 (sin_test_upward): Likewise.
30783 (sincos_test): Likewise.
30784 (sinh_test): Likewise.
30785 (sinh_test_tonearest): Likewise.
30786 (sinh_test_towardzero): Likewise.
30787 (sinh_test_downward): Likewise.
30788 (sinh_test_upward): Likewise.
30789 (sqrt_test): Likewise.
30790 (tan_test): Likewise.
30791 (tan_test_tonearest): Likewise.
30792 (tan_test_towardzero): Likewise.
30793 (tan_test_downward): Likewise.
30794 (tan_test_upward): Likewise.
30795 (tanh_test): Likewise.
30796 (tgamma_test): Likewise.
30797 (y0_test): Likewise.
30798 (y1_test): Likewise.
30799 (yn_test): Likewise.
30801 * math/gen-libm-test.pl (adjust_arg): Remove function.
30802 (special_function): Remove argument $in_func. Only handle
30803 generating output for tables of tests, not inside functions.
30804 (parse_args): Likewise.
30805 (generate_testfile): Remove variable $in_func. Update call to
30807 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30808 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30809 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30810 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30811 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30812 (MAX_VALUE_INIT): Rename macro to max_value.
30813 (MIN_VALUE_INIT): Rename macro to min_value.
30814 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30815 (plus_zero): Remove variable.
30816 (minus_zero): Likewise.
30817 (plus_infty): Likewise.
30818 (minus_infty): Likewise.
30819 (qnan_value): Likewise.
30820 (max_value): Likewise.
30821 (min_value): Likewise.
30822 (min_subnorm_value): Likewise.
30824 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30826 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30827 uint64_t or uint32_t usage.
30828 * crypt/sha256-block.c: Likewise.
30829 * crypt/sha256-crypt.c: Likewise.
30830 * crypt/sha256.c: Likewise.
30831 * crypt/sha512-block.c: Likewise.
30832 * crypt/sha512-crypt.c: Likewise.
30833 * crypt/sha512.c: Likewise.
30834 * debug/backtrace-tst.c: Likewise.
30835 * debug/pcprofiledump.c: Likewise.
30836 * elf/cache.c: Likewise.
30837 * elf/dl-cache.c: Likewise.
30838 * elf/dl-misc.c: Likewise.
30839 * elf/dl-profile.c: Likewise.
30840 * elf/dl-support.c: Likewise.
30841 * elf/ldconfig.c: Likewise.
30842 * elf/sprof.c: Likewise.
30843 * iconv/dummy-repertoire.c: Likewise.
30844 * iconv/iconv_charmap.c: Likewise.
30845 * iconv/skeleton.c: Likewise.
30846 * iconvdata/8bit-generic.c: Likewise.
30847 * iconvdata/cp737.h: Likewise.
30848 * iconvdata/cp775.h: Likewise.
30849 * iconvdata/ibm1008.h: Likewise.
30850 * iconvdata/ibm1025.h: Likewise.
30851 * iconvdata/ibm1046.h: Likewise.
30852 * iconvdata/ibm1097.h: Likewise.
30853 * iconvdata/ibm1112.h: Likewise.
30854 * iconvdata/ibm1122.h: Likewise.
30855 * iconvdata/ibm1123.h: Likewise.
30856 * iconvdata/ibm1124.h: Likewise.
30857 * iconvdata/ibm1129.h: Likewise.
30858 * iconvdata/ibm1130.h: Likewise.
30859 * iconvdata/ibm1132.h: Likewise.
30860 * iconvdata/ibm1133.h: Likewise.
30861 * iconvdata/ibm1137.h: Likewise.
30862 * iconvdata/ibm1140.h: Likewise.
30863 * iconvdata/ibm1141.h: Likewise.
30864 * iconvdata/ibm1142.h: Likewise.
30865 * iconvdata/ibm1143.h: Likewise.
30866 * iconvdata/ibm1144.h: Likewise.
30867 * iconvdata/ibm1145.h: Likewise.
30868 * iconvdata/ibm1146.h: Likewise.
30869 * iconvdata/ibm1147.h: Likewise.
30870 * iconvdata/ibm1148.h: Likewise.
30871 * iconvdata/ibm1149.h: Likewise.
30872 * iconvdata/ibm1153.h: Likewise.
30873 * iconvdata/ibm1154.h: Likewise.
30874 * iconvdata/ibm1155.h: Likewise.
30875 * iconvdata/ibm1156.h: Likewise.
30876 * iconvdata/ibm1157.h: Likewise.
30877 * iconvdata/ibm1158.h: Likewise.
30878 * iconvdata/ibm1160.h: Likewise.
30879 * iconvdata/ibm1161.h: Likewise.
30880 * iconvdata/ibm1162.h: Likewise.
30881 * iconvdata/ibm1163.h: Likewise.
30882 * iconvdata/ibm1164.h: Likewise.
30883 * iconvdata/ibm1166.h: Likewise.
30884 * iconvdata/ibm1167.h: Likewise.
30885 * iconvdata/ibm12712.h: Likewise.
30886 * iconvdata/ibm1390.h: Likewise.
30887 * iconvdata/ibm1399.h: Likewise.
30888 * iconvdata/ibm16804.h: Likewise.
30889 * iconvdata/ibm4517.h: Likewise.
30890 * iconvdata/ibm4899.h: Likewise.
30891 * iconvdata/ibm4909.h: Likewise.
30892 * iconvdata/ibm4971.h: Likewise.
30893 * iconvdata/ibm5347.h: Likewise.
30894 * iconvdata/ibm803.h: Likewise.
30895 * iconvdata/ibm856.h: Likewise.
30896 * iconvdata/ibm901.h: Likewise.
30897 * iconvdata/ibm902.h: Likewise.
30898 * iconvdata/ibm9030.h: Likewise.
30899 * iconvdata/ibm9066.h: Likewise.
30900 * iconvdata/ibm921.h: Likewise.
30901 * iconvdata/ibm922.h: Likewise.
30902 * iconvdata/ibm9448.h: Likewise.
30903 * iconvdata/isiri-3342.h: Likewise.
30904 * iconvdata/jis0201.h: Likewise.
30905 * include/link.h: Likewise.
30906 * include/netdb.h: Likewise.
30907 * inet/check_native.c: Likewise.
30908 * inet/check_pf.c: Likewise.
30909 * inet/getipv4sourcefilter.c: Likewise.
30910 * inet/getnameinfo.c: Likewise.
30911 * inet/getsourcefilter.c: Likewise.
30912 * inet/htonl.c: Likewise.
30913 * inet/setipv4sourcefilter.c: Likewise.
30914 * inet/setsourcefilter.c: Likewise.
30915 * inet/test-inet6_opt.c: Likewise.
30916 * inet/tst-network.c: Likewise.
30917 * locale/C-collate.c: Likewise.
30918 * locale/C-ctype.c: Likewise.
30919 * locale/C-time.c: Likewise.
30920 * locale/C-translit.h: Likewise.
30921 * locale/loadarchive.c: Likewise.
30922 * locale/programs/3level.h: Likewise.
30923 * locale/programs/charmap.c: Likewise.
30924 * locale/programs/charmap.h: Likewise.
30925 * locale/programs/ld-address.c: Likewise.
30926 * locale/programs/ld-collate.c: Likewise.
30927 * locale/programs/ld-ctype.c: Likewise.
30928 * locale/programs/ld-identification.c: Likewise.
30929 * locale/programs/ld-measurement.c: Likewise.
30930 * locale/programs/ld-messages.c: Likewise.
30931 * locale/programs/ld-monetary.c: Likewise.
30932 * locale/programs/ld-name.c: Likewise.
30933 * locale/programs/ld-numeric.c: Likewise.
30934 * locale/programs/ld-paper.c: Likewise.
30935 * locale/programs/ld-telephone.c: Likewise.
30936 * locale/programs/ld-time.c: Likewise.
30937 * locale/programs/linereader.c: Likewise.
30938 * locale/programs/locale.c: Likewise.
30939 * locale/programs/locarchive.c: Likewise.
30940 * locale/programs/locfile.h: Likewise.
30941 * locale/programs/repertoire.c: Likewise.
30942 * locale/programs/simple-hash.c: Likewise.
30943 * locale/programs/simple-hash.h: Likewise.
30944 * malloc/memusage.c: Likewise.
30945 * malloc/memusagestat.c: Likewise.
30946 * nis/nis_defaults.c: Likewise.
30947 * nis/nis_hash.c: Likewise.
30948 * nis/nis_print.c: Likewise.
30949 * nis/nis_xdr.c: Likewise.
30950 * nscd/connections.c: Likewise.
30951 * nscd/hstcache.c: Likewise.
30952 * nscd/nscd_gethst_r.c: Likewise.
30953 * nscd/nscd_getserv_r.c: Likewise.
30954 * nscd/nscd_helper.c: Likewise.
30955 * nscd/servicescache.c: Likewise.
30956 * nss/makedb.c: Likewise.
30957 * nss/nss_db/db-XXX.c: Likewise.
30958 * nss/nss_db/db-initgroups.c: Likewise.
30959 * nss/nss_db/db-netgrp.c: Likewise.
30960 * nss/nss_files/files-network.c: Likewise.
30961 * nss/nss_files/files-parse.c: Likewise.
30962 * posix/bug-regex5.c: Likewise.
30963 * posix/fnmatch_loop.c: Likewise.
30964 * posix/regcomp.c: Likewise.
30965 * posix/regexec.c: Likewise.
30966 * posix/tst-rfc3484-2.c: Likewise.
30967 * posix/tst-rfc3484-3.c: Likewise.
30968 * posix/tst-rfc3484.c: Likewise.
30969 * resolv/nss_dns/dns-canon.c: Likewise.
30970 * resolv/nss_dns/dns-network.c: Likewise.
30971 * resolv/res_init.c: Likewise.
30972 * resolv/res_mkquery.c: Likewise.
30973 * resolv/tst-aton.c: Likewise.
30974 * stdlib/cxa_atexit.c: Likewise.
30975 * stdlib/cxa_finalize.c: Likewise.
30976 * stdlib/gen-fpioconst.c: Likewise.
30977 * stdlib/strtol_l.c: Likewise.
30978 * string/tst-endian.c: Likewise.
30979 * sunrpc/auth_des.c: Likewise.
30980 * sunrpc/clnt_udp.c: Likewise.
30981 * sunrpc/rtime.c: Likewise.
30982 * sunrpc/svcauth_des.c: Likewise.
30983 * sunrpc/xdr.c: Likewise.
30984 * sunrpc/xdr_intXX_t.c: Likewise.
30985 * sunrpc/xdr_rec.c: Likewise.
30986 * sysdeps/generic/ldconfig.h: Likewise.
30987 * sysdeps/generic/ldsodefs.h: Likewise.
30988 * sysdeps/generic/memusage.h: Likewise.
30989 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30990 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30992 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30993 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30994 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30995 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30996 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30997 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30998 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30999 * sysdeps/posix/getaddrinfo.c: Likewise.
31000 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31001 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31002 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31004 * sysdeps/powerpc/test-gettimebase.c: Likewise.
31005 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31006 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31007 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31008 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31009 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31010 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31011 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31012 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31013 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31014 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31015 * sysdeps/x86_64/dl-tls.h: Likewise.
31016 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31017 * time/alt_digit.c: Likewise.
31018 * time/era.c: Likewise.
31019 * wcsmbs/tst-c16c32-1.c: Likewise.
31021 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31023 * math/libm-test.inc (struct test_sincos_data): New type.
31024 (RUN_TEST_LOOP_sincos): New macro.
31025 (sincos_test_data): New variable.
31026 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31028 2013-05-16 Richard Henderson <rth@redhat.com>
31030 * math/atest-exp2.c (LIMB64): New macro.
31031 (CONSTSZ): New macro.
31032 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31034 (print_mpn_fp): ... to function scope.
31035 (read_mpn_hex): Remove.
31036 (get_log2): Remove.
31037 (exp2_mpn): Use mp_log2.
31038 (main): Use mp_exp1.
31040 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31042 * math/libm-test.inc: Remove comment about not testing "inexact"
31044 (INEXACT_EXCEPTION): New macro.
31045 (NO_INEXACT_EXCEPTION): Likewise.
31046 (INVALID_EXCEPTION_OK): Update value.
31047 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31048 (OVERFLOW_EXCEPTION_OK): Likewise.
31049 (UNDERFLOW_EXCEPTION_OK): Likewise.
31050 (IGNORE_ZERO_INF_SIGN): Likewise.
31051 (ERRNO_UNCHANGED): Likewise.
31052 (ERRNO_EDOM): Likewise.
31053 (ERRNO_ERANGE): Likewise.
31054 (test_exceptions): Handle testing "inexact" exceptions.
31055 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31056 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31057 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31058 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31060 (rint_towardzero_test_data): Likewise.
31061 (rint_downward_test_data): Likewise.
31062 (rint_upward_test_data): Likewise.
31064 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31065 with OVERFLOW_EXCEPTION.
31066 (exp10_test_data): Likewise.
31067 (exp2_test_data): Likewise.
31068 (expm1_test_data): Likewise.
31069 (lgamma_test_data): Likewise.
31070 (pow_test_data): Likewise.
31071 (tgamma_test_data): Likewise.
31072 (yn_test_data): Remove duplicate test of overflow.
31074 * math/libm-test.inc (struct test_cc_c_data): New type.
31075 (RUN_TEST_LOOP_cc_c): New macro.
31076 (cpow_test_data): New variable.
31077 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31079 * math/libm-test.inc (struct test_f_L_data): New type.
31080 (RUN_TEST_LOOP_f_L): New macro.
31081 (llrint_test_data): New variable.
31082 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31083 (llrint_tonearest_test_data): New variable.
31084 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31085 (llrint_towardzero_test_data): New variable.
31086 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31087 (llrint_downward_test_data): New variable.
31088 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31089 (llrint_upward_test_data): New variable.
31090 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31091 (llround_test_data): New variable.
31092 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31094 2013-05-13 Peter Collingbourne <pcc@google.com>
31096 * math/atest-exp2.c (get_log2): Remove const attribute.
31098 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31100 * math/libm-test.inc (struct test_f_l_data): New type.
31101 (RUN_TEST_LOOP_f_l): New macro.
31102 (lrint_test_data): New variable.
31103 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31104 (lrint_tonearest_test_data): New variable.
31105 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31106 (lrint_towardzero_test_data): New variable.
31107 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31108 (lrint_downward_test_data): New variable.
31109 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31110 (lrint_upward_test_data): New variable.
31111 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31112 (lround_test_data): New variable.
31113 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31115 2013-05-15 Peter Collingbourne <pcc@google.com>
31117 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31118 (EXTRACT_WORDS64) Use where appropriate.
31119 (INSERT_WORDS64) Likewise.
31121 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31122 constraints with x constraints.
31123 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31125 * malloc/obstack.c (_obstack_compat): Add initializer.
31127 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31130 si_trapno and add si_addr_lsb to _sifields.sigfault.
31131 (si_trapno): Remove macro.
31132 (si_addr_lsb): Define new macro.
31133 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31135 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31137 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31138 instead of TEST_f_l.
31139 (llrint_test_tonearest): Likewise.
31140 (llrint_test_towardzero): Likewise.
31141 (llrint_test_downward): Likewise.
31142 (llrint_test_upward): Likewise.
31143 (llround_test): Likewise.
31145 * math/libm-test.inc (struct test_f_i_data): Add comment.
31146 (RUN_TEST_LOOP_f_b): New macro.
31147 (RUN_TEST_LOOP_f_b_tg): Likewise.
31148 (finite_test_data): New variable.
31149 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31150 (isfinite_test_data): New variable.
31151 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31152 (isinf_test_data): New variable.
31153 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31154 (isnan_test_data): New variable.
31155 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31156 (isnormal_test_data): New variable.
31157 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31158 (issignaling_test_data): New variable.
31159 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31160 (signbit_test_data): New variable.
31161 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31163 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31164 with INVALID_EXCEPTION.
31165 (acosh_test_data): Likewise.
31166 (asin_test_data): Likewise.
31167 (atanh_test_data): Likewise.
31168 (fmod_test_data): Likewise.
31169 (log_test_data): Likewise.
31170 (log10_test_data): Likewise.
31171 (log2_test_data): Likewise.
31172 (pow_test_data): Likewise.
31173 (sqrt_test_data): Likewise.
31174 (y0_test_data): Likewise.
31175 (y1_test_data): Likewise.
31176 (yn_test_data): Likewise.
31178 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31181 * math/libm-test.inc (struct test_ff_i_data): New type.
31182 (RUN_TEST_LOOP_ff_i_tg): New macro.
31183 (isgreater_test_data): New variable.
31184 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31185 (isgreaterequal_test_data): New variable.
31186 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31187 (isless_test_data): New variable.
31188 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31189 (islessequal_test_data): New variable.
31190 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31191 (islessgreater_test_data): New variable.
31192 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31193 (isunordered_test_data): New variable.
31194 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31196 2013-05-14 David S. Miller <davem@davemloft.net>
31198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31200 2013-05-14 Joseph Myers <joseph@codesourcery.com>
31202 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31204 * math/libm-test.inc (struct test_fF_f1_data): Change type of
31206 (struct test_f_i_data): Change type of max_ulp to int.
31208 * math/libm-test.inc (test_ffI_f1_data): New type.
31209 (RUN_TEST_LOOP_ffI_f1): New macro.
31210 (remquo_test_data): New variable.
31211 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31213 * setjmp/tst-setjmp-fp.c: New file.
31214 * setjmp/Makefile (tests): Add tst-setjmp-fp.
31215 (link-libm): New variable.
31216 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31218 * math/libm-test.inc (struct test_f_i_data): New type.
31219 (RUN_TEST_LOOP_f_i): New macro.
31220 (RUN_TEST_LOOP_f_i_tg): Likewise.
31221 (fpclassify_test_data): New variable.
31222 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31223 (ilogb_test_data): New variable.
31224 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31226 * math/libm-test.inc (scalbln_test): Correct function name in END
31229 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31230 (RUN_TEST_LOOP_fI_f1): New macro.
31231 (frexp_test_data): New variable.
31232 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31234 * math/libm-test.inc (struct test_fF_f1_data): New type.
31235 (RUN_TEST_LOOP_fF_f1): New macro.
31236 (modf_test_data): New variable.
31237 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31239 * math/libm-test.inc (struct test_f_f1_data): New type.
31240 (RUN_TEST_LOOP_f_f1): New macro.
31241 (gamma_test_data): New variable.
31242 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31243 (lgamma_test_data): New variable.
31244 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31246 2013-05-13 Carlos O'Donell <carlos@redhat.com>
31248 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31249 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31250 (main): Comment "tls" pseudo-hwcap.
31252 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31254 * math/libm-test.inc (struct test_fl_f_data): New type.
31255 (RUN_TEST_LOOP_fl_f): New variable.
31256 (scalbln_test_data): New variable.
31257 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31259 * math/libm-test.inc (struct test_fi_f_data): New type.
31260 (RUN_TEST_LOOP_fi_f): New macro.
31261 (ldexp_test_data): New variable.
31262 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31263 (scalbn_test_data): New variable.
31264 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31266 * math/libm-test.inc (struct test_c_f_data): New type.
31267 (RUN_TEST_LOOP_c_f): New macro.
31268 (cabs_test_data): New variable.
31269 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31270 (carg_test_data): New variable.
31271 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31272 (cimag_test_data): New variable.
31273 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31274 (creal_test_data): New variable.
31275 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31277 * math/libm-test.inc (struct test_if_f_data): New type.
31278 (RUN_TEST_LOOP_if_f): New macro.
31279 (jn_test_data): New variable.
31280 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31281 (yn_test_data): New variable.
31282 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31284 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31286 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31288 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31289 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31291 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31293 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31294 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31295 (bench-deps): Add bench-timing.h.
31296 * benchtests-bench-skeleton.c: Include bench-timing.h.
31297 (main): Use TIMING_* macros instead of clock_gettime.
31298 * benchtests/bench-timing.h: New file.
31301 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31302 Renamed from _LIB_VERSION.
31303 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31305 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31307 * math/libm-test.inc (struct test_fff_f_data): New type.
31308 (RUN_TEST_LOOP_fff_f): New macro.
31309 (fma_test_data): New variable.
31310 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31311 (fma_towardzero_test_data): New variable.
31312 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31313 (fma_downward_test_data): New variable.
31314 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31315 (fma_upward_test_data): New variable.
31316 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31318 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31319 (struct test_c_c_data): New type.
31320 (RUN_TEST_LOOP_c_c): New macro.
31321 (cacos_test_data): New variable.
31322 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31323 (cacosh_test_data): New variable.
31324 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31325 (casin_test_data): New variable.
31326 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31327 (casinh_test_data): New variable.
31328 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31329 (catan_test_data): New variable.
31330 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31331 (catanh_test_data): New variable.
31332 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31333 (ccos_test_data): New variable.
31334 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31335 (ccosh_test_data): New variable.
31336 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31337 (cexp_test_data): New variable.
31338 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31339 (clog_test_data): New variable.
31340 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31341 (clog10_test_data): New variable.
31342 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31343 (conj_test_data): New variable.
31344 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31345 (cproj_test_data): New variable.
31346 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31347 (csin_test_data): New variable.
31348 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31349 (csinh_test_data): New variable.
31350 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31351 (csqrt_test_data): New variable.
31352 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31353 (ctan_test_data): New variable.
31354 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31355 (ctan_tonearest_test_data): New variable.
31356 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31357 (ctan_towardzero_test_data): New variable.
31358 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31359 (ctan_downward_test_data): New variable.
31360 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31361 (ctan_upward_test_data): New variable.
31362 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31363 (ctanh_test_data): New variable.
31364 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31365 (ctanh_tonearest_test_data): New variable.
31366 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31367 (ctanh_towardzero_test_data): New variable.
31368 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31369 (ctanh_downward_test_data): New variable.
31370 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31371 (ctanh_upward_test_data): New variable.
31372 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31373 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31376 * math/libm-test.inc (struct test_ff_f_data): New type.
31377 (struct test_ff_f_data_nexttoward): Likewise.
31378 (RUN_TEST_LOOP_2_f): New macro.
31379 (RUN_TEST_LOOP_ff_f): Likewise.
31380 (atan2_test_data): New variable.
31381 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31382 (copysign_test_data): New variable.
31383 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31384 (fdim_test_data): New variable.
31385 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31386 (fmax_test_data): New variable.
31387 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31388 (fmin_test_data): New variable.
31389 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31390 (fmod_test_data): New variable.
31391 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31392 (hypot_test_data): New variable.
31393 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31394 (nextafter_test_data): New variable.
31395 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31396 (nexttoward_test_data): New variable.
31397 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31398 (pow_test_data): New variable.
31399 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31400 (pow_tonearest_test_data): New variable.
31401 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31402 (pow_towardzero_test_data): New variable.
31403 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31404 (pow_downward_test_data): New variable.
31405 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31406 (pow_upward_test_data): New variable.
31407 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31408 (remainder_test_data): New variable.
31409 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31410 (scalb_test_data): New variable.
31411 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31412 * sysdeps/i386/fpu/libm-test-ulps: Update.
31414 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31416 * math/libm-test.inc (fma_test): Use max_value instead of local
31418 (nextafter_test): Likewise.
31420 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31421 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31422 (acos_downward_test_data): New variable.
31423 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31424 (acos_upward_test_data): New variable.
31425 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31426 (acosh_test_data): New variable.
31427 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31428 (asin_test_data): New variable.
31429 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31430 (asin_tonearest_test_data): New variable.
31431 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31432 (asin_towardzero_test_data): New variable.
31433 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31434 (asin_downward_test_data): New variable.
31435 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31436 (asin_upward_test_data): New variable.
31437 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31438 (asinh_test_data): New variable.
31439 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31440 (atan_test_data): New variable.
31441 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31442 (atanh_test_data): New variable.
31443 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31444 (cbrt_test_data): New variable.
31445 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31446 (ceil_test_data): New variable.
31447 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31448 (cos_test_data): New variable.
31449 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31450 (cos_tonearest_test_data): New variable.
31451 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31452 (cos_towardzero_test_data): New variable.
31453 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31454 (cos_downward_test_data): New variable.
31455 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31456 (cos_upward_test_data): New variable.
31457 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31458 (cosh_test_data): New variable.
31459 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31460 (cosh_tonearest_test_data): New variable.
31461 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31462 (cosh_towardzero_test_data): New variable.
31463 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31464 (cosh_downward_test_data): New variable.
31465 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31466 (cosh_upward_test_data): New variable.
31467 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31468 (erf_test_data): New variable.
31469 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31470 (erfc_test_data): New variable.
31471 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31472 (exp_test_data): New variable.
31473 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31474 (exp_tonearest_test_data): New variable.
31475 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31476 (exp_towardzero_test_data): New variable.
31477 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31478 (exp_downward_test_data): New variable.
31479 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31480 (exp_upward_test_data): New variable.
31481 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31482 (exp10_test_data): New variable.
31483 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31484 (exp2_test_data): New variable.
31485 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31486 (expm1_test_data): New variable.
31487 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31488 (fabs_test_data): New variable.
31489 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31490 (floor_test_data): New variable.
31491 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31492 (j0_test_data): New variable.
31493 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31494 (j1_test_data): New variable.
31495 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31496 (log_test_data): New variable.
31497 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31498 (log10_test_data): New variable.
31499 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31500 (log1p_test_data): New variable.
31501 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31502 (log2_test_data): New variable.
31503 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31504 (logb_test_data): New variable.
31505 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31506 (logb_downward_test_data): New variable.
31507 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31508 (nearbyint_test_data): New variable.
31509 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31510 (rint_test_data): New variable.
31511 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31512 (rint_tonearest_test_data): New variable.
31513 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31514 (rint_towardzero_test_data): New variable.
31515 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31516 (rint_downward_test_data): New variable.
31517 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31518 (rint_upward_test_data): New variable.
31519 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31520 (round_test_data): New variable.
31521 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31522 (sin_test_data): New variable.
31523 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31524 (sin_tonearest_test_data): New variable.
31525 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31526 (sin_towardzero_test_data): New variable.
31527 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31528 (sin_downward_test_data): New variable.
31529 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31530 (sin_upward_test_data): New variable.
31531 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31532 (sinh_test_data): New variable.
31533 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31534 (sinh_tonearest_test_data): New variable.
31535 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31536 (sinh_towardzero_test_data): New variable.
31537 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31538 (sinh_downward_test_data): New variable.
31539 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31540 (sinh_upward_test_data): New variable.
31541 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31542 (sqrt_test_data): New variable.
31543 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31544 (tan_test_data): New variable.
31545 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31546 (tan_tonearest_test_data): New variable.
31547 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31548 (tan_towardzero_test_data): New variable.
31549 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31550 (tan_downward_test_data): New variable.
31551 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31552 (tan_upward_test_data): New variable.
31553 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31554 (tanh_test_data): New variable.
31555 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31556 (tgamma_test_data): New variable.
31557 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31558 (trunc_test_data): New variable.
31559 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31560 (y0_test_data): New variable.
31561 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31562 (y1_test_data): New variable.
31563 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31564 (significand_test_data): New variable.
31565 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31567 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31570 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31572 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31574 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31576 2013-05-10 Andreas Jaeger <aj@suse.de>
31579 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31580 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31582 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31584 * math/gen-libm-test.pl (adjust_arg): New function.
31585 (special_functions): Handle generating output in both functions
31587 (parse_args): Likewise.
31588 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31589 $in_func argument to parse_args.
31590 * math/libm-test.inc (struct test_f_f_data): New type.
31591 (IF_ROUND_INIT_): New macro.
31592 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31593 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31594 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31595 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31596 (ROUND_RESTORE_): Likewise.
31597 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31598 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31599 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31600 (ROUND_RESTORE_FE_UPWARD): Likewise.
31601 (RUN_TEST_LOOP_f_f): New macro.
31602 (acos_test_data): New variable.
31603 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31604 (acos_tonearest_test_data): New variable.
31605 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31607 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31609 * benchtests/bench-skeleton.c (startup): Fix coding style.
31611 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31614 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31615 negative infinity argument.
31616 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31617 negative infinity argument.
31618 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31619 negative infinity argument.
31620 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31623 2013-05-10 Florian Weimer <fweimer@redhat.com>
31625 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31626 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31627 * iconv/iconv_prog.c (main): Likewise.
31628 * locale/programs/charmap-dir.c (charmap_readdir)
31629 (fopen_uncompressed): Likewise.
31630 * locale/programs/locfile.c (siblings_uncached)
31631 (write_locale_data): Use lstat64 instead of lstat.
31632 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31635 2013-05-10 Andreas Jaeger <aj@suse.de>
31638 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31640 Include <locale.h>.
31642 2013-05-09 Carlos O'Donell <carlos@redhat.com>
31644 * elf/dl-close.c (_dl_close_worker): Add comments.
31646 2013-05-09 Joseph Myers <joseph@codesourcery.com>
31649 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31651 (__ieee754_rem_pio2l): Update comments.
31654 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31656 (__ieee754_rem_pio2l): Update comments.
31658 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31659 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31661 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31664 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31665 (M_PI_34_LOG10El): Likewise.
31666 (M_PI2_LOG10El): Likewise.
31667 (M_PI4_LOG10El): Likewise.
31668 (M_PI_LOG10El): Likewise.
31670 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31674 2013-05-08 Joseph Myers <joseph@codesourcery.com>
31676 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31677 (MINUS_ZERO_INIT): Likewise.
31678 (PLUS_INFTY_INIT): Likewise.
31679 (MINUS_INFTY_INIT): Likewise.
31680 (QNAN_VALUE_INIT): Likewise.
31681 (MAX_VALUE_INIT): Likewise.
31682 (MIN_VALUE_INIT): Likewise.
31683 (MIN_SUBNORM_VALUE_INIT): Likewise.
31684 (plus_zero): Initialize with PLUS_ZERO_INIT.
31685 (minus_zero): Initialize with MINUS_ZERO_INIT.
31686 (plus_infty): Initialize with PLUS_INFTY_INIT.
31687 (minus_infty): Initialize with MINUS_INFTY_INIT.
31688 (qnan_value): Initialize with QNAN_VALUE_INIT.
31689 (max_value): Initialize with MAX_VALUE_INIT.
31690 (min_value): Initialize with MIN_VALUE_INIT.
31691 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31693 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31694 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31695 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31696 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31698 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31699 (RUN_TEST_2_f): Likewise.
31700 (RUN_TEST_ff_f): Likewise.
31701 (RUN_TEST_fi_f): Likewise.
31702 (RUN_TEST_fl_f): Likewise.
31703 (RUN_TEST_fff_f): Likewise.
31704 (RUN_TEST_c_f): Likewise.
31705 (RUN_TEST_f_f1): Likewise.
31706 (RUN_TEST_fF_f1): Likewise.
31707 (RUN_TEST_fI_f1): Likewise.
31708 (RUN_TEST_ffI_f1): Likewise.
31709 (RUN_TEST_c_c): Likewise.
31710 (RUN_TEST_cc_c): Likewise.
31711 (RUN_TEST_f_i): Likewise.
31712 (RUN_TEST_f_i_tg): Likewise.
31713 (RUN_TEST_ff_i_tg): Likewise.
31714 (RUN_TEST_f_b): Likewise.
31715 (RUN_TEST_f_b_tg): Likewise.
31716 (RUN_TEST_f_l): Likewise.
31717 (RUN_TEST_f_L): Likewise.
31718 (RUN_TEST_sincos): Likewise.
31719 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31720 whether to show exceptions. Do not include ");\n" in return
31722 (special_functions): Output call to RUN_TEST_sincos instead of
31723 check_float calls. Update calls to new_test.
31724 (parse_args): Output call to single RUN_TEST_* macro instead of
31725 check_* calls and other assignments. Update calls to new_test.
31731 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31732 input to result for tgamma overflow.
31733 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31734 (gamma_coeff): New variable.
31735 (NCOEFF): New macro.
31736 (gamma_positive): New function.
31737 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31738 underflow here. Use gamma_positive instead of exp (lgamma) for
31740 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31741 (gamma_coeff): New variable.
31742 (NCOEFF): New macro.
31743 (gammaf_positive): New function.
31744 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31745 underflow here. Use gamma_positive instead of exp (lgamma) for
31747 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31748 (gamma_coeff): New variable.
31749 (NCOEFF): New macro.
31750 (gammal_positive): New function.
31751 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31752 underflow here. Use gamma_positive instead of exp (lgamma) for
31754 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31755 (gamma_coeff): New variable.
31756 (NCOEFF): New macro.
31757 (gammal_positive): New function.
31758 (__ieee754_gammal_r): Handle positive infinity, overflow and
31759 underflow here. Handle NaN the same as positive infinity. Remove
31760 check x < 0xffffffff for negative integers. Use gamma_positive
31761 instead of exp (lgamma) for other arguments.
31762 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31763 (gamma_coeff): New variable.
31764 (NCOEFF): New macro.
31765 (gammal_positive): New function.
31766 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31767 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31768 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31769 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31770 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31771 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31772 * sysdeps/generic/math_private.h (__gamma_productf): New
31774 (__gamma_product): Likewise.
31775 (__gamma_productl): Likewise.
31776 * math/Makefile (libm-calls): Add gamma_product.
31777 * math/libm-test.inc (tgamma_test): Add more tests.
31778 * sysdeps/i386/fpu/libm-test-ulps: Update.
31779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31781 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
31783 * benchtests/bench-skeleton.c (main): Preheat CPU.
31785 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31787 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31789 2013-05-07 Roland McGrath <roland@hack.frob.com>
31791 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31792 and _dl_skip_args_internal.
31794 2013-05-07 Carlos O'Donell <carlos@redhat.com>
31796 * manual/message.texi (Message Translation): Talk about users.
31797 Message to key mapping impacts design.
31799 2013-05-06 Roland McGrath <roland@hack.frob.com>
31801 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31803 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31805 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31806 * sysdeps/wordsize-64/glob64.c: ... here.
31808 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31809 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31812 * debug/getlogin_r_chk.c: Moved to ...
31813 * login/getlogin_r_chk.c: ... here.
31814 * debug/Makefile (routines): Move getlogin_r_chk to ...
31815 * login/Makefile (routines): ... here.
31816 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31817 * login/Versions (libc: GLIBC_2.4): ... here.
31819 * io/poll.c (__poll): Renamed from poll.
31820 Add libc_hidden_def.
31821 (poll): Define as weak alias.
31823 * debug/ptsname_r_chk.c: Moved to ...
31824 * login/ptsname_r_chk.c: ... here.
31825 * debug/Makefile (routines): Move ptsname_r_chk to ...
31826 * login/Makefile (routines): ... here.
31827 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31828 * login/Versions (libc: GLIBC_2.4): ... here.
31830 * posix/getlogin.c: Moved to ...
31831 * login/getlogin.c: ... here.
31832 * posix/getlogin_r.c: Moved to ...
31833 * login/getlogin_r.c: ... here.
31834 * posix/getlogin_r.c: Moved to ...
31835 * login/getlogin_r.c: ... here.
31836 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31837 * login/Makefile (routines): ... here.
31838 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31839 * login/Versions (libc: GLIBC_2.0): ... here.
31841 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31842 (setrlimit): Define as weak alias.
31844 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31845 Call __ names for open, ftruncate, and close.
31846 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31847 (truncate): Define as weak alias.
31849 2013-05-06 Joseph Myers <joseph@codesourcery.com>
31851 * math/gen-libm-test.pl (parse_args): Initialize x before each
31852 test of frexp, modf and remquo.
31854 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31855 test signgam value.
31857 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31861 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31863 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31865 2013-05-06 Roland McGrath <roland@hack.frob.com>
31867 * elf/dl-writev.h: New file.
31868 * elf/dl-misc.c: Include it.
31869 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31870 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31872 2013-05-04 Joseph Myers <joseph@codesourcery.com>
31874 * math/libm-test.inc (noXFails): Remove variable.
31875 (noXPasses): Likewise.
31876 (BUILD_COMPLEX_INT): Remove macro.
31877 (print_screen): Remove xfail argument.
31878 (print_screen_max_error): Likewise.
31879 (update_stats): Likewise.
31880 (print_max_error): Likewise. Update calls to other affected
31882 (print_complex_max_error): Likewise.
31883 (test_single_exception): Update calls to print_screen.
31884 (test_single_errno): Likewise.
31885 (check_float_internal): Remove xfail argument. Update calls to
31886 other affected functions.
31887 (check_float): Likewise.
31888 (check_complex): Likewise.
31889 (check_int): Likewise.
31890 (check_long): Likewise.
31891 (check_bool): Likewise.
31892 (check_longlong): Likewise.
31893 (main): Don't print noXFails and noXPasses.
31894 * math/gen-libm-test.pl (top level): Don't mention expected
31895 failure handling in comment.
31896 (new_test): Don't handle expected failures.
31897 (parse_args): Don't mention expected failure handling in comment.
31898 (generate_testfile): Don't handle expected failures.
31899 (parse_ulps): Likewise.
31900 (print_ulps_file): Likewise.
31901 (get_failure): Remove function.
31902 (output_test): Don't handle expected failures.
31903 * make/README.libm-test: Don't mention expected failure handling.
31905 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31906 (minus_zero): Likewise.
31907 (plus_infty): Likewise.
31908 (minus_infty): Likewise.
31909 (qnan_value): Likewise.
31910 (max_value): Likewise.
31911 (min_value): Likewise.
31912 (min_subnorm_value): Likewise.
31913 (initialize): Do not initialize those variables dynamically.
31915 2013-05-03 Roland McGrath <roland@hack.frob.com>
31917 * io/open.c (__open_2): Moved to ...
31918 * io/open_2.c: ... this new file.
31919 * io/open64.c (__open64_2): Moved to ...
31920 * io/open64_2.c: ... this new file.
31921 * io/openat.c (__openat_2): Moved to ...
31922 * io/openat_2.c: ... this new file.
31923 * io/openat64.c (__openat64_2): Moved to ...
31924 * io/openat64_2.c: ... this new file.
31925 * io/Makefile (routines): Add them.
31926 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31927 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31928 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31929 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31930 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31931 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31932 (__openat64): Add hidden_ver.
31933 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31934 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31936 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31937 Separately conditionalize setting of GLRO(dl_sysinfo) so
31938 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31939 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31941 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31943 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31944 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31946 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31947 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31948 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31949 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31950 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31952 2013-05-03 Joseph Myers <joseph@codesourcery.com>
31954 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31955 test signgam value.
31957 * math/libm-test.inc (hypot_test): Do not use
31958 IGNORE_ZERO_INF_SIGN.
31960 2013-05-03 Andreas Jaeger <aj@suse.de>
31962 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31964 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31965 (PF_MAX): Adjust for VSOCK change.
31967 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31971 2013-05-02 Carlos O'Donell <carlos@redhat.com>
31974 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31975 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31976 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31978 2013-05-02 David S. Miller <davem@davemloft.net>
31980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31982 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
31984 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31986 2013-05-01 Roland McGrath <roland@hack.frob.com>
31988 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31990 2013-05-01 Richard Smith <richard@metafoo.co.uk>
31993 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31994 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31995 Use __attribute__ ((__gnu_inline__)).
31996 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31997 Don't use __attribute__ ((__gnu_inline__)).
31999 2013-05-01 Joseph Myers <joseph@codesourcery.com>
32002 * math/s_catan.c (__catan): Handle small real or imaginary part of
32003 input specially to avoid spurious underflow.
32004 * math/s_catanf.c (__catanf): Likewise.
32005 * math/s_catanh.c (__catanh): Likewise.
32006 * math/s_catanhf.c (__catanhf): Likewise.
32007 * math/s_catanhl.c (__catanhl): Likewise.
32008 * math/s_catanl.c (__catanl): Likewise.
32009 * math/libm-test.inc (catan_test): Add more tests.
32010 (catanh_test): Likewise.
32011 * sysdeps/i386/fpu/libm-test-ulps: Update.
32012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32014 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32018 2013-04-30 Joseph Myers <joseph@codesourcery.com>
32021 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32022 accurately for denominator in atan2.
32023 * math/s_catanf.c (__catanf): Likewise.
32024 * math/s_catanh.c (__catanh): Likewise.
32025 * math/s_catanhf.c (__catanhf): Likewise.
32026 * math/s_catanhl.c (__catanhl): Likewise.
32027 * math/s_catanl.c (__catanl): Likewise.
32028 * math/libm-test.inc (catan_test): Add more tests.
32029 (catanh_test): Likewise.
32030 * sysdeps/i386/fpu/libm-test-ulps: Update.
32031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32033 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32035 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32037 * benchtests/Makefile (bench): Remove slow benchmarks.
32038 * benchtests/atan-inputs: Add slow benchmark inputs.
32039 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32040 (BENCH_FUNC): Accept variant offset.
32042 * benchtests/bench-skeleton.c (main): Run benchmark for each
32044 * benchtests/cos-inputs: Add slow benchmark inputs.
32045 * benchtests/exp-inputs: Likewise.
32046 * benchtests/pow-inputs: Likewise.
32047 * benchtests/sin-inputs: Likewise.
32048 * benchtests/slowatan-inputs: Remove.
32049 * benchtests/slowatan.c: Remove.
32050 * benchtests/slowcos-inputs: Remove.
32051 * benchtests/slowcos.c: Remove.
32052 * benchtests/slowexp-inputs: Remove.
32053 * benchtests/slowexp.c: Remove.
32054 * benchtests/slowpow-inputs: Remove.
32055 * benchtests/slowpow.c: Remove.
32056 * benchtests/slowsin-inputs: Remove.
32057 * benchtests/slowsin.c: Remove.
32058 * benchtests/slowtan-inputs: Remove.
32059 * benchtests/slowtan.c: Remove.
32060 * benchtests/tan-inputs: Add slow benchmark inputs.
32061 * scripts/bench.pl: Parse comments and directives.
32063 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32065 ($(objpfx)bench-%.c): Remove *-ITER.
32066 * benchtests/bench-modf.c: Remove definition of ITER.
32067 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32068 (main): Loop for DURATION seconds instead of fixed number of
32070 * scripts/bench.pl: Don't expect iterations in parameters.
32072 2013-04-29 Roland McGrath <roland@hack.frob.com>
32074 * io/fchdir.c (__fchdir): Renamed from fchdir.
32075 (fchdir): Define as weak alias.
32077 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32079 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32080 (ERRNO_EDOM): Likewise.
32081 (ERRNO_ERANGE): Likewise.
32082 (noErrnoTests): New variable.
32083 (init_max_error): Set errno to 0.
32084 (test_single_errno): New function.
32085 (test_errno): Likewise.
32086 (check_float_internal): Call test_errno. Set errno to 0.
32087 (check_complex): Refer to errno tests in comment.
32088 (check_int): Call test_errno. Set errno to 0.
32089 (check_long): Likewise.
32090 (check_bool): Likewise.
32091 (check_longlong): Likewise.
32092 (cos_test): Use ERRNO_* flags for errno tests instead of
32094 (expm1_test): Likewise.
32095 (fmod_test): Likewise.
32096 (ilogb_test): Likewise.
32097 (lgamma_test): Likewise.
32098 (pow_test): Likewise.
32099 (remainder_test): Likewise.
32100 (sin_test): Likewise.
32101 (tan_test): Likewise.
32102 (yn_test): Likewise.
32103 (initialize): Set errno to 0.
32104 (main): Print number of errno tests.
32105 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32107 2013-04-29 Andreas Jaeger <aj@suse.de>
32110 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32114 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32115 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32119 * stdlib/random.c (__initstate): Return NULL if
32123 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32124 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32127 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32131 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32133 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32134 of individual tests.
32135 (casin_test): Likewise.
32136 (casinh_test): Likewise.
32138 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32141 * math/s_catan.c (__catan): Handle arguments with large real or
32142 imaginary part separately without squaring.
32143 * math/s_catanf.c (__catanf): Likewise.
32144 * math/s_catanh.c (__catanh): Likewise.
32145 * math/s_catanhf.c (__catanhf): Likewise.
32146 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32148 (__catanhl): Handle arguments with large real or imaginary part
32149 separately without squaring.
32150 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32152 (__catanl): Handle arguments with large real or imaginary part
32153 separately without squaring.
32154 * math/libm-test.inc (catan_test): Add more tests.
32155 (catanh_test): Likewise.
32156 * sysdeps/i386/fpu/libm-test-ulps: Update.
32157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32159 2013-04-27 Andreas Jaeger <aj@suse.de>
32162 * stdlib/stdlib.h: Update guards for qecvt.
32163 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32166 2013-04-27 Allan McRae <allan@archlinux.org>
32168 * sysdeps/i386/fpu/libm-test-ulps: Update.
32170 2013-04-26 Joseph Myers <joseph@codesourcery.com>
32173 * math/s_catan.c: Include <float.h>.
32174 (__catan): Ensure underflow exception occurs for underflowed
32176 * math/s_catanf.c: Include <float.h>.
32177 (__catanf): Ensure underflow exception occurs for underflowed
32179 * math/s_catanh.c: Include <float.h>.
32180 (__catanh): Ensure underflow exception occurs for underflowed
32182 * math/s_catanhf.c: Include <float.h>.
32183 (__catanhf): Ensure underflow exception occurs for underflowed
32185 * math/s_catanhl.c: Include <float.h>.
32186 (__catanhl): Ensure underflow exception occurs for underflowed
32188 * math/s_catanl.c: Include <float.h>.
32189 (__catanl): Ensure underflow exception occurs for underflowed
32191 * math/libm-test.inc (catan_test): Add more tests.
32192 (catanh_test): Likewise.
32195 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32196 underflowed result.
32197 * math/s_ccoshf.c (__ccoshf): Likewise.
32198 * math/s_ccoshl.c (__ccoshl): Likewise.
32199 * math/s_csin.c (__csin): Likewise.
32200 * math/s_csinf.c (__csinf): Likewise.
32201 * math/s_csinh.c (__csinh): Likewise.
32202 * math/s_csinhf.c (__csinhf): Likewise.
32203 * math/s_csinhl.c (__csinhl): Likewise.
32204 * math/s_csinl.c (__csinl): Likewise.
32205 * math/libm-test.inc (ccos_test): Add more tests.
32206 (ccosh_test): Likewise.
32207 (csin_test): Likewise.
32208 (csinh_test): Likewise.
32210 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32212 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32213 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32214 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32215 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32216 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32217 powerpc/power5+/fpu folders.
32218 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32221 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32225 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32227 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32228 additions to variable.
32229 [$(config-machine) = x86_64] (modules-names): Likewise.
32230 ($(objpfx)tst-audit3): Remove dependency.
32231 ($(objpfx)tst-audit3.out): Likewise.
32232 ($(objpfx)tst-audit4): Likewise.
32233 ($(objpfx)tst-audit4.out): Likewise.
32234 ($(objpfx)tst-audit5): Likewise.
32235 ($(objpfx)tst-audit5.out): Likewise.
32236 ($(objpfx)tst-audit6): Likewise.
32237 ($(objpfx)tst-audit6.out): Likewise.
32238 ($(objpfx)tst-audit7): Likewise.
32239 ($(objpfx)tst-audit7.out): Likewise.
32240 (tst-audit3-ENV): Remove variable.
32241 (tst-audit4-ENV): Likewise.
32242 (tst-audit5-ENV): Likewise.
32243 (tst-audit6-ENV): Likewise.
32244 (tst-audit7-ENV): Likewise.
32245 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32246 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32247 addition to variable.
32248 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32249 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32250 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32251 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32252 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32253 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32254 tst-audit3, tst-audit4 and tst-audit5.
32255 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32256 tst-audit6 and tst-audit7.
32257 [$(subdir) = elf] (modules-names): Add audit modules for those
32259 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32260 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32261 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32262 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32263 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32264 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32265 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32266 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32267 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32268 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32269 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32270 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32271 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32272 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32273 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32274 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32276 [$(subdir) = elf && $(config-cflags-avx) = yes]
32277 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32278 [$(subdir) = elf && $(config-cflags-avx) = yes]
32279 (CFLAGS-tst-auditmod4a.c): Likewise.
32280 [$(subdir) = elf && $(config-cflags-avx) = yes]
32281 (CFLAGS-tst-auditmod4b.c): Likewise.
32282 [$(subdir) = elf && $(config-cflags-avx) = yes]
32283 (CFLAGS-tst-auditmod6b.c): Likewise.
32284 [$(subdir) = elf && $(config-cflags-avx) = yes]
32285 (CFLAGS-tst-auditmod6c.c): Likewise.
32286 [$(subdir) = elf && $(config-cflags-avx) = yes]
32287 (CFLAGS-tst-auditmod7b.c): Likewise.
32288 * elf/tst-audit3.c: Move to ...
32289 * sysdeps/x86_64/tst-audit3.c: ... here.
32290 * elf/tst-audit4.c: Move to ...
32291 * sysdeps/x86_64/tst-audit4.c: ... here.
32292 * elf/tst-audit5.c: Move to ...
32293 * sysdeps/x86_64/tst-audit5.c: ... here.
32294 * elf/tst-audit6.c: Move to ...
32295 * sysdeps/x86_64/tst-audit6.c: ... here.
32296 * elf/tst-audit7.c: Move to ...
32297 * sysdeps/x86_64/tst-audit7.c: ... here.
32298 * elf/tst-auditmod3a.c: Move to ...
32299 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32300 * elf/tst-auditmod3b.c: Move to ...
32301 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32302 * elf/tst-auditmod4a.c: Move to ...
32303 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32304 * elf/tst-auditmod4b.c: Move to ...
32305 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32306 * elf/tst-auditmod5a.c: Move to ...
32307 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32308 * elf/tst-auditmod5b.c: Move to ...
32309 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32310 * elf/tst-auditmod6a.c: Move to ...
32311 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32312 * elf/tst-auditmod6b.c: Move to ...
32313 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32314 * elf/tst-auditmod6c.c: Move to ...
32315 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32316 * elf/tst-auditmod7a.c: Move to ...
32317 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32318 * elf/tst-auditmod7b.c: Move to ...
32319 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32321 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32324 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32325 define unconditionally.
32326 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32327 define unconditionally.
32328 (INT8_C, INT16_C, etc.): Likewise.
32330 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32332 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32333 __ehdr_start with hidden visibility.
32335 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32337 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32339 * math/libm-test.inc (cos_test): Use accurate hex constants.
32340 (sincost_test): Likewise.
32342 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32344 * math/libm-test.inc (catan_test): Add more tests.
32345 (catanh_test): Likewise.
32347 * math/s_catanf.c (__catanf): Use suffixed floating-point
32349 * math/s_catanhf.c (__catanhf): Likewise.
32350 * math/s_catanhl.c (__catanhl): Likewise.
32351 * math/s_catanl.c (__catanl): Likewise.
32354 * math/s_catan.c (__catan): Calculate imaginary part of result
32355 with log1p not log unless computing log of number close to 0.
32356 * math/s_catanf.c (__catanf): Likewise.
32357 * math/s_catanl.c (__catanl): Likewise.
32358 * math/s_catanh.c (__catanh): Calculate real part of result with
32359 log1p not log unless computing log of number close to 0.
32360 * math/s_catanhf.c (__catanhf): Likewise.
32361 * math/s_catanhl.c (__catanhl): Likewise.
32362 * math/libm-test.inc (catan_test): Add more tests.
32363 (catanh_test): Likewise.
32364 * sysdeps/i386/fpu/libm-test-ulps: Update.
32365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32367 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32369 * benchtests/Makefile: Mention files in which fast and slow
32370 paths of math functions are implemented.
32372 2013-04-23 Roland McGrath <roland@hack.frob.com>
32374 * sysdeps/posix/timespec_get.c: New file.
32376 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32378 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32380 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32382 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32383 powerpc/power5/fpu folders.
32384 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32385 * benchtests/Makefile: Add modf testcase.
32386 * benchtests/bench-modf.c: New file: Benchmark test for mo
32388 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32391 * time/Makefile (tests): Add tst-strptime-whitespace.
32392 * time/strptime_l.c (get_number): Use ISSPACE.
32393 (__strptime_internal): Likewise.
32394 * time/tst-strptime-whitespace.c: New test case.
32396 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32398 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32400 (_nss_files_init): Set it here.
32402 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32404 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32405 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32408 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32410 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32412 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32414 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32417 2013-04-21 David S. Miller <davem@davemloft.net>
32419 * po/ru.po: Update Russion translation from translation project.
32421 2013-04-17 Adam Conrad <adconrad@0c3.net>
32423 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32426 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32428 * configure.in: Remove i386 configure warning. Remove i386 case.
32429 * configure: Regenerate.
32430 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32431 Add example to error message.
32432 * sysdeps/i386/configure: Regenerate.
32434 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32436 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32438 * benchtests/cos-inputs: New file.
32439 * benchtests/slowcos-inputs: New file.
32440 * benchtests/slowcos.c: New file.
32441 * benchtests/slowtan-inputs: New file.
32442 * benchtests/slowtan.c: New file.
32443 * benchtests/tan-inputs: New file.
32445 2013-04-16 Roland McGrath <roland@hack.frob.com>
32447 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32450 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32452 * benchtests/Makefile: Include cppflags-iterator.mk to add
32453 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32455 * Makefile.in (bench-clean): New target.
32456 * benchtests/Makefile (bench-clean): Likewise.
32458 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32460 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32462 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32464 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32466 2013-04-15 Andreas Schwab <schwab@suse.de>
32468 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32469 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32470 * nscd/pwdcache.c (cache_addpw): Likewise.
32471 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32474 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32476 * benchtests/Makefile (bench): Write all output to
32477 bench-out.tmp together.
32479 2013-04-15 Andreas Schwab <schwab@suse.de>
32481 * nscd/nscd.c (main): Don't fork again after closing files.
32483 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32485 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32487 * benchtests/Rules (bench-deps): Collect dependencies into a
32488 single variable. Add Makefile to dependencies.
32489 ($(objpfx)bench-%.c): Depend on bench-deps.
32491 2013-04-12 Roland McGrath <roland@hack.frob.com>
32492 Xavier Roche <roche+kml2@exalead.com>
32495 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32496 just that it's a file descriptor.
32497 * manual/llio.texi (Synchronizing AIO Operations): Update description
32498 for EBADF error from aio_fsync.
32500 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32502 * Rules (bench): Move target definition...
32503 * benchtests/Makefile: ... here.
32505 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32507 * math/libm-test.inc (cos_test): Fix PI/2 test.
32508 (sincos_test): Likewise.
32509 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32510 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32512 2013-04-11 Andreas Schwab <schwab@suse.de>
32515 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32516 accept exponent character only when digits were seen.
32517 * stdio-common/Makefile (tests): Add bug26.
32518 * stdio-common/bug26.c: New file.
32521 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32524 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32526 * Makeconfig (rtld-prefix): Define built linker prefix.
32527 * Rules (run-bench): Use it.
32528 * math/Makefile (run-regen-ulps): Likewise.
32530 * Rules (bench): Remove eval.
32532 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32533 Roland McGrath <roland@hack.frob.com>
32534 Ondrej Bilka <neleai@seznam.cz>
32537 * time/getdate.c: Include ctype.h and alloca.h.
32538 (__getdate_r): Trim leading and trailing spaces of input.
32539 * time/tst-getdate.c (tests): Add tests with leading and
32542 2013-04-08 Roland McGrath <roland@hack.frob.com>
32545 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32546 when computing value.
32548 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32550 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32551 Use testrun.sh to run libm tests.
32554 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32556 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32559 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32561 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32563 * Makefile.in (regen-ulps): New target.
32564 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32565 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32566 [ifneq (no,$(PERL)] (regen-ulps): New target.
32567 [ifeq (no,$(PERL)] (regen-ulps): New target.
32568 * math/libm-test.inc (ulps_file_name): Define.
32569 (output_dir): New variable.
32570 (options): Add "output-dir" option.
32571 (parse_opt): Handle 'o' case.
32572 (main): If output_dir is non-NULL use it as a prefix
32574 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32576 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32578 [BZ #10060, #10062]
32579 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32580 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32581 fail configure if __sync_val_compare_and_swap is not inlined.
32582 * sysdeps/i386/configure: Regenerate.
32583 * configure.in: Build for i686 when configured for i386.
32584 * configure: Regenerate.
32585 * README: Remove i386 reference.
32587 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32589 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32590 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32592 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32594 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32595 (lmsnanval): New variables.
32596 (F): Add conversion tests.
32597 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32598 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32600 * stdio-common/tstdiomisc.c (F): Properly collect individual
32603 [BZ #14686, #15336]
32604 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32605 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32606 Instead, use input NaN values or generate a qNaN by arithmetic
32607 operation. Also fix bugs to comply with the standard.
32608 * math/libm-test.inc (remainder_test): Add more tests.
32610 [BZ #15335, #15342]
32611 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32612 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32613 input NaN values or generate a qNaN by arithmetic operation.
32615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32618 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32621 2013-04-03 Joseph Myers <joseph@codesourcery.com>
32624 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32625 underflowed result.
32626 * math/s_cexpf.c (__cexpf): Likewise.
32627 * math/s_cexpl.c (__cexpl): Likewise.
32628 * math/libm-test.inc (cexp_test): Add more tests.
32630 2013-04-03 Andreas Schwab <schwab@suse.de>
32633 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32634 order arrays from heap if bigger than alloca cutoff.
32636 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32638 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32639 (SNAN_TESTS_double): Refer to GCC PR56831.
32640 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32643 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32645 * Rules (bench): Move bench.out after the run is complete.
32647 * Rules (bench): Echo currently running benchmark.
32649 * benchtests/Makefile (bench): Add atan and slowatan.
32650 * benchtests/atan-inputs: New file.
32651 * benchtests/slowatan-inputs: New file.
32652 * benchtests/slowatan.c: New file.
32654 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32655 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32659 * sysdeps/unix/sysv/linux/kernel-features.h
32660 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32661 __ASSUME_XFS_RESTRICTED_CHOWN.
32662 * sysdeps/unix/sysv/linux/pathconf.c
32663 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32664 Save and restore errno.
32666 2013-04-02 Joseph Myers <joseph@codesourcery.com>
32669 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32670 arguments using __kernel_casinh.
32671 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32672 arguments using __kernel_casinhf.
32673 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32674 arguments using __kernel_casinhl.
32675 * math/libm-test.inc (cacosh_test): Add more tests.
32676 * sysdeps/i386/fpu/libm-test-ulps: Update.
32677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32679 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32681 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32684 * bench/Makefile (bench): Add sin and slowsin.
32685 * benchtests/sin-inputs: New file.
32686 * benchtests/slowsin-inputs: New file.
32687 * benchtests/slowsin.c: New file.
32689 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32690 (bench): Add slowexp and slowpow.
32691 (exp-ITER): Increase iterations.
32692 (pow-ITER): Likewise.
32693 * benchtests/exp-inputs: Change input.
32694 * benchtests/pow-inputs: Likewise.
32695 * benchtests/slowexp-inputs: New file.
32696 * benchtests/slowexp.c: New file.
32697 * benchtests/slowpow-inputs: New file.
32698 * benchtests/slowpow.c: New file.
32700 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32702 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32704 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32705 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32706 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32707 * benchtests/Makefile: Add rint benchtest.
32708 * benchtests/rint-inputs: Input for rint benchtest.
32710 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32712 * Versions.def (libm): Add GLIBC_2.18.
32713 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32714 hidden libm prototypes.
32715 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32716 * math/Makefile (libm-calls): Add s_issignaling.
32717 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32718 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32719 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32721 * math/math.h [__USE_GNU] (issignaling): New macro.
32722 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32723 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32724 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32725 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32726 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32727 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32728 * manual/arith.texi (issignaling): New section.
32729 * manual/libm-err-tab.pl (@all_functions): Update comment.
32730 * math/gen-libm-test.pl (parse_args): Apply special handling for
32732 * math/libm-test.inc (print_float, issignaling_test): New
32734 (check_float_internal): Add issignaling checks.
32735 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32736 default definition.
32737 * sysdeps/powerpc/math-tests.h: New file.
32738 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32740 * math/test-snan.c (TEST_FUNC): Likewise.
32742 2013-03-30 David S. Miller <davem@davemloft.net>
32744 * po/de.po: Update from translation team.
32746 2013-03-30 Joseph Myers <joseph@codesourcery.com>
32749 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32750 imaginary part less than 1.0 and real part less than 0.5
32752 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32753 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32754 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32755 (cacos_test): Add more tests.
32756 (casin_test): Likewise.
32757 (casinh_test): Likewise.
32758 * sysdeps/i386/fpu/libm-test-ulps: Update.
32759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32761 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32763 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32764 ONE with its value.
32766 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32767 (__pow_mp): Replace ONE and MONE with their values.
32768 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32769 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32770 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32771 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32772 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32773 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32775 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32777 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32778 (__pow_mp): Replace ZERO and MZERO with their values.
32779 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32780 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32781 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32782 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32783 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32784 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32787 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32789 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32791 2013-03-28 Roland McGrath <roland@hack.frob.com>
32793 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32794 Declare with __attribute__ ((weak)).
32795 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32796 Call __call_tls_dtors only if it's not NULL.
32798 2013-03-28 Roland McGrath <roland@hack.frob.com>
32800 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32801 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32802 magic __ehdr_start linker symbol if it's defined.
32803 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32804 them up here if it was already done.
32806 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32807 (_dl_aux_init): Use const in cast when setting it.
32808 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32809 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32810 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32812 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32814 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32815 * csu/libc-tls.c: Nor here.
32816 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32818 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32819 (__libc_message): Never call vsyslog.
32821 2013-03-28 Alan Modra <amodra@gmail.com>
32823 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32825 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32828 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32831 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32835 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32838 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32839 Don't add gid passed as argument.
32841 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32843 2013-03-27 Joseph Myers <joseph@codesourcery.com>
32846 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32847 imaginary part between 1.0 and 1.5 and real part less than 0.5
32849 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32850 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32851 * math/libm-test.inc (cacos_test): Add more tests.
32852 (casin_test): Likewise.
32853 (casinh_test): Likewise.
32854 * sysdeps/i386/fpu/libm-test-ulps: Update.
32855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32857 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32859 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32862 (denorm): Likewise.
32863 (__dbl_mp): Likewise.
32864 (add_magnitudes): Likewise.
32865 (sub_magnitudes): Likewise.
32873 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32875 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32876 (__dubcos): Likewise.
32877 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32878 (__ieee754_acos): Likewise.
32879 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32880 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32881 (__exp1): Likewise.
32882 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32883 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32885 (my_log2): Likewise.
32886 (checkint): Likewise.
32887 * sysdeps/ieee754/dbl-64/e_remainder.c
32888 (__ieee754_remainder): Likewise.
32889 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32890 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32891 (bsloww): Likewise.
32892 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32894 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32895 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32896 MANTISSA_STORE_T to store computations on mantissa. Use
32897 macros for rounding and division.
32898 (denorm): Likewise.
32899 (__dbl_mp): Likewise.
32900 (add_magnitudes): Likewise.
32901 (sub_magnitudes): Likewise.
32904 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32905 powers of two in terms of TWOPOW macro.
32906 (mp_no): Make type of mantissa as MANTISSA_T.
32907 [!RADIXI]: Define RADIXI.
32908 [!TWO52]: Define TWO52.
32909 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32911 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32913 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32914 llroundl symbol when building for PPC32.
32916 2013-03-24 Mark H Weaver <mhw@netris.org>
32918 * manual/arith.texi (Normalization Functions): Fix prototypes for
32919 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32921 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32924 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32925 high value to check if expl overflow.
32926 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32927 to check for underflow and overflow.
32928 * math/libm-test.inc: Add exp test.
32930 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32933 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32936 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32938 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32941 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32943 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32944 wrap blocks consisting of several statements.
32946 * sysdeps/generic/math-tests.h: New file.
32947 * sysdeps/i386/fpu/math-tests.h: Likewise.
32948 * math/test-snan.c: Include it.
32949 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32951 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32954 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32955 (__ieee754_j0l): Do not improve calculations using cos of twice
32956 input for inputs above LDBL_MAX / 2.0L.
32957 (__ieee754_y0l): Likewise.
32958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32959 (__ieee754_j1l): Do not improve calculations using cos of twice
32960 input for inputs above LDBL_MAX / 2.0L.
32961 (__ieee754_y1l): Likewise.
32962 * math/libm-test.inc (j0_test): Add another test.
32963 (j1_test): Likewise.
32964 (y0_test): Likewise.
32965 (y1_test): Likewise.
32966 * sysdeps/i386/fpu/libm-test-ulps: Update.
32968 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32970 * Rules ($(objpfx)bench-%.c): Include code from a C source
32973 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32976 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32977 imaginary part 1.0 and real part less than 0.5 specially.
32978 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32979 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32980 * math/libm-test.inc (cacos_test): Add more tests.
32981 (casin_test): Likewise.
32982 (casinh_test): Likewise.
32983 * sysdeps/i386/fpu/libm-test-ulps: Update.
32984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32986 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32988 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32989 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32991 2013-03-20 Joseph Myers <joseph@codesourcery.com>
32993 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32994 * config.make.in (config-cflags-sse4): Remove variable.
32995 (config-cflags-avx): Likewise.
32996 (config-cflags-sse2avx): Likewise.
32997 (config-cflags-novzeroupper): Likewise.
32998 (config-asflags-i686): Likewise.
32999 (have-mfma4): Likewise.
33000 (have-as-vis3): Likewise.
33002 * configure.in (MIG): Do not AC_SUBST.
33003 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33004 (libc_cv_cc_sse4): Do not AC_SUBST.
33005 (libc_cv_cc_avx): Likewise.
33006 (libc_cv_cc_sse2avx): Likewise.
33007 (libc_cv_cc_novzeroupper): Likewise.
33008 (libc_cv_cc_fma4): Likewise.
33009 (libc_cv_as_i686): Likewise.
33010 (libc_cv_sparc_as_vis3): Likewise.
33011 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33013 (config-asflags-i686): Likewise.
33014 (config-cflags-avx): Likewise.
33015 (config-cflags-sse2avx): Likewise.
33016 (have-mfma4): Likewise.
33017 (config-cflags-novzeroupper): Likewise.
33018 * sysdeps/mach/configure.in (MIG): Likewise.
33019 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33020 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33022 (config-cflags-avx): Likewise.
33023 (config-cflags-sse2avx): Likewise.
33024 (have-mfma4): Likewise.
33025 (config-cflags-novzeroupper): Likewise.
33026 * configure: Regenerated.
33027 * sysdeps/i386/configure: Likewise.
33028 * sysdeps/mach/configure: Likewise.
33029 * sysdeps/sparc/configure: Likewise.
33030 * sysdeps/x86_64/configure: Likewise.
33032 2013-03-20 Roland McGrath <roland@hack.frob.com>
33035 * locale/programs/localedef.c (options): Put N_ translation marker
33036 on argument names, not just descriptions.
33038 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33040 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33042 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33045 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33047 2013-03-19 Roland McGrath <roland@hack.frob.com>
33049 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33050 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33051 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33052 [!BEFORE_ABORT] (before_abort): New function.
33053 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33054 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33055 (writev_for_fatal): New function.
33056 (WRITEV_FOR_FATAL): New macro; call that.
33057 (backtrace_and_maps): New function.
33058 (BEFORE_ABORT): New macro; call that.
33059 (struct str_list): Type removed.
33060 (__libc_message, __libc_fatal): Functions removed.
33061 Include <sysdeps/posix/libc_fatal.c> instead.
33063 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33065 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33067 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33070 2013-03-19 Andreas Schwab <schwab@suse.de>
33072 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33073 * sysdeps/gnu/configure: Regenerate.
33075 * configure.in: Substitute libc_cv_rtlddir.
33076 * configure: Regenerate.
33077 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33078 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33079 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33080 * elf/Makefile (install-others, CFLAGS-interp.c)
33081 (ldso_install, common-ldd-rewrite): Likewise.
33082 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33083 $(inst_slibdir)/$(rtld-installed-name).
33084 * scripts/rellns-sh: Add -p option.
33085 * Makerules (make-shlib-link): Use rellns-sh to get relative name
33088 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33090 * manual/nptl.texi: Renamed to ...
33091 * manual/threads.texi: ... this.
33092 * manual/Makefile (chapters): Update.
33094 2013-03-18 Roland McGrath <roland@hack.frob.com>
33097 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33098 on argument names, not just descriptions.
33099 * malloc/memusagestat.c (options): Likewise.
33100 * nss/getent.c (options): Likewise.
33102 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
33105 * iconv/iconv_prog.c (options): Put N_ translation marker
33106 on argument names, not just descriptions.
33107 * iconv/iconvconfig.c (options): Likewise.
33109 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
33111 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33112 implementation which is faster on all x86_64 architectures.
33113 Tested on AMD, Intel Nehalem, SNB, IVB.
33114 * sysdeps/x86_64/strnlen.S: Likewise.
33116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33117 Remove all multiarch strlen and strnlen versions.
33118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33119 Remove strlen and strnlen related parts.
33121 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33122 Inline strlen part.
33123 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33125 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33126 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33127 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33128 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33129 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33130 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33132 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33134 * manual/memory.texi (Malloc Tunable Parameters):
33135 Sort parameters alphabetically. Add comments for missing entries.
33137 2013-03-17 David S. Miller <davem@davemloft.net>
33139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33141 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33144 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33145 for arguments at most half maximum finite value.
33146 * math/libm-test.inc (j0_test): Add more tests.
33147 (j1_test): Likewise.
33148 (y0_test): Likewise.
33149 (y1_test): Likewise.
33150 * sysdeps/i386/fpu/libm-test-ulps: Update.
33151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33154 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33155 1 / x and functions P and Q for arguments above 0x1p256L.
33156 (__ieee754_y0l): Likewise.
33157 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33158 (__ieee754_y1l): Likewise.
33159 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33160 (j1_test): Likewise.
33161 (y0_test): Likewise.
33162 (y1_test): Likewise.
33164 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
33166 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33169 2013-03-15 Roland McGrath <roland@hack.frob.com>
33171 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33172 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33173 zero since it's initialized to EXEC_PAGESIZE.
33175 * sysdeps/unix/sysv/linux/ldsodefs.h
33176 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33177 * sysdeps/generic/ldsodefs.h: ... here.
33179 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
33181 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33183 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33185 * math/test-snan.c: Renamed from
33186 sysdeps/powerpc/fpu/test-powerpc-snan.c.
33187 * math/Makefile (tests): Add test-snan.
33188 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33191 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33192 SUFFIX. Initialize qNaN_var with __builtin_nan family of
33194 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
33195 __builtin_nan family of functions.
33196 * math/libm-test.inc (initialize): Initialize qnan_value with
33197 __builtin_nan family of functions.
33198 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33200 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33202 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
33203 storage class. Initialize qNaN_var and sNaN_var with
33204 __builtin_nan and __builtin_nans families of functions,
33207 * math/libm-test.inc (acosh_test): Also test with qNaN input.
33208 (sqrt_test): Remove duplicate test with qNaN input.
33209 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33210 (round_test, signbit_test, significand_test): Note missing +/-Inf
33211 as well as qNaN tests.
33213 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33214 qNaN_var. Fix a few strings, too.
33215 * math/libm-test.inc (nan_value): Rename to qnan_value.
33216 * math/gen-libm-test.pl (%beautify): Adjust to that.
33217 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33218 * math/test-misc.c (main): Likewise.
33219 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33220 to __qnan_bytes, and __qnan_union, respectively.
33221 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33223 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33224 and lqnanval, respectively.
33225 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33226 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33227 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33228 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33230 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33231 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33234 * math/test-misc.c (main): Fix copy'n'pastos.
33235 * misc/tst-efgcvt.c (special): Likewise.
33237 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33238 Remove declarations.
33240 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33242 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33243 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33244 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33245 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33247 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33249 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33250 macro to return vdso values correctly in IFUNC implementations.
33251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33252 Optimization by using IFUNC.
33254 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33255 Richard Henderson <rth@redhat.com>
33256 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33258 * Makefile.in (bench): New target.
33259 * NEWS: Mention the benchmark framework.
33260 * Rules (bench): Likewise.
33261 (binaries-bench): Generate binaries for functions to
33263 * benchtests/Makefile: New makefile for benchmark tests.
33264 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33266 * benchtests/exp-inputs: New input file for EXP function.
33267 * benchtests/pow-inputs: New input file for POW function.
33268 * scripts/bench.pl: New script to generate source files for
33269 benchmark programs.
33271 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33273 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33274 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33275 computations on mantissa. Use macros for rounding and
33277 (denorm): Likewise.
33278 (__dbl_mp): Likewise.
33279 (add_magnitudes): Likewise.
33280 (sub_magnitudes): Likewise.
33283 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33284 powers of two in terms of TWOPOW macro.
33285 (mp_no): Make type of mantissa as MANTISSA_T.
33286 [!RADIXI]: Define RADIXI.
33287 [!TWO52]: Define TWO52.
33288 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33290 * manual/nptl.texi (cindex): Modify threads to pthreads.
33292 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33294 * sysdeps/x86_64/preconfigure: Regenerated.
33296 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33299 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33301 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33302 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33304 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33305 * math/libm-test.inc (j0_test): Do not allow one spurious
33306 underflow exception.
33307 (y1_test): Likewise.
33309 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33311 * manual/Makefile (chapters): Add nptl.
33312 * manual/debug.texi (Debugging Support): Add link to Threads
33314 * manual/nptl.texi: New file.
33316 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33318 2013-03-14 Petr Baudis <pasky@ucw.cz>
33320 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33321 for non-NULL pointer before the memory validity test. Pointed
33322 out by Holger Brunck <holger.brunck@keymile.com>.
33324 2013-03-13 Andreas Schwab <schwab@suse.de>
33326 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33329 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33331 * timezone/zic.c: Update from tzcode 2013b.
33333 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33335 * manual/install.texi (Configuring and compiling):
33336 Mention i686 and i586.
33337 * INSTALL: Regenerate.
33339 2013-03-12 Roland McGrath <roland@hack.frob.com>
33341 * sysdeps/init_array/elf-init.c: New file.
33343 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33344 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33346 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33347 __gmon_start__ as global, but as static with a .preinit_array pointer.
33348 * sysdeps/init_array/gmon-start.c: New file. Use that.
33349 * sysdeps/init_array/crti.S: New file, empty except for comments.
33350 * sysdeps/init_array/crtn.S: Likewise.
33352 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33354 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33357 Remove Prefer_SSE_for_memop.
33358 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33359 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33360 HAS_PREFER_SSE_FOR_MEMOP.
33361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33364 Remove bzero, memset ifunc support.
33365 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33366 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33367 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33368 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33370 2013-03-11 Andreas Schwab <schwab@suse.de>
33373 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33376 (GLIBC_2.16): Remove pthread_atfork.
33378 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33380 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33381 (ptestcases.h): Likewise.
33383 2013-03-08 Roland McGrath <roland@hack.frob.com>
33385 * Makeconfig ($(common-objpfx)config.status): Depend on
33386 sysdeps/*/preconfigure{,.in} too.
33388 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33390 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33391 (__free_hook): Use void * instead of __malloc_ptr_t.
33392 (__malloc_hook): Likewise.
33393 (__realloc_hook): Likewise.
33394 (__memalign_hook): Likewise.
33395 (__after_morecore_hook): Likewise.
33396 * malloc/arena.c (save_malloc_hook): Likewise.
33397 (save_free_hook): Likewise.
33398 * malloc/hooks.c (malloc_hook_ini): Likewise.
33399 (realloc_hook_ini): Likewise.
33400 (memalign_hook_ini): Likewise.
33401 * malloc/malloc.c (malloc_hook_ini): Likewise.
33402 (realloc_hook_ini): Likewise.
33403 (memalign_hook_ini): Likewise.
33404 (__free_hook): Likewise.
33405 (__malloc_hook): Likewise.
33406 (__realloc_hook): Likewise.
33407 (__memalign_hook): Likewise.
33408 (__libc_malloc): Likewise.
33409 (__libc_free): Likewise.
33410 (__libc_realloc): Likewise.
33411 (__libc_memalign): Likewise.
33412 (__libc_valloc): Likewise.
33413 (__libc_pvalloc): Likewise.
33414 (__libc_calloc): Likewise.
33415 (__posix_memalign): Likewise.
33416 * malloc/morecore.c (__sbrk): Likewise.
33417 (__default_morecore): Likewise.
33419 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33421 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33422 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33423 __malloc_ptrdiff_t.
33425 * malloc/malloc.h (__malloc_size_t): Remove macro.
33426 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33428 (old_memalign_hook): Likewise.
33429 (old_realloc_hook): Likewise.
33430 (struct hdr): Likewise.
33432 (mallochook): Likewise.
33433 (memalignhook): Likewise.
33434 (reallochook): Likewise.
33435 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33436 (tr_old_realloc_hook): Likewise.
33437 (tr_old_memalign_hook): Likewise.
33438 (tr_mallochook): Likewise.
33439 (tr_reallochook): Likewise.
33440 (tr_memalignhook): Likewise.
33442 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33444 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33445 default_ldbl_pack and using as default implementation.
33446 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33448 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33449 redundant definition.
33450 (ldbl_insert_mantissa): Likewise.
33451 (ldbl_canonicalize): Likewise.
33452 (ldbl_nearbyint): Likewise.
33453 (ldbl_pack): Rename to ldbl_pack_ppc.
33454 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33455 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33456 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33458 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33461 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33462 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33463 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33465 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33466 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33467 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33469 2013-03-07 Andreas Jaeger <aj@suse.de>
33471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33474 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33476 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33477 Include mpa.h and declare __MPEXP.
33478 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33479 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33480 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33481 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33482 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33483 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33484 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33486 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33487 (__slowpow): Use long double EXPL and LOGL functions to
33489 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33490 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33491 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33492 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33493 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33494 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33497 intermediate variable to calculate exponent.
33499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33503 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33504 [!NO__SQR]: Define __sqr.
33505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33506 and NO__SQR. Remove all code except __mul and __sqr. Include
33507 sysdeps/ieee754/dbl-64/mpa.c.
33508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33511 * posix/Makefile (tests): Add tst-pathconf.
33512 * posix/tst-pathconf.c: New test case.
33513 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33515 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33517 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33519 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33521 2013-03-06 Andreas Jaeger <aj@suse.de>
33523 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33524 definition via __MAP_ANONYMOUS.
33526 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33527 it's not part of Linux headers.
33529 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33530 (MAP_HUGE_MASK): Define.
33532 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33534 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33535 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33537 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33538 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33540 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33543 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33545 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33546 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33547 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33548 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33549 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33550 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33552 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33556 Handle f2fs and efivarfs.
33558 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33561 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33562 (EFIVARFS_MAGIC): Add.
33563 (F2FS_LINK_MAX): Add.
33565 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33567 * stdio-common/vfprintf.c: Replace __builtin_expect with
33570 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33573 * sysdeps/generic/bp-sym.h: Remove file.
33574 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33575 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33576 <bp-sym.h> and <bp-asm.h>.
33577 (__longjmp): Don't use BP_SYM.
33578 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33580 (memcpy): Don't use BP_SYM.
33581 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33582 <bp-sym.h> and <bp-asm.h>.
33583 (memcpy): Don't use BP_SYM.
33584 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33586 (memcpy): Don't use BP_SYM.
33587 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33589 (memset): Don't use BP_SYM.
33590 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33591 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33592 (__bzero): Don't use BP_SYM.
33593 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33594 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33595 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33596 <bp-sym.h> and <bp-asm.h>.
33597 (memcmp): Don't use BP_SYM. Remove comment about bounded
33599 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33600 <bp-sym.h> and <bp-asm.h>.
33601 (memcpy): Don't use BP_SYM.
33602 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33603 <bp-sym.h> and <bp-asm.h>.
33604 (memset): Don't use BP_SYM.
33605 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33606 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33607 (__bzero): Don't use BP_SYM.
33608 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33609 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33610 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33611 <bp-sym.h> and <bp-asm.h>.
33612 (strncmp): Don't use BP_SYM. Remove comment about bounded
33614 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33615 <bp-sym.h> and <bp-asm.h>.
33616 (memcpy): Don't use BP_SYM.
33617 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33618 <bp-sym.h> and <bp-asm.h>.
33619 (memset): Don't use BP_SYM.
33620 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33621 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33622 (__bzero): Don't use BP_SYM.
33623 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33624 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33625 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33626 <bp-sym.h> and <bp-asm.h>.
33627 (__memchr): Don't use BP_SYM.
33628 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33629 <bp-sym.h> and <bp-asm.h>.
33630 (memcmp): Don't use BP_SYM. Remove comment about bounded
33632 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33633 <bp-sym.h> and <bp-asm.h>.
33634 (memcpy): Don't use BP_SYM.
33635 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33636 <bp-sym.h> and <bp-asm.h>.
33637 (__mempcpy): Don't use BP_SYM.
33638 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33639 <bp-sym.h> and <bp-asm.h>.
33640 (__memrchr): Don't use BP_SYM.
33641 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33642 <bp-sym.h> and <bp-asm.h>.
33643 (memset): Don't use BP_SYM.
33644 (__bzero): Likewise.
33645 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33646 <bp-sym.h> and <bp-asm.h>.
33647 (__rawmemchr): Don't use BP_SYM.
33648 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33649 <bp-sym.h> and <bp-asm.h>.
33650 (__STRCMP): Don't use BP_SYM.
33651 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33652 <bp-sym.h> and <bp-asm.h>.
33653 (strchr): Don't use BP_SYM.
33654 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33655 <bp-sym.h> and <bp-asm.h>.
33656 (__strchrnul): Don't use BP_SYM.
33657 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33658 <bp-sym.h> and <bp-asm.h>.
33659 (strlen): Don't use BP_SYM.
33660 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33661 <bp-sym.h> and <bp-asm.h>.
33662 (strncmp): Don't use BP_SYM. Remove comment about bounded
33664 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33665 <bp-sym.h> and <bp-asm.h>.
33666 (__strnlen): Don't use BP_SYM.
33667 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33668 <bp-sym.h> and <bp-asm.h>.
33669 (__GI__setjmp): Don't use BP_SYM.
33670 (_setjmp): Likewise.
33671 (__sigsetjmp): Likewise.
33672 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33673 (L(start_addresses)): Don't use BP_SYM.
33674 (_start): Likewise.
33675 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33677 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33678 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33679 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33680 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33681 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33683 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33684 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33685 about bounded pointers.
33686 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33687 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33688 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33690 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33691 about bounded pointers. Remove GKM FIXME comments.
33692 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33693 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33695 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33696 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33697 Remove GKM FIXME comments.
33698 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33699 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33700 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33702 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33703 about bounded pointers. Remove GKM FIXME comment.
33704 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33706 (strncmp): Don't use BP_SYM. Remove comment about bounded
33708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33709 <bp-sym.h> and <bp-asm.h>.
33710 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33712 <bp-sym.h> and <bp-asm.h>.
33713 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33716 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33718 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33721 2013-03-05 David S. Miller <davem@davemloft.net>
33723 * po/es.po: Update from translation team.
33725 2013-03-05 Andreas Jaeger <aj@suse.de>
33727 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33728 <bits/mman-linux.h>.
33729 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33731 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33732 <bits/mman-linux.h> to end of file.
33733 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33735 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33736 <bits/mman-linux.h> to end of file.
33737 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33739 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33740 <bits/mman-linux.h> to end of file.
33742 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33743 (MCL_CURRENT, MCL_FUTURE): Define here.
33745 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33748 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33750 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33752 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33754 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33755 fourth parameter needed for rt_sigprocmask syscall.
33756 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33757 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33758 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33759 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33760 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33761 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33763 2013-03-04 Joseph Myers <joseph@codesourcery.com>
33766 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33767 comment about bounded pointers.
33768 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33769 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33771 2013-03-04 Andreas Jaeger <aj@suse.de>
33773 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33774 common definitions.
33776 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33777 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33778 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33779 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33780 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33781 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33783 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33786 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33787 __ieee754_sqrl instead of __sqrl.
33789 2013-03-01 Joseph Myers <joseph@codesourcery.com>
33791 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33792 * sysdeps/powerpc/fpu_control.h: ... here.
33793 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33794 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33795 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33796 * sysdeps/powerpc/bits/mathinline.h: ... here.
33798 2013-03-01 Roland McGrath <roland@hack.frob.com>
33800 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33801 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33802 to just [NEED_DL_SYSINFO_DSO].
33803 * elf/dl-support.c: Likewise.
33804 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33805 * elf/rtld.c (dl_main): Likewise.
33806 * elf/setup-vdso.h (setup_vdso): Likewise.
33807 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33808 * sysdeps/unix/sysv/linux/dl-sysdep.c
33809 (_dl_discover_osversion): Likewise.
33811 2013-03-01 Carlos O'Donell <carlos@redhat.com>
33813 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33814 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33816 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33818 * NEWS: Mention libm performance improvements and non-x86 PI
33821 * csu/libc-start.c (__pthread_initialize_minimal): Change
33822 function arguments.
33823 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33825 2013-02-28 Joseph Myers <joseph@codesourcery.com>
33828 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33829 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33830 <bp-sym.h> and <bp-asm.h>.
33831 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33832 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33834 (memcpy): Don't use BP_SYM.
33835 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33837 (__mpn_add_n): Don't use BP_SYM.
33838 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33839 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33841 (__mpn_addmul_1): Don't use BP_SYM.
33842 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33843 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33845 (_setjmp): Don't use BP_SYM.
33846 (__novmx_setjmp): Likewise.
33847 (__GI__setjmp): Likewise.
33848 (__vmx_setjmp): Likewise.
33849 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33851 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33852 (__bzero): Don't use BP_SYM.
33853 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33854 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33855 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33856 <bp-sym.h> and <bp-asm.h>.
33857 (memcpy): Don't use BP_SYM.
33858 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33859 <bp-sym.h> and <bp-asm.h>.
33860 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33861 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33862 <bp-sym.h> and <bp-asm.h>.
33863 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33864 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33866 (__mpn_lshift): Don't use BP_SYM.
33867 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33868 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33870 (memset): Don't use BP_SYM.
33871 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33872 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33873 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33875 (__mpn_mul_1): Don't use BP_SYM.
33876 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33877 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33878 <bp-sym.h> and <bp-asm.h>.
33879 (memcmp): Don't use BP_SYM.
33880 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33881 <bp-sym.h> and <bp-asm.h>.
33882 (memcpy): Don't use BP_SYM.
33883 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33884 <bp-sym.h> and <bp-asm.h>.
33885 (memset): Don't use BP_SYM.
33886 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33887 <bp-sym.h> and <bp-asm.h>.
33888 (strncmp): Don't use BP_SYM.
33889 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33890 <bp-sym.h> and <bp-asm.h>.
33891 (memcpy): Don't use BP_SYM.
33892 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33893 <bp-sym.h> and <bp-asm.h>.
33894 (memset): Don't use BP_SYM.
33895 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33896 <bp-sym.h> and <bp-asm.h>.
33897 (__memchr): Don't use BP_SYM.
33898 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33899 <bp-sym.h> and <bp-asm.h>.
33900 (memcmp): Don't use BP_SYM.
33901 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33902 <bp-sym.h> and <bp-asm.h>.
33903 (memcpy): Don't use BP_SYM.
33904 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33905 <bp-sym.h> and <bp-asm.h>.
33906 (__mempcpy): Don't use BP_SYM.
33907 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33908 <bp-sym.h> and <bp-asm.h>.
33909 (__memrchr): Don't use BP_SYM.
33910 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33911 <bp-sym.h> and <bp-asm.h>.
33912 (memset): Don't use BP_SYM.
33913 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33914 <bp-sym.h> and <bp-asm.h>.
33915 (__rawmemchr): Don't use BP_SYM.
33916 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33917 <bp-sym.h> and <bp-asm.h>.
33918 (__STRCMP): Don't use BP_SYM.
33919 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33920 <bp-sym.h> and <bp-asm.h>.
33921 (strchr): Don't use BP_SYM.
33922 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33923 <bp-sym.h> and <bp-asm.h>.
33924 (__strchrnul): Don't use BP_SYM.
33925 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33926 <bp-sym.h> and <bp-asm.h>.
33927 (strlen): Don't use BP_SYM.
33928 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33929 <bp-sym.h> and <bp-asm.h>.
33930 (strncmp): Don't use BP_SYM.
33931 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33932 <bp-sym.h> and <bp-asm.h>.
33933 (__strnlen): Don't use BP_SYM.
33934 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33936 (__mpn_rshift): Don't use BP_SYM.
33937 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33938 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33939 <bp-sym.h> and <bp-asm.h>.
33940 (__sigsetjmp): Don't use BP_SYM.
33941 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33942 (L(start_addresses)): Don't use BP_SYM.
33943 (_start): Likewise.
33944 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33946 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33947 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33948 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33949 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33951 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33952 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33953 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33954 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33956 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33958 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33959 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33961 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33963 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33964 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33965 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33967 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33969 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33971 (strncmp): Don't use BP_SYM,
33972 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33974 (__mpn_sub_n): Don't use BP_SYM.
33975 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33976 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33978 (__mpn_submul_1): Don't use BP_SYM.
33979 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33981 <bp-sym.h> and <bp-asm.h>.
33982 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33984 <bp-sym.h> and <bp-asm.h>.
33985 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33988 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33991 Use ZK to minimize writes to Z.
33992 (sub_magnitudes): Simplify code a bit.
33993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33994 Use ZK to minimize writes to Z.
33995 (sub_magnitudes): Simplify code a bit.
33997 2013-02-27 Roland McGrath <roland@hack.frob.com>
33999 * csu/gmon-start.c: Add special exception to license text.
34001 2013-02-27 Richard Henderson <rth@redhat.com>
34003 * scripts/config.guess: Update from config.git.
34004 * scripts/config.sub: Likewise.
34006 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34008 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34010 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34012 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34014 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34016 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34018 2013-02-26 Roland McGrath <roland@hack.frob.com>
34020 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34021 [$(build-shared = yes].
34023 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34025 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34026 (__mul): Reduce iterations for calculating mantissa.
34028 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34030 (__mpranred): Likewise.
34033 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34034 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34036 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34038 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34039 Define __attribute__.
34041 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34043 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34045 * posix/regex_internal.h (__attribute): Remove.
34046 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34047 (re_string_context_at): Likewise.
34048 (bitset_not): Use __attribute__ and mark function as possibly
34050 (bitset_merge): Likewise.
34051 (bitset_mask): Likewise.
34052 (re_string_char_size_at): Likewise.
34053 (re_string_wchar_at): Likewise.
34054 (re_string_elem_size_at): Likewise.
34056 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34058 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34062 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34066 (denorm): Likewise.
34067 (__dbl_mp): Likewise.
34068 (add_magnitudes): Likewise.
34069 (sub_magnitudes): Likewise.
34073 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34076 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34079 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34082 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34083 up changes with default code.
34084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34087 2013-02-24 Allan McRae <allan@archlinux.org>
34089 * manual/socket.texi (The Internet Namespace): Order menu items
34090 to match that in the file.
34092 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34093 node listing of the info page menu.
34095 2013-02-21 Joseph Myers <joseph@codesourcery.com>
34098 * sysdeps/i386/bp-asm.h: Remove file.
34099 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34100 (PARMS): Do not use macros from bp-asm.h.
34104 (__mpn_add_n): Do not use BP_SYM
34105 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34107 (PARMS): Do not use macros from bp-asm.h.
34110 (__mpn_addmul_1): Do not use BP_SYM
34111 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34113 (PARMS): Do not use macros from bp-asm.h.
34114 (SIGMSK): Likewise.
34115 (_setjmp): Likewise. Do not use BP_SYM.
34116 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34118 (PARMS): Do not use macros from bp-asm.h.
34119 (SIGMSK): Likewise.
34120 (setjmp): Likewise. Do not use BP_SYM.
34121 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34123 (PARMS): Do not use macros from bp-asm.h.
34124 (__frexp): Do not use BP_SYM.
34126 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34128 (PARMS): Do not use macros from bp-asm.h.
34129 (__frexpf): Do not use BP_SYM.
34130 (frexpf): Likewise.
34131 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34133 (PARMS): Do not use macros from bp-asm.h.
34134 (__frexpl): Do not use BP_SYM.
34135 (frexpl): Likewise.
34136 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34138 (PARMS): Do not use macros from bp-asm.h.
34139 (__remquo): Do not use BP_SYM.
34140 (remquo): Likewise.
34141 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34143 (PARMS): Do not use macros from bp-asm.h.
34144 (__remquof): Do not use BP_SYM.
34145 (remquof): Likewise.
34146 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34148 (PARMS): Do not use macros from bp-asm.h.
34149 (__remquol): Do not use BP_SYM.
34150 (remquol): Likewise.
34151 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34153 (PARMS): Do not use macros from bp-asm.h.
34156 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
34157 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34159 (PARMS): Do not use macros from bp-asm.h.
34160 (strlen): Do not use BP_SYM.
34161 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34163 (PARMS): Do not use macros from bp-asm.h.
34167 (__mpn_add_n): Do not use BP_SYM.
34168 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34170 (PARMS): Do not use macros from bp-asm.h.
34173 (__mpn_addmul_1): Do not use BP_SYM.
34174 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34177 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34179 (PARMS): Do not use macros from bp-asm.h.
34182 (__mpn_lshift): Do not use BP_SYM.
34183 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34185 (PARMS): Do not use macros from bp-asm.h.
34189 (memcpy): Likewise. Do not use BP_SYM.
34190 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34191 libc_hidden_def and weak_alias.
34192 (mempcpy): Do not use BP_SYM in weak_alias.
34193 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34195 (PARMS): Do not use macros from bp-asm.h.
34198 [!BZERO_P] (CHR): Likewise.
34199 (memset): Likewise. Do not use BP_SYM.
34200 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34202 (PARMS): Do not use macros from bp-asm.h.
34205 (__mpn_mul_1): Do not use BP_SYM.
34206 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34208 (PARMS): Do not use macros from bp-asm.h.
34211 (__mpn_rshift): Do not use BP_SYM.
34212 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34214 (PARMS): Do not use macros from bp-asm.h.
34217 (strchr): Likewise. Do not use BP_SYM.
34218 (index): Do not use BP_SYM in weak_alias.
34219 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34221 (PARMS): Do not use macros from bp-asm.h.
34224 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34225 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34227 (PARMS): Do not use macros from bp-asm.h.
34228 (strlen): Do not use BP_SYM.
34229 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34231 (PARMS): Do not use macros from bp-asm.h.
34235 (__mpn_sub_n): Do not use BP_SYM.
34236 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34238 (PARMS): Do not use macros from bp-asm.h.
34241 (__mpn_submul_1): Do not use BP_SYM.
34242 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34244 (PARMS): Do not use macros from bp-asm.h.
34248 (__mpn_add_n): Do not use BP_SYM.
34249 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34252 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34254 (PARMS): Do not use macros from bp-asm.h.
34257 (memcmp): Do not use BP_SYM.
34258 (bcmp): Do not use BP_SYM in weak_alias.
34259 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34261 (PARMS): Do not use macros from bp-asm.h.
34265 (memcpy): Likewise. Do not use BP_SYM.
34266 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34268 (PARMS): Do not use macros from bp-asm.h.
34272 (memmove): Likewise. Do not use BP_SYM.
34273 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34275 (PARMS): Do not use macros from bp-asm.h.
34279 (__mempcpy): Likewise. Do not use BP_SYM.
34280 (mempcpy): Do not use BP_SYM in weak_alias.
34281 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34283 (PARMS): Do not use macros from bp-asm.h.
34286 [!BZERO_P] (CHR): Likewise.
34287 (memset): Likewise. Do not use BP_SYM.
34288 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34290 (PARMS): Do not use macros from bp-asm.h.
34292 (strcmp): Do not use BP_SYM.
34293 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34295 (PARMS): Do not use macros from bp-asm.h.
34298 [USE_AS_STRTOK_R] (SAVE): Likewise.
34299 (FUNCTION): Likewise. Do not use BP_SYM.
34300 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34302 (strtok_r): Likewise.
34303 (__GI___strtok_r): Likewise.
34304 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34305 (PARMS): Do not use macros from bp-asm.h.
34308 (__mpn_lshift): Do not use BP_SYM.
34309 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34310 (PARMS): Do not use macros from bp-asm.h.
34313 (__memchr): Do not use BP_SYM.
34314 (memchr): Do not use BP_SYM in weak_alias.
34315 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34316 (PARMS): Do not use macros from bp-asm.h.
34319 (memcmp): Do not use BP_SYM.
34320 (bcmp): Do not use BP_SYM in weak_alias.
34321 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34322 (PARMS): Do not use macros from bp-asm.h.
34325 (__mpn_mul_1): Do not use BP_SYM.
34326 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34328 (PARMS): Do not use macros from bp-asm.h.
34331 (__rawmemchr): Do not use BP_SYM.
34332 (rawmemchr): Do not use BP_SYM in weak_alias.
34333 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34334 (PARMS): Do not use macros from bp-asm.h.
34337 (__mpn_rshift): Do not use BP_SYM.
34338 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34339 (PARMS): Do not use macros from bp-asm.h.
34340 (SIGMSK): Likewise.
34341 (__sigsetjmp): Likewise. Do not use BP_SYM.
34342 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34343 (_start): Do not use BP_SYM.
34344 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34345 (PARMS): Do not use macros from bp-asm.h.
34348 (__stpcpy): Likewise. Do not use BP_SYM.
34349 (stpcpy): Do not use BP_SYM in weak_alias.
34350 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34352 (PARMS): Do not use macros from bp-asm.h.
34356 (__stpncpy): Likewise. Do not use BP_SYM.
34357 (stpncpy): Do not use BP_SYM in weak_alias.
34358 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34359 (PARMS): Do not use macros from bp-asm.h.
34362 (strchr): Likewise. Do not use BP_SYM.
34363 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34365 (PARMS): Do not use macros from bp-asm.h.
34368 (__strchrnul): Likewise. Do not use BP_SYM.
34369 (strchrnul): Do not use BP_SYM in weak_alias.
34370 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34372 (PARMS): Do not use macros from bp-asm.h.
34374 (strcspn): Do not use BP_SYM.
34375 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34377 (PARMS): Do not use macros from bp-asm.h.
34380 (strpbrk): Likewise. Do not use BP_SYM.
34381 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34383 (PARMS): Do not use macros from bp-asm.h.
34386 (strrchr): Likewise. Do not use BP_SYM.
34387 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34388 (PARMS): Do not use macros from bp-asm.h.
34390 (strspn): Do not use BP_SYM.
34391 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34392 (PARMS): Do not use macros from bp-asm.h.
34396 (FUNCTION): Likewise. Do not use BP_SYM.
34397 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34399 (strtok_r): Likewise.
34400 (__GI___strtok_r): Likewise.
34401 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34402 (PARMS): Do not use macros from bp-asm.h.
34406 (__mpn_sub_n): Do not use BP_SYM.
34407 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34409 (PARMS): Do not use macros from bp-asm.h.
34412 (__mpn_submul_1): Do not use BP_SYM.
34413 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34415 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34417 (PARMS): Do not use macros from bp-asm.h.
34422 (__clone): Do not use BP_SYM.
34423 (clone): Do not use BP_SYM in weak_alias.
34424 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34426 (PARMS): Do not use macros from bp-asm.h.
34428 (__mmap64): Do not use BP_SYM.
34429 (mmap64): Do not use BP_SYM in weak_alias.
34430 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34431 <bp-sym.h> and <bp-asm.h>.
34432 (PARMS): Do not use macros from bp-asm.h.
34433 (__posix_fadvise64_l64): Do not use BP_SYM.
34434 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34435 (PARMS): Do not use macros from bp-asm.h.
34437 (semtimedop): Do not use BP_SYM.
34438 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34441 2013-02-21 Allan McRae <allan@archlinux.org>
34443 * manual/message.texi (Charset conversion in gettext):
34444 Move @end statement to beginning of line.
34446 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34453 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34454 (denorm): Likewise.
34455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34458 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34460 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34461 tail-call to the resolved function if pltexit isn't needed.
34463 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34466 or Y being zero as being unlikely.
34467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34470 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34472 * manual/nss.texi (System Databases and Name Service Switch):
34473 Remove frobnicate @pxref.
34475 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34477 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34478 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34480 2013-02-20 Petr Machata <pmachata@redhat.com>
34482 * elf/elf.h (R_ARM_TARGET1): New macro.
34483 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34484 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34485 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34486 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34487 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34488 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34489 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34490 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34491 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34492 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34493 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34494 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34495 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34496 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34497 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34498 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34499 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34500 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34501 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34502 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34503 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34504 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34505 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34506 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34507 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34508 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34509 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34510 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34511 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34512 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34513 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34514 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34515 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34516 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34517 (R_ARM_THM_GOT_BREL12): Likewise.
34518 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34519 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34520 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34521 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34522 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34523 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34524 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34525 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34526 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34528 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34530 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34531 __attribute_used__ to __attribute__ ((unused)).
34533 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34535 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34538 comment formatting.
34539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34541 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34544 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34546 (ENTER): Remove both macro definitions.
34548 (CHECK_BOUNDS_LOW): Likewise.
34549 (CHECK_BOUNDS_HIGH): Likewise.
34550 (CHECK_BOUNDS_BOTH): Likewise.
34551 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34552 (RETURN_BOUNDED_POINTER): Likewise.
34553 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34554 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34555 (POP_ERRNO_LOCATION_RETURN): Likewise.
34556 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34557 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34558 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34560 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34561 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34562 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34563 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34564 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34565 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34566 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34567 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34568 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34569 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34570 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34571 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34572 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34573 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34575 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34576 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34578 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34579 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34580 * sysdeps/i386/i586/memset.S (memset): Likewise.
34581 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34582 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34583 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34585 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34586 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34587 Change uses of L(2) to L(out).
34588 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34589 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34590 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34591 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34592 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34594 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34595 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34597 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34598 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34599 (RETURN): Do not use macro LEAVE.
34600 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34601 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34602 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34603 * sysdeps/i386/i686/memset.S (memset): Likewise.
34604 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34605 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34606 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34607 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34609 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34610 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34611 L(1_2) and L(1_3) into L(1).
34612 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34613 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34614 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34615 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34616 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34617 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34618 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34619 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34620 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34622 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34623 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34624 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34625 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34626 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34627 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34628 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34629 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34630 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34631 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34632 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34633 * sysdeps/i386/strspn.S (strspn): Likewise.
34634 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34636 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34637 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34638 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34639 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34640 L(1_3) into L(1_1).
34641 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34642 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34643 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34645 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34647 2013-02-19 Jakub Jelinek <jakub@redhat.com>
34649 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34652 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34654 * math/atest-exp.c (exp_mpn): Remove ROUND.
34655 * math/atest-exp2.c (exp_mpn): Likewise.
34656 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34658 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34659 * stdlib/tst-tls-atexit-lib.c: Likewise.
34660 * stdlib/tst-tls-atexit.c: Likewise.
34662 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34664 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34665 and __attribute_alloc_size__.
34667 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34669 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34670 __attribute_alloc_size__.
34671 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34672 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34674 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34676 * include/programs/xmalloc.h: New file.
34677 * catgets/gencat.c: Include it.
34678 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34679 * elf/pldd.c: Likewise.
34680 * iconv/iconv_charmap.c: Likewise.
34681 * iconv/iconvconfig.c: Likewise.
34682 * iconv/strtab.c: Likewise.
34683 * locale/programs/locale.c: Likewise.
34684 * locale/programs/localedef.h: Likewise.
34685 * locale/programs/simple-hash.c: Likewise.
34686 * nscd/nscd.h: Likewise.
34687 * nss/makedb.c: Likewise.
34688 * sysdeps/generic/ldconfig.h: Likewise.
34690 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34692 * Versions.def: Add GLIBC_2.18.
34693 * include/link.h (struct link_map): New member l_tls_dtor_count.
34694 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34695 (__call_tls_dtors): Likewise.
34696 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34697 __cxa_thread_atexit_impl.
34698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34714 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34715 (tests): Add test case tst-tls-atexit.
34716 (modules-names): Add shared library for tst-tls-atexit.
34717 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34718 (GLIBC_PRIVATE): Add __call_tls_dtors.
34719 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34721 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34722 * stdlib/tst-tls-atexit.c: New test case.
34723 * stdlib/tst-tls-atexit-lib.c: New test case.
34725 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34727 * elf/Versions (ld): Add _dl_find_dso_for_object.
34728 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34729 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34730 (dl_open_worker): Use _dl_find_dso_for_object.
34731 * elf/dl-sym.c (do_sym): Likewise.
34732 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34734 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34736 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34737 Syntactic changes only.
34738 (_dl_runtime_profile): Do a tail-call to the resolved function.
34740 2013-02-17 Joseph Myers <joseph@codesourcery.com>
34743 * sysdeps/x86_64/bp-asm.h: Remove file.
34744 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34745 <bp-sym.h> and <bp-asm.h>.
34746 (__clone): Do not use BP_SYM.
34747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34748 <bp-sym.h> and <bp-asm.h>.
34749 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34750 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34752 (_setjmp): Do not use BP_SYM.
34753 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34755 (setjmp): Do not use BP_SYM.
34756 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34758 (mempcpy): Do not use BP_SYM in weak_alias.
34759 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34761 (strchr): Do not use BP_SYM.
34762 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34764 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34765 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34766 (_start): Do not use BP_SYM.
34767 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34769 (strcat): Do not use BP_SYM.
34770 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34772 (STRCMP): Do not use BP_SYM.
34773 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34775 (STRCPY): Do not use BP_SYM.
34776 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34778 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34780 (FUNCTION): Do not use BP_SYM.
34781 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34783 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34785 2013-02-17 Andreas Jaeger <aj@suse.de>
34787 * time/Versions: Sort entries.
34788 * string/Versions: Likewise.
34789 * resolv/Versions: Likewise.
34790 * posix/Versions: Likewise.
34791 * iconv/Versions: Likewise.
34792 * elf/Versions: Likewise.
34793 * wcsmbs/Versions: Likewise.
34795 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34797 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34798 loop termination condition.
34800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34801 variable to calculate EZ.
34804 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34805 the lower precision input.
34807 2013-02-15 Joseph Myers <joseph@codesourcery.com>
34810 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34811 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34812 (run-via-rtld-prefix): Do not handle %-bp tests.
34813 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34814 (all-object-suffixes): Remove .ob.
34815 (bppfx): Remove variable.
34816 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34817 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34818 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34819 [$(build-bounded) = yes] (libtype.ob): Likewise.
34820 * Makerules (elide-routines.ob): Remove variable.
34821 (do-tests-clean): Do not handle *-bp.out.
34822 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34823 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34824 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34825 (tests): Do not include $(tests-bp.out).
34826 (xtests): Do not include $(xtests-bp.out).
34827 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34828 [$(build-bounded) = yes] ($(addprefix
34829 $(objpfx),$(binaries-bounded))): Remove rule.
34830 ($(objpfx)%-bp.out): Remove rule.
34831 * config.make.in (build-bounded): Remove variable.
34832 * crypt/Makefile [$(build-bounded) = yes]
34833 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34834 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34835 append to variable.
34836 [$(build-bounded) = yes] (install-lib): Likewise.
34837 [$(build-bounded) = yes] (generated): Likewise.
34838 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34840 * intl/Makefile [$(build-bounded) = yes]
34841 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34842 * math/Makefile [$(build-bounded) = yes]
34843 ($(tests:%=$(objpfx)%-bp): Likewise.
34844 * misc/Makefile [$(build-bounded) = yes]
34845 ($(objpfx)tst-tsearch-bp): Likewise.
34846 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34847 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34849 * string/Makefile (o-objects.ob): Remove variable.
34850 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34851 (CFLAGS-.ob): Remove variable.
34852 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34853 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34854 both definitions of variable.
34855 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34856 (ASFLAGS-.ob): Remove variable.
34858 2013-02-14 Joseph Myers <joseph@codesourcery.com>
34861 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34862 Remove __BOUNDED_POINTERS__ from condition.
34863 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34864 * string/bits/string2.h [!__NO_STRING_INLINES &&
34865 !__BOUNDED_POINTERS__]: Likewise.
34866 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34868 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34869 Remove conditional code.
34870 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34871 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34872 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34876 * csu/libc-start.c: Do not include <bp-sym.h>.
34877 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34878 * elf/dl-open.c: Do not include <bp-sym.h>.
34879 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34880 * math/fegetenv.c: Do not include <bp-sym.h>.
34881 (fegetenv): Do not use BP_SYM in versioned symbols.
34882 * nptl/sysdeps/pthread/bits/libc-lockP.h
34883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34886 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34888 (__pthread_mutex_destroy): Likewise.
34889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34890 (__pthread_mutex_lock): Likewise.
34891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34892 (__pthread_mutex_trylock): Likewise.
34893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34894 (__pthread_mutex_unlock): Likewise.
34895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34896 (__pthread_mutexattr_init): Likewise.
34897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34898 (__pthread_mutexattr_destroy): Likewise.
34899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34900 (__pthread_mutexattr_settype): Likewise.
34901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34902 (__pthread_rwlock_init): Likewise.
34903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34904 (__pthread_rwlock_destroy): Likewise.
34905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34906 (__pthread_rwlock_rdlock): Likewise.
34907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34908 (__pthread_rwlock_tryrdlock): Likewise.
34909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34910 (__pthread_rwlock_wrlock): Likewise.
34911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34912 (__pthread_rwlock_trywrlock): Likewise.
34913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34914 (__pthread_rwlock_unlock): Likewise.
34915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34916 (__pthread_key_create): Likewise.
34917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34918 (__pthread_setspecific): Likewise.
34919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34920 (__pthread_getspecific): Likewise.
34921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34924 (_pthread_cleanup_push_defer): Likewise.
34925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34926 (_pthread_cleanup_pop_restore): Likewise.
34927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34928 (pthread_setcancelstate): Likewise.
34929 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34931 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34932 (memchr): Do not use BP_SYM in weak_alias.
34933 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34934 (fegetenv): Do not use BP_SYM in versioned symbols.
34935 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34936 (fesetenv): Do not use BP_SYM in versioned symbols.
34937 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34938 (feupdateenv): Do not use BP_SYM in versioned symbols.
34939 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34940 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34941 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34942 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34943 (open64): Do not use BP_SYM in weak_alias.
34944 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34945 (fegetenv): Do not use BP_SYM in versioned symbols.
34946 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34947 (fesetenv): Do not use BP_SYM in versioned symbols.
34948 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34949 (feupdateenv): Do not use BP_SYM in versioned symbols.
34950 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34951 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34952 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34953 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34954 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34955 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34956 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34958 (__libc_start_main): Do not use BP_SYM.
34960 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34963 redundant return line.
34965 (denorm): Likewise.
34966 (dbl_mp): Likewise.
34967 (sub_magnitudes): Likewise.
34973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34975 (denorm): Likewise.
34976 (dbl_mp): Likewise.
34977 (sub_magnitudes): Likewise.
34984 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34986 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34987 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34990 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34991 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34992 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34993 of __mul for squares.
34994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34998 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34999 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35001 2013-02-13 Joseph Myers <joseph@codesourcery.com>
35004 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35006 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35007 prototype or function definition. Rename ubp_* variables and
35008 parameters. Remove argv definitions conditional on
35009 [__BOUNDED_POINTERS__].
35010 * debug/backtrace.c (__backtrace): Do not use __unbounded.
35011 * elf/dl-runtime.c (_dl_fixup): Likewise.
35012 * include/set-hooks.h (RUN_HOOK): Likewise.
35013 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35015 * string/strcpy.c (strcpy): Do not use __unbounded.
35016 * sysdeps/generic/frame.h (struct layout): Likewise.
35017 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35018 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35019 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35020 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35021 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35022 (__backtrace): Likewise.
35023 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35025 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35026 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35027 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35029 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35030 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35031 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35032 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35033 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35034 Do not use __unbounded.
35035 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35036 Rename __unboundedrlimits parameter to rlimits in prototype.
35037 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35038 Do not use __unbounded.
35039 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35040 not use __ptrvalue.
35041 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35042 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35043 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35044 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35045 __ptrvalue or __unbounded.
35046 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35047 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35049 (__new_msgctl): Do not use __ptrvalue.
35050 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35052 (__libc_msgrcv): Do not use __ptrvalue.
35053 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35054 startup_info): Do not use __unbounded.
35055 (__libc_start_main): Likewise. Rename ubp_* variables and
35056 parameters. Remove argv definitions conditional on
35057 [__BOUNDED_POINTERS__].
35058 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35060 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35062 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35064 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35066 (__new_shmctl): Do not use __ptrvalue.
35067 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35068 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35070 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35072 (__libc_sigaction): Likewise.
35073 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35074 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35076 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35078 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35080 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35082 * string/mempcpy.c: Implement by calling memcpy.
35084 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35086 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35091 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35092 values in the mantissa.
35094 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35095 minimize writes to Z.
35096 (sub_magnitudes): Simplify code a bit.
35098 2013-02-12 Roland McGrath <roland@hack.frob.com>
35100 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35101 from the message. The linker prefixes all warnings with that already.
35103 2013-02-12 Andreas Schwab <schwab@suse.de>
35106 * posix/regexec.c (extend_buffers): Add parameter min_len.
35107 (check_matching): Pass minimum needed length.
35108 (clean_state_log_if_needed): Likewise.
35109 (get_subexp): Likewise.
35110 * posix/Makefile (tests): Add bug-regex34.
35111 (bug-regex34-ENV): Define.
35112 * posix/bug-regex34.c: New file.
35115 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35116 elements compare against the byte sequence of it, not its name.
35117 * posix/Makefile (tests): Add bug-regex35.
35118 (bug-regex35-ENV): Define.
35119 * posix/bug-regex35.c: New file.
35121 2013-02-11 Tom de Vries <tom@codesourcery.com>
35123 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35125 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35126 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35127 (CHECK_EOL): Add undef.
35129 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35131 * bits/stdlib-bsearch.h: New file.
35132 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35133 * stdlib/stdlib.h: Likewise.
35135 2013-02-11 Roland McGrath <roland@hack.frob.com>
35137 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35138 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35140 * manual/search.texi (Array Search Function): Add missing const in
35142 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35143 declaration to use rlim_t.
35144 (Basic Scheduling Functions): Remove erroneous const from
35145 sched_getparam prototype. Remove erroneous * from
35146 sched_get_priority_max and sched_get_priority_min prototypes.
35147 (Resource Usage): Fix summary @comment on vtimes to refer to
35148 sys/vtimes.h rather than vtimes.h.
35149 Add missing *s in vtimes prototype.
35150 (Limits on Resources): Fix ulimit prototype to return long int.
35151 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35152 prototypes to use long int rather than double.
35153 (BSD Random): Fix initstate and setstate to use char *, not void *.
35154 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35155 prototype to make second argument 'struct aiocb64 *const[]'.
35156 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35157 (Status of AIO Operations): Remove erroneous const in aio_return and
35158 aio_return64 prototypes.
35159 (Synchronizing I/O): Fix sync prototype to return void.
35160 * manual/startup.texi (Suboptions): Remove an erroneous const in
35161 getsubopt prototype.
35162 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35163 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35164 use size_t rather than int.
35165 (Scanning All Users): Likewise for getpwent_r.
35166 (Setting Groups): Add missing const to setgroups prototype.
35167 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35168 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35169 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35170 'const void *' rather than 'const char *'.
35171 (Host Address Functions): Likewise for inet_ntop.
35172 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35173 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35174 ssize_t for return value.
35175 (Sending Data): Likewise for send, sendto, sendmsg.
35176 (Socket Option Functions): Add a missing const in setsockopt prototype.
35177 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35178 use wchar_t for the argument.
35179 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35180 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35182 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35183 double/float/long double for second argument.
35184 Fix return types of significand, significandf, significandl.
35185 * manual/filesys.texi (Setting Permissions): Use mode_t for second
35186 argument in fchmod prototype.
35187 (File Owner): Use uid_t and gid_t in fchown prototype.
35188 (File Times): Add const to utimes, futimes, and lutimes prototypes.
35189 (Making Special Files): Use mode_t and dev_t in mknod prototype.
35190 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35191 use 'const struct dirent **' as argument types to CMP function pointer
35193 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35194 (File Times): Fix summary magic @comment for struct utimbuf and utime
35195 to refer to utime.h, not time.h.
35196 * manual/string.texi (Argz Functions): Add missing const in
35197 argz_extract and argz_next prototypes.
35198 (Finding Tokens in a String): Likewise for basename.
35199 (String/Array Comparison): Fix typo in wcscasecmp prototype.
35200 (Copying and Concatenation): Fix typo in wmemmove prototype.
35201 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35202 (Signal Stack): Remove erroneous const in sigstack prototype.
35203 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35205 (Simple Calendar Time): Likewise for stime.
35206 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35208 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35209 say sys/sysctl.h instead.
35210 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35211 and vsyslog prototypes.
35213 2013-02-11 Tom de Vries <tom@codesourcery.com>
35215 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35218 2013-02-11 Roland McGrath <roland@hack.frob.com>
35220 * misc/sys/mman.h: Fix typo in mremap comment.
35222 2013-02-08 Roland McGrath <roland@hack.frob.com>
35224 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35225 the '\0' terminator.
35227 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35230 * debug/segfault.c: Don't include <bp-checks.h>.
35231 * sysdeps/generic/bp-checks.h: Remove file.
35232 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35233 (__GETDENTS): Don't use CHECK_N.
35234 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35235 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35236 (__getgroups): Don't use CHECK_N.
35237 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35238 (setgroups): Don't use CHECK_N.
35239 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35240 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35241 (__libc_msgrcv): Don't use CHECK_N.
35242 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35243 (__libc_msgsnd): Don't use CHECK_N.
35244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35246 (__libc_pread): Don't use CHECK_N.
35247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35248 include <bp-checks.h>.
35249 (__libc_pread64): Don't use CHECK_N.
35250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35251 include <bp-checks.h>.
35252 (__libc_pwrite): Don't use CHECK_N.
35253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35254 include <bp-checks.h>.
35255 (__libc_pwrite64): Don't use CHECK_N.
35256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35258 (__libc_pread): Don't use CHECK_N.
35259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35260 include <bp-checks.h>.
35261 (__libc_pread64): Don't use CHECK_N.
35262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35263 include <bp-checks.h>.
35264 (__libc_pwrite): Don't use CHECK_N.
35265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35266 include <bp-checks.h>.
35267 (__libc_pwrite64): Don't use CHECK_N.
35268 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35269 (do_pread): Don't use CHECK_N.
35270 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35271 (do_pread64): Don't use CHECK_N.
35272 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35273 (do_pwrite): Don't use CHECK_N.
35274 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35275 (do_pwrite64): Don't use CHECK_N.
35276 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35277 (__libc_readv): Don't use CHECK_N.
35278 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35279 (semop): Don't use CHECK_N.
35280 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35282 (semtimedop): Don't use CHECK_N.
35283 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35284 (__libc_pread): Don't use CHECK_N.
35285 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35287 (__libc_pread64): Don't use CHECK_N.
35288 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35290 (__libc_pwrite): Don't use CHECK_N.
35291 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35293 (__libc_pwrite64): Don't use CHECK_N.
35294 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35296 (__libc_msgrcv): Don't use CHECK_N.
35297 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35298 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35299 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35300 (__libc_writev): Don't use CHECK_N.
35302 2013-02-08 Roland McGrath <roland@hack.frob.com>
35304 * string/strcpy.c: Removed unused variable.
35306 * Makeconfig (+sysdep-includes): Define with := rather than =.
35307 Use an existing include/ subdir of each sysdeps dir before it.
35309 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35311 * nscd/connection.c (register_traced_file): Comment function.
35312 [HAVE_INOTIFY] (union __inev): Define.
35313 [HAVE_INOTIFY] (inotify_check_files): New function.
35314 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35315 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35317 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35319 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35321 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35322 loaded if not already and that a failure is permanent.
35324 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35327 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35328 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35330 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35333 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35334 (CHECK_1_NULL_OK): Likewise.
35335 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35336 (__fxstat): Do not use CHECK_1.
35337 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35339 (___fxstat64): Do not use CHECK_1.
35340 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35342 (__fxstatat): Do not use CHECK_1.
35343 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35345 (__fxstatat64): Do not use CHECK_1.
35346 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35348 (__fxstat): Do not use CHECK_1.
35349 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35351 (__fxstatat): Do not use CHECK_1.
35352 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35354 (__getresgid): Do not use CHECK_1.
35355 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35357 (__getresuid): Do not use CHECK_1.
35358 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35360 (__lxstat): Do not use CHECK_1.
35361 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35363 (__old_msgctl): Do not use CHECK_1.
35364 (__new_msgctl): Likewise.
35365 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35367 (__new_setrlimit): Do not use CHECK_1.
35368 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35370 (__old_shmctl): Do not use CHECK_1.
35371 (__new_shmctl): Likewise.
35372 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35374 (__xstat): Do not use CHECK_1.
35375 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35376 (__lxstat): Do not use CHECK_1.
35377 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35379 (___lxstat64): Do not use CHECK_1.
35380 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35381 (__old_msgctl): Do not use CHECK_1.
35382 (__new_msgctl): Likewise.
35383 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35385 (__gettimeofday): Do not use CHECK_1.
35386 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35387 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35388 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35390 (__gettimeofday): Do not use CHECK_1.
35391 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35392 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35393 (__new_shmctl): Do not use CHECK_1.
35394 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35396 (do_sigtimedwait): Do not use CHECK_1.
35397 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35399 (do_sigwaitinfo): Do not use CHECK_1.
35400 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35402 (msgctl): Do not use CHECK_1.
35403 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35405 (shmctl): Do not use CHECK_1.
35406 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35407 (ustat): Do not use CHECK_1.
35408 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35410 (__fxstat): Do not use CHECK_1.
35411 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35413 (__fxstatat): Do not use CHECK_1.
35414 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35416 (__lxstat): Do not use CHECK_1.
35417 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35419 (__xstat): Do not use CHECK_1.
35420 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35421 (__xstat): Do not use CHECK_1.
35422 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35423 (___xstat64): Do not use CHECK_1.
35426 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35428 (CHECK_BOUNDS_HIGH): Likewise.
35429 * string/strcpy.c: Do not include <bp-checks.h>.
35430 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35432 2013-02-07 Roland McGrath <roland@hack.frob.com>
35434 * nscd/nscd-client.h (__nscd_drop_map_ref):
35435 Add __attribute__ ((unused)).
35436 * nis/nss-nisplus.h (niserr2nss): Likewise.
35438 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35439 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35441 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35442 Remove inline keyword.
35443 * include/rounding-mode.h (round_away): Likewise.
35444 * libio/wfileops.c (adjust_wide_data): Likewise.
35445 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35446 (__m128i_strloadu_tolower): Likewise.
35447 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35448 (__m128i_strloadu_tolower): Likewise.
35449 * time/mktime.c (ydhms_diff): Likewise.
35450 * locale/elem-hash.h (elem_hash): Likewise.
35451 * locale/setlocale.c (setdata): Likewise.
35452 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35453 (re_string_wchar_at): Likewise.
35454 (bitset_not, bitset_merge, bitset_mask): Likewise.
35455 [!(__GNUC__ > 3)] (inline): Remove macro.
35456 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35457 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35458 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35459 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35460 * string/memcmp.c (memcmp_bytes): Likewise.
35461 * locale/programs/locarchive.c (compute_hashval): Likewise.
35462 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35463 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35464 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35465 * nss/getent.c (print_rpc, print_protocols): Likewise.
35466 (print_passwd, print_group, print_aliases): Likewise.
35467 * nis/nss-nisplus.h (niserr2nss): Likewise.
35468 * nscd/connections.c (restart_p): Likewise.
35469 Change return type to bool.
35471 2013-02-05 Roland McGrath <roland@hack.frob.com>
35473 * Makeconfig (all-Depend-files): Add existing
35474 $(sorted-subdirs:=/Depend) files.
35475 (all-subdirs): Remove nss.
35476 * sysdeps/unix/inet/Subdirs: Add it here instead.
35477 * hesiod/Depend: New file.
35479 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35480 instead of calling alloca.
35482 * io/lseek.c (__lseek): Rename to __libc_lseek.
35483 Define __lseek as an alias.
35485 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35487 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35489 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35490 else clause and remove check for non-standard endianness.
35492 2013-02-04 David S. Miller <davem@davemloft.net>
35494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35496 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35499 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35500 (__ubp_memchr): Remove prototype.
35501 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35502 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35503 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35504 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35505 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35507 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35508 (__ubp_memchr): Likewise.
35509 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35510 (__ubp_memchr): Likewise.
35511 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35512 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35513 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35514 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35516 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35517 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35518 (__getcwd): Do not use CHECK_STRING.
35519 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35521 (__real_chown): Do not use CHECK_STRING.
35522 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35524 (fchownat): Do not use CHECK_STRING.
35525 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35527 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35529 (__lchown): Do not use CHECK_STRING.
35530 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35531 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35532 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35533 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35535 include <bp-checks.h>.
35536 (truncate64): Do not use CHECK_STRING.
35537 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35539 (__real_chown): Do not use CHECK_STRING.
35540 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35542 (__lchown): Do not use CHECK_STRING.
35543 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35545 (__chown): Do not use CHECK_STRING.
35546 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35548 (truncate64): Do not use CHECK_STRING.
35549 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35551 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35552 (__xmknod): Do not use CHECK_STRING.
35553 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35555 (__xmknodat): Do not use CHECK_STRING.
35556 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35557 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35559 2013-02-04 Andreas Schwab <schwab@suse.de>
35562 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35563 * include/netdb.h: Likewise for h_errno.
35564 * elf/tst-stackguard1.c: Include <tls.h>.
35566 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35568 * elf/link.h (struct link_map): Extend the l_addr comment.
35569 * include/link.h (struct link_map): Likewise.
35571 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35574 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35575 (BOUNDED_1): Remove macro.
35576 * debug/backtrace.c: Don't include <bp-checks.h>.
35577 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35578 (__backtrace): Likewise.
35579 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35581 (__backtrace): Don't use BOUNDED_1.
35582 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35584 (__backtrace): Don't use BOUNDED_1.
35585 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35586 (__backtrace): Don't use BOUNDED_1.
35587 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35588 (shmat): Don't use BOUNDED_N.
35590 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35593 * sysdeps/generic/bp-start.h: Remove file.
35594 * csu/libc-start.c: Don't include <bp-start.h>.
35595 (LIBC_START_MAIN): Set up __environ directly instead of using
35596 INIT_ARGV_and_ENVIRON.
35597 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35601 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35603 (CHECK_FCNTL): Likewise.
35604 (CHECK_N_PAGES): Likewise.
35607 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35609 (CHECK_SIGSET_NULL_OK): Likewise.
35610 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35612 (sigpending): Don't use CHECK_SIGSET.
35613 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35615 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35616 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35618 (do_sigsuspend): Don't use CHECK_SIGSET.
35619 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35621 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35622 (do_sigwait): Don't use CHECK_SIGSET.
35623 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35625 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35626 include <bp-checks.h>.
35627 (sigpending): Don't use CHECK_SIGSET.
35628 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35629 include <bp-checks.h>.
35630 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35631 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35633 (sigpending): Don't use CHECK_SIGSET.
35634 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35636 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35639 * sysdeps/generic/bp-semctl.h: Remove file.
35640 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35641 <bp-checks.h> and <bp-semctl.h>.
35642 (__old_semctl): Don't use CHECK_SEMCTL.
35643 (__new_semctl): Likewise.
35644 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35646 (__old_semctl): Don't use CHECK_SEMCTL.
35647 (__new_semctl): Likewise.
35648 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35649 <bp-checks.h> and <bp-semctl.h>.
35650 (__old_semctl): Don't use CHECK_SEMCTL.
35651 (__new_semctl): Likewise.
35652 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35653 <bp-checks.h> and <bp-semctl.h>.
35654 (semctl): Don't use CHECK_SEMCTL.
35657 * Makerules (elide-bp-thunks): Remove variable.
35658 (elide-routines.oS): Don't use $(elide-bp-thunks).
35659 (elide-routines.os): Likewise.
35660 (elide-routines.o): Likewise.
35661 (elide-routines.op): Likewise.
35662 (elide-routines.og): Likewise.
35663 (objects): Don't use $(bp-thunks).
35664 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35666 (common-generated): Do not add s-proto-bp.d.
35667 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35670 Do not generate makefile rules for bounded-pointer thunks.
35671 * sysdeps/generic/bp-thunks.h: Remove file.
35672 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35673 * sysdeps/unix/s-proto-bp.S: Likewise.
35676 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35677 parts of result separately when argument is not close to line from
35678 -i to i and one part of argument is small.
35679 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35680 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35681 * math/libm-test.inc (cacos_test): Add more tests.
35682 (casin_test): Likewise.
35683 (casinh_test): Likewise.
35684 * sysdeps/i386/fpu/libm-test-ulps: Update.
35685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35687 2013-01-31 David S. Miller <davem@davemloft.net>
35689 * po/de.po: Update from translation team.
35691 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35693 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35695 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35697 * configure.in (_AC_PROG_CC_C89): New definition.
35698 * configure: Regenerate.
35700 * configure.in (AC_PROG_CPP): New definition.
35701 * configure: Regenerate.
35703 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35705 * debug/tst-backtrace.h: New file.
35706 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35707 (ret): Remove variable.
35709 (FAIL): Remove macro.
35710 (NO_INLINE): Likewise.
35711 (fn1): Use match function instead of strstr.
35712 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35713 (ret): Remove variable.
35715 (FAIL): Remove macro.
35716 (NO_INLINE): Likewise.
35717 (fn): Use match function instead of strstr.
35718 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35719 (ret): Remove variable.
35721 (FAIL): Remove macro.
35722 (NO_INLINE): Likewise.
35723 (handle_signal): Use match function instead of strstr.
35724 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35725 (ret): Remove variable.
35727 (FAIL): Remove macro.
35728 (NO_INLINE): Likewise.
35729 (handle_signal): Use match function instead of strstr.
35731 2013-01-23 Roland McGrath <roland@hack.frob.com>
35733 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35735 2013-01-23 David S. Miller <davem@davemloft.net>
35737 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35738 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35739 argument of CAS if possible.
35740 * sysdeps/sparc/sparc64/bits/atomic.h
35741 (__arch_compare_and_exchange_val_32_acq): Likewise.
35742 (__arch_compare_and_exchange_val_64_acq): Likewise.
35744 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35746 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35747 * sysdeps/posix/ulimit.c: ... this.
35748 Include <limits.h>.
35749 * sysdeps/unix/bsd/ulimit.c: Remove file.
35751 2013-01-23 Adam Conrad <adconrad@0c3.net>
35753 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35754 (LDFLAGS-tst-array5): Likewise.
35756 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35759 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35760 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35761 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35762 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35764 2013-01-21 David S. Miller <davem@davemloft.net>
35766 * sysdeps/sparc/backtrace.c: New file.
35767 * sysdeps/sparc/sparc32/backtrace.h: New file.
35768 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35769 * sysdeps/sparc/sparc64/backtrace.h: New file.
35770 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35771 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35774 2013-01-21 Andreas Schwab <schwab@suse.de>
35777 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35780 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35786 2013-01-18 Joseph Myers <joseph@codesourcery.com>
35787 Mark Mitchell <mark@codesourcery.com>
35788 Tom de Vries <tom@codesourcery.com>
35789 Paul Pluzhnikov <ppluzhnikov@google.com>
35791 * debug/tst-backtrace2.c: New file.
35792 * debug/tst-backtrace3.c: Likewise.
35793 * debug/tst-backtrace4.c: Likewise.
35794 * debug/tst-backtrace5.c: Likewise.
35795 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35796 (CFLAGS-tst-backtrace3.c): Likewise.
35797 (CFLAGS-tst-backtrace4.c): Likewise.
35798 (CFLAGS-tst-backtrace5.c): Likewise.
35799 (LDFLAGS-tst-backtrace2): Likewise.
35800 (LDFLAGS-tst-backtrace3): Likewise.
35801 (LDFLAGS-tst-backtrace4): Likewise.
35802 (LDFLAGS-tst-backtrace5): Likewise.
35803 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35804 tst-backtrace4 and tst-backtrace5.
35806 2013-01-18 Anton Blanchard <anton@samba.org>
35807 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35809 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35810 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35811 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35812 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35814 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35815 "+r" and remove output regs list as redundant. Add explicit inline
35816 asm to specify register of return val to work around compiler codegen
35817 bug. Remove (int) cast on return value. Add return type parameter to
35818 use in macro so that this macro does not truncate return value for
35820 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35821 pass to INTERNAL_VSYSCALL_NCS.
35822 (INLINE_VSYSCALL): Add 'long int' as return type to
35823 INTERNAL_VSYSCALL_NCS macro invocation.
35824 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35825 INTERNAL_VSYSCALL_NCS macro invocation.
35826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35828 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35831 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35832 Fix application of SIMD FP exception mask.
35834 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35835 mp_no from a power of two.
35836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35837 __mpexp_twomm1. Use __pow_mp.
35839 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35842 2013-01-17 David S. Miller <davem@davemloft.net>
35844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35846 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35849 * include/complex.h: Condition contents on [!_COMPLEX_H].
35850 (__kernel_casinhf): New prototype.
35851 (__kernel_casinh): Likewise.
35852 (__kernel_casinhl): Likewise.
35853 * math/Makefile (libm_calls): Add k_casinh.
35854 * math/k_casinh.c: New file.
35855 * math/k_casinhf.c: Likewise.
35856 * math/k_casinhl.c: Likewise.
35857 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35858 finite nonzero arguments.
35859 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35860 finite nonzero arguments.
35861 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35862 finite nonzero arguments.
35863 * math/s_casinh.c: Do not include <float.h>.
35864 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35865 * math/s_casinhf.c: Do not include <float.h>.
35866 (__casinhf): Move code for finite nonzero arguments to
35868 * math/s_casinhl.c: Do not include <float.h>.
35869 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35871 (__casinhl): Move code for finite nonzero arguments to
35873 * math/libm-test.inc (cacos_test): Add more tests.
35874 * sysdeps/i386/fpu/libm-test-ulps: Update.
35875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35877 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35879 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35880 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35881 [!HAVE_MREMAP]: Remove [defined linux] case.
35882 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35884 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35886 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35888 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
35890 * elf/elf.h (R_386_SIZE32): New relocation.
35891 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35893 (elf_machine_rela): Likewise.
35894 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35895 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35897 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35899 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35900 (FP_FAST_FMA): Do not define.
35901 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35902 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35903 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35904 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35905 !_SOFT_FLOAT]: Likewise.
35906 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35907 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35909 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35910 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35911 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35912 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35913 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35914 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35917 2013-01-16 Andreas Schwab <schwab@suse.de>
35920 * include/stdlib.h (__mktemp): Add declaration.
35921 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35922 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35924 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35926 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35928 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35929 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35930 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35932 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35933 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35935 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35937 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35938 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35939 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35941 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35942 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35944 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35946 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35948 2013-01-15 David S. Miller <davem@davemloft.net>
35950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35951 trunc{,f} to libm-sysdep_routes.
35952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35962 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35963 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35964 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35965 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35966 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35967 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35970 nearbyint{,f} to libm-sysdep_routes.
35971 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35982 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35984 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35985 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35987 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35988 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35989 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35991 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35992 libc_feholdexcept and libc_fesetenv.
35994 2013-01-15 Mike Frysinger <vapier@gentoo.org>
35996 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35998 2013-01-14 David S. Miller <davem@davemloft.net>
36000 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36001 (SPARC_ASM_VIS2_IFUNC): Likewise.
36002 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36004 use of 'siam' instruction.
36005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36038 routines to libm-sysdep_routines.
36039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36042 fdim/fdimf to libm-sysdep_routines.
36043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36051 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36052 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36053 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36054 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36056 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36058 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36059 to optimize copies.
36061 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36066 local variable MPTWO.
36067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36070 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36072 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36075 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36077 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36079 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36081 * manual/pattern.texi (glob_t): Document gl_flags.
36082 (glob64_t): Likewise.
36084 2013-01-11 David S. Miller <davem@davemloft.net>
36086 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36087 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36088 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
36089 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36090 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36091 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36092 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36093 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36094 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36095 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36096 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36097 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36098 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36101 sparc V9 rather than using V8 code.
36102 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36103 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36105 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36107 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36110 2013-01-11 Roland McGrath <roland@hack.frob.com>
36112 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36113 not in the main loop.
36114 * configure: Regenerated.
36116 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36118 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36119 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36121 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36122 [!__GLIBC_HAVE_LONG_LONG] case.
36123 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36124 condition to just #else.
36125 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36126 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36127 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36128 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36130 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36131 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36132 #elif condition to just #else.
36133 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36134 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36135 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36136 #elif condition to just #else.
36138 2013-01-11 Steve Ellcey <sellcey@mips.com>
36140 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36141 (EF_MIPS_ARCH_64): Fix value.
36142 (EF_MIPS_ARCH_32R2): New.
36143 (EF_MIPS_ARCH_64R2): New.
36145 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36147 * Makeconfig (+link-pie-before-libc): New.
36148 (+link-pie-after-libc): Likewise.
36149 (+link-pie-tests): Likewise.
36150 (+link-pie): Rewritten.
36151 (link-before-libc): Remove $(config-LDFLAGS).
36152 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36153 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36154 (config-LDFLAGS): Renamed to ...
36155 (rtld-LDFLAGS): This.
36156 (rtld-tests-LDFLAGS): New macro.
36157 (link-libc-rpath-link): Likewise.
36158 (link-libc-tests-rpath-link): Likewise.
36159 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36160 (link-libc): Prepand $(link-libc-rpath-link).
36161 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36162 (test-program-prefix): New macro.
36163 (test-via-rtld-prefix): Likewise.
36164 (test-program-cmd): Likewise.
36165 (host-test-program-cmd): Likewise.
36166 * Makefile ($(common-objpfx)testrun.sh): Replace
36167 $(run-program-prefix) with $(test-program-prefix).
36168 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36170 ($(common-objpfx)shlib.lds): Likewise.
36171 (build-module-helper): Likewise.
36172 ($(common-objpfx)format.lds): Likewise.
36173 * Rules (binaries-pie-tests): New.
36174 (binaries-pie-notests): Likewise.
36175 (binaries-pie): Rewritten.
36176 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36177 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36178 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36179 (make-test-out): Replace $(host-built-program-cmd) with
36180 $(host-test-program-cmd).
36181 * config.make.in (build-hardcoded-path-in-tests): New variable.
36182 * configure.in (--enable-hardcoded-path-in-tests): New configure
36184 (hardcoded_path_in_tests): New AC_SUBST.
36185 * configure: Regenerated.
36186 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36187 $(built-program-cmd) with $(test-program-cmd).
36188 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36189 (test_program_cmd): This.
36190 * elf/Makefile ($(objpfx)order.out): Run test with
36191 $(test-program-prefix).
36192 ($(objpfx)order2.out): Likewise.
36193 ($(objpfx)tst-initorder.out): Likewise.
36194 ($(objpfx)tst-initorder2.out): Likewise.
36195 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36196 $(test-program-cmd).
36197 ($(objpfx)tst-array1-static.out): Likewise.
36198 ($(objpfx)tst-array2.out): Likewise.
36199 ($(objpfx)tst-array3.out): Likewise.
36200 ($(objpfx)tst-array4.out): Likewise.
36201 ($(objpfx)tst-array5.out): Likewise.
36202 ($(objpfx)tst-array5-static.out): Likewise.
36203 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36204 $(test-program-cmd).
36205 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36206 $(run-program-prefix) with $(test-program-prefix).
36207 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36208 (test_program_prefix): This.
36209 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36210 $(run-program-prefix) with $(test-program-prefix).
36211 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36212 (test_program_prefix): This.
36213 * iconvdata/tst-tables.sh: Likewise.
36214 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36215 $(run-program-prefix) with $(test-program-prefix).
36216 ($(objpfx)tst-translit.out): Likewise.
36217 ($(objpfx)tst-gettext2.out): Likewise.
36218 ($(objpfx)tst-gettext4.out): Likewise.
36219 ($(objpfx)tst-gettext6.out): Likewise.
36220 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36221 (test_program_prefix): This.
36222 * intl/tst-gettext2.sh: Likewise.
36223 * intl/tst-gettext4.sh Likewise.
36224 * intl/tst-gettext6.sh: Likewise.
36225 * intl/tst-translit.sh: Likewise.
36226 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36227 with $(test-program-cmd).
36228 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36229 $(run-program-prefix) with $(test-program-prefix).
36230 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36231 (test_program_prefix): This.
36232 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36233 $(run-program-prefix) with $(test-program-prefix).
36234 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36235 (test_program_prefix): This.
36236 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36237 * posix/Makefile ($(objpfx)globtest.out): Replace
36238 $(run-via-rtld-prefix) and $(test-wrapper) with
36239 $(test-program-prefix) and $(test-via-rtld-prefix).
36240 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36241 $(test-program-prefix).
36242 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36243 $(host-test-program-cmd).
36244 (tst-spawn-ARGS): Likewise.
36245 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36246 $(test-program-prefix).
36247 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36248 (test_via_rtld_prefix): This.
36249 (test_wrapper): Renamed to ...
36250 (test_program_prefix): This.
36251 (run_program_prefix): Replaced by test_program_prefix.
36252 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36253 (test_program_prefix): This.
36254 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36255 with $(host-test-program-cmd).
36256 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36257 $(run-program-prefix) with $(test-program-prefix).
36258 ($(objpfx)tst-printf.out): Likewise.
36259 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36260 $(test-program-cmd).
36261 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36262 (test_program_prefix): This.
36263 * stdio-common/tst-unbputc.sh: Likewise.
36264 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36265 $(run-program-prefix) with $(test-program-prefix).
36266 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36267 (test_program_prefix): This.
36268 * string/Makefile ($(objpfx)tst-svc.out): Replace
36269 $(built-program-cmd) with $(test-program-cmd).
36271 2013-01-11 Andreas Jaeger <aj@suse.de>
36274 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36275 value. Sync with Linux 3.7.
36277 2013-01-10 David S. Miller <davem@davemloft.net>
36279 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36280 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36281 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36283 2013-01-10 Roland McGrath <roland@hack.frob.com>
36285 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36287 * configure: Regenerated.
36289 2013-01-10 David S. Miller <davem@davemloft.net>
36291 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36292 sparc V9 rather than using V8 code.
36293 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36294 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36296 2013-01-10 Roland McGrath <roland@hack.frob.com>
36298 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36299 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36300 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36301 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36302 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36303 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36304 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36305 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36306 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36307 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36308 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36309 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36310 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36311 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36312 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36313 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36314 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36315 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36316 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36317 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36318 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36319 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36320 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36321 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36322 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36323 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36324 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36326 2013-01-10 David S. Miller <davem@davemloft.net>
36328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36330 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36332 * posix/Makefile (tests-static): New variable.
36333 (tests): Add $(tests-static).
36334 (tst-exec-static-ARGS): New variable.
36335 (tst-spawn-static-ARGS): Likewise.
36336 * posix/tst-exec-static.c: New file.
36337 * posix/tst-spawn-static.c: Likewise.
36338 * posix/tst-exec.c: Support run directly.
36339 * posix/tst-spawn.c: Likewise.
36341 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36343 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36345 * math/bits/mathcalls.h (llrint): Likewise.
36346 (llround): Likewise.
36347 * stdlib/stdlib.h (struct drand48_data): Likewise.
36348 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36349 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36350 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36352 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36354 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36355 (elf_greg_t): Likewise.
36356 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36357 (__jmp_buf): Likewise.
36358 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36360 (llrint): Likewise, for all definitions.
36361 (llrintl): Likewise.
36363 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36364 Remove [__GNUC__] condition.
36365 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36366 condition to just [__USE_ISOC99].
36367 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36369 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36372 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36373 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36375 (_POSIX_V6_ILP32_OFF32): Likewise.
36376 (_XBS5_ILP32_OFF32): Likewise.
36377 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36378 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36380 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36382 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36385 doubles __mpexp_twomm1. Adjust usage.
36386 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36389 2013-01-10 Andreas Schwab <schwab@suse.de>
36392 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36393 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36395 2013-01-09 David S. Miller <davem@davemloft.net>
36398 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36399 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36400 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36401 (TCP_FASTOPEN): Define.
36402 (tcp_repair_opt): New structure.
36403 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36405 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36406 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36407 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36408 (tcp_cookie_transactions): New structure.
36410 2013-01-09 Anton Blanchard <anton@samba.org>
36412 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36413 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36414 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36415 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36417 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36419 * include/features.h (__USE_ANSI): Remove.
36421 2013-01-09 Roland McGrath <roland@hack.frob.com>
36423 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36425 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36427 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36429 * sysdeps/s390/fpu/libm-test-ulps: Update.
36431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36433 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36437 (denorm): Likewise.
36438 (__mp_dbl): Likewise.
36439 (__dbl_mp): Likewise.
36440 (add_magnitudes): Likewise.
36441 (sub_magnitudes): Likewise.
36447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36451 (denorm): Likewise.
36452 (__mp_dbl): Likewise.
36453 (__dbl_mp): Likewise.
36454 (add_magnitudes): Likewise.
36455 (sub_magnitudes): Likewise.
36461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36465 (denorm): Likewise.
36466 (__mp_dbl): Likewise.
36467 (__dbl_mp): Likewise.
36468 (add_magnitudes): Likewise.
36469 (sub_magnitudes): Likewise.
36476 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36478 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36479 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36480 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36481 2 && __USE_EXTERN_INLINES]: Likewise.
36483 2013-01-08 Andreas Jaeger <aj@suse.de>
36486 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36488 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36489 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36491 2013-01-07 Anton Blanchard <anton@samba.org>
36493 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36494 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36495 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36496 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36497 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36498 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36499 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36500 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36502 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36503 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36504 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36505 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36506 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36507 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36508 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36509 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36510 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36511 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36512 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36513 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36514 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36516 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36517 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36518 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36519 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36520 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36522 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36523 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36525 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36526 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36527 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36528 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36529 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36531 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36532 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36533 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36534 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36535 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36537 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36539 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36540 (__MALLOC_PMT): Likewise.
36541 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36542 [__GNUC__], only on [_LIBC].
36543 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36544 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36545 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36546 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36547 forward declaration.
36548 (realloc_hook_ini): Likewise.
36549 (memalign_hook_ini): Likewise.
36550 (__libc_memalign): Do not use __MALLOC_PMT in variable
36552 (__libc_valloc): Likewise.
36553 (__libc_pvalloc): Likewise.
36554 (__libc_calloc): Likewise.
36555 (__posix_memalign): Likewise.
36558 * math/s_casinh.c: Include <float.h>.
36559 (__casinh): Do not do computation with squaring and square root
36560 for large arguments.
36561 * math/s_casinhf.c: Include <float.h>.
36562 (__casinhf): Do not do computation with squaring and square root
36563 for large arguments.
36564 * math/s_casinhl.c: Include <float.h>.
36565 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36566 (__casinhl): Do not do computation with squaring and square root
36567 for large arguments.
36568 * math/libm-test.inc (casin_test): Add more tests.
36569 (casinh_test): Likewise.
36570 * sysdeps/i386/fpu/libm-test-ulps: Update.
36571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36573 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36575 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36576 (__x86_64_raw_data_cache_size): Likewise.
36577 (__x86_64_data_cache_size_half): Likewise.
36578 (__x86_64_raw_data_cache_size_half): Likewise.
36579 (__x86_64_shared_cache_size): Likewise.
36580 (__x86_64_raw_shared_cache_size): Likewise.
36581 (__x86_64_shared_cache_size_half): Likewise.
36582 (__x86_64_raw_shared_cache_size_half): Likewise.
36583 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36585 (__x86_data_cache_size): This.
36586 (__x86_64_raw_data_cache_size): Renamed to ...
36587 (__x86_raw_data_cache_size): This.
36588 (__x86_64_data_cache_size_half): Renamed to ...
36589 (__x86_data_cache_size_half): This.
36590 (__x86_64_raw_data_cache_size_half): Renamed to ...
36591 (__x86_raw_data_cache_size_half): This.
36592 (__x86_64_shared_cache_size): Renamed to ...
36593 (__x86_shared_cache_size): This.
36594 (__x86_64_raw_shared_cache_size): Renamed to ...
36595 (__x86_raw_shared_cache_size): This.
36596 (__x86_64_shared_cache_size_half): Renamed to ...
36597 (__x86_shared_cache_size_half): This.
36598 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36599 (__x86_raw_shared_cache_size_half): This.
36600 * sysdeps/x86_64/memcpy.S: Updated.
36601 * sysdeps/x86_64/memset.S: Likewise.
36602 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36604 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36606 2013-01-04 David S. Miller <davem@davemloft.net>
36608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36610 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36612 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36613 1 to avoid redefinition warning.
36614 (__USE_GNU): Don't define.
36615 (init_signaling_nan): Protoize.
36617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36619 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36621 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36623 (__cpymn): Likewise.
36624 (norm): Remove commented code.
36625 (denorm): Likewise.
36626 (__mp_dbl): Likewise.
36628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36629 (__cpymn): Likewise.
36630 (norm): Remove commented code.
36631 (denorm): Likewise.
36632 (__mp_dbl): Likewise.
36635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36636 mp_no value for 1.0 and 2.0.
36637 (norm): Use RADIXI instead of radixi.d.
36638 (denorm): Likewise.
36639 (__mul): Use 0.0 instead of zero.d.
36640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36641 mp_no value for 1.0 and 2.0.
36642 (norm): Use RADIXI instead of radixi.d.
36643 (denorm): Likewise.
36644 (__mul): Use 0.0 instead of zero.d.
36646 2013-01-04 Joseph Myers <joseph@codesourcery.com>
36649 * math/s_casinh.c (__casinh): Reduce finite argument to first
36650 quadrant then set signs of results at the end.
36651 * math/s_casinhf.c (__casinhf): Likewise.
36652 * math/s_casinhl.c (__casinhl): Likewise.
36653 * math/libm-test.inc (casin_test): Add more tests.
36654 (casinh_test): Likewise.
36655 * sysdeps/i386/fpu/libm-test-ulps: Update.
36656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36658 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36660 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36662 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36664 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36666 (denorm): Likewise.
36667 (__mp_dbl): Likewise.
36670 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36671 and adjust the header comment.
36673 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36674 variable name from declaration.
36676 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36679 Initialize COMMON_CPUID_INDEX_7 element.
36680 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36681 (CPUID_RTM): Likewise.
36682 (HAS_RTM): Likewise.
36683 (COMMON_CPUID_INDEX_7): New enum.
36685 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36688 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36689 size is zero, record memory as freed.
36691 2013-01-03 Andreas Jaeger <aj@suse.de>
36693 * po/ia.po: Add new Interlingua translation.
36695 2012-01-03 Allan McRae <allan@archlinux.org>
36697 * locale/programs/localedef.c: Fix description of '--posix' flag.
36699 2013-01-02 Joseph Myers <joseph@codesourcery.com>
36701 * NEWS: Update dates in second copyright notice.
36702 * README: Update copyright dates in example.
36703 * manual/libc.texinfo: Update copyright dates.
36704 * scripts/test-installation.pl: Update copyright date in --version
36707 * hurd/ctty-input.c: Fix copyright notice formatting.
36708 * hurd/ctty-output.c: Likewise.
36709 * hurd/dtable.c: Likewise.
36710 * hurd/hurd-raise.c: Likewise.
36711 * hurd/hurdprio.c: Likewise.
36712 * hurd/msgportdemux.c: Likewise.
36713 * misc/sys/file.h: Likewise.
36714 * misc/sys/ioctl.h: Likewise.
36715 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36716 * sysdeps/mach/hurd/chdir.c: Likewise.
36717 * sysdeps/mach/hurd/fchdir.c: Likewise.
36718 * sysdeps/mach/hurd/rename.c: Likewise.
36719 * sysdeps/mach/hurd/rmdir.c: Likewise.
36720 * sysdeps/mach/hurd/seekdir.c: Likewise.
36721 * sysdeps/mach/hurd/setsid.c: Likewise.
36722 * sysdeps/posix/wait3.c: Likewise.
36724 * All files with FSF copyright notices: Update copyright dates
36725 using scripts/update-copyrights.
36726 * intl/plural.c: Regenerated.
36727 * locale/programs/charmap-kw.h: Likewise.
36728 * locale/programs/locfile-kw.h: Likewise.
36730 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36732 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36735 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36736 calculation loop and add branch prediction.
36738 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36739 check access beyond bounds of m1np.
36741 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36743 (__inv): Remove local variable MPTWO to use the global
36745 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36748 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36749 MP3HALFS static const.
36751 2013-01-01 David S. Miller <davem@davemloft.net>
36753 * po/ca.po: Update from translation team.
36755 2013-01-01 Joseph Myers <joseph@codesourcery.com>
36757 * scripts/update-copyrights: New file.
36758 * Makeconfig: Reformat copyright notice.
36759 * ctype/ctype.h: Likewise.
36760 * debug/swprintf_chk.c: Likewise.
36761 * elf/dl-cache.c: Likewise.
36762 * elf/dl-debug.c: Likewise.
36763 * elf/dl-object.c: Likewise.
36764 * grp/initgroups.c: Likewise.
36765 * hurd/Makefile: Likewise.
36766 * hurd/hurd/signal.h: Likewise.
36767 * hurd/hurdfault.c: Likewise.
36768 * hurd/hurdioctl.c: Likewise.
36769 * hurd/hurdlookup.c: Likewise.
36770 * hurd/intr-msg.c: Likewise.
36771 * iconv/gconv_open.c: Likewise.
36772 * libio/swprintf.c: Likewise.
36773 * locale/lc-ctype.c: Likewise.
36774 * locale/nl_langinfo.c: Likewise.
36775 * mach/Machrules: Likewise.
36776 * mach/Makefile: Likewise.
36777 * malloc/obstack.h: Likewise.
36778 * manual/Makefile: Likewise.
36779 * manual/tsort.awk: Likewise.
36780 * misc/bits/stab.def: Likewise.
36781 * nis/nis_print_group_entry.c: Likewise.
36782 * nis/nis_table.c: Likewise.
36783 * nis/nss_compat/compat-pwd.c: Likewise.
36784 * nis/nss_compat/compat-spwd.c: Likewise.
36785 * po/Makefile: Likewise.
36786 * posix/fnmatch.c: Likewise.
36787 * posix/regex.h: Likewise.
36788 * resolv/Makefile: Likewise.
36789 * resolv/nss_dns/dns-network.c: Likewise.
36790 * resolv/res_hconf.c: Likewise.
36791 * scripts/gen-sorted.awk: Likewise.
36792 * soft-fp/soft-fp.h: Likewise.
36793 * stdio-common/printf.h: Likewise.
36794 * stdlib/monetary.h: Likewise.
36795 * stdlib/random.c: Likewise.
36796 * stdlib/random_r.c: Likewise.
36797 * sysdeps/generic/Makefile: Likewise.
36798 * sysdeps/gnu/Makefile: Likewise.
36799 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36801 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36803 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36809 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36810 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36811 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36812 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36813 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36814 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36815 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36816 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36817 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36819 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36820 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36821 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36822 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36823 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36825 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36826 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36827 * sysdeps/mach/hurd/errnos.awk: Likewise.
36828 * sysdeps/mach/hurd/fork.c: Likewise.
36829 * sysdeps/mach/hurd/getcwd.c: Likewise.
36830 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36831 * sysdeps/mach/hurd/mmap.c: Likewise.
36832 * sysdeps/mach/hurd/utimes.c: Likewise.
36833 * sysdeps/mach/hurd/xmknod.c: Likewise.
36834 * sysdeps/posix/profil.c: Likewise.
36835 * sysdeps/posix/readdir_r.c: Likewise.
36836 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36837 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36838 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36839 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36841 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36842 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36845 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36846 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36847 * sysdeps/pthread/lio_listio.c: Likewise.
36848 * sysdeps/sparc/dl-procinfo.h: Likewise.
36849 * sysdeps/unix/i386/sysdep.S: Likewise.
36850 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36851 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36852 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36853 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36855 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36856 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36857 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36858 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36859 * sysdeps/wordsize-32/divdi3.c: Likewise.
36860 * time/sys/time.h: Likewise.
36861 * wcsmbs/Makefile: Likewise.
36863 2013-01-01 David S. Miller <davem@davemloft.net>
36865 * po/fr.po: Update from translation team.
36867 * catgets/gencat.c: Update copyright year.
36868 * csu/version.c: Likewise.
36869 * debug/catchsegv.sh: Likewise.
36870 * debug/pcprofiledump.c: Likewise.
36871 * debug/xtrace.sh: Likewise.
36872 * elf/ldconfig.c: Likewise.
36873 * elf/ldd.bash.in: Likewise.
36874 * elf/pldd.c: Likewise.
36875 * elf/sotruss.ksh: Likewise.
36876 * elf/sprof.c: Likewise.
36877 * iconv/iconv_prog.c: Likewise.
36878 * iconv/iconvconfig.c: Likewise.
36879 * locale/programs/locale.c: Likewise.
36880 * locale/programs/localedef.c: Likewise.
36881 * login/programs/pt_chown.c: Likewise.
36882 * malloc/memusage.sh: Likewise.
36883 * malloc/memusagestat.c: Likewise.
36884 * malloc/mtrace.pl: Likewise.
36885 * nscd/nscd.c: Likewise.
36886 * nss/getent.c: Likewise.
36887 * nss/makedb.c: Likewise.
36888 * posix/getconf.c: Likewise.
36890 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36892 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36895 2012-12-30 Mike Frysinger <vapier@gentoo.org>
36897 * math/bits/mathcalls.h (modf): Use __nonnull.
36899 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36901 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36902 (split): Use macro CN instead of the bare value.
36903 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36906 instead of the bare value.
36907 (power1): Likewise.
36909 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36911 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36913 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36915 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36917 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36918 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36919 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36920 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36922 2012-12-28 Andreas Jaeger <aj@suse.de>
36924 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36925 values are from Linux 3.7.
36927 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36928 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36930 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36932 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36935 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36937 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36938 variables with preprocessor constants.
36939 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36940 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36941 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36943 2012-12-27 Bruno Haible <bruno@clisp.org>
36946 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36949 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36952 and use variable directly.
36953 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36955 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36957 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36958 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36960 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36961 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36962 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36963 include directive. Remove local variable MPONE.
36964 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36965 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36966 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36968 2012-12-25 David S. Miller <davem@davemloft.net>
36970 * version.h (RELEASE): Set to "development".
36971 (VERSION): Set to "2.17.90".
36972 * NEWS: Add 2.18 section.
36974 2012-12-21 David S. Miller <davem@davemloft.net>
36976 * po/hr.po: Update from translation team.
36978 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36980 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36982 2012-12-19 Steve Ellcey <sellcey@mips.com>
36984 * NEWS: Mention new memcpy for MIPS.
36986 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36988 * manual/contrib.texi (Contributors): Spelling correction.
36990 2012-12-15 David S. Miller <davem@davemloft.net>
36992 * po/ru.po: Update from translation team.
36994 2012-12-13 David S. Miller <davem@davemloft.net>
36996 * NEWS: Mention IFUNC testsuite enhancements.
36998 * po/pl.po: Update from translation team.
36999 * po/bg.po: Likewise.
37001 * manual/contrib.texi (Contributors): Update entries for Hongjiu
37002 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
37004 2012-12-11 David S. Miller <davem@davemloft.net>
37006 * po/sv.po: Update from translation team.
37008 * po/vi.po: Update from translation team.
37010 * po/cs.po: Update from translation team.
37012 * po/de.po: Update from translation team.
37013 * po/eo.po: Likewise.
37014 * po/nl.po: Likewise.
37016 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37019 * manual/argp.texi (Argp Helper Functions): Move node to follow
37020 Argp Parsing State.
37023 * manual/conf.texi (Limits on File System Capacity): Mention if
37024 terminating null is included in the max size.
37026 2012-12-10 Andreas Jaeger <aj@suse.de>
37028 * po/cs.po: Update from translation team.
37030 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37032 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37033 void pointer and cast to uintptr_t.
37034 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37036 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37037 * sysdeps/s390/s390-64/memset.S: Likewise.
37039 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37042 * menual/message.texi (Message Translation): Fix typos.
37043 (Helper programs for gettext): Likewise.
37045 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37048 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37051 2012-12-07 David S. Miller <davem@davemloft.net>
37053 * po/libc.pot: Update.
37055 2012-12-07 Richard Henderson <rth@redhat.com>
37058 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37059 normal/normal case to before the switch.
37060 (_FP_DIV): Likewise.
37062 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37063 Mike Frysinger <vapier@gentoo.org>
37065 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37066 check for __NR_fadvise64_64.
37068 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37070 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37071 0, not just to plain "0" as a statement.
37072 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37075 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37077 * NEWS: Use sourceware.org in Bugzilla URL.
37079 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37082 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37084 * stdio-common/tst-put-error.c (do_test): Add newline to the
37085 padded test to ensure flush.
37087 2012-12-05 Jeff Law <law@redhat.com>
37089 * sunrpc/etc.rpc (fedfs_admin): Add entry.
37091 2012-12-05 Joseph Myers <joseph@codesourcery.com>
37093 * README: Don't refer to ports add-on as distributed separately.
37094 Mention AArch64 in list of systems supported in the ports add-on.
37096 * LICENSES: Add more non-FSF copyright and license notices.
37098 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37101 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37103 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37104 10000 as width of padded output.
37106 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37108 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37110 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37111 variable LX with __attribute__ ((unused)).
37112 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37114 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37115 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37116 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37117 with __attribute__ ((unused)).
37119 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37121 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37123 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37125 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37126 (CFLAGS-nldbl-acos.c): New variable.
37127 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37128 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37129 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37130 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37131 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37132 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37133 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37134 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37135 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37136 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37137 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37138 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37139 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37140 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37141 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37142 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37143 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37144 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37145 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37146 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37147 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37148 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37149 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37150 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37151 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37152 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37153 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37154 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37155 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37156 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37157 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37158 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37159 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37160 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37161 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37162 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37163 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37164 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37165 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37166 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37167 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37168 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37169 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37170 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37171 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37172 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37173 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37174 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37175 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37176 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37177 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37178 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37179 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37180 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37181 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37182 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37183 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37184 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37185 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37186 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37187 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37188 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37189 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37190 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37191 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37192 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37193 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37194 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37195 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37196 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37197 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37198 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37199 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37200 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37201 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37202 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37203 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37204 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37205 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37206 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37207 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37208 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37209 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37210 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37211 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37212 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37213 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37214 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37215 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37216 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37217 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37218 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37219 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37220 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37221 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37222 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37223 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37226 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37229 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37230 whole low double instead of just low 47 bits when splitting values
37233 2012-12-03 Allan McRae <allan@archlinux.org>
37235 * manual/stdio.texi (Predefined Printf Handlers): Remove
37236 @hsep and @vsep usage.
37238 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37240 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37241 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37243 2012-12-03 Jeff Law <law@redhat.com>
37245 * time/sys/time.h (settimeofday): Do not mark TV argument
37248 2012-12-01 Mike Frysinger <vapier@gentoo.org>
37250 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37251 when currently writing and seek to current position when not.
37252 * libio/Makefile (tests): Remove bug-fclose1.
37253 * libio/bug-fclose1.c: Delete.
37255 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37257 * manual/arith.texi (feenableexcept): Fix typo.
37258 (fedisableexcept): Likewise.
37260 2012-11-30 Roland McGrath <roland@hack.frob.com>
37262 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37263 second, differently-typed declaration, rather than a cast.
37265 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37267 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37268 * include/rpc/svc.h: ... here.
37270 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37273 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37274 depending n and resplen2 to catch cases where answer
37277 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37279 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37280 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37282 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37284 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37286 2012-11-29 Roland McGrath <roland@hack.frob.com>
37288 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37290 2012-11-28 Jeff Law <law@redhat.com>
37293 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37294 dataset_temporary. Track alloca usage into alloca_used.
37295 If dataset is large allocate and release it via malloc/free.
37297 2012-06-04 Florian Weimer <fweimer@redhat.com>
37300 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37302 2012-11-28 David S. Miller <davem@davemloft.net>
37304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37306 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37309 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37310 of pi/2 rounded to nearest to 64 bits.
37311 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37312 nearest to 64 bits.
37313 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37316 2012-11-28 Jeff Law <law@redhat.com>
37317 Martin Osvald <mosvald@redhat.com>
37320 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37321 * sunrpc/svc.c: Include time.h.
37322 (__svc_accept_failed): New function.
37323 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37324 any reason other than EINTR, call __svc_accept_failed.
37325 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37326 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37328 2012-11-28 Andreas Schwab <schwab@suse.de>
37330 * scripts/abilist.awk: Also handle indirect functions in .opd
37333 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37336 * sysdeps/x86/fpu/powl_helper.c: New file.
37337 * sysdeps/x86/fpu/Makefile: Likewise.
37338 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37340 (__ieee754_powl): Use __powl_helper for finite arguments except
37341 integer exponents below 8.
37342 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37344 (__ieee754_powl): Use __powl_helper for finite arguments except
37345 integer exponents below 8.
37346 * math/libm-test.inc (pow_test): Add more tests and enable some
37347 previously disabled tests.
37348 * sysdeps/i386/fpu/libm-test-ulps: Update.
37349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37351 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37352 Carlos O'Donell <carlos_odonell@mentor.com>
37354 * nss/makedb.c (is_prime): Assert that input is odd and greater
37355 than 4. Note that fact in a comment too.
37356 (next_prime): Add 4 to input.
37358 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37361 * libio/Makefile (tests): Add test case tst-fwrite-error.
37362 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37363 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37364 * libio/tst-fwrite-error.c: New test case.
37366 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37368 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37369 before casting to void *.
37370 * include/libc-internal.h (__pointer_type): New macro.
37371 (__integer_if_pointer_type_sub): Likewise.
37372 (__integer_if_pointer_type): Likewise.
37373 (cast_to_integer): Likewise.
37374 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37375 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37376 before casting to atomic64_t.
37377 (atomic_exchange_acq): Likewise.
37378 (__arch_exchange_and_add_body): Likewise.
37379 (__arch_add_body): Likewise.
37380 (atomic_add_negative): Likewise.
37381 (atomic_add_zero): Likewise.
37383 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37385 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37386 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37387 (add_fdes): Likewise.
37388 (linear_search_fdes): Likewise.
37389 (binary_search_unencoded_fdes): Likewise.
37391 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37393 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37395 2012-11-24 Adam Conrad <adconrad@0c3.net>
37397 * configure.in: Autodetect C++ header directories.
37398 * configure: Regenerated.
37400 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37402 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37404 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37408 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37410 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37411 LDBL_MANT_DIG == 106]: Disable some tests.
37412 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37414 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37418 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37419 input for small inputs. Return +/- pi/2 for large inputs.
37420 * math/libm-test.inc (atan_test): Add more tests.
37422 * sysdeps/generic/unwind-dw2-fde-glibc.c
37423 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37424 __attribute__ ((unused)).
37427 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37428 x * y if x and y are nonzero and z is zero.
37431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37432 nonzero exponents with absolute value below 0x1p-117 to +/-
37436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37437 up arguments below 2**-450, not just those below 2**-500.
37438 * math/libm-test.inc (hypot_test): Add another test.
37441 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37442 Return a+b for ratio over 2**120, not 2**60.
37443 * math/libm-test.inc (hypot_test): Add another test.
37445 * math/libm-test.inc (clog_test): Use
37446 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37447 (clog10_test): Likewise.
37450 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37452 2012-11-22 Andreas Schwab <schwab@suse.de>
37454 * sysdeps/i386/fpu/libm-test-ulps: Update.
37456 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37458 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37459 printf output with newline.
37461 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37464 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37465 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37466 -z nodlopen, -z initfirst and -z execstack support.
37467 * configure: Regenerated.
37469 * elf/elf.h (DF_1_NODIRECT): New macro.
37470 (DF_1_IGNMULDEF): Likewise.
37471 (DF_1_NOKSYMS): Likewise.
37472 (DF_1_NOHDR): Likewise.
37473 (DF_1_EDITED): Likewise.
37474 (DF_1_NORELOC): Likewise.
37475 (DF_1_SYMINTPOSE): Likewise.
37476 (DF_1_GLOBAUDIT): Likewise.
37477 (DF_1_SINGLETON): Likewise.
37478 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37479 DT_1_SUPPORTED_MASK bits.
37480 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37482 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37484 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37486 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37488 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37491 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37492 (sendmmsg): Move declarations...
37493 * socket/sys/socket.h: ... here.
37494 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37495 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37497 * socket/recvmmsg.c: ... this new file.
37498 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37499 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37500 definition of __sendmmsg hidden.
37501 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37502 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37503 Move ENOSYS stub into and include it from...
37504 * socket/sendmmsg.c: ... this new file.
37505 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37506 (sysdep_routines): Move recvmmsg and sendmmsg...
37507 * socket/Makefile (routines): ... here.
37508 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37509 (GLIBC_PRIVATE): Add __sendmmsg.
37510 * include/sys/socket.h (__sendmmsg): Add declarations.
37511 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37514 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37516 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37517 variable I1 with __attribute__ ((unused)).
37518 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37520 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37522 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37523 DUMMY variables with __attribute__ ((unused)).
37525 * bits/byteswap.h: Include <bits/types.h>.
37526 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37528 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37530 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37531 string_t. Do not manually set errno.
37532 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37533 length with __strnlen. Make sure to both set errno and return it on
37536 2012-11-19 David S. Miller <davem@davemloft.net>
37538 With help from Joseph Myers.
37539 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37540 very large arguments properly.
37541 * math/libm-test.inc (atan_test): New tests.
37542 (atan2_test): New tests.
37543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37546 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37549 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37552 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37553 [POSIX] (EADDRNOTAVAIL): Likewise.
37554 [POSIX] (EAFNOSUPPORT): Likewise.
37555 [POSIX] (EALREADY): Likewise.
37556 [POSIX] (ECONNABORTED): Likewise.
37557 [POSIX] (ECONNREFUSED): Likewise.
37558 [POSIX] (ECONNRESET): Likewise.
37559 [POSIX] (EDESTADDRREQ): Likewise.
37560 [POSIX] (EDQUOT): Likewise.
37561 [POSIX] (EHOSTUNREACH): Likewise.
37562 [POSIX] (EIDRM): Likewise.
37563 [POSIX] (EISCONN): Likewise.
37564 [POSIX] (ELOOP): Likewise.
37565 [POSIX] (EMULTIHOP): Likewise.
37566 [POSIX] (ENETDOWN): Likewise.
37567 [POSIX] (ENETUNREACH): Likewise.
37568 [POSIX] (ENOBUFS): Likewise.
37569 [POSIX] (ENODATA): Likewise.
37570 [POSIX] (ENOLINK): Likewise.
37571 [POSIX] (ENOMSG): Likewise.
37572 [POSIX] (ENOPROTOOPT): Likewise.
37573 [POSIX] (ENOSR): Likewise.
37574 [POSIX] (ENOSTR): Likewise.
37575 [POSIX] (ENOTCONN): Likewise.
37576 [POSIX] (ENOTSOCK): Likewise.
37577 [POSIX] (EOPNOTSUPP): Likewise.
37578 [POSIX] (EOVERFLOW): Likewise.
37579 [POSIX] (EPROTO): Likewise.
37580 [POSIX] (EPROTONOSUPPORT): Likewise.
37581 [POSIX] (EPROTOTYPE): Likewise.
37582 [POSIX] (ESTALE): Likewise.
37583 [POSIX] (ETIME): Likewise.
37584 [POSIX] (ETXTBSY): Likewise.
37585 [POSIX] (EWOULDBLOCK): Likewise.
37586 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37587 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37588 [POSIX] (SEEK_CUR): Likewise.
37589 [POSIX] (SEEK_END): Likewise.
37590 [POSIX || UNIX98] (mode_t): Do not require.
37591 [POSIX] (off_t): Likewise.
37592 [POSIX] (pid_t): Likewise.
37593 [POSIX] (sys/stat.h): Do not allow header.
37594 [POSIX] (unistd.h): Likewise.
37595 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37596 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37597 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37598 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37600 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37601 sigevent): Specify elements.
37602 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37604 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37605 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37607 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37608 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37609 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37610 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37611 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37612 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37613 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37614 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37615 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37616 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37617 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37618 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37619 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37620 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37622 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37624 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37626 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37628 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37629 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37630 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37631 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37632 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37633 Specify lower bound on value.
37634 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37635 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37636 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37637 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37638 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37639 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37640 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37641 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37643 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37645 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37646 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37647 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37648 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37649 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37650 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37651 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37652 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37653 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37654 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37655 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37656 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37657 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37658 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37659 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37660 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37662 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37664 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37665 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37666 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37667 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37668 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37669 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37671 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37672 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37673 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37674 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37675 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37676 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37677 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37679 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37680 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37681 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37682 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37683 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37684 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37685 specify as optional.
37686 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37687 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37688 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37689 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37690 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37691 [XPG3] (NL_LANGMAX): Likewise.
37692 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37693 [POSIX || XPG3] (NL_NMAX): Likewise.
37694 [POSIX || XPG3] (NL_SETMAX): Likewise.
37695 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37696 [XPG3] (NZERO): Likewise.
37697 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37698 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37699 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37700 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37701 (REG_ERANGE): Expect.
37702 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37704 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37705 Use (void) in prototype.
37706 [POSIX] (*_t): Allow.
37707 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37708 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37709 (WRDE_BADVAL): Expect.
37711 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37713 [XPG3 || XPG4] (O_RSYNC): Likewise.
37714 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37716 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37717 [XPG3 || XPG4] (sigqueue): Likewise.
37718 [XPG3 || XPG4] (sigtimedwait): Likewise.
37719 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37720 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37721 [XPG3 || XPG4] (vsnprintf): Likewise.
37722 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37724 [XPG3 || XPG4] (blksize_t): Likewise.
37725 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37727 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37728 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37729 [XPG3 || XPG4] (struct itimerspec): Likewise.
37730 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37731 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37732 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37733 [XPG3 || XPG4] (clockid_t): Likewise.
37734 [XPG3 || XPG4] (timer_t): Likewise.
37735 [XPG3 || XPG4] (clock_getres): Likewise.
37736 [XPG3 || XPG4] (clock_gettime): Likewise.
37737 [XPG3 || XPG4] (clock_settime): Likewise.
37738 [XPG3 || XPG4] (nanosleep): Likewise.
37739 [XPG3 || XPG4] (timer_create): Likewise.
37740 [XPG3 || XPG4] (timer_delete): Likewise.
37741 [XPG3 || XPG4] (timer_gettime): Likewise.
37742 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37743 [XPG3 || XPG4] (timer_settime): Likewise.
37744 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37745 [XPG3 || XPG4] (getlogin_r): Likewise.
37746 [XPG3 || XPG4] (pread): Likewise.
37747 [XPG3 || XPG4] (pthread_atfork): Likewise.
37748 [XPG3 || XPG4] (pwrite): Likewise.
37751 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37754 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37756 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37757 finalizing MALLSTREAM.
37759 * sysdeps/mach/hurd/syncfs.c: New file.
37761 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37764 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37765 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37766 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37767 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37768 (_nss_dns_gethostbyname4_r): Likewise.
37769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37770 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37772 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37775 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37777 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37779 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37780 * elf/cache.c (print_entry): Print ",AArch64" for
37783 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37784 * elf/cache.c (print_entry): Print ",hard-float" for
37787 2012-11-18 David S. Miller <davem@davemloft.net>
37789 With help from Joseph Myers.
37790 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37792 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37794 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37795 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37797 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37798 * math/libm-test.inc (y0_test): New tests.
37799 (y1_test): New tests.
37800 * sysdeps/i386/fpu/libm-test-ulps: Update.
37801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37804 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37806 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37808 * configure: Regenerated.
37810 2012-11-17 David S. Miller <davem@davemloft.net>
37813 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37814 nonzero exponents with absolute value below 0x1p-128 to +/-
37817 2012-11-17 Joseph Myers <joseph@codesourcery.com>
37819 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37821 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37823 * posix/getconf-speclist.c: New file.
37824 * posix/posix-envs.def: Likewise.
37825 * posix/confstr.c (START_ENV_GROUP): New macro.
37826 (END_ENV_GROUP): Likewise.
37827 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37828 (KNOWN_PRESENT_ENV_STRING): Likewise.
37829 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37830 (UNKNOWN_ENVIRONMENT): Likewise.
37831 (confstr): Include posix-envs.def instead of handling
37832 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37833 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37834 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37835 (END_ENV_GROUP): Likewise.
37836 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37837 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37838 (UNKNOWN_ENVIRONMENT): Likewise.
37839 (__sysconf): Include posix-envs.def instead of handling associated
37840 cases directly here.
37841 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37842 preprocessing getconf-speclist.c rather than running getconf or
37843 generating empty file.
37845 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37847 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37849 2012-11-16 Andrej Lajovic <natrij@gmail.com>
37852 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37854 2012-11-16 David S. Miller <davem@davemloft.net>
37856 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37857 smaller than LDBL_EPSILON/2.0L, just return xm1.
37859 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37861 * elf/tst-array1.c (init): Set constructor priority to 1000.
37862 (fini): Set destructor priority to 1000.
37863 * elf/tst-array2dep.c: Likewise.
37865 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37868 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37869 (_IO_new_file_xsputn): Also return EOF if none of the input
37870 data was written when overflow failed.
37871 * libio/iopadn.c (_IO_padn): Likewise.
37872 * libio/iowpadn.c (_IO_wpadn): Likewise.
37873 * stdio-common/tst-put-error.c: Add copyright notice.
37874 (do_test): Add case for printing padded string.
37875 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37876 _IO_padn returned error.
37877 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37878 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37881 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37883 * libio/libioP.h: Add comment note that the references to C++
37884 bits are now obsolete.
37886 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37888 * math/libm-test.inc (check_complex): Use asprintf.
37890 2012-11-14 Joseph Myers <joseph@codesourcery.com>
37892 * debug/pcprofiledump.c (print_version): Update copyright year.
37893 * malloc/memusagestat.c (print_version): Likewise.
37895 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37898 * elf/Makefile (tests): Add tst-audit8.
37899 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37900 ($(objpfx)tst-audit8.out): New target.
37901 (tst-audit8-ENV): New variable.
37902 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37903 audit if l_reloc_result is NULL.
37904 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37905 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37906 * elf/tst-audit8.c: New file.
37908 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37910 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37911 * misc/Makefile (CFLAGS-select.c): Define.
37912 * posix/Makefile (CFLAGS-pause.c): Define.
37914 2012-11-13 David S. Miller <davem@davemloft.net>
37916 * crypt/Makefile: Move test targets after toplevel Rules
37917 inclusion. Grab any necessary sysdep routines when linking.
37918 * crypt/md5.c (md5_process_block): Remove define, we will always
37919 name it __md5_process_block.
37920 (md5_finish_ctx): Update md5_process_block call.
37921 (md5_stream): Likewise.
37922 (md5_process_bytes): Likewise.
37923 (md5_process_block): Rename to __md5_process_block and move to ...
37924 * crypt/md5-block.c: ... here.
37925 * crypt/sha256.c (sha256_process_block): Move to ...
37926 * crypt/sha256-block.c: ... here.
37927 * crypt/sha512.c (sha512_process_block): Move to ...
37928 * crypt/sha512-block.c: ... here.
37929 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37931 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37932 * sysdeps/sparc/sparc64/multiarch/Makefile
37933 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37935 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37936 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37938 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37939 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37940 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37941 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37942 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37943 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37944 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37945 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37946 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37948 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37949 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37951 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37953 2012-11-13 Joseph Myers <joseph@codesourcery.com>
37955 * timezone/tzselect.ksh: Update from tzcode git revision
37956 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37957 * timezone/zdump.c: Likewise.
37958 * timezone/zic.c: Likewise.
37959 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37960 in TZVERSION setting, not $(PKGVERSION).
37961 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37962 REPORT_BUGS_TO settings.
37965 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37968 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37970 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37971 detection to immediately after _FP_ROUND().
37972 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37975 2012-11-11 David S. Miller <davem@davemloft.net>
37977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37979 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37980 __close rather than their public counterparts.
37982 2012-11-10 Joseph Myers <joseph@codesourcery.com>
37984 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37986 [UNIX98] (sem_timedwait): Do not expect.
37987 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37988 [XPG4 || UNIX98] (sockatmark): Do not expect.
37989 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37990 (clock_getcpuclockid): Do not expect.
37991 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37992 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37994 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37995 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37996 [UNIX98] (vwscanf): Likewise.
37997 [UNIX98] (vswscanf): Likewise.
37999 2012-11-09 Joseph Myers <joseph@codesourcery.com>
38001 * timezone/version.h: Remove file.
38002 * timezone/README: Do not refer to version.h.
38003 * timezone/Makefile ($(objpfx)zic.o): New dependency on
38004 $(objpfx)version.h.
38005 ($(objpfx)zdump.o): Likewise.
38006 ($(objpfx)version.h): New target.
38008 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38010 * timezone/README: Don't mention modification to tzselect.ksh.
38011 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38012 work on unmodified tzselect.ksh. Substitute version numbers in
38015 * Makefile (format-me): Remove.
38016 (INSTALL): Adjust indentation. Use commands directly instead of
38017 using $(format-me).
38019 * aclocal.m4 (ACX_PKGVERSION): New macro.
38020 (ACX_BUGURL): Likewise.
38021 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38022 (PKGVERSION): New AC_DEFINE_UNQUOTED.
38023 (REPORT_BUGS_TO): Likewise.
38024 * configure: Regenerated.
38025 * config.h.in (PKGVERSION): New macro.
38026 (REPORT_BUGS_TO): Likewise.
38027 * config.make.in (PKGVERSION): New variable.
38028 (PKGVERSION_TEXI): Likewise.
38029 (REPORT_BUGS_TO): Likewise.
38030 (REPORT_BUGS_TEXI): Likewise.
38031 * Makefile (format-me): Use -I$(common-objpfx)manual.
38032 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38033 ($(common-objpfx)manual/%): New target.
38034 (manual/%): Remove target.
38035 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38036 (print_version): Use PKGVERSION.
38037 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38038 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38039 and REPORT_BUGS_TO.
38040 ($(objpfx)xtrace): Likewise.
38041 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38042 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38043 (print_version): Use PKGVERSION.
38044 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38045 (do_version): Use PKGVERSION.
38046 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38048 (common-ldd-rewrite): Likewise.
38049 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38050 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38051 (print_version): Use PKGVERSION.
38052 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38053 * elf/pldd.c (argp_program_bug_address): Remove variable.
38054 (more_help): New function.
38055 (argp): Use more_help.
38056 (print_version): Use PKGVERSION.
38057 * elf/sln.c (main): Use PKGVERSION.
38058 (usage): Use REPORT_BUGS_TO.
38059 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38060 (top level): Use PKGVERSION.
38061 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38062 (print_version): Use PKGVERSION.
38063 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38064 (print_version): Use PKGVERSION.
38065 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38066 (print_version): Use PKGVERSION.
38067 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38068 (print_version): Use PKGVERSION.
38069 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38070 (print_version): Use PKGVERSION.
38071 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38072 (print_version): Use PKGVERSION.
38073 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38075 ($(objpfx)memusage): Likewise.
38076 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38077 (do_version): Use PKGVERSION.
38078 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38079 (print_version): Use PKGVERSION.
38080 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38081 ($PKGVERSION): New variable.
38082 ($REPORT_BUGS_TO): Likewise.
38083 (usage): Use $REPORT_BUGS_TO.
38084 (top level): Use $PKGVERSION.
38085 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38086 ($(objpfx)pkgvers.texi): New rule.
38087 ($(objpfx)stamp-pkgvers): Likewise.
38088 * manual/install.texi: Include pkgvers.texi.
38089 (--with-pkgversion): Document new configure option.
38090 (--with-bugurl): Likewise.
38091 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38092 than necessarily for this particular distribution. Use
38093 REPORT_BUGS_TO for where to report bugs.
38094 * INSTALL: Regenerated.
38095 * manual/libc.texinfo: Include pkgvers.texi.
38096 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38097 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38098 (print_version): Use PKGVERSION.
38099 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38100 (print_version): Use PKGVERSION.
38101 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38102 (print_version): Use PKGVERSION.
38103 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38104 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38106 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38107 (print_version): Use PKGVERSION.
38108 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38109 (print_version): Use PKGVERSION.
38110 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38113 * timezone/checktab.awk: Update from tzcode 2012i.
38114 * timezone/ialloc.c: Likewise.
38115 * timezone/private.h: Likewise.
38116 * timezone/scheck.c: Likewise.
38117 * timezone/tzfile.h: Likewise.
38118 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38119 (TZVERSION): Hardcode tzcode version number.
38120 * timezone/zdump.c: Update from tzcode 2012i.
38121 * timezone/zic.c: Likewise.
38122 * timezone/version.h: New file.
38123 * timezone/README: Describe version.h. Update upstream location.
38126 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38127 (mktemp): Enable declaration.
38128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38145 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38146 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38147 for copies of such integer values.
38148 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38149 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38151 2012-11-09 Andreas Jaeger <aj@suse.de>
38153 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38154 definitions and declarations that are provided by
38155 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38157 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38159 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38160 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38161 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38164 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38166 * elf/elf.h: Update comment before AArch64 relocations.
38168 2012-11-07 David S. Miller <davem@davemloft.net>
38170 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38171 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38172 (__start_context): Declare.
38173 (__makecontext_ret): Delete.
38174 (__makecontext): Hook up __start_context instead of
38176 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38177 (sysdep_routines): Add __start_context when in stdlib.
38179 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38181 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38182 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38183 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
38185 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
38186 (READELF): New variable. Use it instead of hardcoded "readelf".
38188 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
38190 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38191 * sysdeps/x86/Makefile: Here.
38192 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38193 * sysdeps/x86/tst-xmmymm.sh: This.
38195 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38197 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38199 [UNIX98] (pthread_barrier_t): Do not expect.
38200 [UNIX98] (pthread_barrierattr_t): Likewise.
38201 [UNIX98] (pthread_spinlock_t): Likewise.
38202 [UNIX98] (pthread_barrier_destroy): Likewise.
38203 [UNIX98] (pthread_barrier_init): Likewise.
38204 [UNIX98] (pthread_barrier_wait): Likewise.
38205 [UNIX98] (pthread_barrierattr_destroy): Likewise.
38206 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38207 [UNIX98] (pthread_barrierattr_init): Likewise.
38208 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38209 [UNIX98] (pthread_getcpuclockid): Likewise.
38210 [UNIX98] (pthread_mutex_timedlock): Likewise.
38211 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38212 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38213 [UNIX98] (pthread_sigmask): Likewise.
38214 [UNIX98] (pthread_spin_destroy): Likewise.
38215 [UNIX98] (pthread_spin_init): Likewise.
38216 [UNIX98] (pthread_spin_lock): Likewise.
38217 [UNIX98] (pthread_spin_trylock): Likewise.
38218 [UNIX98] (pthread_spin_unlock): Likewise.
38219 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38221 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38222 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38223 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38224 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38225 [XPG3 || XPG4] (pthread_key_t): Likewise.
38226 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38227 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38228 [XPG3 || XPG4] (pthread_once_t): Likewise.
38229 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38230 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38231 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38232 [XPG3 || XPG4] (pthread_t): Likewise.
38234 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38236 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38238 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38239 Change function return type to int.
38241 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38242 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38243 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38244 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38245 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38246 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38247 [!POSIX] (posix_madvise): Likewise.
38248 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38250 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38251 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38252 (mode_t): Likewise.
38253 (posix_mem_offset): Likewise.
38254 (posix_typed_mem_get_info): Likewise.
38255 (posix_typed_mem_open): Likewise.
38257 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38258 Change condition to [XOPEN2K8].
38260 * conform/conformtest.pl: Preprocess allow-header data with -x c
38261 instead of from stdin.
38262 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38263 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38264 [C99-based standards] (cerfc): Likewise.
38265 [C99-based standards] (cexp2): Likewise.
38266 [C99-based standards] (cexpm1): Likewise.
38267 [C99-based standards] (clog10): Likewise.
38268 [C99-based standards] (clog1p): Likewise.
38269 [C99-based standards] (clog2): Likewise.
38270 [C99-based standards] (clgamma): Likewise.
38271 [C99-based standards] (ctgamma): Likewise.
38272 [C99-based standards] (cerff): Likewise.
38273 [C99-based standards] (cerfcf): Likewise.
38274 [C99-based standards] (cexp2f): Likewise.
38275 [C99-based standards] (cexpm1f): Likewise.
38276 [C99-based standards] (clog10f): Likewise.
38277 [C99-based standards] (clog1pf): Likewise.
38278 [C99-based standards] (clog2f): Likewise.
38279 [C99-based standards] (clgammaf): Likewise.
38280 [C99-based standards] (ctgammaf): Likewise.
38281 [C99-based standards] (cerfl): Likewise.
38282 [C99-based standards] (cerfcl): Likewise.
38283 [C99-based standards] (cexp2l): Likewise.
38284 [C99-based standards] (cexpm1l): Likewise.
38285 [C99-based standards] (clog10l): Likewise.
38286 [C99-based standards] (clog1pl): Likewise.
38287 [C99-based standards] (clog2l): Likewise.
38288 [C99-based standards] (clgammal): Likewise.
38289 [C99-based standards] (ctgammal): Likewise.
38290 * conform/data/inttypes.h-data [C99-based standards]: Include
38291 stdint.h-data. Remove all expectations for stdint.h contents.
38292 [C99-based standards] (PRI*): Do not allow.
38293 [C99-based standards] (SCN*): Likewise.
38294 [C99-based standards] (*_t): Likewise.
38295 [C99-based-standards] (PRId8): Expect macro.
38296 [C99-based-standards] (PRIi8): Likewise.
38297 [C99-based-standards] (PRIo8): Likewise.
38298 [C99-based-standards] (PRIu8): Likewise.
38299 [C99-based-standards] (PRIx8): Likewise.
38300 [C99-based-standards] (PRIX8): Likewise.
38301 [C99-based-standards] (SCNd8): Likewise.
38302 [C99-based-standards] (SCNi8): Likewise.
38303 [C99-based-standards] (SCNo8): Likewise.
38304 [C99-based-standards] (SCNu8): Likewise.
38305 [C99-based-standards] (SCNx8): Likewise.
38306 [C99-based-standards] (PRIdLEAST8): Likewise.
38307 [C99-based-standards] (PRIiLEAST8): Likewise.
38308 [C99-based-standards] (PRIoLEAST8): Likewise.
38309 [C99-based-standards] (PRIuLEAST8): Likewise.
38310 [C99-based-standards] (PRIxLEAST8): Likewise.
38311 [C99-based-standards] (PRIXLEAST8): Likewise.
38312 [C99-based-standards] (SCNdLEAST8): Likewise.
38313 [C99-based-standards] (SCNiLEAST8): Likewise.
38314 [C99-based-standards] (SCNoLEAST8): Likewise.
38315 [C99-based-standards] (SCNuLEAST8): Likewise.
38316 [C99-based-standards] (SCNxLEAST8): Likewise.
38317 [C99-based-standards] (PRIdFAST8): Likewise.
38318 [C99-based-standards] (PRIiFAST8): Likewise.
38319 [C99-based-standards] (PRIoFAST8): Likewise.
38320 [C99-based-standards] (PRIuFAST8): Likewise.
38321 [C99-based-standards] (PRIxFAST8): Likewise.
38322 [C99-based-standards] (PRIXFAST8): Likewise.
38323 [C99-based-standards] (SCNdFAST8): Likewise.
38324 [C99-based-standards] (SCNiFAST8): Likewise.
38325 [C99-based-standards] (SCNoFAST8): Likewise.
38326 [C99-based-standards] (SCNuFAST8): Likewise.
38327 [C99-based-standards] (SCNxFAST8): Likewise.
38328 [C99-based-standards] (PRId16): Likewise.
38329 [C99-based-standards] (PRIi16): Likewise.
38330 [C99-based-standards] (PRIo16): Likewise.
38331 [C99-based-standards] (PRIu16): Likewise.
38332 [C99-based-standards] (PRIx16): Likewise.
38333 [C99-based-standards] (PRIX16): Likewise.
38334 [C99-based-standards] (SCNd16): Likewise.
38335 [C99-based-standards] (SCNi16): Likewise.
38336 [C99-based-standards] (SCNo16): Likewise.
38337 [C99-based-standards] (SCNu16): Likewise.
38338 [C99-based-standards] (SCNx16): Likewise.
38339 [C99-based-standards] (PRIdLEAST16): Likewise.
38340 [C99-based-standards] (PRIiLEAST16): Likewise.
38341 [C99-based-standards] (PRIoLEAST16): Likewise.
38342 [C99-based-standards] (PRIuLEAST16): Likewise.
38343 [C99-based-standards] (PRIxLEAST16): Likewise.
38344 [C99-based-standards] (PRIXLEAST16): Likewise.
38345 [C99-based-standards] (SCNdLEAST16): Likewise.
38346 [C99-based-standards] (SCNiLEAST16): Likewise.
38347 [C99-based-standards] (SCNoLEAST16): Likewise.
38348 [C99-based-standards] (SCNuLEAST16): Likewise.
38349 [C99-based-standards] (SCNxLEAST16): Likewise.
38350 [C99-based-standards] (PRIdFAST16): Likewise.
38351 [C99-based-standards] (PRIiFAST16): Likewise.
38352 [C99-based-standards] (PRIoFAST16): Likewise.
38353 [C99-based-standards] (PRIuFAST16): Likewise.
38354 [C99-based-standards] (PRIxFAST16): Likewise.
38355 [C99-based-standards] (PRIXFAST16): Likewise.
38356 [C99-based-standards] (SCNdFAST16): Likewise.
38357 [C99-based-standards] (SCNiFAST16): Likewise.
38358 [C99-based-standards] (SCNoFAST16): Likewise.
38359 [C99-based-standards] (SCNuFAST16): Likewise.
38360 [C99-based-standards] (SCNxFAST16): Likewise.
38361 [C99-based-standards] (PRId32): Likewise.
38362 [C99-based-standards] (PRIi32): Likewise.
38363 [C99-based-standards] (PRIo32): Likewise.
38364 [C99-based-standards] (PRIu32): Likewise.
38365 [C99-based-standards] (PRIx32): Likewise.
38366 [C99-based-standards] (PRIX32): Likewise.
38367 [C99-based-standards] (SCNd32): Likewise.
38368 [C99-based-standards] (SCNi32): Likewise.
38369 [C99-based-standards] (SCNo32): Likewise.
38370 [C99-based-standards] (SCNu32): Likewise.
38371 [C99-based-standards] (SCNx32): Likewise.
38372 [C99-based-standards] (PRIdLEAST32): Likewise.
38373 [C99-based-standards] (PRIiLEAST32): Likewise.
38374 [C99-based-standards] (PRIoLEAST32): Likewise.
38375 [C99-based-standards] (PRIuLEAST32): Likewise.
38376 [C99-based-standards] (PRIxLEAST32): Likewise.
38377 [C99-based-standards] (PRIXLEAST32): Likewise.
38378 [C99-based-standards] (SCNdLEAST32): Likewise.
38379 [C99-based-standards] (SCNiLEAST32): Likewise.
38380 [C99-based-standards] (SCNoLEAST32): Likewise.
38381 [C99-based-standards] (SCNuLEAST32): Likewise.
38382 [C99-based-standards] (SCNxLEAST32): Likewise.
38383 [C99-based-standards] (PRIdFAST32): Likewise.
38384 [C99-based-standards] (PRIiFAST32): Likewise.
38385 [C99-based-standards] (PRIoFAST32): Likewise.
38386 [C99-based-standards] (PRIuFAST32): Likewise.
38387 [C99-based-standards] (PRIxFAST32): Likewise.
38388 [C99-based-standards] (PRIXFAST32): Likewise.
38389 [C99-based-standards] (SCNdFAST32): Likewise.
38390 [C99-based-standards] (SCNiFAST32): Likewise.
38391 [C99-based-standards] (SCNoFAST32): Likewise.
38392 [C99-based-standards] (SCNuFAST32): Likewise.
38393 [C99-based-standards] (SCNxFAST32): Likewise.
38394 [C99-based-standards] (PRId64): Likewise.
38395 [C99-based-standards] (PRIi64): Likewise.
38396 [C99-based-standards] (PRIo64): Likewise.
38397 [C99-based-standards] (PRIu64): Likewise.
38398 [C99-based-standards] (PRIx64): Likewise.
38399 [C99-based-standards] (PRIX64): Likewise.
38400 [C99-based-standards] (SCNd64): Likewise.
38401 [C99-based-standards] (SCNi64): Likewise.
38402 [C99-based-standards] (SCNo64): Likewise.
38403 [C99-based-standards] (SCNu64): Likewise.
38404 [C99-based-standards] (SCNx64): Likewise.
38405 [C99-based-standards] (PRIdLEAST64): Likewise.
38406 [C99-based-standards] (PRIiLEAST64): Likewise.
38407 [C99-based-standards] (PRIoLEAST64): Likewise.
38408 [C99-based-standards] (PRIuLEAST64): Likewise.
38409 [C99-based-standards] (PRIxLEAST64): Likewise.
38410 [C99-based-standards] (PRIXLEAST64): Likewise.
38411 [C99-based-standards] (SCNdLEAST64): Likewise.
38412 [C99-based-standards] (SCNiLEAST64): Likewise.
38413 [C99-based-standards] (SCNoLEAST64): Likewise.
38414 [C99-based-standards] (SCNuLEAST64): Likewise.
38415 [C99-based-standards] (SCNxLEAST64): Likewise.
38416 [C99-based-standards] (PRIdFAST64): Likewise.
38417 [C99-based-standards] (PRIiFAST64): Likewise.
38418 [C99-based-standards] (PRIoFAST64): Likewise.
38419 [C99-based-standards] (PRIuFAST64): Likewise.
38420 [C99-based-standards] (PRIxFAST64): Likewise.
38421 [C99-based-standards] (PRIXFAST64): Likewise.
38422 [C99-based-standards] (SCNdFAST64): Likewise.
38423 [C99-based-standards] (SCNiFAST64): Likewise.
38424 [C99-based-standards] (SCNoFAST64): Likewise.
38425 [C99-based-standards] (SCNuFAST64): Likewise.
38426 [C99-based-standards] (SCNxFAST64): Likewise.
38427 [C99-based-standards] (PRIdMAX): Likewise.
38428 [C99-based-standards] (PRIiMAX): Likewise.
38429 [C99-based-standards] (PRIoMAX): Likewise.
38430 [C99-based-standards] (PRIuMAX): Likewise.
38431 [C99-based-standards] (PRIxMAX): Likewise.
38432 [C99-based-standards] (PRIXMAX): Likewise.
38433 [C99-based-standards] (SCNdMAX): Likewise.
38434 [C99-based-standards] (SCNiMAX): Likewise.
38435 [C99-based-standards] (SCNoMAX): Likewise.
38436 [C99-based-standards] (SCNuMAX): Likewise.
38437 [C99-based-standards] (SCNxMAX): Likewise.
38438 [C99-based-standards] (PRIdPTR): Likewise.
38439 [C99-based-standards] (PRIiPTR): Likewise.
38440 [C99-based-standards] (PRIoPTR): Likewise.
38441 [C99-based-standards] (PRIuPTR): Likewise.
38442 [C99-based-standards] (PRIxPTR): Likewise.
38443 [C99-based-standards] (PRIXPTR): Likewise.
38444 [C99-based-standards] (SCNdPTR): Likewise.
38445 [C99-based-standards] (SCNiPTR): Likewise.
38446 [C99-based-standards] (SCNoPTR): Likewise.
38447 [C99-based-standards] (SCNuPTR): Likewise.
38448 [C99-based-standards] (SCNxPTR): Likewise.
38449 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38451 * conform/data/stdint.h-data: Update comments to clarify
38453 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38455 [C99-based standards] (INT8_MAX): Likewise.
38456 [C99-based standards] (INT16_MIN): Likewise.
38457 [C99-based standards] (INT16_MAX): Likewise.
38458 [C99-based standards] (INT32_MIN): Likewise.
38459 [C99-based standards] (INT32_MAX): Likewise.
38460 [C99-based standards] (INT64_MIN): Likewise.
38461 [C99-based standards] (INT64_MAX): Likewise.
38462 [C99-based standards] (UINT8_MAX): Likewise.
38463 [C99-based standards] (UINT16_MAX): Likewise.
38464 [C99-based standards] (UINT32_MAX): Likewise.
38465 [C99-based standards] (UINT64_MAX): Likewise.
38466 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38467 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38468 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38469 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38470 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38471 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38472 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38473 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38474 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38475 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38476 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38477 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38478 [C99-based standards] (INT_FAST8_MIN): Likewise.
38479 [C99-based standards] (INT_FAST8_MAX): Likewise.
38480 [C99-based standards] (INT_FAST16_MIN): Likewise.
38481 [C99-based standards] (INT_FAST16_MAX): Likewise.
38482 [C99-based standards] (INT_FAST32_MIN): Likewise.
38483 [C99-based standards] (INT_FAST32_MAX): Likewise.
38484 [C99-based standards] (INT_FAST64_MIN): Likewise.
38485 [C99-based standards] (INT_FAST64_MAX): Likewise.
38486 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38487 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38488 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38489 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38490 [C99-based standards] (INTPTR_MIN): Likewise.
38491 [C99-based standards] (INTPTR_MAX): Likewise.
38492 [C99-based standards] (UINTPTR_MAX): Likewise.
38493 [C99-based standards] (INTMAX_MIN): Likewise.
38494 [C99-based standards] (INTMAX_MAX): Likewise.
38495 [C99-based standards] (UINTMAX_MAX): Likewise.
38496 [C99-based standards] (PTRDIFF_MIN): Likewise.
38497 [C99-based standards] (PTRDIFF_MAX): Likewise.
38498 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38499 [C99-based standards] (SIZE_MAX): Likewise.
38500 [C99-based standards] (WCHAR_MAX): Likewise.
38501 [C99-based standards] (WINT_MAX): Likewise.
38502 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38503 constraint on value.
38504 [C99-based standards] (WCHAR_MIN): Likewise.
38505 [C99-based standards] (WINT_MIN): Likewise.
38506 [C99-based standards] (*_t): Allow.
38507 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38508 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38509 Include math.h-data and complex.h-data. Remove all expectations
38510 of math.h and complex.h contents.
38511 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38513 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38514 (struct tm): Expect tag.
38515 [C99-based-standards] (wcstof): Expect function.
38516 [C99-based-standards] (wcstold): Likewise.
38517 [C99-based-standards] (wcstoll): Likewise.
38518 [C99-based-standards] (wcstoull): Likewise.
38519 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38520 macro-int-constant. Specify type.
38521 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38522 constraint on value.
38523 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38525 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38527 [ISO C standards]: Do not allow headers.
38528 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38529 wcs[abcdefghijklmnopqrstuvwxyz]*.
38530 [ISO C standards] (*_t): Do not allow.
38531 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38533 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38534 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38536 [ISO C standards]: Do not allow headers.
38537 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38538 is[abcdefghijklmnopqrstuvwxyz]*.
38539 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38540 to[abcdefghijklmnopqrstuvwxyz]*.
38541 [ISO C standards] (*_t): Do not allow.
38542 * conform/data/stdalign.h-data: New file.
38543 * conform/data/stdbool.h-data: Likewise.
38544 * conform/data/stdnoreturn.h-data: Likewise.
38546 2012-11-07 Roland McGrath <roland@hack.frob.com>
38549 * manual/filesys.texi (Directory Entries): Typo fix.
38550 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38552 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38554 * elf/elf.h (EM_AARCH64): New macro.
38555 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38556 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38557 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38558 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38559 (R_AARCH64_TLSDESC): Likewise.
38560 (NT_ARM_TLS): Likewise.
38561 (NT_ARM_HW_BREAK): Likewise.
38562 (NT_ARM_HW_WATCH): Likewise.
38564 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38567 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38568 (__ieee754_powl): Saturate nonzero exponents with absolute value
38569 below 0x1p-79 to +/- 0x1p-79.
38570 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38571 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38572 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38573 nonzero exponents with absolute value below 0x1p-32 to +/-
38575 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38576 (__ieee754_powl): Saturate nonzero exponents with absolute value
38577 below 0x1p-79 to +/- 0x1p-79.
38578 * math/libm-test.inc (pow_test): Add more tests.
38580 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38582 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38583 _dl_s390_cap_flags with kernel. Increase string length.
38584 (_dl_s390_platforms): Add z196 and zEC12.
38586 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38588 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38589 Change XOPEN21K to XOPEN2K.
38591 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38593 * string/memmove.c: Use memcpy when possible.
38595 2012-11-06 Andreas Jaeger <aj@suse.de>
38597 * po/eo.po: Update from translation team.
38599 2012-11-06 Joseph Myers <joseph@codesourcery.com>
38602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38603 exponent and small x and y exponents, scale x or y up. Increase
38604 by 2 the exponent used in scaling up.
38605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38607 * math/libm-test.inc (fma_test): Add more tests.
38608 (fma_test_towardzero): Likewise.
38609 (fma_test_downward): Likewise.
38610 (fma_test_upward): Likewise.
38612 2012-11-05 Joseph Myers <joseph@codesourcery.com>
38615 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38619 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38620 namespace for names of struct fields.
38621 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38623 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38624 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38626 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38629 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38631 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38633 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38637 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38640 2012-11-04 Joseph Myers <joseph@codesourcery.com>
38643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38644 definitely overflow as x * y not x * y + z.
38645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38647 * math/libm-test.inc (fma_test): Add more tests.
38648 (fma_test_towardzero): Likewise.
38649 (fma_test_downward): Likewise.
38650 (fma_test_upward): Likewise.
38652 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38656 * include/stub-tag.h: Remove file.
38657 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38659 * manual/maint.texi (Porting): Don't reference it.
38660 * Makerules ($(objpfx)stubs): Likewise.
38661 * dirent/closedir.c: Don't include <stub-tag.h>.
38662 * dirent/dirfd.c: Likewise.
38663 * dirent/fdopendir.c: Likewise.
38664 * dirent/getdents.c: Likewise.
38665 * dirent/getdents64.c: Likewise.
38666 * dirent/opendir.c: Likewise.
38667 * dirent/readdir.c: Likewise.
38668 * dirent/readdir64.c: Likewise.
38669 * dirent/readdir64_r.c: Likewise.
38670 * dirent/readdir_r.c: Likewise.
38671 * dirent/rewinddir.c: Likewise.
38672 * dirent/seekdir.c: Likewise.
38673 * dirent/telldir.c: Likewise.
38674 * gmon/profil.c: Likewise.
38675 * grp/setgroups.c: Likewise.
38676 * inet/if_index.c: Likewise.
38677 * io/access.c: Likewise.
38678 * io/chdir.c: Likewise.
38679 * io/chmod.c: Likewise.
38680 * io/chown.c: Likewise.
38681 * io/close.c: Likewise.
38682 * io/dup.c: Likewise.
38683 * io/dup2.c: Likewise.
38684 * io/dup3.c: Likewise.
38685 * io/euidaccess.c: Likewise.
38686 * io/faccessat.c: Likewise.
38687 * io/fchdir.c: Likewise.
38688 * io/fchmod.c: Likewise.
38689 * io/fchmodat.c: Likewise.
38690 * io/fchown.c: Likewise.
38691 * io/fchownat.c: Likewise.
38692 * io/fcntl.c: Likewise.
38693 * io/flock.c: Likewise.
38694 * io/fstatfs.c: Likewise.
38695 * io/fstatfs64.c: Likewise.
38696 * io/fstatvfs.c: Likewise.
38697 * io/fstatvfs64.c: Likewise.
38698 * io/futimens.c: Likewise.
38699 * io/fxstat.c: Likewise.
38700 * io/fxstat64.c: Likewise.
38701 * io/fxstatat.c: Likewise.
38702 * io/fxstatat64.c: Likewise.
38703 * io/getcwd.c: Likewise.
38704 * io/isatty.c: Likewise.
38705 * io/lchmod.c: Likewise.
38706 * io/lchown.c: Likewise.
38707 * io/link.c: Likewise.
38708 * io/linkat.c: Likewise.
38709 * io/lseek.c: Likewise.
38710 * io/lseek64.c: Likewise.
38711 * io/lxstat64.c: Likewise.
38712 * io/mkdir.c: Likewise.
38713 * io/mkdirat.c: Likewise.
38714 * io/mkfifo.c: Likewise.
38715 * io/mkfifoat.c: Likewise.
38716 * io/open.c: Likewise.
38717 * io/open64.c: Likewise.
38718 * io/openat.c: Likewise.
38719 * io/openat64.c: Likewise.
38720 * io/pipe.c: Likewise.
38721 * io/pipe2.c: Likewise.
38722 * io/poll.c: Likewise.
38723 * io/posix_fadvise.c: Likewise.
38724 * io/posix_fadvise64.c: Likewise.
38725 * io/posix_fallocate.c: Likewise.
38726 * io/posix_fallocate64.c: Likewise.
38727 * io/read.c: Likewise.
38728 * io/readlink.c: Likewise.
38729 * io/readlinkat.c: Likewise.
38730 * io/rmdir.c: Likewise.
38731 * io/sendfile.c: Likewise.
38732 * io/sendfile64.c: Likewise.
38733 * io/statfs.c: Likewise.
38734 * io/statfs64.c: Likewise.
38735 * io/statvfs.c: Likewise.
38736 * io/statvfs64.c: Likewise.
38737 * io/symlink.c: Likewise.
38738 * io/symlinkat.c: Likewise.
38739 * io/ttyname.c: Likewise.
38740 * io/ttyname_r.c: Likewise.
38741 * io/umask.c: Likewise.
38742 * io/unlink.c: Likewise.
38743 * io/unlinkat.c: Likewise.
38744 * io/utime.c: Likewise.
38745 * io/utimensat.c: Likewise.
38746 * io/write.c: Likewise.
38747 * io/xmknod.c: Likewise.
38748 * io/xmknodat.c: Likewise.
38749 * io/xstat.c: Likewise.
38750 * io/xstat64.c: Likewise.
38751 * login/getpt.c: Likewise.
38752 * login/grantpt.c: Likewise.
38753 * login/unlockpt.c: Likewise.
38754 * math/e_acoshl.c: Likewise.
38755 * math/e_acosl.c: Likewise.
38756 * math/e_asinl.c: Likewise.
38757 * math/e_atan2l.c: Likewise.
38758 * math/e_atanhl.c: Likewise.
38759 * math/e_coshl.c: Likewise.
38760 * math/e_expl.c: Likewise.
38761 * math/e_fmodl.c: Likewise.
38762 * math/e_gammal_r.c: Likewise.
38763 * math/e_hypotl.c: Likewise.
38764 * math/e_j0l.c: Likewise.
38765 * math/e_j1l.c: Likewise.
38766 * math/e_jnl.c: Likewise.
38767 * math/e_lgammal_r.c: Likewise.
38768 * math/e_log10l.c: Likewise.
38769 * math/e_log2l.c: Likewise.
38770 * math/e_logl.c: Likewise.
38771 * math/e_powl.c: Likewise.
38772 * math/e_rem_pio2l.c: Likewise.
38773 * math/e_sinhl.c: Likewise.
38774 * math/e_sqrtl.c: Likewise.
38775 * math/fclrexcpt.c: Likewise.
38776 * math/fedisblxcpt.c: Likewise.
38777 * math/feenablxcpt.c: Likewise.
38778 * math/fegetenv.c: Likewise.
38779 * math/fegetexcept.c: Likewise.
38780 * math/fegetround.c: Likewise.
38781 * math/feholdexcpt.c: Likewise.
38782 * math/fesetenv.c: Likewise.
38783 * math/fesetround.c: Likewise.
38784 * math/feupdateenv.c: Likewise.
38785 * math/fgetexcptflg.c: Likewise.
38786 * math/fraiseexcpt.c: Likewise.
38787 * math/fsetexcptflg.c: Likewise.
38788 * math/ftestexcept.c: Likewise.
38789 * math/k_cosl.c: Likewise.
38790 * math/k_rem_pio2l.c: Likewise.
38791 * math/k_sinl.c: Likewise.
38792 * math/k_tanl.c: Likewise.
38793 * math/s_asinhl.c: Likewise.
38794 * math/s_atanl.c: Likewise.
38795 * math/s_cbrtl.c: Likewise.
38796 * math/s_erfl.c: Likewise.
38797 * math/s_expm1l.c: Likewise.
38798 * math/s_log1pl.c: Likewise.
38799 * math/s_tanhl.c: Likewise.
38800 * misc/acct.c: Likewise.
38801 * misc/brk.c: Likewise.
38802 * misc/chflags.c: Likewise.
38803 * misc/chroot.c: Likewise.
38804 * misc/fchflags.c: Likewise.
38805 * misc/fgetxattr.c: Likewise.
38806 * misc/flistxattr.c: Likewise.
38807 * misc/fremovexattr.c: Likewise.
38808 * misc/fsetxattr.c: Likewise.
38809 * misc/fsync.c: Likewise.
38810 * misc/ftruncate.c: Likewise.
38811 * misc/futimes.c: Likewise.
38812 * misc/futimesat.c: Likewise.
38813 * misc/getdomain.c: Likewise.
38814 * misc/getdtsz.c: Likewise.
38815 * misc/gethostid.c: Likewise.
38816 * misc/gethostname.c: Likewise.
38817 * misc/getloadavg.c: Likewise.
38818 * misc/getpagesize.c: Likewise.
38819 * misc/getsysstats.c: Likewise.
38820 * misc/getxattr.c: Likewise.
38821 * misc/gtty.c: Likewise.
38822 * misc/ioctl.c: Likewise.
38823 * misc/lgetxattr.c: Likewise.
38824 * misc/listxattr.c: Likewise.
38825 * misc/llistxattr.c: Likewise.
38826 * misc/lremovexattr.c: Likewise.
38827 * misc/lsetxattr.c: Likewise.
38828 * misc/lutimes.c: Likewise.
38829 * misc/madvise.c: Likewise.
38830 * misc/mincore.c: Likewise.
38831 * misc/mlock.c: Likewise.
38832 * misc/mlockall.c: Likewise.
38833 * misc/mmap.c: Likewise.
38834 * misc/mprotect.c: Likewise.
38835 * misc/msync.c: Likewise.
38836 * misc/munlock.c: Likewise.
38837 * misc/munlockall.c: Likewise.
38838 * misc/munmap.c: Likewise.
38839 * misc/preadv.c: Likewise.
38840 * misc/preadv64.c: Likewise.
38841 * misc/ptrace.c: Likewise.
38842 * misc/pwritev.c: Likewise.
38843 * misc/pwritev64.c: Likewise.
38844 * misc/readv.c: Likewise.
38845 * misc/reboot.c: Likewise.
38846 * misc/remap_file_pages.c: Likewise.
38847 * misc/removexattr.c: Likewise.
38848 * misc/revoke.c: Likewise.
38849 * misc/select.c: Likewise.
38850 * misc/setdomain.c: Likewise.
38851 * misc/setegid.c: Likewise.
38852 * misc/seteuid.c: Likewise.
38853 * misc/sethostid.c: Likewise.
38854 * misc/sethostname.c: Likewise.
38855 * misc/setregid.c: Likewise.
38856 * misc/setreuid.c: Likewise.
38857 * misc/setxattr.c: Likewise.
38858 * misc/sstk.c: Likewise.
38859 * misc/stty.c: Likewise.
38860 * misc/swapoff.c: Likewise.
38861 * misc/swapon.c: Likewise.
38862 * misc/sync.c: Likewise.
38863 * misc/syncfs.c: Likewise.
38864 * misc/syscall.c: Likewise.
38865 * misc/truncate.c: Likewise.
38866 * misc/ualarm.c: Likewise.
38867 * misc/usleep.c: Likewise.
38868 * misc/ustat.c: Likewise.
38869 * misc/utimes.c: Likewise.
38870 * misc/vhangup.c: Likewise.
38871 * misc/writev.c: Likewise.
38872 * posix/_exit.c: Likewise.
38873 * posix/alarm.c: Likewise.
38874 * posix/execve.c: Likewise.
38875 * posix/fexecve.c: Likewise.
38876 * posix/fork.c: Likewise.
38877 * posix/fpathconf.c: Likewise.
38878 * posix/getaddrinfo.c: Likewise.
38879 * posix/getegid.c: Likewise.
38880 * posix/geteuid.c: Likewise.
38881 * posix/getgid.c: Likewise.
38882 * posix/getgroups.c: Likewise.
38883 * posix/getlogin.c: Likewise.
38884 * posix/getlogin_r.c: Likewise.
38885 * posix/getpgid.c: Likewise.
38886 * posix/getpid.c: Likewise.
38887 * posix/getppid.c: Likewise.
38888 * posix/getresgid.c: Likewise.
38889 * posix/getresuid.c: Likewise.
38890 * posix/getsid.c: Likewise.
38891 * posix/getuid.c: Likewise.
38892 * posix/glob64.c: Likewise.
38893 * posix/nanosleep.c: Likewise.
38894 * posix/pathconf.c: Likewise.
38895 * posix/pause.c: Likewise.
38896 * posix/posix_madvise.c: Likewise.
38897 * posix/pread.c: Likewise.
38898 * posix/pread64.c: Likewise.
38899 * posix/pwrite.c: Likewise.
38900 * posix/pwrite64.c: Likewise.
38901 * posix/sched_getaffinity.c: Likewise.
38902 * posix/sched_getp.c: Likewise.
38903 * posix/sched_gets.c: Likewise.
38904 * posix/sched_primax.c: Likewise.
38905 * posix/sched_primin.c: Likewise.
38906 * posix/sched_rr_gi.c: Likewise.
38907 * posix/sched_setaffinity.c: Likewise.
38908 * posix/sched_setp.c: Likewise.
38909 * posix/sched_sets.c: Likewise.
38910 * posix/sched_yield.c: Likewise.
38911 * posix/setgid.c: Likewise.
38912 * posix/setlogin.c: Likewise.
38913 * posix/setpgid.c: Likewise.
38914 * posix/setresgid.c: Likewise.
38915 * posix/setresuid.c: Likewise.
38916 * posix/setsid.c: Likewise.
38917 * posix/setuid.c: Likewise.
38918 * posix/sleep.c: Likewise.
38919 * posix/spawni.c: Likewise.
38920 * posix/sysconf.c: Likewise.
38921 * posix/times.c: Likewise.
38922 * posix/wait.c: Likewise.
38923 * posix/wait3.c: Likewise.
38924 * posix/wait4.c: Likewise.
38925 * posix/waitpid.c: Likewise.
38926 * resolv/gai_sigqueue.c: Likewise.
38927 * resource/getpriority.c: Likewise.
38928 * resource/getrlimit.c: Likewise.
38929 * resource/getrusage.c: Likewise.
38930 * resource/nice.c: Likewise.
38931 * resource/setpriority.c: Likewise.
38932 * resource/setrlimit.c: Likewise.
38933 * resource/ulimit.c: Likewise.
38934 * rt/aio_cancel.c: Likewise.
38935 * rt/aio_fsync.c: Likewise.
38936 * rt/aio_read.c: Likewise.
38937 * rt/aio_sigqueue.c: Likewise.
38938 * rt/aio_suspend.c: Likewise.
38939 * rt/aio_write.c: Likewise.
38940 * rt/clock_getres.c: Likewise.
38941 * rt/clock_gettime.c: Likewise.
38942 * rt/clock_nanosleep.c: Likewise.
38943 * rt/clock_settime.c: Likewise.
38944 * rt/lio_listio.c: Likewise.
38945 * rt/mq_close.c: Likewise.
38946 * rt/mq_getattr.c: Likewise.
38947 * rt/mq_notify.c: Likewise.
38948 * rt/mq_open.c: Likewise.
38949 * rt/mq_receive.c: Likewise.
38950 * rt/mq_send.c: Likewise.
38951 * rt/mq_setattr.c: Likewise.
38952 * rt/mq_timedreceive.c: Likewise.
38953 * rt/mq_timedsend.c: Likewise.
38954 * rt/mq_unlink.c: Likewise.
38955 * rt/shm_open.c: Likewise.
38956 * rt/shm_unlink.c: Likewise.
38957 * rt/timer_create.c: Likewise.
38958 * rt/timer_delete.c: Likewise.
38959 * rt/timer_getoverr.c: Likewise.
38960 * rt/timer_gettime.c: Likewise.
38961 * rt/timer_settime.c: Likewise.
38962 * setjmp/__longjmp.c: Likewise.
38963 * setjmp/setjmp.c: Likewise.
38964 * signal/kill.c: Likewise.
38965 * signal/killpg.c: Likewise.
38966 * signal/raise.c: Likewise.
38967 * signal/sigaction.c: Likewise.
38968 * signal/sigaltstack.c: Likewise.
38969 * signal/sigblock.c: Likewise.
38970 * signal/sigignore.c: Likewise.
38971 * signal/sigintr.c: Likewise.
38972 * signal/signal.c: Likewise.
38973 * signal/sigpause.c: Likewise.
38974 * signal/sigpending.c: Likewise.
38975 * signal/sigqueue.c: Likewise.
38976 * signal/sigreturn.c: Likewise.
38977 * signal/sigset.c: Likewise.
38978 * signal/sigsetmask.c: Likewise.
38979 * signal/sigstack.c: Likewise.
38980 * signal/sigsuspend.c: Likewise.
38981 * signal/sigtimedwait.c: Likewise.
38982 * signal/sigvec.c: Likewise.
38983 * signal/sigwait.c: Likewise.
38984 * signal/sigwaitinfo.c: Likewise.
38985 * signal/sysv_signal.c: Likewise.
38986 * socket/accept.c: Likewise.
38987 * socket/accept4.c: Likewise.
38988 * socket/bind.c: Likewise.
38989 * socket/connect.c: Likewise.
38990 * socket/getpeername.c: Likewise.
38991 * socket/getsockname.c: Likewise.
38992 * socket/getsockopt.c: Likewise.
38993 * socket/isfdtype.c: Likewise.
38994 * socket/listen.c: Likewise.
38995 * socket/recv.c: Likewise.
38996 * socket/recvfrom.c: Likewise.
38997 * socket/recvmsg.c: Likewise.
38998 * socket/send.c: Likewise.
38999 * socket/sendmsg.c: Likewise.
39000 * socket/sendto.c: Likewise.
39001 * socket/setsockopt.c: Likewise.
39002 * socket/shutdown.c: Likewise.
39003 * socket/sockatmark.c: Likewise.
39004 * socket/socket.c: Likewise.
39005 * socket/socketpair.c: Likewise.
39006 * stdio-common/ctermid.c: Likewise.
39007 * stdio-common/cuserid.c: Likewise.
39008 * stdio-common/remove.c: Likewise.
39009 * stdio-common/rename.c: Likewise.
39010 * stdio-common/renameat.c: Likewise.
39011 * stdio-common/tempname.c: Likewise.
39012 * stdlib/getcontext.c: Likewise.
39013 * stdlib/makecontext.c: Likewise.
39014 * stdlib/setcontext.c: Likewise.
39015 * stdlib/swapcontext.c: Likewise.
39016 * stdlib/system.c: Likewise.
39017 * streams/fattach.c: Likewise.
39018 * streams/fdetach.c: Likewise.
39019 * streams/getmsg.c: Likewise.
39020 * streams/getpmsg.c: Likewise.
39021 * streams/putmsg.c: Likewise.
39022 * streams/putpmsg.c: Likewise.
39023 * sysdeps/unix/bsd/getpt.c: Likewise.
39024 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39025 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39026 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39029 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39030 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39031 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39032 * sysvipc/msgctl.c: Likewise.
39033 * sysvipc/msgget.c: Likewise.
39034 * sysvipc/msgrcv.c: Likewise.
39035 * sysvipc/msgsnd.c: Likewise.
39036 * sysvipc/semctl.c: Likewise.
39037 * sysvipc/semget.c: Likewise.
39038 * sysvipc/semop.c: Likewise.
39039 * sysvipc/semtimedop.c: Likewise.
39040 * sysvipc/shmat.c: Likewise.
39041 * sysvipc/shmctl.c: Likewise.
39042 * sysvipc/shmdt.c: Likewise.
39043 * sysvipc/shmget.c: Likewise.
39044 * termios/tcdrain.c: Likewise.
39045 * termios/tcflow.c: Likewise.
39046 * termios/tcflush.c: Likewise.
39047 * termios/tcgetattr.c: Likewise.
39048 * termios/tcgetpgrp.c: Likewise.
39049 * termios/tcsendbrk.c: Likewise.
39050 * termios/tcsetattr.c: Likewise.
39051 * termios/tcsetpgrp.c: Likewise.
39052 * time/adjtime.c: Likewise.
39053 * time/clock.c: Likewise.
39054 * time/getitimer.c: Likewise.
39055 * time/gettimeofday.c: Likewise.
39056 * time/setitimer.c: Likewise.
39057 * time/settimeofday.c: Likewise.
39058 * time/stime.c: Likewise.
39059 * time/time.c: Likewise.
39061 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39063 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39066 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39068 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39070 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39074 FE_TONEAREST before applying Dekker multiplication and Knuth
39075 addition. Clear inexact exceptions and check for exact zero
39076 results afterwards.
39077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39078 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39080 * math/libm-test.inc (fma_test): Add more tests.
39081 (fma_test_towardzero): Likewise.
39082 (fma_test_downward): Likewise.
39083 (fma_test_upward): Likewise.
39084 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39086 (libc_fesetround): New macro.
39087 (libc_fesetroundf): Likewise.
39088 (libc_fesetroundl): Likewise.
39089 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39091 (libc_fesetround_387): Likewise.
39092 (libc_fesetroundf): New macro.
39093 (libc_fesetround): Likewise.
39094 (libc_fesetroundl): Likewise.
39095 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39097 (libc_fesetroundf): New macro.
39098 (libc_fesetround): Likewise.
39099 (libc_fesetroundl): Likewise.
39100 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39101 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39102 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39104 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39105 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39107 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39108 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39110 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39114 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39115 integer constant usable in #if and use that to give value to enum
39117 (FE_DIVBYZERO): Likewise.
39118 (FE_UNDERFLOW): Likewise.
39119 (FE_OVERFLOW): Likewise.
39120 (FE_INVALID): Likewise.
39121 (FE_INVALID_SNAN): Likewise.
39122 (FE_INVALID_ISI): Likewise.
39123 (FE_INVALID_IDI): Likewise.
39124 (FE_INVALID_ZDZ): Likewise.
39125 (FE_INVALID_IMZ): Likewise.
39126 (FE_INVALID_COMPARE): Likewise.
39127 (FE_INVALID_SOFTWARE): Likewise.
39128 (FE_INVALID_SQRT): Likewise.
39129 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39130 (FE_TONEAREST): Likewise.
39131 (FE_TOWARDZERO): Likewise.
39132 (FE_UPWARD): Likewise.
39133 (FE_DOWNWARD): Likewise.
39134 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39135 (FE_DIVBYZERO): Likewise.
39136 (FE_OVERFLOW): Likewise.
39137 (FE_UNDERFLOW): Likewise.
39138 (FE_INEXACT): Likewise.
39139 (FE_TONEAREST): Likewise.
39140 (FE_DOWNWARD): Likewise.
39141 (FE_UPWARD): Likewise.
39142 (FE_TOWARDZERO): Likewise.
39143 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39144 (FE_UNDERFLOW): Likewise.
39145 (FE_OVERFLOW): Likewise.
39146 (FE_DIVBYZERO): Likewise.
39147 (FE_INVALID): Likewise.
39148 (FE_TONEAREST): Likewise.
39149 (FE_TOWARDZERO): Likewise.
39150 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39151 (FE_OVERFLOW): Likewise.
39152 (FE_UNDERFLOW): Likewise.
39153 (FE_DIVBYZERO): Likewise.
39154 (FE_INEXACT): Likewise.
39155 (FE_TONEAREST): Likewise.
39156 (FE_TOWARDZERO): Likewise.
39157 (FE_UPWARD): Likewise.
39158 (FE_DOWNWARD): Likewise.
39159 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39160 (FE_DIVBYZERO): Likewise.
39161 (FE_OVERFLOW): Likewise.
39162 (FE_UNDERFLOW): Likewise.
39163 (FE_INEXACT): Likewise.
39164 (FE_TONEAREST): Likewise.
39165 (FE_DOWNWARD): Likewise.
39166 (FE_UPWARD): Likewise.
39167 (FE_TOWARDZERO): Likewise.
39169 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
39171 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39173 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
39175 * scripts/cross-test-ssh.sh (command): Use newlines to separate
39176 commands. Quote $PWD.
39177 (blacklist_exports): Don't use remove_newlines. Replace "declare
39179 (remove_newlines): Remove.
39181 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
39183 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39184 * stdlib/stdlib.h (atof): Moved to ...
39185 * include/bits/stdlib-float.h: Here. New file.
39186 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39187 * stdlib/bits/stdlib-float.h: New file.
39188 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39190 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39193 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39195 * conform/conformtest.pl (@headers): Add fenv.h.
39196 * conform/data/fenv.h-data: New file.
39197 * include/fenv.h [_ISOMAC]: Disable all contents of file except
39198 include of <math/fenv.h>.
39200 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39201 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39202 && !UNIX98]. Enables tests for XOPEN2K8.
39203 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39204 POSIX2008]: Likewise.
39206 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39207 (struct rusage): Do not expect type or its members.
39210 * math/math.h (FP_NAN): Define macro to integer constant usable in
39211 #if and use that to give value to enum constant.
39212 (FP_INFINITE): Likewise.
39213 (FP_ZERO): Likewise.
39214 (FP_SUBNORMAL): Likewise.
39215 (FP_NORMAL): Likewise.
39217 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
39219 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39220 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39223 2012-11-02 Roland McGrath <roland@hack.frob.com>
39225 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39226 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39227 autoconf-time if not.
39228 * configure.in: Remove AC_PREREQ.
39230 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39232 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39233 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39234 of the internal implementation.
39236 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39238 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39239 except include of <misc/sys/syslog.h>.
39241 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39244 function returns with a NULL context exit with zero.
39246 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39248 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39250 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39252 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39253 (run_program_cmd): This.
39254 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39255 (tst_langinfo): New variable. Use it.
39257 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39259 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39260 floating point opcodes.
39262 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39264 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39267 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39269 * sysdeps/mach/hurd/powerpc: Remove directory.
39270 * sysdeps/mach/powerpc: Likewise.
39272 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39274 * scripts/check-local-headers.sh: Ignore c++ headers.
39276 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39278 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39279 __libc_cleanup_region_start argument.
39281 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39286 x * y using scaling, not as x * y + z.
39287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39289 * math/libm-test.inc (fma_test): Add more tests.
39290 (fma_test_towardzero): Likewise.
39291 (fma_test_downward): Likewise.
39292 (fma_test_upward): Likewise.
39294 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39296 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39298 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39300 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39303 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39305 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39307 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39314 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39317 Fix the order of the list for glibc 2.17.
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39321 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39325 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39329 for low part of x being zero before using __atanl (y).
39330 * math/libm-test.inc (atan2_test): Add another test.
39332 * manual/install.texi (Configuring and compiling): Document
39333 general use of test-wrapper and test-wrapper-env.
39334 * INSTALL: Regenerated.
39336 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39337 (__fma): Do not extract and scale down low bits on after-rounding
39338 systems when result rounded to normal precision would have normal
39340 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39341 (__fmal): Do not extract and scale down low bits on after-rounding
39342 systems when result rounded to normal precision would have normal
39344 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39345 (__fmal): Do not extract and scale down low bits on after-rounding
39346 systems when result rounded to normal precision would have normal
39348 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39350 (fma_test): Add more tests.
39351 (fma_test_towardzero): Likewise.
39352 (fma_test_downward): Likewise.
39353 (fma_test_upward): Likewise.
39355 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39357 * sysdeps/i386/tininess.h: Renamed to ...
39358 * sysdeps/x86/tininess.h: This.
39359 * sysdeps/x86_64/tininess.h: Removed.
39361 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39363 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39364 input. Use $(build-program-cmd).
39365 ($(objpfx)tst-array1-static.out): Likewise.
39366 ($(objpfx)tst-array2.out): Likewise.
39367 ($(objpfx)tst-array3.out): Likewise.
39368 ($(objpfx)tst-array4.out): Likewise.
39369 ($(objpfx)tst-array5.out): Likewise.
39370 ($(objpfx)tst-array5-static.out): Likewise.
39372 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39374 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39377 * nss/nsswitch.h (nss_interface_function): Provide new
39378 macro for use with NSS functions.
39379 * grp/initgroups.c: Use new macro.
39380 * nss/getXXbyYY.c: Likewise.
39381 * nss/getXXbyYY_r.c: Likewise.
39382 * nss/getXXent.c: Likewise.
39383 * nss/getXXent_r.c: Likewise.
39384 * sysdeps/posix/getaddrinfo.c: Likewise.
39386 2012-10-30 Andreas Jaeger <aj@suse.de>
39388 * po/ru.po: Update Russion translation from translation project.
39390 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39395 result and shift together with sticky bit instead of replicating
39396 round-to-nearest rounding.
39397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39399 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39400 missing underflow exceptions.
39401 (fma_test_towardzero): Add more tests.
39402 (fma_test_downward): Likewise.
39403 (fma_test_upward): Likewise.
39406 * sysdeps/generic/tininess.h: New file.
39407 * sysdeps/i386/tininess.h: Likewise.
39408 * sysdeps/sh/tininess.h: Likewise.
39409 * sysdeps/x86_64/tininess.h: Likewise.
39410 * stdlib/tst-strtod-underflow.c: Likewise.
39411 * stdlib/tst-tininess.c: Likewise.
39412 * stdlib/strtod_l.c: Include <tininess.h>.
39413 (round_and_return): Do not set errno for exact underflow cases.
39414 Force an underflow exception when setting errno for underflow.
39415 Determine underflow based on rounding to normal precision if
39416 TININESS_AFTER_ROUNDING.
39417 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39418 ERANGE for exact underflow cases.
39419 * stdlib/Makefile (tests): Add tst-tininess and
39420 tst-strtod-underflow.
39421 ($(objpfx)tst-tininess): Use $(link-libm).
39422 ($(objpfx)tst-strtod-underflow): Likewise.
39424 2012-10-30 Andreas Jaeger <aj@suse.de>
39427 * elf/Makefile (tests): Remove conditional for have-initfini-array
39428 since this is now always required and the variable does not exist
39430 (tests-static): Likewise.
39431 (modules-names): Likewise.
39433 * po/eo.po: Add Esperanto translation from translation project.
39435 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39436 merged with constructor/destructor.
39437 (init_array): Likewise.
39438 * elf/tst-array2dep.c (fini_array): Likewise.
39439 (init_array): Likewise.
39441 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39443 * manual/message.texi: Delete @cartouche tags.
39445 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39447 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39449 * sysdeps/mach/hurd/fsync.c: Likewise.
39451 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39452 [_POSIX_REALTIME_SIGNALS]: Change condition to
39453 [_POSIX_REALTIME_SIGNALS > 0].
39455 2012-10-27 Andreas Jaeger <aj@suse.de>
39457 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39458 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39460 [__WORDSIZE != 64]: Likewise.
39462 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39464 * iconvdata/tst-table.sh: Remove ${SHELL}.
39465 * iconvdata/tst-tables.sh: Likewise.
39467 2012-10-25 David S. Miller <davem@davemloft.net>
39469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39470 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39475 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39476 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39477 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39480 2012-10-25 Roland McGrath <roland@hack.frob.com>
39482 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39483 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39486 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39487 Jim Blandy <jimb@codesourcery.com>
39489 * scripts/cross-test-ssh.sh: New file.
39490 * manual/install.texi (Configuring and compiling): Document use of
39492 * INSTALL: Regenerated.
39494 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39496 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39499 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39501 * Makeconfig (run-program-prefix): Fix comment.
39503 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39504 Jim Blandy <jimb@codesourcery.com>
39506 * Makeconfig (test-wrapper): New variable,
39507 (test-wrapper-env): Likewise.
39508 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39509 (run-built-tests): Define to yes.
39510 (run-program-prefix): Use $(test-wrapper).
39511 (built-program-cmd): Likewise.
39512 * Rules (make-test-out): Use $(test-wrapper-env) and
39513 $(host-built-program-cmd).
39514 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39515 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39517 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39518 $(test-wrapper-env) to tst-rtld-load-self.sh.
39519 ($(objpfx)order2.out): Use $(test-wrapper).
39520 ($(objpfx)tst-initorder.out): Likewise.
39521 ($(objpfx)tst-initorder2.out): Likewise.
39522 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39523 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39524 (test_wrapper_env): New variable. Use it to run ld.so.
39525 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39526 Use it to run ld.so.
39527 (test_wrapper_env): Likewise.
39528 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39529 $(test-wrapper) to run-iconv-test.sh.
39530 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39531 (ICONV): Use $test_wrapper.
39532 * posix/Makefile ($(objpfx)globtest.out): Pass
39533 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39534 globtest.sh, not $(run-program-prefix).
39535 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39536 (test_wrapper): Likewise.
39537 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39538 set together with run_via_rtld_prefix.
39539 (run_program_prefix): Define in terms of test_wrapper and
39540 run_via_rtld_prefix.
39542 2012-10-24 Roland McGrath <roland@hack.frob.com>
39544 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39545 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39549 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39550 Declare __clock_getres, __clock_gettime, __clock_settime,
39551 __clock_nanosleep, and __clock_getcpuclockid.
39552 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39553 Remove librt_hidden_def (clock_gettime).
39554 * sysdeps/unix/clock_gettime.c: Likewise.
39555 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39556 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39557 * rt/clock_getres.c: Define __clock_getres as an alias.
39558 * sysdeps/posix/clock_getres.c: Likewise.
39559 * rt/clock_settime.c: Define __clock_settime as an alias.
39560 * sysdeps/unix/clock_settime.c: Likewise.
39561 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39562 * sysdeps/unix/clock_nanosleep.c: Likewise.
39563 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39564 * rt/clock-compat.c: New file.
39565 * rt/Makefile (librt-routines): Add clock-compat and move
39566 $(clock-routines) to ...
39567 (routines): ... here, new variable.
39568 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39569 Don't add get_clockfreq here.
39570 * rt/Versions (libc: GLIBC_2.17): New version set.
39571 Add clock_* symbols here.
39572 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39573 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39574 (GLIBC_2.17): Add clock_* symbols.
39575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39577 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39586 * NEWS: Mention the move.
39588 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39589 Use __open, __read, __close rather than their public counterparts.
39590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39591 (__get_clockfreq_via_cpuinfo): Likewise.
39592 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39593 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39595 * config.h.in (HAVE_IFUNC): New #undef.
39596 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39598 * configure: Regenerated.
39600 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39602 * configure.in: Move READELF check to start of file.
39603 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39604 libc_cv_asm_gnu_indirect_function in the process.
39605 * configure: Regenerated.
39607 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39609 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39610 send the output to /dev/null.
39611 (libc_cv_cc_with_libunwind): Likewise.
39612 (libc_cv_as_noexecstack): Likewise.
39613 * configure: Regenerate.
39615 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39617 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39619 * posix/globtest.sh (TMPDIR): Do not set.
39620 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39621 (testout): Likewise.
39623 2012-10-24 Andreas Jaeger <aj@suse.de>
39625 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39626 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39627 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39628 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39629 posix_fadvise64, posix_fallocate64.
39631 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39632 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39633 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39635 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39637 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39640 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39641 <bits/fcntl-linux.h>.
39642 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39645 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39646 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39647 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39648 [__WORDSIZE != 64]: Likewise.
39650 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39652 * Makeconfig (run-built-tests): New variable.
39653 * Rules [$(cross-compiling) = yes]: Change condition to
39654 [$(run-built-tests) = no].
39655 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39656 to [$(run-built-tests) = yes].
39657 * elf/Makefile [$(cross-compiling) = no]: Likewise
39658 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39659 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39660 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39661 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39662 * io/Makefile [$(cross-compiling) = no]: Likewise.
39663 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39664 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39665 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39666 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39667 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39668 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39669 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39670 * string/Makefile [$(cross-compiling) = no]: Likewise.
39672 * posix/Makefile ($(objpfx)globtest.out): Pass
39673 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39674 $(rtld-installed-name).
39675 * posix/globtest.sh (elf_objpfx): Remove variable.
39676 (rtld_installed_name): Likewise.
39677 (library_path): Likewise.
39678 (run_program_prefix): New variable. Use for running globtest
39681 2012-10-23 Jim Blandy <jimb@codesourcery.com>
39682 Joseph Myers <joseph@codesourcery.com>
39684 * Makeconfig (host-built-program-cmd): New variable.
39685 * elf/Makefile (tst-stackguard1-ARGS): Use
39686 $(host-built-program-cmd).
39687 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39688 (tst-spawn-ARGS): Likewise.
39689 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39691 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39692 Jim Blandy <jimb@codesourcery.com>
39694 * Makeconfig (run-via-rtld-prefix): New variable.
39695 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39696 (built-program-cmd): Likewise.
39698 2012-10-22 Andreas Jaeger <aj@suse.de>
39700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39701 __O_RSYNC if it exists, otherwise to O_SYNC.
39703 2012-10-22 Jim Blandy <jimb@codesourcery.com>
39704 Joseph Myers <joseph@codesourcery.com>
39706 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39708 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39710 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39713 2012-10-22 Andreas Jaeger <aj@suse.de>
39715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39720 bits/fcntl-linux.h.
39722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39723 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39730 2012-10-21 Jim Blandy <jimb@codesourcery.com>
39731 Joseph Myers <joseph@codesourcery.com>
39733 * config.make.in (NM): New variable.
39735 2012-10-21 Andreas Jaeger <aj@suse.de>
39737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39738 definitions and declarations that are provided by
39739 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39741 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39744 * elf/Makefile (tests-static): Add tst-leaks1-static.
39745 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39746 ($(objpfx)tst-leaks1-static): New rule.
39747 ($(objpfx)tst-leaks1-static-mem): Likewise.
39748 (tst-leaks1-static-ENV): New macro.
39749 * elf/dl-open.c (dl_open_worker): Check the main application
39750 only if SHARED is defined.
39751 * elf/tst-leaks1-static.c: New file.
39753 2012-10-20 Andreas Jaeger <aj@suse.de>
39755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39756 generic values for Linux.
39757 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39758 and declarations that are provided by <bits/fcntl-linux.h> and
39759 include <bits/fcntl-linux.h>.
39760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39763 2012-10-20 Roland McGrath <roland@hack.frob.com>
39765 * io/fcntl.h: Move include of <bits/types.h> to the top and
39766 include it unconditionally.
39768 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39770 * wcsmbs/Makefile (tests-ifunc): New variable.
39771 (tests): Add $(tests-ifunc).
39772 * wcsmbs/test-wcschr-ifunc.c: New file.
39773 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39774 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39775 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39776 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39777 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39779 * string/Makefile (tests-ifunc): New variable.
39780 (tests): Add $(tests-ifunc).
39781 * string/test-memccpy.c (TEST_NAME): New macro.
39782 * string/test-memchr.c (TEST_NAME): Likewise.
39783 * string/test-memcmp.c (TEST_NAME): Likewise.
39784 * string/test-memcpy.c (TEST_NAME): Likewise.
39785 * string/test-memmem.c (TEST_NAME): Likewise.
39786 * string/test-memmove.c (TEST_NAME): Likewise.
39787 * string/test-memset.c (TEST_NAME): Likewise.
39788 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39789 * string/test-stpcpy.c (TEST_NAME): Likewise.
39790 * string/test-stpncpy.c (TEST_NAME): Likewise.
39791 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39792 * string/test-strcasestr.c (TEST_NAME): Likewise.
39793 * string/test-strcat.c (TEST_NAME): Likewise.
39794 * string/test-strchr.c (TEST_NAME): Likewise.
39795 * string/test-strcmp.c(TEST_NAME): Likewise.
39796 * string/test-strcpy.c (TEST_NAME): Likewise.
39797 * string/test-strcspn.c (TEST_NAME): Likewise.
39798 * string/test-strlen.c (TEST_NAME): Likewise.
39799 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39800 * string/test-strncmp.c (TEST_NAME): Likewise.
39801 * string/test-strncpy.c (TEST_NAME): Likewise.
39802 * string/test-strnlen.c (TEST_NAME): Likewise.
39803 * string/test-strpbrk.c (TEST_NAME): Likewise.
39804 * string/test-strrchr.c (TEST_NAME): Likewise.
39805 * string/test-strspn.c (TEST_NAME): Likewise.
39806 * string/test-strstr.c (TEST_NAME): Likewise.
39807 * string/test-bcopy-ifunc.c: New file.
39808 * string/test-bzero-ifunc.c: Likewise.
39809 * string/test-memccpy-ifunc.c: Likewise.
39810 * string/test-memchr-ifunc.c: Likewise.
39811 * string/test-memcmp-ifunc.c: Likewise.
39812 * string/test-memcpy-ifunc.c: Likewise.
39813 * string/test-memmem-ifunc.c: Likewise.
39814 * string/test-memmove-ifunc.c: Likewise.
39815 * string/test-mempcpy-ifunc.c: Likewise.
39816 * string/test-memset-ifunc.c: Likewise.
39817 * string/test-rawmemchr-ifunc.c: Likewise.
39818 * string/test-stpcpy-ifunc.c: Likewise.
39819 * string/test-stpncpy-ifunc.c: Likewise.
39820 * string/test-strcasecmp-ifunc.c: Likewise.
39821 * string/test-strcasestr-ifunc.c: Likewise.
39822 * string/test-strcat-ifunc.c: Likewise.
39823 * string/test-strchr-ifunc.c: Likewise.
39824 * string/test-strchrnul-ifunc.c: Likewise.
39825 * string/test-strcmp-ifunc.c: Likewise.
39826 * string/test-strcpy-ifunc.c: Likewise.
39827 * string/test-strcspn-ifunc.c: Likewise.
39828 * string/test-strlen-ifunc.c: Likewise.
39829 * string/test-strncasecmp-ifunc.c: Likewise.
39830 * string/test-strncat-ifunc.c: Likewise.
39831 * string/test-strncmp-ifunc.c: Likewise.
39832 * string/test-strncpy-ifunc.c: Likewise.
39833 * string/test-strnlen-ifunc.c: Likewise.
39834 * string/test-strpbrk-ifunc.c: Likewise.
39835 * string/test-strrchr-ifunc.c: Likewise.
39836 * string/test-strspn-ifunc.c: Likewise.
39837 * string/test-strstr-ifunc.c: Likewise.
39839 * debug/Makefile (tests-ifunc): New variable.
39840 (tests): Add $(tests-ifunc).
39841 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39842 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39843 * debug/test-stpcpy_chk-ifunc.c: New file.
39844 * debug/test-strcpy_chk-ifunc.c: Likewise.
39846 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39849 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39850 header is not read in.
39852 2012-10-19 Joseph Myers <joseph@codesourcery.com>
39854 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39855 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39856 directly. Pass built executable to script as
39857 $(built-program-cmd).
39858 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39859 $testprogram without using LD_LIBRARY_PATH and $ldso.
39861 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39862 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39863 $(rtld-installed-name).
39864 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39865 (rtld_installed_name): Likewise.
39866 (library_path): Likewise.
39867 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39868 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39869 $(run-program-prefix) to tst-tables.sh.
39870 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39871 it to run tst-table-from and tst-table-to.
39872 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39873 Pass it to tst-table.sh.
39874 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39875 $(run-program-prefix) to tst-gettext.sh.
39876 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39878 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39880 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39881 to run tst-gettext.
39882 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39883 to run tst-gettext2.
39884 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39885 to run tst-translit.
39886 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39887 $(run-program-prefix) to tst-mtrace.sh.
39888 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39890 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39891 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39892 $(rtld-installed-name).
39893 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39894 (rtld_installed_name): Likewise.
39895 (run_program_prefix): New variable. Use it to run wordexp-test.
39897 * Makeconfig (ARCH): Remove all definitions.
39898 (machine): Likewise.
39899 [ARCH]: Remove conditional code.
39900 [!objdir]: Give error.
39901 [!objdir] (objpfx): Remove.
39902 [!objdir] (common-objpfx): Likewise.
39903 [!objdir] (common-objdir): Likewise.
39904 * configure.in (config_makefile): Remove. Hardcode Makefile in
39905 AC_CONFIG_FILES call.
39906 * configure: Regenerated.
39909 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39911 (testout): Likewise.
39913 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39914 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39915 $(rtld-installed-name).
39916 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39917 (rtld_installed_name): Likwise.
39918 (runit): Remove function.
39919 (run_getconf): New variable, Use it for running getconf binary.
39921 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39924 * string/test-memmem.c (check_result): New function.
39925 (do_one_test): Use it.
39926 (check1): New function.
39927 (test_main): Use it.
39929 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39931 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39933 2012-10-18 Joseph Myers <joseph@codesourcery.com>
39935 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39936 (_G_LSEEK64): Likewise.
39937 (_G_MMAP64): Likewise.
39938 (_G_FSTAT64): Likewise.
39939 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39940 (_G_LSEEK64): Likewise.
39941 (_G_MMAP64): Likewise.
39942 (_G_FSTAT64): Likewise.
39943 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39944 unconditional. Call __mmap64 directly.
39945 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39946 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39947 __lseek64 directly.
39948 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39949 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39951 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39952 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39953 __lseek64 directly.
39954 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39955 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39956 __lseek64 directly.
39957 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39958 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39959 __lseek64 directly.
39960 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39961 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39962 __fxstat64 directly.
39963 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39964 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39966 (freopen64) [!_G_OPEN64]: Remove conditional code.
39967 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39969 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39970 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39972 (ftello64) [!_G_LSEEK64]: Remove conditional code.
39973 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39975 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39976 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39978 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39979 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39981 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39982 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39984 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39985 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39987 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39989 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39992 * manual/memory.texi (Malloc Tunable Parameters): Add note
39993 about free list pointers overwriting some perturb bytes.
39994 Wording suggested by Roland McGrath.
39996 2012-10-17 Joseph Myers <joseph@codesourcery.com>
39998 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39999 (lgamma_test): Likewise.
40000 (tgamma_test): Likewise.
40002 2012-10-16 Florian Weimer <fweimer@redhat.com>
40005 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40006 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40008 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
40010 * NEWS: Mention BZ #14716.
40011 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40012 when removing AVAILABLE1_USES_J macro.
40014 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
40016 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40017 (__bswap_64): __uint64_t for unsigned 64-bit int.
40019 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
40021 * include/string.h (memmem): Declare libc hidden alias.
40022 * string/memmem.c (memmem): Define libc hidden alias.
40023 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40024 __read, __close instead of open, read, close.
40026 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
40028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40029 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40031 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40032 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40033 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40035 (__rawmemchr_sse2): Likewise.
40036 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40037 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40038 (__strchr_sse2): Likewise.
40039 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40040 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40041 (__strcasecmp_sse2): Likewise.
40042 (__strncasecmp_sse2): Likewise.
40043 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40044 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40045 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40046 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40047 (__strrchr_sse2): Likewise.
40048 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40050 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40051 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40052 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40053 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40054 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40055 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40056 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40057 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40058 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40059 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40060 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40061 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40062 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40063 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40064 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40065 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40066 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40067 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40068 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40069 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40070 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40071 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40072 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40073 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40074 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40075 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40076 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40077 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40078 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40079 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40081 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40083 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40084 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40085 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40086 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40088 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40090 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40091 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40092 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40093 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40095 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40096 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40097 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40098 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40099 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40100 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40101 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40102 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40103 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40104 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40105 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40106 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40107 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40108 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40109 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40110 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40111 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40112 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40113 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40114 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40115 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40116 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40117 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40118 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40119 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40120 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40121 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40122 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40123 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40124 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40125 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40126 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40127 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40128 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40129 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40130 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40131 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40132 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40133 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40134 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40135 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40137 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40138 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40139 * include/ifunc-impl-list.h: New file.
40140 * misc/ifunc-impl-list.c: Likewise.
40141 * misc/Makefile (routines): Add ifunc-impl-list.
40142 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40143 * string/test-string.h: Include <ifunc-impl-list.h>.
40144 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40145 TEST_NAME]: New variables.
40146 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40148 (test_init): Call __libc_ifunc_impl_list to initialize
40149 func_list if TEST_IFUNC and TEST_NAME are defined.
40151 * string/Makefile (strop-tests): Add bcopy and bzero.
40152 * string/test-bcopy.c: New file.
40153 * string/test-bzero.c: Likewise.
40154 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40156 * string/test-memset.c: Support bzero test if TEST_BZERO is
40158 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40160 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40162 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40165 2012-10-10 Joseph Myers <joseph@codesourcery.com>
40167 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40168 * configure: Regenerated.
40170 * Makeconfig (+link-static-before-libc): Don't include
40171 $(link-static-libc).
40173 * libio/libio.h (_IO_pos_t): Remove.
40175 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40177 * NEWS: Add note about FIPS mode. Wording suggested by Roland
40180 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40182 * crypt/crypt-entry.c: Include fips-private.h.
40183 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40184 * crypt/md5c-test.c (main): Tolerate disabled MD5.
40185 * sysdeps/unix/sysv/linux/fips-private.h: New file.
40186 * sysdeps/generic/fips-private.h: New file, dummy fallback.
40188 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40190 * crypt/crypt-private.h: Include stdbool.h.
40191 (_ufc_setup_salt_r): Return bool.
40192 * crypt/crypt-entry.c: Include errno.h.
40193 (__crypt_r): Return NULL with EINVAL for bad salt.
40194 * crypt/crypt_util.c (bad_for_salt): New.
40195 (_ufc_setup_salt_r): Check that salt is long enough and within
40196 the specified alphabet.
40197 * crypt/badsalttest.c: New file.
40198 * crypt/Makefile (tests): Add it.
40199 ($(objpfx)badsalttest): New.
40201 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
40203 * NEWS: Add entry for BZ #14602.
40205 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40207 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40209 * math/libm-test.inc: Update comment listing what functions and
40211 (isgreater_test): New function.
40212 (isgreaterequal_test): Likewise.
40213 (isless_test): Likewise.
40214 (islessequal_test): Likewise.
40215 (islessgreater_test): Likewise.
40216 (isunordered_test): Likewise.
40217 (main): Call the new functions.
40219 2012-10-09 Roland McGrath <roland@hack.frob.com>
40221 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40222 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40223 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40224 * sysdeps/i386/configure: Regenerated.
40225 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40226 * sysdeps/mach/configure: Regenerated.
40227 * sysdeps/mach/hurd/configure: Regenerated.
40228 * sysdeps/powerpc/configure: Regenerated.
40229 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40230 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40231 * sysdeps/s390/s390-32/configure: Regenerated.
40232 * sysdeps/s390/s390-64/configure: Regenerated.
40233 * sysdeps/sh/configure: Regenerated.
40234 * sysdeps/sparc/configure: Regenerated.
40235 * sysdeps/unix/sysv/linux/configure: Regenerated.
40236 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40237 * sysdeps/x86_64/configure: Regenerated.
40239 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40240 defined. Don't check if MAP is NULL.
40242 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40244 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40245 (_G_stat64): Likewise.
40246 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40247 (_G_stat64): Likewise.
40248 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40249 instead of struct _G_stat64.
40250 * libio/fileops.c (mmap_remap_check): Likewise.
40251 (decide_maybe_mmap): Likewise.
40252 (_IO_new_file_seekoff): Likewise.
40253 (_IO_file_stat): Likewise.
40254 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40256 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40257 instead of struct _G_stat64.
40258 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40260 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40263 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40265 (CHECK_EOL): New macro.
40266 (two_way_short_needle): Check beginning of haystack for EOL. Use
40268 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40269 Replace with CHECK_EOL.
40270 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40271 Replace with CHECK_EOL.
40273 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40275 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40277 * math/libm-test.inc: Update comment listing what functions and
40279 (finite_test): New function.
40280 (isinf_test): Likewise.
40281 (isnan_test): Likewise.
40282 (fpclassify_test): Test subnormal input.
40283 (isfinite_test): Likewise.
40284 (isnormal_test): Likewise.
40285 (main): Call the new functions.
40287 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40290 * Makerules (%.dynsym): Force C locale when running
40291 $(OBJDUMP) --dynamic-syms.
40293 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40295 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40298 2012-10-06 David S. Miller <davem@davemloft.net>
40300 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40301 upper 32-bits of the length value in %o2 since we use branch-on-register
40302 tests which consider the entire 64-bit register.
40304 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40306 * string/test-strstr.c (check2): Add a test for page boundary.
40308 2012-10-05 David S. Miller <davem@davemloft.net>
40310 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40311 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40313 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40315 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40316 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40317 and bzero when HWCAP_SPARC_CRYPTO is present.
40319 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40322 * string/test-strstr.c (check2): New function.
40323 (test_main): Call check2.
40325 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40327 * string/bug-strcasestr1.c (do_test): Moved to ...
40328 * string/test-strcasestr.c (check1): Here. New function.
40329 (do_one_test): Break out result checking code into ...
40330 (check_result): This. New function.
40331 (do_one_test): Call check_result.
40332 (test_main): Call check1.
40333 * string/bug-strchr1.c (do_test): Moved to ...
40334 * string/test-strchr.c (check1): Here. New function.
40335 (do_one_test): Break out result checking code into ...
40336 (check_result): This. New function.
40337 (do_one_test): Call check_result.
40338 (test_main): Call check1.
40339 * string/bug-strstr1.c (main): Moved to ...
40340 * string/test-strstr.c (check1): Here. New function.
40341 (do_one_test): Break out result checking code into ...
40342 (check_result): This. New function.
40343 (do_one_test): Call check_result.
40344 (test_main): Call check1.
40345 * string/bug-strcasestr1.c: Removed.
40346 * string/bug-strchr1.c: Likewise.
40347 * string/bug-strstr1.c: Likewise.
40349 * elf/Makefile (dl-routines): Add hwcaps.
40350 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40351 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40352 (_dl_important_hwcaps): Moved to ...
40353 * elf/dl-hwcaps.c: Here. New file.
40354 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40357 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40358 if IS_IN_rtld isn't defined.
40360 * elf/dl-support.c (_dl_sysinfo_map): New.
40361 Include "get-dynamic-info.h" and "setup-vdso.h".
40362 (_dl_non_dynamic_init): Call setup_vdso.
40363 * elf/dynamic-link.h: Don't include <assert.h>.
40364 (elf_get_dynamic_info): Moved to ...
40365 * elf/get-dynamic-info.h: Here. New file.
40366 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40367 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40368 * elf/setup-vdso.h: Here. New file.
40369 * elf/rtld.c: Include "setup-vdso.h".
40370 (dl_main): Call setup_vdso.
40372 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40374 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40375 creal in comment listing functions tested. List finite, isinf,
40376 isnan, isless, islessequal, isgreater, isgreaterequal,
40377 islessgreater, isunordered, lgamma_r and pow10 as functions and
40378 macros not tested. Mention which functions not tested are aliases
40379 for other functions. Fix typo. Note that signs of NaNs are not
40382 * scripts/config.guess: Update from config.git.
40383 * scripts/config.sub: Likewise.
40385 2012-10-04 Roland McGrath <roland@hack.frob.com>
40387 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40388 * misc/madvise.c (madvise): Renamed to __madvise.
40389 Make madvise a weak alias.
40390 * include/sys/mman.h: Declare __madvise.
40391 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40392 * sysdeps/unix/syscalls.list
40393 (madvise): Make __madvise the strong name, and madvise a weak alias.
40394 * sysdeps/unix/sysv/linux/syscalls.list
40395 (madvise, mmap): Remove redundant entries.
40396 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40397 * malloc/malloc.c (mtrim): Likewise.
40398 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40400 2012-10-03 Roland McGrath <roland@hack.frob.com>
40402 * sysdeps/mach/hurd/dl-cache.c: File removed.
40403 * config.h.in (USE_LDCONFIG): New #undef.
40404 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40405 * configure: Regenerated.
40406 * elf/Makefile (dl-routines): Add dl-cache only under
40407 [$(use-ldconfig) = yes].
40408 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40409 cache on [USE_LDCONFIG].
40410 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40412 * elf/rtld.c (dl_main): Likewise.
40414 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40416 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40417 _SC_LEVEL4_CACHE_LINESIZE.
40419 2012-10-03 Roland McGrath <roland@hack.frob.com>
40421 * sysdeps/unix/bsd/confstr.h: File removed.
40423 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40425 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40428 2012-10-02 Roland McGrath <roland@hack.frob.com>
40430 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40431 Make 'mapoff' field ElfW(Off) rather than off_t.
40433 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40435 * nscd/Makefile: Remove nscd-cflags and all its users.
40436 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40437 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40440 * malloc.c (malloc_printerr): Clarify error message.
40442 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40446 Set bit_FMA_Usable if FMA is supported.
40447 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40449 (bit_FMA4_Usable): Updated.
40450 (index_FMA_Usable): New macro.
40451 (CPUID_FMA): Likewise
40452 (HAS_FMA): Defined with bit_FMA_Usable.
40454 2012-10-01 Roland McGrath <roland@hack.frob.com>
40456 * bits/types.h (__swblk_t): Type removed.
40457 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40458 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40460 (__SWBLK_T_TYPE): Likewise.
40461 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40462 (__SWBLK_T_TYPE): Likewise.
40463 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40464 (__SWBLK_T_TYPE): Likewise.
40465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40466 (__SWBLK_T_TYPE): Likewise.
40468 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40469 Honza Horak <hhorak@redhat.com>
40471 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40472 (xdr_mapname): Use YPMAXMAP as maxsize.
40473 (xdr_peername): Use YPMAXPEER as maxsize.
40474 (xdr_keydat): Use YPAXRECORD as maxsize.
40475 (xdr_valdat): Use YPMAXRECORD as maxsize.
40477 2012-10-01 Roland McGrath <roland@hack.frob.com>
40479 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40481 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40482 * csu/init-first.c: ... here.
40483 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40484 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40485 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40486 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40487 * sysdeps/i386/init-first.c: File removed.
40488 * sysdeps/sh/init-first.c: File removed.
40490 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40494 if x * y might underflow to zero and z is zero.
40495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40497 * math/libm-test.inc (min_subnorm_value): New variable.
40498 (fma_test): Add more tests.
40499 (fma_test_towardzero): Likewise.
40500 (fma_test_downward): Likewise
40501 (fma_test_upward): Likewise.
40502 (initialize): Set min_subnorm_value.
40504 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40509 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40510 mode for addition resulting in exact zero.
40511 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40514 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40515 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40516 * math/libm-test.inc (fma_test): Add more tests.
40517 (fma_test_towardzero): New function.
40518 (fma_test_downward): Likewise.
40519 (fma_test_upward): Likewise.
40520 (main): Call the new functions.
40522 2012-09-28 David S. Miller <davem@davemloft.net>
40524 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40526 2012-09-28 Roland McGrath <roland@hack.frob.com>
40528 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40529 instead of SIGALRM.
40531 * sysdeps/gnu/_G_config.h: Moved to ...
40532 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40533 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40534 * sysdeps/generic/_G_config.h: ... here.
40536 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40538 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40540 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40541 Conditionalize target on [libnss_test1.so-version].
40543 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40545 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40546 (elfobjdir): Move out of conditionals.
40548 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40549 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40550 (__nss_lookup_function): Conditionalize label remove_from_tree on
40551 [!DO_STATIC_NSS || SHARED], matching its only use.
40553 2012-09-28 David S. Miller <davem@davemloft.net>
40555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40556 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40558 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40560 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40562 when HWCAP_SPARC_CRYPTO is present.
40564 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40566 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40568 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40571 * stdio-common/vfprintf.c (process_string_arg): Revert
40574 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40576 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40578 * stdio-common/tst-sprintf.c: Include <locale.h>
40579 (main): Test sprintf's handling of incomplete multibyte
40582 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40584 * elf/dl-runtime.c (VERSYMIDX): Removed.
40585 * elf/dl-version.c (VERSYMIDX): Likewise.
40586 * elf/do-rel.h (VERSYMIDX): Likewise.
40587 (VALIDX): Likewise.
40588 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40589 * elf/rtld.c (VALIDX): Likewise.
40590 (ADDRIDX): Likewise.
40591 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40592 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40593 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40594 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40595 (VALIDX): Likewise.
40596 (ADDRIDX): Likewise.
40598 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40600 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40602 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40605 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40607 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40608 addresses are in the same scope as 192.0.2/24.
40609 * posix/gai.conf: Document new scope table defaults.
40611 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40614 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40615 for ftell. Compute offsets from write pointers instead.
40616 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40618 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40621 * libio/Makefile (tests): New test case tst-fseek.
40622 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40623 combination works in wide mode.
40624 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40625 state when the external buffer state changes.
40627 2012-09-27 David S. Miller <davem@davemloft.net>
40630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40631 pass reloc->r_addend in as the 'high' argument to
40632 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40636 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40638 * rt/tst-aio2.c: Include <pthread.h>.
40639 * rt/tst-aio3.c: Likewise.
40641 2012-09-27 Steve Ellcey <sellcey@mips.com>
40643 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40645 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40647 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40648 contents on [SHARED].
40650 2012-09-26 Marek Polacek <polacek@redhat.com>
40654 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40655 for C++ and GCC <4.3 as well as for non GCC compilers.
40657 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40661 2012-09-25 Roland McGrath <roland@hack.frob.com>
40663 * Makefile.in (all, install): Declare with .PHONY.
40664 Reported by Michael Hope <michael.hope@linaro.org>.
40666 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40668 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40669 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40671 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40673 (sydep_routines): Add the new and the internal functions.
40674 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40675 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40677 (GLIBC_2.17): Add the new function.
40678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40679 (GLIBC_2.17): Likewise.
40680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40681 (GLIBC_2.17): Likewise.
40682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40683 (GLIBC_2.17): Likewise.
40684 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40686 2012-09-25 Alan Modra <amodra@gmail.com>
40688 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40689 Add release barrier before setting once_control to say
40690 initialisation is done. Add hints on lwarx. Use macro in
40692 (clear_once_control): Add release barrier.
40694 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40697 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40699 * math/s_clog10.c (__clog10): Likewise.
40700 * math/s_clog10f.c (__clog10f): Likewise.
40701 * math/s_clog10l.c (__clog10l): Likewise.
40702 * math/s_clogf.c (__clogf): Likewise.
40703 * math/s_clogl.c (__clogl): Likewise.
40704 * math/Makefile (libm-calls): Add x2y2m1.
40705 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40706 (__x2y2m1): Likewise.
40707 (__x2y2m1l): Likewise.
40708 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40709 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40710 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40711 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40712 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40713 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40714 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40715 * sysdeps/i386/fpu/libm-test-ulps: Update.
40716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40719 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40720 int as type of variable DEPTH.
40721 (glob): Use size_t instead of int as type of variables NEWCOUNT
40724 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40726 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40727 Add s_sincosf-sse2.
40728 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40729 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40730 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40731 macros for using routine as __sincosf_ia32.
40732 Use macro for function declaration and weak_alias.
40733 * sysdeps/i386/fpu/libm-test-ulps: Update.
40735 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40738 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40739 subnormal argument.
40740 * math/s_cexpf.c (__cexpf): Likewise.
40741 * math/s_csinf.c (__csinf): Likewise.
40742 * math/s_csinhf.c (__csinhf): Likewise.
40743 * math/s_ctanf.c (__ctanf): Likewise.
40744 * math/s_ctanhf.c (__ctanhf): Likewise.
40745 * math/s_ccosh.c (__ccoshf): Likewise.
40746 * math/s_cexp.c (__cexpl): Likewise.
40747 * math/s_csin.c (__csin): Likewise.
40748 * math/s_csinh.c (__csinh): Likewise.
40749 * math/s_ctan.c (__ctan): Likewise.
40750 * math/s_ctanh.c (ctanh): Likewise.
40751 * math/s_ccoshl.c (__ccoshl): Likewise.
40752 * math/s_cexpl.c (__cexpl): Likewise.
40753 * math/s_csinl.c (__csinl): Likewise.
40754 * math/s_csinhl.c (__csinhl): Likewise.
40755 * math/s_ctanl.c (__ctanl): Likewise.
40756 * math/s_ctanhl.c (__ctanhl): Likewise.
40758 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40760 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40761 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40762 (_IO_off_t): Define to __off_t, not _G_off_t.
40763 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40764 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40765 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40766 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40767 type of __dummy and __dummy2 fields.
40768 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40769 (_G_ssize_t): Likewise.
40770 (_G_off_t): Likewise.
40771 (_G_pid_t): Likewise.
40772 (_G_uid_t): Likewise.
40773 (_G_wchar_t): Likewise.
40774 (_G_wint_t): Likewise.
40775 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40776 (_G_ssize_t): Likewise.
40777 (_G_off_t): Likewise.
40778 (_G_pid_t): Likewise.
40779 (_G_uid_t): Likewise.
40780 (_G_wchar_t): Likewise.
40781 (_G_wint_t): Likewise.
40782 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40783 (_G_ssize_t): Likewise.
40784 (_G_off_t): Likewise.
40785 (_G_pid_t): Likewise.
40786 (_G_uid_t): Likewise.
40787 (_G_wchar_t): Likewise.
40788 (_G_wint_t): Likewise.
40790 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40792 * malloc/arena.c: Include malloc-sysdep.h.
40793 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40794 is sufficient to shrink the heap or an unmap is needed.
40795 * sysdeps/generic/malloc-sysdep.h: New file. Define
40796 new function check_may_shrink_heap.
40797 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40798 new function check_may_shrink_heap.
40800 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40802 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40805 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40807 * catgets/test-gencat.sh: Add "set -e".
40808 * elf/tst-pathopt.sh: Likewise.
40809 * grp/tst_fgetgrent.sh: Likewise.
40810 * iconvdata/run-iconv-test.sh: Likewise.
40811 * intl/tst-gettext.sh: Likewise.
40812 * intl/tst-gettext2.sh: Likewise.
40813 * intl/tst-gettext4.sh: Likewise.
40814 * intl/tst-gettext6.sh: Likewise.
40815 * intl/tst-translit.sh: Likewise.
40816 * io/ftwtest-sh: Likewise.
40817 * libio/test-freopen.sh: Likewise.
40818 * malloc/tst-mtrace.sh: Likewise.
40819 * posix/globtest.sh: Likewise.
40820 * posix/tst-getconf.sh: Likewise.
40821 * posix/wordexp-tst.sh: Likewise.
40822 * stdio-common/tst-printf.sh: Likewise.
40823 * stdio-common/tst-unbputc.sh: Likewise.
40824 * stdlib/tst-fmtmsg.sh: Likewise.
40825 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40826 * catgets/Makefile: Do not specify -e option when running
40827 testsuite shell scripts.
40828 * elf/Makefile: Likewise.
40829 * grp/Makefile: Likewise.
40830 * iconvdata/Makefile: Likewise.
40831 * intl/Makefile: Likewise.
40832 * io/Makefile: Likewise.
40833 * libio/Makefile: Likewise.
40834 * malloc/Makefile: Likewise.
40835 * posix/Makefile: Likewise.
40836 * stdio-common/Makefile: Likewise.
40837 * stdlib/Makefile: Likewise.
40838 * sysdeps/x86_64/Makefile: Likewise.
40840 * io/ftwtest-sh: Add copyright header.
40841 * posix/globtest.sh: Likewise.
40842 * posix/tst-getconf.sh: Likewise.
40843 * posix/wordexp-tst.sh: Likewise.
40844 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40846 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40849 * Makeconfig (+link): Defined as $(+link-static) if
40850 $(build-shared) isn't yes.
40851 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40853 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40855 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40858 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40859 new chunk size with MALLOC_ALIGN_MASK.
40861 2012-09-24 Joseph Myers <joseph@codesourcery.com>
40864 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40866 (__printf_fphex): Determine rounding using get_rounding_mode and
40868 * stdio-common/tst-printf-round.c (struct hex_test): New
40870 (hex_tests): New variable.
40871 (test_hex_in_one_mode): New function.
40872 (do_test): Also run tests for hex float output.
40874 2012-09-21 Joseph Myers <joseph@codesourcery.com>
40876 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40877 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40878 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40879 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40880 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40881 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40882 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40883 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40885 2012-09-20 Joseph Myers <joseph@codesourcery.com>
40887 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40888 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40889 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40890 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40892 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40895 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40897 * elf/tst-rtld-load-self.sh: New test.
40898 * elf/Makefile: Run it.
40900 2012-09-18 Joseph Myers <joseph@codesourcery.com>
40902 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40903 (tst-writev-ENV): Remove.
40904 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40906 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40908 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40910 2012-09-17 Joseph Myers <joseph@codesourcery.com>
40912 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40914 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40916 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40917 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40918 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40921 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40924 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40925 * config.make.in (have-cpp-asm-debuginfo): Removed.
40926 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40927 * configure: Regenerated.
40929 2012-09-14 Joseph Myers <joseph@codesourcery.com>
40932 * stdio-common/printf_fp.c: Include <stdbool.h> and
40934 (___printf_fp): Determine rounding using get_rounding_mode and
40936 * stdio-common/tst-printf-round.c: New file.
40937 * stdio-common/Makefile (tests): Add tst-printf-round.
40938 (link-libm): New variable.
40939 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40941 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40944 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40945 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40947 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40950 2012-09-13 Joseph Myers <joseph@codesourcery.com>
40952 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40953 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40954 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40955 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40957 2012-09-12 Joseph Myers <joseph@codesourcery.com>
40960 * include/rounding-mode.h: New file.
40961 * sysdeps/generic/get-rounding-mode.h: Likewise.
40962 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40963 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40964 (MAX_VALUE): New macro.
40965 (MIN_VALUE): Likewise.
40966 (overflow_value): New function.
40967 (underflow_value): Likewise.
40968 (round_and_return): Use overflow_value and underflow_value to
40969 determine return values in overflow and underflow cases. Use
40970 round_away to determine rounding depending on rounding mode.
40971 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40972 determine return values in overflow and underflow cases.
40973 * stdlib/tst-strtod-round.c: Include <fenv.h>.
40974 (struct test_results): New structure.
40975 (struct test): Use struct test_results to store expected results
40976 for all rounding modes.
40977 (TEST): Include expected results for all rounding modes.
40978 (test_in_one_mode): New function.
40979 (do_test): Use test_in_one_mode to compute and check results.
40980 Check results for all rounding modes.
40981 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40984 2012-12-09 Allan McRae <allan@archlinux.org>
40986 * sysdeps/i386/fpu/libm-test-ulps: Update
40988 2012-09-11 Joseph Myers <joseph@codesourcery.com>
40990 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40991 (_G_int32_t): Likewise.
40992 (_G_uint16_t): Likewise.
40993 (_G_uint32_t): Likewise.
40994 (_G_HAVE_BOOL): Likewise.
40995 (_G_HAVE_ATEXIT): Likewise.
40996 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40997 (_G_HAVE_IO_FILE_OPEN): Likewise.
40998 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40999 (_G_int32_t): Likewise.
41000 (_G_uint16_t): Likewise.
41001 (_G_uint32_t): Likewise.
41002 (_G_HAVE_BOOL): Likewise.
41003 (_G_HAVE_ATEXIT): Likewise.
41004 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41005 (_G_HAVE_IO_FILE_OPEN): Likewise.
41006 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41007 (_G_int32_t): Likewise.
41008 (_G_uint16_t): Likewise.
41009 (_G_uint32_t): Likewise.
41010 (_G_HAVE_BOOL): Likewise.
41011 (_G_HAVE_ATEXIT): Likewise.
41012 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41013 (_G_HAVE_IO_FILE_OPEN): Likewise.
41015 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
41017 * csu/libc-tls.c: Update copyright years.
41019 2012-09-10 Joseph Myers <joseph@codesourcery.com>
41021 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41022 [!_G_USING_THUNKS]: Remove conditional code.
41023 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41024 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41026 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41027 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41028 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41029 (_G_VTABLE_LABEL_PREFIX): Likewise.
41030 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41031 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41032 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41033 (_G_VTABLE_LABEL_PREFIX): Likewise.
41034 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41035 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41036 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41037 (_G_VTABLE_LABEL_PREFIX): Likewise.
41038 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41040 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41042 * libio/Makefile: Include ../Makeconfig before tests.
41043 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41044 only if $(build-shared) is yes.
41046 * iconv/gconv_db.c: Update copyright years.
41048 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41050 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41051 unwind info if defined PIC. Fix special cases description.
41052 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41054 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41056 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41058 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41060 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41062 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41065 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41066 (LDLIBS-tst-chk4): This.
41067 (LDFLAGS-tst-chk5): Renamed to ...
41068 (LDLIBS-tst-chk5): This.
41069 (LDFLAGS-tst-chk6): Renamed to ...
41070 (LDLIBS-tst-chk6): This.
41071 (LDFLAGS-tst-lfschk4): Renamed to ...
41072 (LDLIBS-tst-lfschk4): This.
41073 (LDFLAGS-tst-lfschk5): Renamed to ...
41074 (LDLIBS-tst-lfschk5): This.
41075 (LDFLAGS-tst-lfschk6): Renamed to ...
41076 (LDLIBS-tst-lfschk6): This.
41078 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41079 on $(common-objpfx)soversions.mk.
41081 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41084 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41087 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41089 * malloc/arena.c (arena_get_retry): New function that gets
41090 another arena for the caller to try its request on.
41091 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41092 current arena cannot fulfill the request.
41093 (__libc_memalign): Likewise.
41094 (__libc_memalign): Likewise.
41095 (__libc_pvalloc): Likewise.
41096 (__libc_calloc): Likewise.
41098 2012-09-05 John Tobey <john.tobey@gmail.com>
41101 * manual/arith.texi (Operations on Complex): Fix description
41102 of carg branch cut.
41104 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41107 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41111 * manual/memory.texi (Memory): Make order of menu items match
41114 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41116 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41117 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41118 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41120 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41122 * csu/libc-tls.c (static_dtv): Renamed to ...
41123 (_dl_static_dtv): This. Make it global.
41124 (_dl_initial_dtv): Removed.
41125 (__libc_setup_tls): Updated.
41126 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41127 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41130 2012-09-06 Petr Machata <pmachata@redhat.com>
41132 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41133 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41134 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41135 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41137 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41140 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41141 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41144 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41147 * Makeconfig (link-static-before-libc): Replace $(+prector)
41149 (link-static-after-libc): Replace $(+postctor) with
41151 (link-bounded): Replace $(+prector)/$(+postctor) with
41152 $(+prectorT)/$(+postctorT).
41153 (+prectorT): New macro.
41154 (+postctorT): Likewise.
41156 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41158 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41159 (round_str): Handle values above the maximum for IBM long double
41161 * stdlib/tst-strtod-round.c (tests): Regenerated.
41163 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41165 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41167 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41168 zarch_nohighgprs around the zarch optimized routines.
41169 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41170 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41171 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41174 2012-09-05 David S. Miller <davem@davemloft.net>
41176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41178 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41179 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41180 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41181 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41184 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41186 * malloc/arena.c: Fold copyright years.
41187 * malloc/mcheck.c, malloc/memusage.c: Likewise.
41189 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41191 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41193 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41195 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
41197 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41199 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41200 change internal state upon failure.
41202 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41204 * malloc/mcheck.c (mcheck_check_all): Fix typo.
41205 * malloc/memusage.c (mmap): Likewise.
41206 (mmap64, mremap): Likewise. Adjust name in comment.
41208 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41210 * libio/fileops.c: Fix typos in comments.
41211 * libio/oldfileops.c: Likewise.
41212 * libio/wfileops.c: Likewise.
41214 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41217 * malloc/Makefile (tests): Add tst-malloc-usable test case.
41218 (tst-malloc-usable-ENV): Set environment for test case.
41219 * malloc/hooks.c (malloc_check_get_size): New function to get
41221 * malloc/malloc.c (musable): Use malloc_check_get_size.
41222 * malloc/tst-malloc-usable.c: New test case.
41224 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41226 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41228 2012-09-05 Allan McRae <allan@archlinux.org>
41231 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41232 determine header location.
41233 * configure: Regenerated.
41235 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41237 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41239 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41240 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41242 (test): Regenerate.
41244 2012-09-04 David S. Miller <davem@davemloft.net>
41246 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41247 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41248 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41250 2012-09-04 Florian Weimer <fweimer@redhat.com>
41252 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41255 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41257 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41260 * libio/iogetdelim.c: Include <limits.h>.
41261 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41262 + len + 1 would overflow.
41264 2012-09-03 Andreas Jaeger <aj@suse.de>
41266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41267 * sysdeps/i386/fpu/libm-test-ulps: Update.
41269 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41271 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41272 Add s_sinf-sse2, s_conf-sse2.
41274 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41275 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41276 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41277 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41279 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41280 for using routine as __sinf_ia32.
41281 Use macro for function declaration and weak_alias.
41282 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41283 for using routine as __cosf_ia32.
41284 Use macro for function declaration and weak_alias.
41286 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41287 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41289 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41290 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41293 * math/libm-test.inc (cos_test): Add more test cases.
41294 (sin_test): Likewise.
41295 (sincos_test): Likewise.
41297 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41299 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41300 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41302 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41304 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41307 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41308 first element of the GOT.
41309 (elf_machine_load_address): Return the difference between
41310 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41312 2012-09-01 Allan McRae <allan@archlinux.org>
41315 * configure.in (AWK): Require gawk version 3.0 or later.
41316 * configure: Regenerated.
41318 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41320 * sysdeps/unix/sysv/linux/kernel-features.h
41321 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41323 [__NR_clock_getres]: Make code unconditional.
41324 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41325 (clock_getcpuclockid): Remove code left unreachable by removal of
41327 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41328 code unconditional.
41329 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41330 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41331 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41332 Make code unconditional.
41333 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41334 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41335 * sysdeps/unix/sysv/linux/clock_settime.c
41336 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41338 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41339 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41341 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41344 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41345 scripts/test-installation.pl.
41347 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41348 and $ld_so_version if it is set.
41350 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41353 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41354 failure if reading from procfs failed.
41355 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41357 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41359 * sysdeps/unix/sysv/linux/kernel-features.h
41360 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41361 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41362 Remove conditional code.
41363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41364 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41365 Remove conditional code.
41366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41367 * sysdeps/unix/sysv/linux/i386/fxstat.c
41368 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41369 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41370 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41371 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41373 * sysdeps/unix/sysv/linux/i386/lxstat.c
41374 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41376 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41377 Remove conditional code.
41378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41379 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41380 Remove conditional code.
41381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41382 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41383 <kernel-features.h>.
41384 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41386 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41387 Remove conditional code.
41388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41389 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41390 Remove conditional.
41392 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41395 * NEWS: Add fixed bug number.
41397 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41400 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41401 underflowing exponent in case of negative sign.
41402 * stdlib/tst-strtod-round-data: Add more tests.
41403 * stdlib/tst-strtod-round.c (tests): Regenerated.
41406 * stdlib/strtod_l.c (NDIG): Remove.
41407 (HEXNDIG): Likewise.
41408 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41409 smallest representable value.
41410 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41411 lie within an exact representation of 1/2 ulp of the result.
41412 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41414 (TENS_P9_IDX): Define unconditionally.
41415 (TENS_P9_SIZE): Likewise.
41416 (TENS_P10_IDX): Likewise.
41417 (TENS_P10_SIZE): Likewise.
41418 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41419 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41420 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41421 entries for 10^2^13 and 10^2^14.
41422 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41423 (TENS_P13_IDX): Define.
41424 (TENS_P13_SIZE): Likewise.
41425 (TENS_P14_IDX): Likewise.
41426 (TENS_P14_SIZE): Likewise.
41427 (_fpioconst_pow10): Change array size to
41428 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41430 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41431 1024]: Add entries for 10^2^13 and 10^2^14.
41432 [LAST_POW10 > _LAST_POW10]: Remove #error.
41433 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41434 (_fpioconst_pow10): Change array size to
41435 FPIOCONST_POW10_ARRAY_SIZE.
41436 * stdlib/gen-fpioconst.c: New file.
41437 * stdlib/gen-tst-strtod-round.c: Likewise.
41438 * stdlib/tst-strtod-round-data: Likewise.
41439 * stdlib/tst-strtod-round.c: Likewise.
41440 * stdlib/Makefile (tests): Add tst-strtod-round.
41443 * stdlib/strtod_l.c: Include <stdint.h>.
41444 (NDEBUG): Do not define.
41445 (round_and_return): Change EXPONENT parameter to type intmax_t.
41446 Rearrange calculations to avoid internal overflow possibilities.
41447 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41448 Rearrange calculations to avoid internal overflow possibilities.
41449 Assert that number fits inside MPNSIZE limbs.
41450 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41451 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41452 calculations and add assertions to avoid internal overflow
41453 possibilities. Add casts to avoid signed/unsigned operations.
41454 * stdlib/tst-strtod-overflow.c: New file.
41455 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41457 2012-08-25 Marek Polacek <polacek@redhat.com>
41459 * time/time.h: Fix some typos in comments.
41461 2012-08-23 Roland McGrath <roland@hack.frob.com>
41463 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41464 * posix/tst-rfc3484-2.c: Likewise.
41465 * posix/tst-rfc3484-3.c: Likewise.
41467 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41469 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41470 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41472 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41474 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41475 #include of fxstatat64.c.
41477 2012-08-22 Roland McGrath <roland@hack.frob.com>
41479 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41480 * shadow/getspent_r.c: Likewise.
41481 * shadow/getspnam.c: Likewise.
41482 * shadow/getspnam_r.c: Likewise.
41483 * gshadow/getsgent.c: Likewise.
41484 * gshadow/getsgent_r.c: Likewise.
41485 * gshadow/getsgnam.c: Likewise.
41486 * gshadow/getsgnam_r.c: Likewise.
41487 * inet/getnetbyad.c: Likewise.
41488 * inet/getnetbyad_r.c: Likewise.
41489 * inet/getnetbynm.c: Likewise.
41490 * inet/getnetbynm_r.c: Likewise.
41491 * inet/getnetent.c: Likewise.
41492 * inet/getnetent_r.c: Likewise.
41493 * inet/getproto.c: Likewise.
41494 * inet/getproto_r.c: Likewise.
41495 * inet/getprtent.c: Likewise.
41496 * inet/getprtent_r.c: Likewise.
41497 * inet/getprtname.c: Likewise.
41498 * inet/getprtname_r.c: Likewise.
41499 * inet/getrpcbyname.c: Likewise.
41500 * inet/getrpcbyname_r.c: Likewise.
41501 * inet/getrpcbynumber.c: Likewise.
41502 * inet/getrpcbynumber_r.c: Likewise.
41503 * inet/getrpcent.c: Likewise.
41504 * inet/getrpcent_r.c: Likewise.
41505 * inet/getaliasent.c: Likewise.
41506 * inet/getaliasent_r.c: Likewise.
41507 * inet/getaliasname.c: Likewise.
41508 * inet/getaliasname_r.c: Likewise.
41509 * nscd/getgrgid_r.c: Likewise.
41510 * nscd/getgrnam_r.c: Likewise.
41511 * nscd/gethstbyad_r.c: Likewise.
41512 * nscd/gethstbynm3_r.c: Likewise.
41513 * nscd/getpwnam_r.c: Likewise.
41514 * nscd/getpwuid_r.c: Likewise.
41515 * nscd/getsrvbynm_r.c: Likewise.
41516 * nscd/getsrvbypt_r.c: Likewise.
41517 * nscd/gai.c: Likewise.
41519 * configure.in (build_nscd): New substituted variable, set
41520 by --disable-build-nscd and defaults to $use_nscd.
41521 * configure: Regenerated.
41522 * config.make.in (build-nscd): New substituted variable.
41523 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41524 Change conditional to require [$(build-nscd) = yes] as well.
41525 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41528 * configure.in (use_nscd): New substituted variable, set by
41529 --disable-nscd. If enabled, define USE_NSCD.
41530 * configure: Regenerated.
41531 * config.h.in: Add USE_NSCD.
41532 * config.make.in (use-nscd): New substituted variable.
41533 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41534 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41535 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41536 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41537 (CFLAGS-getgrnam_r.c): Likewise.
41538 (CFLAGS-initgroups.c): Likewise.
41539 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41540 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41542 * inet/getnetgrent_r.c
41543 (nscd_setnetgrent): New function, broken out of ...
41544 (setnetgrent): ... here. Call it.
41545 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41546 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41547 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41548 * nscd/Makefile (routines, aux): Move definitions after include of
41549 Makeconfig. Conditionalize on [$(use-nscd) != no].
41550 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41551 Conditionalize on [USE_NSCD].
41552 (is_nscd, nscd_init_cb): Likewise.
41553 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41554 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41555 * nss/nss_db/db-init.c: Likewise.
41556 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41558 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41559 (make_request): Use it.
41560 (cache_valid_p): New function.
41561 (__check_pf): Use it.
41562 * NEWS: Add item for --disable-nscd.
41564 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41566 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41567 to support sed >= 4.2.1-20-ga9bf076.
41568 * configure: Regenerated.
41570 2012-08-22 Roland McGrath <roland@hack.frob.com>
41572 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41573 Conditionalize whole body on [IREL].
41575 2012-08-22 Jeff Law <law@redhat.com>
41578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41579 if the family is PF_UNSPEC.
41581 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41583 * Makerules (lib-version): Rename from V.
41584 (install-lib-nosubdir): Change V to lib-version.
41586 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41589 * powerpc32/power6/wcschr.c: New file.
41590 * powerpc32/power6/wcscpy.c: New file.
41591 * powerpc32/power6/wcsrchr.c: New file.
41592 * powerpc64/power6/wcschr.c: New file.
41593 * powerpc64/power6/wcscpy.c: New file.
41594 * powerpc64/power6/wcsrchr.c: New file.
41596 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41598 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41599 (two_way_short_needle): Use it.
41600 * string/strstr.c (AVAILABLE1_USES_J): Define.
41601 * string/strcasestr.c: Likewise.
41603 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41605 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41608 * NEWS: Add an entry.
41609 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41610 define their defaults.
41611 (two_way_short_needle): Detect end-of-string on-the-fly.
41612 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41613 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41614 * string/bug-strcasestr1.c: New test.
41615 * string/Makefile: Run it.
41617 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41620 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41621 the first character.
41623 2012-08-21 Roland McGrath <roland@hack.frob.com>
41625 * csu/elf-init.c (__libc_csu_irel): Function removed.
41626 * csu/libc-start.c (apply_irel): New function.
41627 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41629 2012-08-21 Joseph Myers <joseph@codesourcery.com>
41631 * sysdeps/unix/sysv/linux/kernel-features.h
41632 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41633 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41634 <kernel-features.h>.
41635 [__NR_fadvise64_64]: Make code unconditional.
41636 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41637 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41638 !__NR_fadvise64_64)]: Likewise.
41639 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41640 !__NR_fadvise64_64))]: Likewise.
41641 [__NR_fadvise64]: Make code unconditional.
41642 [!__NR_fadvise64]: Remove conditional code.
41643 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41644 <kernel-features.h>.
41645 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41647 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41650 not include <kernel-features.h>.
41651 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41653 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41655 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41656 include <kernel-features.h>.
41657 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41659 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41662 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41664 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41665 slight instruction rearrangements per scrollpipe analysis.
41666 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41668 2012-08-20 Roland McGrath <roland@hack.frob.com>
41670 * manual/syslog.texi (syslog; vsyslog, closelog):
41671 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41672 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41674 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41675 DSOCAPS to match condition on defining it.
41677 2012-08-20 Joseph Myers <joseph@codesourcery.com>
41679 * sysdeps/unix/sysv/linux/kernel-features.h
41680 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41682 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41683 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41685 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41686 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41688 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41689 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41691 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41692 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41694 * sysdeps/unix/sysv/linux/kernel-features.h
41695 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41696 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41698 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41699 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41700 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41701 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41702 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41703 Make code unconditional.
41704 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41705 (__mmap64) [!__NR_mmap2]: Likewise.
41706 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41707 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41708 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41709 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41710 [__NR_mmap2]: Make code unconditional.
41711 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41712 (__mmap64) [!__NR_mmap2]: Likewise.
41714 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41716 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41718 2012-08-18 Andreas Jaeger <aj@suse.de>
41720 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41722 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41724 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41725 * include/unistd.h (__have_sock_cloexec): Likewise.
41726 (__have_pipe2): Likewise.
41727 (__have_dup3): Likewise.
41729 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41732 * include/unistd.h (__have_pipe2): Change define into an extern int.
41733 (__have_dup3): Likewise.
41734 * socket/have_sock_cloexec.c: Include fcntl.h.
41735 (__have_pipe2): New variable.
41736 (__have_dup3): Likewise.
41738 2012-08-17 Mike Frysinger <vapier@gentoo.org>
41740 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41742 2012-08-17 Marek Polacek <polacek@redhat.com>
41744 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41745 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41747 2012-08-17 Roland McGrath <roland@hack.frob.com>
41749 * configure.in: Add AC_SUBST for sysheaders.
41750 * configure: Regenerated.
41751 * config.make.in (sysheaders): New substituted variable.
41753 * sysdeps/unix/mkfifo.c: Moved ...
41754 * sysdeps/posix/mkfifo.c: ... here.
41755 * sysdeps/unix/mkfifoat.c: Moved ...
41756 * sysdeps/posix/mkfifoat.c: ... here.
41758 * sysdeps/unix/utime.c: Moved ...
41759 * sysdeps/posix/utime.c: ... here.
41761 * sysdeps/unix/time.c: Moved ...
41762 * sysdeps/posix/time.c: ... here.
41763 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41764 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41766 * sysdeps/unix/nice.c: Moved ...
41767 * sysdeps/posix/nice.c: ... here.
41769 * sysdeps/unix/alarm.c: Moved ...
41770 * sysdeps/posix/alarm.c: ... here.
41772 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41774 2012-08-17 Jeff Law <law@redhat.com>
41776 * intl/Makefile (codeset_mo): New variable.
41777 ($(codeset_mo)): New target.
41778 (tst-codeset.out): Depend on that. Remove explicit rule.
41779 (tst-gettext3.out, tst-gettext5.out): Likewise.
41780 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41781 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41782 * intl/tst-codeset.sh: Remove.
41783 * intl/tst-gettext3.sh: Likewise.
41784 * intl/tst-gettext5.sh: Likewise.
41786 2012-08-17 Roland McGrath <roland@hack.frob.com>
41788 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41789 * sysdeps/unix/syscalls.list: ... here.
41791 * sysdeps/posix/getaddrinfo.c
41792 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41793 (gaiconf_init, gaiconf_reload): Use them.
41794 [!_STATBUF_ST_NSEC]
41795 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41796 Define using time_t rather than struct timespec.
41798 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41799 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41801 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41803 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41804 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41807 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41808 __libc_cleanup_push argument.
41810 * bits/param.h: New file.
41811 * misc/sys/param.h: New file.
41812 * include/sys/param.h: New file.
41813 * misc/Makefile (headers): Add bits/param.h.
41814 * sysdeps/generic/sys/param.h: File removed.
41815 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41816 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41817 * sysdeps/mach/hurd/bits/param.h: New file.
41818 * sysdeps/mach/hurd/sys/param.h: File removed.
41820 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41823 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41825 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41826 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41829 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41830 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41831 rather than -D_IO_MTSAFE_IO conditionally.
41832 * stdio-common/Makefile (CPPFLAGS): Likewise.
41833 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41834 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41835 Use $(libio-mtsafe).
41836 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41837 of -D_IO_MTSAFE_IO.
41838 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41839 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41840 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41841 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41842 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41843 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41844 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41845 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41846 (CFLAGS-fread_u_chk.c): Likewise.
41847 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41848 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41849 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41850 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41851 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41852 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41853 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41854 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41855 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41857 * libio/Makefile: Test [$(libc-reentrant) = yes]
41858 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41861 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41862 * sysdeps/pthread/configure: File removed.
41863 * sysdeps/pthread/Makeconfig: New file.
41864 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41865 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41867 2012-08-16 Gary Benson <gbenson@redhat.com>
41869 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41870 unmapping the first object in a namespace.
41872 2012-08-16 Roland McGrath <roland@hack.frob.com>
41874 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41875 (__internal_setnetgrent): ... this. Add internal_function to
41876 definition. Add libc_hidden_def.
41877 (setnetgrent): Update caller.
41878 (internal_endnetgrent): Renamed to ...
41879 (__internal_endnetgrent): ... this. Add internal_function to
41880 definition. Add libc_hidden_def.
41881 (endnetgrent): Update caller.
41882 (internal_getnetgrent_r): Renamed to ...
41883 (__internal_getnetgrent_r): ... this. Add internal_function to
41884 definition. Add libc_hidden_def.
41885 (__getnetgrent_r): Update caller.
41886 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41888 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41890 * stdlib/longlong.h: Update from GCC.
41892 2012-08-16 Roland McGrath <roland@hack.frob.com>
41894 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41895 on _QL, which is set by umul_ppmm but never used.
41896 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41897 variables, which are set by GMP macros but never used.
41898 * stdio-common/_itowa.c (_itowa): Likewise.
41899 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41900 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41902 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41904 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41905 struct La_sh_regs is not constant.
41906 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41907 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41908 and struct La_sparc64_regs are not constant.
41910 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41912 * sysdeps/unix/sysv/linux/kernel-features.h
41913 (__ASSUME_POSIX_TIMERS): Remove.
41914 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41915 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41916 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41917 Make code unconditional.
41918 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41919 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41920 Make code unconditional.
41921 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41922 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41923 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41924 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41925 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41926 Make code unconditional.
41927 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41928 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41929 (__libc_missing_posix_timers): Remove.
41931 2012-08-15 Roland McGrath <roland@hack.frob.com>
41933 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41934 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41936 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41938 * elf/dl-sym.c: Include <stdlib.h>.
41940 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41941 constants, which avoids warnings in 32-bit builds.
41943 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41944 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41946 * misc/lseek.c: File moved to ...
41947 * io/lseek.c: ... here.
41949 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41951 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41952 shifting LEN more than 31 bits at once.
41954 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41957 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41958 segmentation fault for a case of two empty input strings.
41959 * string/test-strncasecmp.c (check1): Renamed to...
41960 (bz12205): ...this.
41961 (bz14195): Add new testcase for two empty input strings and N > 0.
41962 (test_main): Call new testcase, adapt for renamed function.
41964 2012-08-15 Andreas Jaeger <aj@suse.de>
41967 * crypt/md5test2.c: New test, based on test supplied by Serge
41968 Belyshev <belyshev@depni.sinp.msu.ru>.
41969 * crypt/Makefile (xtests): Add md5test-giant..
41970 * crypt/Makefile ($(objpfx)md5test-giant): Add.
41972 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
41975 * crypt/md5.c (md5_process_block): Don't assume the buffer
41976 length is less than 2**32.
41977 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41978 length is less than 2**64.
41980 2012-08-15 Roland McGrath <roland@hack.frob.com>
41982 * string/str-two-way.h: Include <sys/param.h>.
41983 (MAX): Macro removed.
41985 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41986 Move #define and #undef of memmove to just before and after
41987 including <string.h>.
41989 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41990 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41991 and after including <string.h>. Move declarations of
41992 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41993 to before #include "string/memmove.c".
41995 * include/dirent.h: Declare __getdirentries.
41997 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41998 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42000 2012-08-14 Mike Frysinger <vapier@gentoo.org>
42002 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42003 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42004 * sysdeps/i386/configure: Regenerated.
42005 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42006 STABS_CURRENT_FILE, and STABS_FUN.
42007 (END): Remove call to STABS_FUN_END.
42008 (STABS_CURRENT_FILE1): Delete.
42009 (STABS_CURRENT_FILE): Likewise.
42010 (STABS_FUN): Likewise.
42011 (STABS_FUN_END): Likewise.
42012 (STABS_FUN2): Likewise.
42013 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42014 * sysdeps/x86_64/configure: Regenerated.
42016 2012-08-14 Roland McGrath <roland@hack.frob.com>
42018 * elf/dl-open.c: Include <atomic.h>.
42019 * elf/dl-lookup.c: Likewise.
42021 2012-08-14 Joseph Myers <joseph@codesourcery.com>
42023 * sysdeps/unix/sysv/linux/kernel-features.h
42024 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42025 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42027 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42029 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42030 condition on __ASSUME_CLONE_THREAD_FLAGS.
42032 2012-08-14 Andreas Jaeger <aj@suse.de>
42034 * sysdeps/i386/fpu/libm-test-ulps: Update.
42036 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42038 * include/atomic.h (atomic_exchange_and_add): Split into ...
42039 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42042 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42046 2012-08-13 Jeff Law <law@redhat.com>
42048 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42049 null byte in the output string.
42051 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42053 * sysdeps/unix/sysv/linux/kernel-features.h
42054 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42055 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42056 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42057 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42058 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42059 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42060 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42062 2012-08-09 Jeff Law <law@redhat.com>
42065 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42066 When avoid_arena is set, don't retry in the that arena. Pick the
42067 next one, whatever it might be.
42068 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42069 (arena_lock): Pass in new parameter to arena_get2.
42070 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42072 (__libc_malloc): Unify retrying after main arena failure with
42073 __libc_memalign version.
42074 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42076 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42079 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42080 to __redirect_strstr.
42081 (__strstr_sse42): Use typeof __redirect_strstr.
42082 (__strstr_ia32): Likewise.
42083 (__libc_strstr): New prototype.
42084 (strstr): Renamed to ...
42085 (__libc_strstr): This.
42086 (strstr): New strong alias of __libc_strstr.
42087 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42088 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42091 (__libc_time): New prototype.
42092 (time_ifunc): Replace time with __libc_time.
42093 (time): New strong alias and hidden definition of __libc_time.
42094 (__GI_time): Remove strong alias.
42095 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42096 Include <stddef.h>.
42097 (memmove): Redefined to __redirect_memmove.
42098 (__memmove_sse2): Use typeof __redirect_memmove.
42099 (__memmove_ssse3): Likewise.
42100 (__memmove_ssse3_back): Likewise.
42101 (__libc_memmove): New prototype.
42102 (memmove): Renamed to ...
42103 (__libc_memmove): This.
42104 (memmove): New strong alias of __libc_memmove.
42106 2012-08-08 Mark Salter <msalter@redhat.com>
42109 (R_MN10300_TLS_GD): Define.
42110 (R_MN10300_TLS_LD): Likewise.
42111 (R_MN10300_TLS_LDO): Likewise.
42112 (R_MN10300_TLS_GOTIE): Likewise.
42113 (R_MN10300_TLS_IE): Likewise.
42114 (R_MN10300_TLS_LE): Likewise.
42115 (R_MN10300_TLS_DTPMOD): Likewise.
42116 (R_MN10300_TLS_DTPOFF): Likewise.
42117 (R_MN10300_TLS_TPOFF): Likewise.
42118 (R_MN10300_SYM_DIFF): Likewise.
42119 (R_MN10300_ALIGN): Likewise.
42120 (R_MN10300_NUM): Update.
42122 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42124 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42127 2012-08-08 Roland McGrath <roland@hack.frob.com>
42129 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42131 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42132 sysdeps/unix -> sysdeps/posix move.
42133 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42135 2012-08-07 Allan McRae <allan@archlinux.org>
42138 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42139 (SUNOS_CPP): Likewise.
42140 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42142 (open_input): Call CPP using execvp.
42144 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42146 * sysdeps/unix/sysv/linux/kernel-features.h
42147 (__ASSUME_PROT_GROWSUPDOWN): Remove.
42148 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42149 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42150 (__ASSUME_WAITID_SYSCALL): Likewise.
42151 * sysdeps/unix/sysv/linux/dl-execstack.c
42152 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42153 code unconditional.
42154 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42156 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42157 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42158 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42160 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42162 [__ASSUME_WAITID_SYSCALL]: Likewise.
42163 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42165 2012-08-07 Roland McGrath <roland@hack.frob.com>
42167 * sysdeps/unix/closedir.c: Renamed to ...
42168 * sysdeps/posix/closedir.c: ... here.
42169 * sysdeps/unix/dirfd.c: Renamed to ...
42170 * sysdeps/posix/dirfd.c: ... here.
42171 * sysdeps/unix/dirstream.h: Renamed to ...
42172 * sysdeps/posix/dirstream.h: ... here.
42173 * sysdeps/unix/fdopendir.c: Renamed to ...
42174 * sysdeps/posix/fdopendir.c: ... here.
42175 * sysdeps/unix/opendir.c: Renamed to ...
42176 * sysdeps/posix/opendir.c: ... here.
42177 * sysdeps/unix/readdir.c: Renamed to ...
42178 * sysdeps/posix/readdir.c: ... here.
42179 * sysdeps/unix/readdir_r.c: Renamed to ...
42180 * sysdeps/posix/readdir_r.c: ... here.
42181 * sysdeps/unix/rewinddir.c: Renamed to ...
42182 * sysdeps/posix/rewinddir.c: ... here.
42183 * sysdeps/unix/seekdir.c: Renamed to ...
42184 * sysdeps/posix/seekdir.c: ... here.
42185 * sysdeps/unix/telldir.c: Renamed to ...
42186 * sysdeps/posix/telldir.c: ... here.
42187 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42188 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42189 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42190 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42192 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42193 * bits/fcntl.h: ... here.
42195 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42197 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42198 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42199 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42200 (struct flock): Move l_start, l_len to the beginning.
42201 Use __pid_t for l_pid.
42202 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42203 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42204 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42205 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42206 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42207 [__USE_LARGEFILE64] (struct flock64): New type.
42208 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42210 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42211 * bits/dirent.h: ... here.
42213 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42214 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42216 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42219 Change from 2.6.0 to 2.6.16.
42220 * sysdeps/unix/sysv/linux/configure: Regenerated.
42221 * sysdeps/unix/sysv/linux/kernel-features.h
42222 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42223 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42225 (__ASSUME_UTIMES): Likewise.
42226 (__ASSUME_CLONE_STOPPED): Remove.
42227 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42228 architectures, not kernel version.
42229 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42230 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42231 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42232 (__ASSUME_WAITID_SYSCALL): Likewise.
42233 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42234 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42235 * README: State 2.6.16 as minimum Linux kernel version. Do not
42236 refer to older versions.
42238 2012-08-06 Roland McGrath <roland@hack.frob.com>
42240 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42241 Define alphasort64 as an alias.
42242 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42243 Define versionsort64 as an alias.
42244 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42245 Define scandir64 as an alias.
42246 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42247 Define scandirat64 as an alias.
42248 * dirent/alphasort64.c (alphasort64):
42249 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42250 * dirent/versionsort64.c: Likewise.
42251 * dirent/scandir64.c: Likewise.
42252 * dirent/scandirat64.c: Likewise.
42253 * sysdeps/wordsize-64/alphasort.c: File removed.
42254 * sysdeps/wordsize-64/alphasort64.c: File removed.
42255 * sysdeps/wordsize-64/scandir.c: File removed.
42256 * sysdeps/wordsize-64/scandir64.c: File removed.
42257 * sysdeps/wordsize-64/scandirat.c: File removed.
42258 * sysdeps/wordsize-64/scandirat64.c: File removed.
42259 * sysdeps/wordsize-64/versionsort.c: File removed.
42260 * sysdeps/wordsize-64/versionsort64.c: File removed.
42261 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42262 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42263 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42264 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42265 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42266 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42267 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42268 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42270 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42272 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42274 [defined __arch64__ || defined __sparcv9]
42275 (__INO_T_MATCHES_INO64_T): New macro.
42276 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42277 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42278 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42279 * sysdeps/unix/sysv/linux/bits/dirent.h
42280 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42281 (_DIRENT_MATCHES_DIRENT64): New macro.
42283 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42284 Define lockf64 as an alias.
42285 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42286 Define fseeko64 as an alias.
42287 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42288 Define ftello64 as an alias.
42289 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42290 Define _IO_fgetpos64 and fgetpos64 as aliases.
42291 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42292 Define _IO_fsetpos64 and fsetpos64 as aliases.
42293 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42294 Conditionalize body on this.
42295 * libio/fseeko64.c: Likewise.
42296 * libio/ftello64.c: Likewise.
42297 * libio/iofgetpos64.c: Likewise.
42298 * libio/iofsetpos64.c: Likewise.
42299 * sysdeps/wordsize-64/lockf.c: File removed.
42300 * sysdeps/wordsize-64/lockf64.c: File removed.
42301 * sysdeps/wordsize-64/fseeko.c: File removed.
42302 * sysdeps/wordsize-64/fseeko64.c: File removed.
42303 * sysdeps/wordsize-64/ftello.c: File removed.
42304 * sysdeps/wordsize-64/ftello64.c: File removed.
42305 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42306 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42307 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42308 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42309 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42310 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42311 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42312 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42313 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42314 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42315 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42316 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42317 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42318 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42320 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42322 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42324 [defined __arch64__ || defined __sparcv9]
42325 (__OFF_T_MATCHES_OFF64_T): New macro.
42326 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42327 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42328 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42329 (__OFF_T_MATCHES_OFF64_T): New macro.
42331 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42333 * stdlib/secure-getenv.c (__secure_getenv): Replace
42334 GLIBC_2_16 with GLIBC_2_17.
42336 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42338 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42339 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42341 2012-08-03 David S. Miller <davem@davemloft.net>
42343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42345 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42347 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42349 (__ASSUME_CORRECT_SI_PID): Likewise.
42350 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42351 (__ASSUME_TMPFS_NAME): Likewise.
42352 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42353 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42354 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42355 (HAVE_AUX_SECURE): Make definition unconditional.
42356 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42357 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42359 2012-08-03 Roland McGrath <roland@hack.frob.com>
42361 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42362 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42363 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42364 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42365 __eloop_threshold instead of SYMLOOP_MAX.
42367 * sysdeps/generic/eloop-threshold.h: New file.
42368 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42370 * elf/chroot_canon.c (chroot_canon): Likewise.
42372 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42375 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42376 Change to 2.6.0 everywhere.
42377 * sysdeps/unix/sysv/linux/configure: Regenerated.
42378 * sysdeps/unix/sysv/linux/kernel-features.h
42379 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42380 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42382 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42383 (__ASSUME_FUTEX_REQUEUE): Remove.
42384 (__ASSUME_STATFS64): Define unconditionally.
42385 (__ASSUME_AT_SECURE): Likewise.
42386 (__ASSUME_CORRECT_SI_PID): Likewise.
42387 (__ASSUME_TGKILL): Define without depending on kernel version for
42389 (__ASSUME_UTIMES): Likewise.
42390 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42392 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42393 (__ASSUME_TMPFS_NAME): Likewise.
42394 * README: Update reference to Linux kernel versions.
42396 2012-08-02 Marek Polacek <polacek@redhat.com>
42399 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42400 libc_cv_asm_type_prefix with %.
42401 * configure: Regenerated.
42402 * include/libc-symbols.h: Remove comment about
42403 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42404 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42405 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42406 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42407 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42408 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42409 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42410 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42411 * elf/tst-unique2mod1.c: Likewise.
42412 * elf/tst-unique1mod2.c: Likewise.
42413 * elf/tst-unique1mod1.c: Likewise.
42414 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42415 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42416 Replace ASM_TYPE_DIRECTIVE with .type.
42417 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42418 * sysdeps/i386/sysdep.h: Likewise.
42419 * sysdeps/x86_64/sysdep.h: Likewise.
42420 * sysdeps/sh/sysdep.h: Likewise.
42421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42422 Do not define ASM_TYPE_DIRECTIVE.
42423 * sysdeps/powerpc/sysdep.h: Likewise.
42424 * sysdeps/powerpc/powerpc32/sysdep.h:
42425 Replace ASM_TYPE_DIRECTIVE with .type.
42426 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42427 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42428 * sysdeps/i386/fpu/e_powf.S: Likewise.
42429 * sysdeps/i386/fpu/e_expl.S: Likewise.
42430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42431 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42432 * sysdeps/i386/fpu/e_pow.S: Likewise.
42433 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42434 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42435 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42436 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42437 * sysdeps/i386/fpu/e_log2.S: Likewise.
42438 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42439 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42440 * sysdeps/i386/fpu/e_powl.S: Likewise.
42441 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42442 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42443 * sysdeps/i386/fpu/e_logl.S: Likewise.
42444 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42445 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42446 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42447 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42448 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42449 * sysdeps/i386/fpu/e_log.S: Likewise.
42450 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42451 * sysdeps/i386/fpu/e_logf.S: Likewise.
42452 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42453 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42454 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42455 * sysdeps/i386/fpu/e_log10.S: Likewise.
42456 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42457 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42458 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42459 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42460 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42461 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42462 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42463 * sysdeps/i386/i686/strtok.S: Likewise.
42464 * sysdeps/i386/i386-mcount.S: Likewise.
42465 * sysdeps/i386/strtok.S: Likewise.
42466 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42467 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42468 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42469 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42470 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42471 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42472 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42473 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42474 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42475 * sysdeps/x86_64/_mcount.S: Likewise.
42476 * sysdeps/x86_64/strtok.S: Likewise.
42477 * sysdeps/sh/_mcount.S: Likewise.
42479 2012-08-01 Roland McGrath <roland@hack.frob.com>
42481 * libio/iofopen.c: Include <fcntl.h>.
42482 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42483 (_IO_fopen64, fopen64): Define as aliases.
42484 * libio/iofopen64.c: Include <fcntl.h>.
42485 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42486 Conditionalize body on this.
42487 * sysdeps/wordsize-64/iofopen.c: File removed.
42488 * sysdeps/wordsize-64/iofopen64.c: File removed.
42490 2012-08-01 Marek Polacek <polacek@redhat.com>
42492 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42493 Use dlfcn directly instead of a variable.
42494 (binfmt-subdir): Do not define.
42497 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42499 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42500 Remove all definitions.
42501 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42502 <kernel-features.h>.
42503 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42504 (miss_F_GETOWN_EX): Remove all definitions.
42505 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42507 [!__ASSUME_FCNTL64]: Remove conditional code.
42508 [__ASSUME_FCNTL64]: Make code unconditional.
42509 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42510 <kernel-features.h>.
42511 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42512 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42513 (lockf64) [__NR_fcntl64]: Make code unconditional.
42514 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42516 * sysdeps/unix/sysv/linux/kernel-features.h
42517 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42518 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42519 Make code unconditional.
42520 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42521 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42523 [__NR_vfork]: Make code unconditional.
42524 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42525 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42527 [__NR_vfork]: Make code unconditional.
42528 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42529 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42531 2012-08-01 Roland McGrath <roland@hack.frob.com>
42533 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42534 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42536 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42537 Define mkstemp64 as an alias.
42538 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42539 Define mkstemps64 as an alias.
42540 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42541 Define mkostemp64 as an alias.
42542 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42543 Define mkostemps64 as an alias.
42544 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42545 Conditionalize body on this.
42546 * misc/mkostemp64.c: Likewise.
42547 * misc/mkostemps64.c: Likewise.
42548 * misc/mkstemps64.c: Likewise.
42549 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42550 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42551 * sysdeps/wordsize-64/mkostemp.c: File removed.
42552 * sysdeps/wordsize-64/mkstemp.c: File removed.
42553 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42554 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42555 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42556 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42559 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42560 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42561 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42562 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42564 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42565 compat_symbol macros from <shlib-compat.h> rather than the underlying
42566 default_symbol_version and symbol_version macros, so that DEFAULT
42567 lines in shlib-versions are respected.
42568 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42570 2012-08-01 Florian Weimer <fweimer@redhat.com>
42572 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42573 Declare with warn_unused_result.
42574 (setgid, setregid, setegid, setresgid): Likewise.
42575 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42577 * WUR-REPORT: Remove set*id functions.
42579 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42581 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42583 2012-07-31 Roland McGrath <roland@hack.frob.com>
42586 * include/sys/socket.h (__libc_accept, __libc_accept4):
42587 Add attribute_hidden.
42588 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42590 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42592 * inet/getnetgrent_r.c (setup): Likewise.
42594 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42596 2012-07-31 David S. Miller <davem@davemloft.net>
42598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42600 2012-07-31 Joseph Myers <joseph@codesourcery.com>
42603 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42604 value between 1.0 and 2.0 and smaller part has absolute value less
42606 * math/s_clog10.c (__clog10): Likewise.
42607 * math/s_clog10f.c (__clog10f): Likewise.
42608 * math/s_clog10l.c (__clog10l): Likewise.
42609 * math/s_clogf.c (__clogf): Likewise.
42610 * math/s_clogl.c (__clogl): Likewise.
42611 * math/libm-test.inc (clog_test): Add more tests.
42612 (clog10_test): Likewise.
42613 * sysdeps/i386/fpu/libm-test-ulps: Update.
42614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42616 2012-07-31 Florian Weimer <fweimer@redhat.com>
42618 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42619 Exit with zero in case no suitable GID is found, and write a
42620 message to standard error.
42622 2012-07-30 Roland McGrath <roland@hack.frob.com>
42624 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42626 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42627 (MAXPATHLEN): Removed.
42628 (NOGROUP, NODEV): New macros.
42629 (setbit, clrbit, isset, isclr): New macros.
42630 (howmany, roundup, powerof2): New macros.
42631 (DEV_BSIZE): New macro.
42633 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42634 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42636 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42637 definition on [!__NO_LONG_DOUBLE_MATH].
42639 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42640 PTR_MANGLE and PTR_DEMANGLE.
42642 * socket/accept4.c (accept4): Rename to __libc_accept4.
42643 Define accept4 as a weak alias.
42645 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42646 on [_DIRENT_HAVE_D_TYPE].
42647 * io/ftw.c (ftw_dir): Likewise.
42649 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42651 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42653 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42654 Use the BSD numbers rather than the arbitrary ones we had.
42655 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42656 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42657 (SIGXCPU, SIGXFSZ): New macros.
42660 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42661 initializer on [_LIBC_REENTRANT].
42663 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42664 definitions inside [_POSIX_MAPPED_FILES].
42666 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42668 * dirent/opendir.c: Include <fcntl.h>.
42670 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42671 (__libc_getspecific): Likewise.
42672 (__libc_key_create): Likewise.
42674 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42675 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42676 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42677 (tmpfile64): Define as alias.
42678 * sysdeps/wordsize-64/tmpfile.c: File removed.
42679 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42680 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42681 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42683 * stdio-common/vfscanf.c: Include <stdbool.h>.
42684 * nss/makedb.c: Likewise.
42685 * stdio-common/_i18n_number.h: Likewise.
42686 * argp/argp-help.c: Likewise.
42687 * posix/wordexp.c: Likewise.
42688 * sysdeps/posix/spawni.c: Likewise.
42689 * nss/nss_files/files-initgroups.c: Likewise.
42690 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42691 * nss/nss_files/files-initgroups.c: Likewise.
42692 * nss/nss_db/db-netgrp.c: Likewise.
42693 * nss/nss_db/db-initgroups.c: Likewise.
42694 * io/fchmodat.c: Include <sys/stat.h>.
42696 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42697 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42699 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42702 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42703 Add multiple inclusion protection.
42705 2012-07-27 David S. Miller <davem@davemloft.net>
42707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42709 2012-07-27 Gary Benson <gbenson@redhat.com>
42712 * elf/rtld.c: Include <stap-probe.h>.
42713 (dl_main): Added static probes "init_start" and "init_complete".
42714 * elf/dl-load.c: Include <stap-probe.h>.
42715 (lose): Take new parameter "nsid".
42716 Added static probe "map_failed".
42717 (_dl_map_object_from_fd): Pass namespace id to lose.
42718 Added static probe "map_start".
42719 (open_verify): Pass namespace id to lose.
42720 * elf/dl-open.c: Include <stap-probe.h>.
42721 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42722 and "reloc_complete".
42723 * elf/dl-close.c: Include <stap-probe.h>.
42724 (_dl_close_worker): Added static probes "unmap_start" and
42726 * elf/rtld-debugger-interface.txt: New file documenting the above.
42728 2012-07-26 Roland McGrath <roland@hack.frob.com>
42730 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42731 rather than a string variable.
42732 * sunrpc/rpc_main.c (h_output): Likewise.
42733 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42735 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42737 * inet/check_native.c: New file.
42739 2012-07-26 Joseph Myers <joseph@codesourcery.com>
42742 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42743 if larger part has absolute value 1.0.
42744 * math/s_clog10.c (__clog10): Likewise.
42745 * math/s_clog10f.c (__clog10f): Likewise.
42746 * math/s_clog10l.c (__clog10l): Likewise.
42747 * math/s_clogf.c (__clogf): Likewise.
42748 * math/s_clogl.c (__clogl): Likewise.
42749 * math/libm-test.inc (clog_test): Add more tests.
42750 (clog10_test): Likewise.
42751 * sysdeps/i386/fpu/libm-test-ulps: Update.
42752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42754 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42755 (pltexit): Likewise.
42756 (La_regs): Likewise.
42757 (La_retval): Likewise.
42758 (int_retval): Likewise.
42759 Update #error for removed macros to refer only to definitions in
42761 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42763 (pltexit): Likewise.
42764 (La_regs): Likewise.
42765 (La_retval): Likewise.
42766 (int_retval): Likewise.
42767 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42769 (pltexit): Likewise.
42770 (La_regs): Likewise.
42771 (La_retval): Likewise.
42772 (int_retval): Likewise.
42773 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42775 (pltexit): Likewise.
42776 (La_regs): Likewise.
42777 (La_retval): Likewise.
42778 (int_retval): Likewise.
42779 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42781 (pltexit): Likewise.
42782 (La_regs): Likewise.
42783 (La_retval): Likewise.
42784 (int_retval): Likewise.
42785 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42787 (pltexit): Likewise.
42788 (La_regs): Likewise.
42789 (La_retval): Likewise.
42790 (int_retval): Likewise.
42791 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42793 (pltexit): Likewise.
42794 (La_regs): Likewise.
42795 (La_retval): Likewise.
42796 (int_retval): Likewise.
42797 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42798 macro definitions in tst-audit.h.
42799 * sysdeps/i386/tst-audit.h: New file.
42800 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42801 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42802 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42803 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42804 * sysdeps/sh/tst-audit.h: Likewise.
42805 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42806 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42807 * sysdeps/x86_64/tst-audit.h: Likewise.
42809 2012-07-26 Andreas Jaeger <aj@suse.de>
42811 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42814 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42815 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42816 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42818 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42819 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42820 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42822 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42825 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42827 (si_call_addr, si_syscall, si_arch): Define new macro.
42828 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42830 (si_call_addr, si_syscall, si_arch): Define new marcro.
42831 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42833 (si_call_addr, si_syscall, si_arch): Define new macro.
42834 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42836 (si_call_addr, si_syscall, si_arch): Define new macro.
42838 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42841 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42842 Change to 2.4.21 where previously 2.4.1.
42843 * sysdeps/unix/sysv/linux/configure: Regenerated.
42844 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42845 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42846 Linux kernel version.
42847 (__ASSUME_STD_AUXV): Remove.
42848 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42850 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42851 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42852 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42853 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42854 (__ASSUME_NETLINK_SUPPORT): Likewise.
42855 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42856 (__no_netlink_support): Remove conditional definition.
42857 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42859 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42860 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42861 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42862 (if_nameindex_ioctl): Remove.
42863 (if_nameindex_netlink): Do not handle __no_netlink_support.
42864 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42866 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42867 Remove conditional code.
42868 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42870 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42872 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42873 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42874 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42876 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42877 [!__ASSUME_STD_AUXV]: Remove conditional code.
42878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42879 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42880 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42882 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42883 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42885 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42887 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42888 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42890 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42892 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42895 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42898 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42899 code unconditional.
42900 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42902 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42904 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42907 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42909 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42912 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42913 code unconditional.
42914 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42916 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42918 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42921 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42922 code unconditional.
42923 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42925 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42927 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42930 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42932 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42933 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42934 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42935 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42936 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42937 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42938 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42939 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42940 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42941 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42942 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42943 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42944 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42945 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42946 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42947 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42948 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42949 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42950 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42951 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42952 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42953 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42954 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42956 2012-07-25 Florian Weimer <fweimer@redhat.com>
42958 * Versions.def: Add GLIBC_2.17.
42959 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42960 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42961 Introduce __libc_secure_getenv.
42962 * stdlib/Versions (2.17): Add secure_getenv
42963 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42964 * stdlib/secure-getenv.c: Rename __secure_getenv to
42965 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42966 symbol __secure_getenv for GLIBC_2.0.
42967 * stdlib/tst-secure-getenv.c: New.
42968 * stdlib/Makefile (tests): Add testcase.
42969 * manual/startup.texi (Environment Access): Document
42971 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42972 __libc_secure_getenv.
42973 * inet/ruserpass.c (ruserpass): Likewise.
42974 * malloc/mtrace.c (mtrace): Likewise.
42975 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42976 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42977 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42978 * sysdeps/posix/tempname.c: Likewise. Evaluate
42979 HAVE_SECURE_GETENV.
42980 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42981 __secure_getenv to __libc_secure_getenv.
42982 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42989 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42995 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42997 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42998 (struct La_i86_retval): Likewise.
42999 (struct La_x86_64_regs): Likewise.
43000 (struct La_x86_64_retval): Likewise.
43001 (struct La_x32_regs): Likewise.
43002 (struct La_x32_retval): Likewise.
43003 (struct La_ppc32_regs): Likewise.
43004 (struct La_ppc32_retval): Likewise.
43005 (struct La_ppc64_regs): Likewise.
43006 (struct La_ppc64_retval): Likewise.
43007 (struct La_sh_regs): Likewise.
43008 (struct La_sh_retval): Likewise.
43009 (struct La_s390_32_regs): Likewise.
43010 (struct La_s390_32_retval): Likewise.
43011 (struct La_s390_64_regs): Likewise.
43012 (struct La_s390_64_retval): Likewise.
43013 (struct La_sparc32_regs): Likewise.
43014 (struct La_sparc32_retval): Likewise.
43015 (struct La_sparc64_regs): Likewise.
43016 (struct La_sparc64_retval): Likewise.
43017 (struct audit_ifaces): Remove architecture-specific pltenter and
43019 * sysdeps/i386/ldsodefs.h: New file.
43020 * sysdeps/powerpc/ldsodefs.h: Likewise.
43021 * sysdeps/s390/ldsodefs.h: Likewise.
43022 * sysdeps/sh/ldsodefs.h: Likewise.
43023 * sysdeps/sparc/ldsodefs.h: Likewise.
43024 * sysdeps/x86_64/ldsodefs.h: Likewise.
43026 2012-07-25 Marek Polacek <polacek@redhat.com>
43029 * math/libm-test.inc (yn_test): Add another test.
43030 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43031 to ERANGE when the result is +-Inf.
43032 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43033 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43034 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43035 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43037 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43039 * conform/data/time.h-data (NULL): Use macro-constant. Require
43041 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43043 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43045 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43047 * configure.in <sysdeps resolving>: Correct printing
43049 * configure: Regenerate.
43051 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43053 * math/w_ilogb.c: Include <limits.h>.
43054 * math/w_ilogbl.c: Likewise.
43056 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43058 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43059 va_copy. Document allowing for unavailable va_copy only as
43060 pre-C99 compatibility.
43061 * manual/string.texi (Copying and Concatenation): Use va_copy
43062 instead of __va_copy in concat example.
43064 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43066 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43067 (__sendto): Use create_address_port. Initialize APORT and deallocate
43070 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43071 with O_NOLINK passed to __file_name_lookup.
43073 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43074 with O_NOLINK passed to __file_name_lookup.
43076 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43077 negative N or less than NGIDS.
43079 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43080 type to string_t. Set ERANGE as errno and return it if NAME is not big
43081 enough. Use memcpy instead of strncpy.
43083 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43085 * elf/Makefile (check-data): Remove.
43086 (localplt.data): New vpath directive.
43087 ($(objpfx)check-localplt.out): Use localplt.data from vpath
43088 instead of $(check-data).
43089 * scripts/data/localplt-generic.data: Move to ...
43090 * sysdeps/generic/localplt.data: ... here.
43091 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43092 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43093 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43096 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43099 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43102 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43105 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43108 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43112 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43114 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43115 PPC32 and PPC64 files.
43116 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43117 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43119 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43121 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43122 __makecontext_ret to ...
43123 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43124 ... here and call exit if uc_link is NULL. New file.
43125 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43126 __makecontext_ret.S.
43127 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43128 __makecontext_ret to ...
43129 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43130 ... here and call exit if uc_link is NULL. New file.
43131 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43132 __makecontext_ret.S.
43134 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43136 * elf/elf.h (R_390_IRELATIVE): New definition.
43137 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43138 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43139 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43140 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43141 (elf_machine_lazy_rel): Likewise.
43142 * sysdeps/s390/dl-irel.h: New file.
43143 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43144 * sysdeps/s390/s390-64/memset.S: New asm code.
43145 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43146 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43147 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43148 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43149 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43150 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43152 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43153 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43154 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43155 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43156 * sysdeps/s390/s390-32/memcpy.S: New asm code.
43157 * sysdeps/s390/s390-32/memset.S: New asm code.
43158 * sysdeps/s390/s390-32/memcmp.S: New asm code.
43160 2012-07-17 Marek Polacek <polacek@redhat.com>
43163 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43164 * sysdeps/s390/s390-64/configure.in: Likewise.
43165 * sysdeps/sparc/configure.in: Likewise.
43166 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43167 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43168 * sysdeps/i386/configure.in: Likewise.
43169 * sysdeps/x86_64/configure.in: Likewise.
43170 * sysdeps/sh/configure.in: Likewise.
43171 * sysdeps/s390/s390-32/configure: Regenerated.
43172 * sysdeps/s390/s390-64/configure: Likewise.
43173 * sysdeps/x86_64/configure: Likewise.
43174 * sysdeps/sh/configure: Likewise.
43175 * sysdeps/powerpc/powerpc64/configure: Likewise.
43176 * sysdeps/powerpc/powerpc32/configure: Likewise.
43177 * sysdeps/sparc/configure: Likwise.
43178 * sysdeps/i386/configure: Likewise.
43180 * elf/dl-open.c: Comment fixes.
43182 2012-07-17 Joseph Myers <joseph@codesourcery.com>
43184 * Makefile [CXX] (check-data): Remove.
43185 [CXX] (c++-types.data): New vpath directive.
43186 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43187 vpath. Do not allow for C++ type data being missing.
43188 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43189 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43190 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43191 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43192 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43193 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43194 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43197 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43200 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43203 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43206 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43209 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43212 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43215 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43218 * elf/tls-macros.h (TLS_LE): Move architecture-specific
43219 definitions to architecture-specific files.
43220 (TLS_IE): Likewise.
43221 (TLS_LD): Likewise.
43222 (TLS_GD): Likewise.
43223 * sysdeps/i386/tls-macros.h: New file.
43224 * sysdeps/powerpc/tls-macros.h: Likewise.
43225 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43226 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43227 * sysdeps/sh/tls-macros.h: Likewise.
43228 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43229 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43230 * sysdeps/x86_64/tls-macros.h: Likewise.
43232 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43234 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43235 zero value for regular exit case.
43237 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43238 (__start_context): Preserve zero value for regular exit case.
43240 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43241 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43243 * manual/setjmp.texi (setcontext): Clarify normal process
43244 termination when uc_link is the null pointer.
43245 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43248 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
43250 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43251 preprocessor. Test for each exception mask separately.
43253 2012-07-16 Andreas Jaeger <aj@suse.de>
43255 * po/ru.po: Update from translation team.
43257 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43259 * conform/data/string.h-data (NULL): Use macro-constant. Require
43261 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43262 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43263 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43264 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43265 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43267 2012-07-13 Andreas Jaeger <aj@suse.de>
43269 * po/fr.po: Update from translation team.
43271 2012-07-12 Marek Polacek <polacek@redhat.com>
43274 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43275 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43278 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43281 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43282 Change to 2.4.1 where previously 2.4.0.
43283 * sysdeps/unix/sysv/linux/configure: Regenerated.
43284 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43285 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43287 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43288 (__ASSUME_AT_CLKTCK): Remove.
43289 (__ASSUME_AT_PAGESIZE): Likewise.
43290 (__ASSUME_AT_XID): Likewise.
43291 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43292 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43293 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43295 (HAVE_AUX_PAGESIZE): Likewise.
43296 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43297 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43298 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43300 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43304 the temporary buffer used to invoke __gethostbyname2_r,
43305 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43306 host_data / struct gaih_addrtuple.
43307 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43308 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43309 header file nss/nsswitch.h.
43310 * nss/nsswitch.h (global scope): Add definition of implementation
43311 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43312 resolv/nss_dns/dns-host.c).
43314 2012-07-11 Andreas Jaeger <aj@suse.de>
43316 * po/fr.po: Update from translation team.
43318 * po/sv.po: Update from translation team
43319 * po/fr.po: Another update from translation team.
43321 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43323 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43324 for subnormals or multiply small sinh result by itself.
43325 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43328 2012-07-11 David S. Miller <davem@davemloft.net>
43330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43332 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43335 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43336 (INTERNAL_MARK): Shift it here.
43338 2012-07-10 Marek Polacek <polacek@redhat.com>
43341 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43342 libc_cv_asm_global_directive with .globl.
43343 * configure: Regenerated.
43344 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43346 * sysdeps/i386/configure: Regenerated.
43347 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43349 * sysdeps/x86_64/configure: Regenerated.
43350 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43351 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43352 * elf/tst-unique2mod2.c: Likewise.
43353 * elf/tst-unique2mod1.c: Likewise.
43354 * elf/tst-unique1mod2.c: Likewise.
43355 * elf/tst-unique1mod1.c: Likewise.
43356 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43357 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43358 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43359 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43360 * sysdeps/mach/sysdep.h: Likewise.
43361 * sysdeps/i386/sysdep.h: Likewise.
43362 * sysdeps/i386/i386-mcount.S: Likewise.
43363 * sysdeps/x86_64/_mcount.S: Likewise.
43364 * sysdeps/x86_64/sysdep.h: Likewise.
43365 * sysdeps/sh/_mcount.S: Likewise.
43366 * sysdeps/sh/sysdep.h: Likewise.
43367 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43368 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43369 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43370 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43371 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43372 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43373 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43374 * locale/localeinfo.h: Likewise.
43375 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43376 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43378 2012-07-09 Roland McGrath <roland@hack.frob.com>
43381 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43383 * manual/message.texi (The Uniforum approach): Likewise.
43384 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43385 (glibc iconv Implementation): Likewise.
43387 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43390 * math/s_clog.c (__clog): Avoid scaling a value down where that
43391 could result in underflow.
43392 * math/s_clog10.c (__clog10): Likewise.
43393 * math/s_clog10f.c (__clog10f): Likewise.
43394 * math/s_clog10l.c (__clog10l): Likewise.
43395 * math/s_clogf.c (__clogf): Likewise.
43396 * math/s_clogl.c (__clogl): Likewise.
43397 * math/libm-test.inc (clog_test): Add more tests.
43398 (clog10_test): Likewise.
43399 * sysdeps/i386/fpu/libm-test-ulps: Update.
43400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43402 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43405 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43406 by 7 not 8 to examine high bit of fractional part.
43409 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43410 for call to __mcount_internal.
43411 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43412 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43413 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43415 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43418 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43419 approximation for values within 0x1p-13f of an odd multiple of
43421 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43422 exception. Add more tests.
43423 * sysdeps/i386/fpu/libm-test-ulps: Update.
43426 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43427 inputs and return -1 for them. Do not check for +Inf in case not
43428 reachable for +Inf.
43429 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43430 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43431 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43432 and return -1 for them. Do not check for +Inf in case not
43433 reachable for +Inf.
43434 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43436 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43437 and return -1 for them. Do not check for +Inf in case not
43438 reachable for +Inf.
43439 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43440 spurious underflow.
43441 * sysdeps/i386/fpu/libm-test-ulps: Update.
43442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43444 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43446 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43448 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43452 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43453 could result in spurious underflow. Scale down values above
43454 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43455 * math/s_csqrtf.c (__csqrtf): Likewise.
43456 * math/s_csqrtl.c (__csqrtl): Likewise.
43457 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43458 spurious underflow.
43459 * sysdeps/i386/fpu/libm-test-ulps: Update.
43460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43462 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43464 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43466 * catgets/xopen-msg.awk: New file.
43467 * catgets/xopen-msg.sed: Removed.
43469 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43471 * intl/po2test.awk: New file.
43472 * intl/po2test.sed: Removed.
43474 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43477 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43478 or multiply small sinh result by itself.
43479 * math/s_ctanf.c (__ctanf): Likewise.
43480 * math/s_ctanh.c (__ctanh): Likewise.
43481 * math/s_ctanhf.c (__ctanhf): Likewise.
43482 * math/s_ctanhl.c (__ctanhl): Likewise.
43483 * math/s_ctanl.c (__ctanl): Likewise.
43484 * math/libm-test.inc (ctan_test_tonearest): New function.
43485 (ctan_test_towardzero): Likewise.
43486 (ctan_test_downward): Likewise.
43487 (ctan_test_upward): Likewise.
43488 (ctanh_test_tonearest): Likewise.
43489 (ctanh_test_towardzero): Likewise.
43490 (ctanh_test_downward): Likewise.
43491 (ctanh_test_upward): Likewise.
43492 (main): Call these new functions.
43493 * sysdeps/i386/fpu/libm-test-ulps: Update.
43494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43496 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43498 * .gitignore: Delete /ports entry.
43500 2012-07-03 Andreas Jaeger <aj@suse.de>
43502 * po/bg.po: Update from translation team.
43503 * po/cs.po: Likewise.
43504 * po/de.po: Likewise.
43505 * po/hr.po: Likewise.
43506 * po/nl.pl: Likewise.
43507 * po/pl.po: Likewise.
43508 * po/vi.po: Likewise.
43510 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43512 * Makeconfig [!+link] (+link-before-libc): New variable.
43513 [!+link] (+link-after-libc): Likewise.
43514 [!+link] (+link-tests): Likewise.
43515 [!+link] (+link): Define in terms of $(+link-before-libc) and
43516 $(+link-after-libc).
43517 [!+link-static] (+link-static-before-libc): New variable.
43518 [!+link-static] (+link-static-after-libc): Likewise.
43519 [!+link-static] (+link-static-tests): Likewise.
43520 [!+link-static] (+link-static): Define in terms of
43521 $(+link-static-before-libc) and $(+link-static-after-libc).
43522 [build-shared] (link-libc-before-gnulib): New variable.
43523 [build-shared] (link-libc-tests): Likewise.
43524 [build-shared] (link-libc): Define in terms of
43525 $(link-libc-before-gnulib).
43526 [!build-shared] (link-libc-tests): New variable.
43527 (link-libc-static-tests): New variable.
43528 [!gnulib] (gnulib-arch): New variable.
43529 [!gnulib] (gnulib-tests): Likewise.
43530 [!gnulib] (static-gnulib-arch): Likewise.
43531 [!gnulib] (static-gnulib-tests): Likewise.
43532 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43533 Define with "=" instead of ":=".
43534 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43535 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43536 * Rules (binaries-all-notests): New variable.
43537 (binaries-all-tests): Likewise.
43538 (binaries-static-notests): Likewise.
43539 (binaries-static-tests): Likewise.
43540 (binaries-all): Define using $(binaries-all-notests) and
43541 $(binaries-all-tests).
43542 (binaries-static): Define using $(binaries-static-notests) and
43543 $(binaries-static-tests).
43544 (binaries-shared-tests): New variable.
43545 (binaries-shared-notests): Likewise.
43546 (binaries-shared): Remove variable.
43547 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43548 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43549 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43550 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43551 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43552 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43553 * elf/Makefile (sln-modules): New variable.
43554 (extra-objs): Add $(sln-modules:=.o).
43555 (ldconfig-modules): Add static-stubs.
43556 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43557 * elf/static-stubs.c: New file.
43560 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43561 by 7 not 8 to examine high bit of fractional part. Use volatile
43562 variables when splitting into final array of floats if
43563 __FLT_EVAL_METHOD__ != 0.
43564 * math/libm-test.inc (cos_test): Add another test.
43565 (sin_test): Likewise.
43566 * sysdeps/i386/fpu/libm-test-ulps: Update.
43569 * math/libm-test.inc (cosh_test): Add more tests.
43571 * version.h (RELEASE): Set to "development".
43572 (VERSION): Set to "2.16.90".
43574 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43576 * NEWS: Update copyright. Remove last-updated date.
43577 Mention math library bug fixes and timezone data changes.
43578 * README: Mention GNU/Hurd, x32, and HPPA support status.
43580 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43582 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43584 2012-06-27 Andreas Jaeger <aj@suse.de>
43586 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43588 2012-06-25 Andreas Jaeger <aj@suse.de>
43590 * sysdeps/s390/fpu/libm-test-ulps: Update.
43592 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43593 Thomas Schwinge <thomas@codesourcery.com>
43595 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43596 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43597 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43600 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43602 * sysdeps/mach/start.c: Remove file.
43603 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43604 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43605 * sysdeps/sh/init-first.c: Likewise.
43607 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43608 registers for frame unwinding purposes, add CFI directives.
43609 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43610 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43611 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43614 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43615 __fortify_fail returning.
43616 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43618 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43619 sysdeps/sh/____longjmp_chk.S.
43620 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43621 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43622 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43623 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43625 * sysdeps/sh/abort-instr.h: New file.
43626 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43627 process in case exit returns.
43629 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43630 initialize the GOT register before use.
43632 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43633 calculation of ARGC > 4.
43635 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43636 meaningful names to some local labels.
43638 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43639 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43641 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43642 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43643 (__arch_compare_and_exchange_val_16_acq): Likewise.
43644 (__arch_compare_and_exchange_val_32_acq): Likewise.
43645 (atomic_exchange_and_add): Fix gUSA sequence.
43646 (atomic_add): Likewise.
43647 (atomic_add_negative): Likewise.
43648 (atomic_add_zero): Likewise.
43649 (atomic_bit_test_set): Likewise.
43651 2012-06-22 Andreas Schwab <schwab@redhat.com>
43654 * include/link.h (struct link_map): Add l_free_initfini.
43655 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43657 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43658 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43659 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43662 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43664 * configure.in: Use AC_LANG_SOURCE.
43665 * configure: Regenerate.
43667 2012-06-22 Roland McGrath <roland@hack.frob.com>
43669 * configure.in (libc_cv_localstatedir): New substituted variable.
43670 * configure: Regenerated.
43671 * config.make.in (localstatedir): New variable, substituted from
43672 libc_cv_localstatedir.
43673 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43674 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43675 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43676 * sysdeps/gnu/configure: Regenerated.
43678 2012-06-21 Jeff Law <law@redhat.com>
43681 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43682 free. Simplify list management for _LIBC case.
43684 2012-06-21 Joseph Myers <joseph@codesourcery.com>
43687 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43688 Clear sign bit of 64-bit integer value before comparing against
43691 * sysdeps/mach/configure: Regenerated.
43693 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43696 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43698 2012-06-21 Jeff Law <law@redhat.com>
43701 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43702 uint16_t for elements in the "seen" array to avoid char overflows.
43703 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43704 * elf/dl-open.c (dl_open_worker): Likewise.
43706 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43708 * scripts/list-sources.sh: Scan PORTS for translations.
43709 * po/libc.pot: Regenerated.
43711 2012-06-21 Andreas Jaeger <aj@suse.de>
43714 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43716 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43717 * bits/byteswap-16.h (__bswap_16): Likewise.
43718 * bits/byteswap.h (__bswap_constant_16): Likewise.
43720 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43723 * sysdeps/i386/fpu_control.h: Removed.
43724 * sysdeps/x86_64/fpu_control.h: Moved to ...
43725 * sysdeps/x86/fpu_control.h: Here.
43727 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43728 (_FPU_SETCW): Likewise.
43730 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43733 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43734 * sysdeps/x86/fpu/bits/mathinline.h: This.
43735 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43739 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43740 functions if __x86_64__ is defined.
43742 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43744 * string/endian.h: Add !__ASSEMBLER__ condition for including
43745 conversion interfaces.
43747 2012-06-15 Joseph Myers <joseph@codesourcery.com>
43750 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43751 of ABS(x) in calculating zero to negative powers other than odd
43753 * math/libm-test.inc (pow_test): Add more tests.
43755 2012-06-15 Andreas Jaeger <aj@suse.de>
43757 * manual/contrib.texi (Contributors): Update entry of Liubov
43758 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43761 2012-06-15 Cyril Hrubis <metan@ucw.cz>
43763 * string/string.h: Add __wur to GNU version of strerror_r.
43765 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43768 * string/Makefile (tests): Add tst-strtok_r.
43769 * string/tst-strtok_r.c: New file.
43770 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43771 RAX_LP/RDX_LP on SAVE_PTR.
43773 2012-06-14 Roland McGrath <roland@hack.frob.com>
43775 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43777 2012-06-14 Joseph Myers <joseph@codesourcery.com>
43779 * libm_test.inc (csqrt_test): Allow more spurious underflow
43781 (j0_test): Likewise.
43782 (j1_test): Likewise.
43783 (y0_test): Likewise.
43784 (y1_test): Likewise.
43786 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43788 * po/Makefile (libc.pot): Use UTF-8 charset.
43790 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43793 Suppress sign-conversion warning from FD_SET.
43794 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43795 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43796 not unsigned long int.
43797 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43799 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43803 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43804 __extern_always_inline instead of __extern_inline.
43805 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43806 (__signbit): Likewise.
43807 (__signbitl): Support C++ namespace.
43808 (lrintf): New inline function.
43810 (llrintf): Likewise.
43811 (llrint): Likewise.
43821 (floorf): Likewise.
43822 (nearbyint): Likewise.
43823 (nearbyintf): Likewise.
43825 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43827 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43828 non-default versions.
43830 2012-06-11 Roland McGrath <roland@hack.frob.com>
43833 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43835 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43837 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43838 (FE_UPWARD, FE_DOWNWARD): Don't define.
43839 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43840 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43842 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43844 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43845 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43847 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43849 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43851 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43852 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43854 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43857 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43858 * sysdeps/i386/fpu/Implies: New file.
43859 * sysdeps/x86_64/fpu/Implies: Likewise.
43860 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43861 * sysdeps/x86/fpu/bits/fenv.h: This.
43863 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43866 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43869 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43870 character 0xffff that matches the last element of the
43873 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43878 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43880 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43881 values higher than 25.6283.
43883 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43885 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43886 subnormal exponent extraction and add some __builtin_expect.
43887 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43888 Fix for subnormal mantissa calculation.
43890 2012-06-04 Mike Frysinger <vapier@gentoo.org>
43892 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43893 cpu2 is -1 and errno is not ENOSYS.
43895 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43898 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43899 * sysdeps/x86/bits/string.h: This.
43900 * sysdeps/x86_64/bits/string.h: Removed.
43902 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43903 if not compiling for x86-64, but compiling for >= i486.
43905 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43906 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43908 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43909 New macro from Linux kernel 3.4.0.
43910 (FP_XSTATE_MAGIC2): Likewise.
43911 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43912 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43913 (struct _fpx_sw_bytes): New struct.
43914 (struct _xsave_hdr): Likewise.
43915 (struct _ymmh_state): Likewise.
43916 (struct _xstate): Likewise.
43918 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43919 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43920 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43921 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43922 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43923 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43925 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43926 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43927 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43928 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43929 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43930 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43932 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43935 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43936 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43937 (sysdep_headers): Include sys/platform/ppc.h.
43938 * sysdeps/powerpc/test-gettimebase.c: Test for
43939 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43940 * manual/Makefile (appendices): Include platform.texi.
43941 * manual/contrib.texi (Contributors): Update @node pointers.
43942 * manual/maint.texi (Maintenance): Likewise.
43943 (Platform): New node.
43944 * manual/platform.texi: New file. Document the new features.
43946 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43947 Jakub Jelinek <jakub@redhat.com>
43950 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43951 where __builtin_expect is unavailable.
43953 2012-06-03 David S. Miller <davem@davemloft.net>
43955 * stdlib/longlong.h: Updated from GCC.
43957 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43960 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43961 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43964 (GLIBC_2.16): Likewise.
43966 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43968 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43970 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43973 (default-abi): New variable.
43974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43975 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43977 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43979 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43981 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43984 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43985 definition. Document in comment.
43987 2012-06-01 David S. Miller <davem@davemloft.net>
43989 * stdlib/longlong.h: Updated from GCC.
43991 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43994 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43995 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43996 sys/debugreg.h sys/io.h here.
43997 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43998 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44000 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44001 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44002 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44003 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44004 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44005 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44007 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44008 Define only if __x86_64__ is defined.
44010 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44013 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44014 Use int64_t for variable i.
44015 * math/libm-test.inc (fmod_test): Add more tests.
44017 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44018 z computation is not scheduled after fetestexcept.
44019 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44020 Use math_force_eval instead of asm to ensure calculation scheduled
44021 before exception test.
44022 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44023 Ensure a1 + u.d computation is not scheduled after fetestexcept.
44025 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
44027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44028 computation is not scheduled after fetestexcept.
44030 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44033 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44034 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44036 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44038 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44039 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44041 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44044 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44046 (__WCHAR_MIN): Support __WORDSIZE == 64.
44047 (__WCHAR_MAX): Likewise.
44049 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44050 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44053 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44054 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44057 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44058 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44060 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44061 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44063 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44064 Defined to 1 if __x86_64__ isn't defined.
44065 (_STAT_VER_LINUX_OLD): New.
44066 (st_atime): Remove duplicate.
44067 (st_mtime): Likewise.
44068 (st_ctime): Likewise.
44070 2012-05-31 David S. Miller <davem@davemloft.net>
44072 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44075 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44077 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44081 * elf/dl-reloc.c: Include <_itoa.h>.
44082 (_dl_reloc_bad_type): Remove use of INTUSE.
44083 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44084 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44085 * stdio-common/psiginfo.c (psiginfo): Likewise.
44086 * stdio-common/psignal.c (psignal): Likewise.
44087 * string/strsignal.c (strsignal): Likewise.
44088 * include/signal.h (_sys_siglist): Declare hidden proto.
44089 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
44090 INTVARDEF with libc_hidden_data_def.
44091 * stdio-common/itoa-udigits.c: Likewise.
44092 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44093 (_itoa_lower_digits_internal): Remove declaration.
44094 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44095 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44096 (_sys_sigabbrev_internal): Remove aliases.
44097 (_sys_siglist): Define hidden alias.
44099 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
44101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44104 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44107 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44108 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44110 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44111 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44112 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44113 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44114 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44115 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44117 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44118 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44119 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44121 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44129 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44130 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44131 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44133 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44134 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44135 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44136 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44137 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44138 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44140 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44141 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44143 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44144 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44146 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44147 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44148 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44150 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44151 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44153 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44155 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44156 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44157 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44159 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44161 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44163 2012-05-31 Joseph Myers <joseph@codesourcery.com>
44165 * math/math.h (M_El): Use two more decimal places.
44166 (M_LOG2El): Likewise.
44167 (M_LOG10El): Likewise.
44168 (M_LN2l): Likewise.
44169 (M_LN10l): Likewise.
44171 (M_PI_2l): Likewise.
44172 (M_PI_4l): Likewise.
44173 (M_1_PIl): Likewise.
44174 (M_2_PIl): Likewise.
44175 (M_2_SQRTPIl): Likewise.
44176 (M_SQRT2l): Likewise.
44177 (M_SQRT1_2l): Likewise.
44179 2012-05-31 David S. Miller <davem@davemloft.net>
44181 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44182 values between float registers.
44183 * sysdeps/sparc/sparc64/memset.S: Likewise.
44184 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44186 2012-05-31 Mike Frysinger <vapier@gentoo.org>
44188 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44189 -D_FORTIFY_SOURCE=1.
44190 (CPPFLAGS-tst-longjmp_chk.c): Define.
44191 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44192 (CPPFLAGS-tst-longjmp_chk2.c): Define.
44193 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44194 CFLAGS-tst-wchar-h.c.
44196 2012-05-31 Marek Polacek <polacek@redhat.com>
44199 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44200 __endmntent_internal): Remove declaration.
44201 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44202 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44203 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44205 2012-05-30 David S. Miller <davem@davemloft.net>
44207 * sysdeps/sparc/sparc32/soft-fp/q_util.c
44208 (___Q_simulate_exceptions): Use real FP ops rather than writing
44210 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44213 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44216 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44217 * sysdeps/x86/bits/xtitypes.h: This.
44219 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44220 * sysdeps/x86/bits/wordsize.h: This.
44222 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44223 * sysdeps/x86/bits/huge_vall.h: This.
44225 * sysdeps/i386/bits/select.h: Removed.
44226 * sysdeps/x86_64/bits/select.h: Renamed to ...
44227 * sysdeps/x86/bits/select.h: This.
44229 * sysdeps/i386/bits/setjmp.h: Removed.
44230 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44231 * sysdeps/x86/bits/setjmp.h: This.
44233 * sysdeps/i386/bits/mathdef.h: Removed.
44234 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44235 * sysdeps/x86/bits/mathdef.h: This.
44237 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44240 * include/sys/socket.h (__connect_internal)
44241 (__libc_sa_len_internal): Remove declaration.
44242 (__connect, __libc_sa_len): Declare hidden_proto.
44243 (SA_LEN): Remove use of INTUSE.
44244 * socket/connect.c: Add libc_hidden_def.
44245 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44246 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44247 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44249 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44250 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44251 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44252 of adding _internal alias.
44254 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44257 * sysdeps/i386/bits/link.h: Removed.
44258 * sysdeps/i386/bits/linkmap.h: Likewise.
44259 * sysdeps/x86_64/bits/link.h: Renamed to ...
44260 * sysdeps/x86/bits/link.h: This.
44261 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44262 * sysdeps/x86/bits/linkmap.h: This.
44264 * sysdeps/i386/bits/endian.h: Removed.
44265 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44266 * sysdeps/x86/bits/endian.h: This.
44268 * sysdeps/i386/bits/byteswap.h: Removed.
44269 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44270 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44271 * sysdeps/x86/bits/byteswap.h: This.
44272 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44273 * sysdeps/x86/bits/byteswap-16.h: This.
44274 * sysdeps/i386/Implies: Add x86.
44275 * sysdeps/x86_64/Implies: Likewise.
44277 2012-05-30 David S. Miller <davem@davemloft.net>
44279 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44280 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44281 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44282 (FP_TRAPPING_EXCEPTIONS): Define.
44283 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44284 (FP_TRAPPING_EXCEPTIONS): Define.
44285 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44286 subnormals only when inexact has been signalled or underflow
44287 exceptions are enabled.
44288 (_FP_PACK_CANONICAL): Likewise.
44290 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44293 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44294 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44296 2012-05-30 Richard Henderson <rth@twiddle.net>
44298 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44299 with #ifndef NOT_IN_libc.
44301 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44302 marked to avoid plt entry.
44304 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44307 * Makeconfig (default-abi): New macro.
44308 (abi-includes): Likewise.
44309 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44310 $(abi-$(default-abi)-lib-soname) for soname if defined.
44311 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44313 * Makefile (installed-stubs): Likewise.
44314 * include/stubs-biarch.h: Removed.
44315 * scripts/lib-names.awk: Only handle one library at a time.
44316 * scripts/soversions.awk: Remove WORDSIZE support.
44317 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44319 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44321 (syscall-list-default-condition): Likewise.
44322 (syscall-list-default-condition): Likewise.
44323 (syscall-list-includes): Likewise.
44324 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44325 syscall-list-* with abi-*. Handle undefined abi-variants.
44326 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44327 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44328 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44329 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44330 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44331 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44333 (syscall-list-32-options): Likewise.
44334 (syscall-list-32-condition): Likewise.
44335 (syscall-list-64-options): Likewise.
44336 (syscall-list-64-condition): Likewise.
44337 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44339 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44342 (abi-64-ld-soname): New macro.
44343 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44344 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44347 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44348 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44350 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44352 * sysdeps/unix/sysv/linux/kernel-features.h
44353 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44354 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44355 include <kernel-features.h>.
44356 [!__NR_ftruncate64]: Remove conditional code.
44357 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44358 [__NR_ftruncate64]: Make code unconditional.
44359 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44360 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44361 include <kernel-features.h>.
44362 [!__NR_ftruncate64]: Remove conditional code.
44363 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44364 [__NR_ftruncate64]: Make code unconditional.
44365 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44367 include <kernel-features.h>.
44368 [!__NR_ftruncate64]: Remove conditional code.
44369 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44370 [__NR_ftruncate64]: Make code unconditional.
44371 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44373 include <kernel-features.h>.
44374 [!__NR_ftruncate64]: Remove conditional code.
44375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44376 [__NR_ftruncate64]: Make code unconditional.
44377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44379 * configure.in (libc_cv_fpie): Weaken to a compile test using
44380 LIBC_TRY_CC_OPTION.
44381 * configure: Regenerated.
44383 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44398 2012-05-27 David S. Miller <davem@davemloft.net>
44400 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44402 (__Q_simulate_exceptions): Return void. Change to simulate
44403 exceptions by writing into the %fsr.
44404 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44405 (__Qp_handle_exceptions): Likewise.
44407 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44408 __Qp_handle_exceptions.
44409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44410 __Qp_handle_exceptions.
44411 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44412 as unused and give dummy FP_RND_NEAREST initializer.
44413 (FP_INHIBIT_RESULTS): Define.
44414 (___Q_simulate_exceptions): Update declaration.
44415 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44417 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44418 as unused and give dummy FP_RND_NEAREST initializer.
44419 (__Qp_handle_exceptions): Update declaration.
44420 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44423 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44425 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44426 the temporary FPU control word.
44427 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44428 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44429 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44430 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44431 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44432 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44433 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44434 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44435 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44436 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44437 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44439 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44441 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44444 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44446 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44447 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44448 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44449 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44451 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44452 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44455 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44457 * po/h.po: Update from translation team.
44459 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44461 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44463 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44464 handling of denormals.
44465 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44466 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44467 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44468 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44469 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44474 2012-05-26 Marek Polacek <polacek@redhat.com>
44477 * math/libm-test.inc (fma_test): Don't always expect underflow
44480 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44483 * elf/tst-execstack.c: Include stackinfo.h.
44484 (do_test): Adjust test case to ensure that pthread_getattr_np
44485 behaviour remains the same after marking stack executable.
44487 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44489 * sysdeps/unix/sysv/linux/kernel-features.h
44490 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44491 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44493 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44494 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44495 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44497 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44498 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44500 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44502 * configure.in: Define the default includes to being none.
44503 * configure: Regenerated.
44505 2012-05-25 Roland McGrath <roland@hack.frob.com>
44507 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44508 * sysdeps/x86_64/setjmp.S: Likewise.
44509 * sysdeps/i386/bsd-setjmp.S: Likewise.
44510 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44511 * sysdeps/i386/setjmp.S: Likewise.
44512 * sysdeps/i386/__longjmp.S: Likewise.
44513 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44514 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44516 * include/stap-probe.h: New file.
44517 * configure.in: Handle --enable-systemtap.
44518 * configure: Regenerated.
44519 * config.h.in (USE_STAP_PROBE): New #undef.
44520 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44521 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44522 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44524 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44527 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44528 to 2.4.0 where earlier.
44529 * sysdeps/unix/sysv/linux/configure: Regenerated.
44530 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44531 <kernel-features.h>.
44532 [__ASSUME_32BITUIDS]: Make code unconditional.
44533 [!__ASSUME_32BITUIDS]: Remove conditional code.
44534 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44535 <kernel-features.h>.
44536 [__ASSUME_32BITUIDS]: Make code unconditional.
44537 [!__ASSUME_32BITUIDS]: Remove conditional code.
44538 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44539 [__ASSUME_32BITUIDS]: Make code unconditional.
44540 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44541 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44542 <kernel-features.h>.
44543 [__ASSUME_32BITUIDS]: Make code unconditional.
44544 [!__ASSUME_32BITUIDS]: Remove conditional code.
44545 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44546 <kernel-features.h>.
44547 [__ASSUME_32BITUIDS]: Make code unconditional.
44548 [!__ASSUME_32BITUIDS]: Remove conditional code.
44549 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44550 <kernel-features.h>.
44551 [__ASSUME_32BITUIDS]: Make code unconditional.
44552 [!__ASSUME_32BITUIDS]: Remove conditional code.
44553 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44554 <kernel-features.h>.
44555 [__ASSUME_32BITUIDS]: Make code unconditional.
44556 [!__ASSUME_32BITUIDS]: Remove conditional code.
44557 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44558 <kernel-features.h>.
44559 [__ASSUME_32BITUIDS]: Make code unconditional.
44560 [!__ASSUME_32BITUIDS]: Remove conditional code.
44561 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.c: Do not include
44570 <kernel-features.h>.
44571 [__ASSUME_32BITUIDS]: Make code unconditional.
44572 [!__ASSUME_32BITUIDS]: Remove conditional code.
44573 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44574 <kernel-features.h>.
44575 [__ASSUME_32BITUIDS]: Make code unconditional.
44576 [!__ASSUME_32BITUIDS]: Remove conditional code.
44577 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44578 <kernel-features.h>.
44579 [__ASSUME_32BITUIDS]: Make code unconditional.
44580 [!__ASSUME_32BITUIDS]: Remove conditional code.
44581 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44582 <kernel-features.h>.
44583 [__NR_setresgid] (__setresgid): Do not declare.
44584 [__ASSUME_32BITUIDS]: Make code unconditional.
44585 [!__ASSUME_32BITUIDS]: Remove conditional code.
44586 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44587 <kernel-features.h>.
44588 [__NR_setresuid] (__setresuid): Do not declare.
44589 [__ASSUME_32BITUIDS]: Make code unconditional.
44590 [!__ASSUME_32BITUIDS]: Remove conditional code.
44591 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44592 <kernel-features.h>.
44593 [__ASSUME_32BITUIDS]: Make code unconditional.
44594 [!__ASSUME_32BITUIDS]: Remove conditional code.
44595 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44596 <kernel-features.h>.
44597 [__ASSUME_32BITUIDS]: Make code unconditional.
44598 [!__ASSUME_32BITUIDS]: Remove conditional code.
44599 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44600 <kernel-features.h>.
44601 [__ASSUME_32BITUIDS]: Make code unconditional.
44602 [!__ASSUME_32BITUIDS]: Remove conditional code.
44603 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44604 <kernel-features.h>.
44605 [__ASSUME_32BITUIDS]: Make code unconditional.
44606 [!__ASSUME_32BITUIDS]: Remove conditional code.
44607 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44608 <kernel-features.h>.
44609 [__ASSUME_32BITUIDS]: Make code unconditional.
44610 [!__ASSUME_32BITUIDS]: Remove conditional code.
44611 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44612 <kernel-features.h>.
44613 [__ASSUME_32BITUIDS]: Make code unconditional.
44614 [!__ASSUME_32BITUIDS]: Remove conditional code.
44615 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44616 <kernel-features.h>.
44617 [__ASSUME_32BITUIDS]: Make code unconditional.
44618 [!__ASSUME_32BITUIDS]: Remove conditional code.
44619 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44620 <kernel-features.h>.
44621 [__ASSUME_32BITUIDS]: Make code unconditional.
44622 [!__ASSUME_32BITUIDS]: Remove conditional code.
44623 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44624 <kernel-features.h>.
44625 [__ASSUME_32BITUIDS]: Make code unconditional.
44626 [!__ASSUME_32BITUIDS]: Remove conditional code.
44627 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44628 <kernel-features.h>.
44629 [__ASSUME_32BITUIDS]: Make code unconditional.
44630 [!__ASSUME_32BITUIDS]: Remove conditional code.
44631 * sysdeps/unix/sysv/linux/kernel-features.h
44632 (__ASSUME_SETRESUID_SYSCALL): Remove.
44633 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44634 (__ASSUME_32BITUIDS): Likewise.
44635 (__ASSUME_LDT_WORKS): Likewise.
44636 (__ASSUME_O_DIRECTORY): Likewise.
44637 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44638 architecture but not kernel version.
44639 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44640 (__ASSUME_MMAP2_SYSCALL): Likewise.
44641 (__ASSUME_STAT64_SYSCALL): Likewise.
44642 (__ASSUME_IPC64): Likewise.
44643 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44644 <kernel-features.h>.
44645 [__ASSUME_32BITUIDS]: Make code unconditional.
44646 [!__ASSUME_32BITUIDS]: Remove conditional code.
44647 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44648 <kernel-features.h>.
44649 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44650 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44651 132096]: Remove conditional code.
44652 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44653 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44654 <kernel-features.h>.
44655 [__ASSUME_32BITUIDS]: Make code unconditional.
44656 [!__ASSUME_32BITUIDS]: Remove conditional code.
44657 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44658 <kernel-features.h>.
44659 [__ASSUME_32BITUIDS]: Make code unconditional.
44660 [!__ASSUME_32BITUIDS]: Remove conditional code.
44661 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44662 <kernel-features.h>.
44663 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44665 (__setresgid): Do not declare.
44666 [__ASSUME_32BITUIDS]: Make code unconditional.
44667 [!__ASSUME_32BITUIDS]: Remove conditional code.
44668 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44669 <kernel-features.h>.
44670 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44672 (__setresuid): Do not declare.
44673 [__ASSUME_32BITUIDS]: Make code unconditional.
44674 [!__ASSUME_32BITUIDS]: Remove conditional code.
44675 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44676 <kernel-features.h>.
44677 [__ASSUME_32BITUIDS]: Make code unconditional.
44678 [!__ASSUME_32BITUIDS]: Remove conditional code.
44679 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44680 <kernel-features.h>.
44681 [__ASSUME_32BITUIDS]: Make code unconditional.
44682 [!__ASSUME_32BITUIDS]: Remove conditional code.
44684 2012-05-25 Richard Henderson <rth@twiddle.net>
44686 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44687 dl_hwcap to ifunc resolver.
44688 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44690 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44691 dl_hwcap to ifunc resolver.
44692 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44694 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44697 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44698 for |x| <= 2**-26, not 2**-57.
44699 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44702 2012-05-24 Jeff Law <law@redhat.com>
44704 * stdio-common/Makefile (tests): Add bug25.
44705 * stdio-common/bug25.c: New test.
44707 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44710 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44711 multiple of MALLOC_ALIGNMENT in size.
44712 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44714 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44716 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44718 (FILENAME_MAX): Use macro-int-constant.
44719 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44720 (_IOFBF): Use macro-int-constant.
44721 (_IOLBF): Likewise.
44722 (_IONBF): Likewise.
44723 (SEEK_CUR): Likewise.
44724 (SEEK_END): Likewise.
44725 (SEEK_SET): Likewise.
44726 (TMP_MAX): Likewise.
44727 (EOF): Use macro-int-constant. Require < 0.
44728 (NULL): Use macro-constant. Require == 0.
44729 (stdin): Require type to be FILE *.
44730 (stdout): Likewise.
44731 (stderr): Likewise.
44732 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44733 macro-int-constant.
44734 (EXIT_SUCCESS): Likewise.
44735 (NULL): Use macro-constant. Require == 0.
44736 (RAND_MAX): Use macro-int-constant.
44737 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44738 [C99-based standards] (strtof): Require function.
44739 [C99-based standards] (strtold): Likewise.
44740 [C99-based standards] (strtoll): Likewise.
44741 [C99-based standards] (strtoull): Likewise.
44742 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44743 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44744 [ISO || ISO99 || ISO11] (math.h): Likewise.
44745 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44746 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44747 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44749 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44752 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44753 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44754 * intl/dgettext.c (DCGETTEXT): Likewise.
44755 * intl/gettext.c (DCGETTEXT): Likewise.
44756 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44757 * posix/regex_internal.h (gettext): Likewise.
44758 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44759 Remove declaration.
44760 * include/argz.h (__argz_count_internal)
44761 (__argz_stringify_internal): Remove declaration.
44762 (__argz_count, __argz_stringify): Declare hidden proto.
44763 * intl/dcgettext.c: Remove use of INTDEF.
44764 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44765 * string/argz-stringify.c: Likewise.
44766 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44767 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44768 Declare hidden proto.
44769 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44770 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44771 Declare hidden proto.
44772 * include/stdio.h (__asprintf_internal): Don't declare.
44773 (__asprintf): Don't define as macro. Declare hidden proto.
44774 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44775 (__fsetlocking): Declare hidden proto.
44776 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44777 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44779 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44780 (_IO_setlinebuf): Remove use of INTUSE.
44781 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44782 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44783 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44784 Remove declaration.
44785 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44786 (_IO_do_flush): Remove use of INTUSE.
44787 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44788 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44789 (_IO_adjust_column, _IO_least_wmarker)
44790 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44791 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44792 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44793 (_IO_default_doallocate, _IO_wdefault_doallocate)
44794 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44795 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44796 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44797 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44798 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44799 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44800 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44801 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44802 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44803 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44804 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44805 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44806 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44808 (_IO_flush_all_internal, _IO_adjust_column_internal)
44809 (_IO_default_uflow_internal, _IO_default_finish_internal)
44810 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44811 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44812 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44813 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44814 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44815 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44816 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44817 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44818 (_IO_file_close_internal, _IO_file_close_it_internal)
44819 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44820 (_IO_file_init_internal, _IO_file_attach_internal)
44821 (_IO_file_fopen_internal, _IO_file_read_internal)
44822 (_IO_file_sync_internal, _IO_file_seek_internal)
44823 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44824 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44825 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44826 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44827 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44828 (_IO_list_all_internal, _IO_link_in_internal)
44829 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44830 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44831 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44832 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44833 (_IO_do_write_internal, _IO_padn_internal)
44834 (_IO_getline_info_internal, _IO_getline_internal)
44835 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44836 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44837 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44838 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44839 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44840 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44841 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44842 with libc_hidden_ver, remove use of INTUSE.
44843 * libio/genops.c: Likewise.
44844 * libio/freopen.c: Likewise.
44845 * libio/freopen64.c: Likewise.
44846 * libio/iofclose.c: Likewise.
44847 * libio/iofdopen.c: Likewise.
44848 * libio/iofflush.c: Likewise.
44849 * libio/iofflush_u.c: Likewise.
44850 * libio/iofgets.c: Likewise.
44851 * libio/iofgets_u.c: Likewise.
44852 * libio/iofopen.c: Likewise.
44853 * libio/iofopncook.c: Likewise.
44854 * libio/iofread.c: Likewise.
44855 * libio/iofread_u.c: Likewise.
44856 * libio/ioftell.c: Likewise.
44857 * libio/iofwrite.c: Likewise.
44858 * libio/iogetline.c: Likewise.
44859 * libio/iogets.c: Likewise.
44860 * libio/iogetwline.c: Likewise.
44861 * libio/iopadn.c: Likewise.
44862 * libio/iopopen.c: Likewise.
44863 * libio/ioseekoff.c: Likewise.
44864 * libio/ioseekpos.c: Likewise.
44865 * libio/iosetbuffer.c: Likewise.
44866 * libio/iosetvbuf.c: Likewise.
44867 * libio/ioungetc.c: Likewise.
44868 * libio/ioungetwc.c: Likewise.
44869 * libio/iovdprintf.c: Likewise.
44870 * libio/iovsprintf.c: Likewise.
44871 * libio/iovsscanf.c: Likewise.
44872 * libio/memstream.c: Likewise.
44873 * libio/obprintf.c: Likewise.
44874 * libio/oldfileops.c: Likewise.
44875 * libio/oldiofclose.c: Likewise.
44876 * libio/oldiofdopen.c: Likewise.
44877 * libio/oldiofopen.c: Likewise.
44878 * libio/oldiopopen.c: Likewise.
44879 * libio/oldstdfiles.c: Likewise.
44880 * libio/putc.c: Likewise.
44881 * libio/setbuf.c: Likewise.
44882 * libio/setlinebuf.c: Likewise.
44883 * libio/stdfiles.c: Likewise.
44884 * libio/strops.c: Likewise.
44885 * libio/vasprintf.c: Likewise.
44886 * libio/vscanf.c: Likewise.
44887 * libio/vsnprintf.c: Likewise.
44888 * libio/vswprintf.c: Likewise.
44889 * libio/wfiledoalloc.c: Likewise.
44890 * libio/wfileops.c: Likewise.
44891 * libio/wgenops.c: Likewise.
44892 * libio/wmemstream.c: Likewise.
44893 * libio/wstrops.c: Likewise.
44894 * libio/__fpurge.c: Likewise.
44895 * libio/__fsetlocking.c: Likewise.
44896 * assert/assert.c: Likewise.
44897 * debug/fgets_chk.c: Likewise.
44898 * debug/fgets_u_chk.c: Likewise.
44899 * debug/fread_chk.c: Likewise.
44900 * debug/fread_u_chk.c: Likewise.
44901 * debug/gets_chk.c: Likewise.
44902 * debug/obprintf_chk.c: Likewise.
44903 * debug/vasprintf_chk.c: Likewise.
44904 * debug/vdprintf_chk.c: Likewise.
44905 * debug/vsnprintf_chk.c: Likewise.
44906 * debug/vsprintf_chk.c: Likewise.
44907 * malloc/mtrace.c: Likewise.
44908 * misc/error.c: Likewise.
44909 * misc/syslog.c: Likewise.
44910 * stdio-common/asprintf.c: Likewise.
44911 * stdio-common/fxprintf.c: Likewise.
44912 * stdio-common/getw.c: Likewise.
44913 * stdio-common/isoc99_fscanf.c: Likewise.
44914 * stdio-common/isoc99_scanf.c: Likewise.
44915 * stdio-common/isoc99_vfscanf.c: Likewise.
44916 * stdio-common/isoc99_vscanf.c: Likewise.
44917 * stdio-common/isoc99_vsscanf.c: Likewise.
44918 * stdio-common/printf-prs.c: Likewise.
44919 * stdio-common/printf_fp.c: Likewise.
44920 * stdio-common/printf_fphex.c: Likewise.
44921 * stdio-common/printf_size.c: Likewise.
44922 * stdio-common/putw.c: Likewise.
44923 * stdio-common/scanf.c: Likewise.
44924 * stdio-common/sprintf.c: Likewise.
44925 * stdio-common/tmpfile.c: Likewise.
44926 * stdio-common/vfprintf.c: Likewise.
44927 * stdio-common/vfscanf.c: Likewise.
44928 * stdlib/strfmon_l.c: Likewise.
44929 * sunrpc/openchild.c: Likewise.
44930 * sunrpc/xdr_stdio.c: Likewise.
44931 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44932 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44934 2012-05-24 Roland McGrath <roland@hack.frob.com>
44936 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44938 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44939 in the third column, to generate for the shared library an IFUNC
44940 that uses _dl_vdso_vsym.
44941 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44942 * Makeconfig (object-suffixes-noshared): New variable.
44944 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44945 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44946 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44947 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44950 * include/sys/time.h (__gettimeofday): Remove macro.
44951 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44952 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44954 (__gettimeofday): Add libc_hidden_def.
44955 (gettimeofday): Add libc_hidden_weak.
44956 * sysdeps/mach/gettimeofday.c: Likewise.
44957 * sysdeps/posix/gettimeofday.c: Likewise.
44958 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44959 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44960 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44961 (__gettimeofday_internal): Remove strong_alias.
44962 (__gettimeofday): Add libc_hidden_def.
44963 (gettimeofday): Add libc_hidden_weak.
44964 * sysdeps/unix/syscalls.list (gettimeofday):
44965 Remove __gettimeofday_internal alias.
44967 2012-05-24 Daniel Jacobowitz <drow@false.org>
44968 H.J. Lu <hongjiu.lu@intel.com>
44971 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44972 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44973 (largebin_index_32_big): New.
44974 (largebin_index): Use it for 16-byte alignment.
44975 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
44976 correction with front_misalign.
44978 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45006 * scripts/data/c++-types-x32-linux-gnu.data: New file.
45007 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45009 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45013 * math/libm-test.inc (exp_test): Add test from bug 14036.
45014 (pow_test): Add test from bug 10846.
45016 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45018 (special_function): Do not include flags in test name.
45019 (parse_args): Likewise.
45020 * sysdeps/i386/fpu/libm-test-ulps: Update.
45021 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45022 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45023 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45026 * math/gen-libm-test.pl (%beautify): Add entries for underflow
45028 * math/libm-test.inc ("Philosophy"): Update comment about
45030 (UNDERFLOW_EXCEPTION): New macro.
45031 (UNDERFLOW_EXCEPTION_OK): Likewise.
45032 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45033 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45034 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45035 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45036 (INVALID_EXCEPTION_OK): Update value.
45037 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45038 (OVERFLOW_EXCEPTION_OK): Likewise.
45039 (IGNORE_ZERO_INF_SIGN): Likewise.
45040 (test_exceptions): Handle underflow exceptions.
45041 (acos_test): Update for underflow exception expectations.
45042 (cexp_test): Likewise.
45043 (clog_test): Likewise.
45044 (clog10_test): Likewise.
45045 (csqrt_test): Likewise.
45046 (ctan_test): Likewise.
45047 (ctanh_test): Likewise.
45048 (exp_test): Likewise.
45049 (exp10_test): Likewise.
45050 (exp2_test): Likewise.
45051 (expm1_test): Likewise.
45052 (fma_test): Likewise.
45053 (j0_test): Likewise.
45054 (jn_test): Likewise.
45055 (nexttoward_test): Likewise.
45056 (pow_test): Likewise.
45057 (scalbn_test): Likewise.
45058 (scalbln_test): Likewise.
45059 (tan_test): Likewise.
45060 (y1_test): Likewise.
45061 * sysdeps/i386/fpu/libm-test-ulps: Update.
45062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45064 2012-05-23 David S. Miller <davem@davemloft.net>
45066 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45067 (__libc_sigaction): Remove unused local variables.
45069 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45071 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45073 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45075 mktime: avoid signed integer overflow
45076 * time/mktime.c (__mktime_internal): Do not mishandle the case
45077 where diff == INT_MIN.
45079 mktime: simplify computation of average
45080 * time/mktime.c (ranged_convert): Use new time_t_avg function
45081 instead of rolling our own (probably-slower) code.
45083 mktime: do not assume signed right shift propagates sign bit
45084 * time/mktime.c (isdst_differ): New static function.
45085 (__mktime_internal): No need to normalize tm_isdst now.
45086 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45089 mktime: merge another wrapv change from gnulib
45090 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45091 from some compilers.
45093 mktime: remove incorrect attempt at unusual arithmetics
45094 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45095 The code didn't really work on such machines anyway.
45096 (TYPE_MINIMUM): Assume two's complement.
45097 (twos_complement_arithmetic): Verify that long_int and time_t
45098 are two's complement (or unsigned, in the latter case).
45100 mktime: check signed shifts on long_int and time_t, too
45101 * time/mktime.c (SHR): Check that shifts work as desired
45102 on the types long_int and time_t too, as SHR is used on
45105 mktime: do not assume 'long' is wide enough
45106 * time/mktime.c (verify): Move decl up.
45107 (long_int): New type.
45108 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45109 to remove assumption in the code that 'long' is wide enough to
45110 store year values. This assumption is not true on x32 and on
45111 some non-glibc platforms.
45113 mktime: merge wrapv change from gnulib
45114 * time/mktime.c (WRAPV): New macro.
45115 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45116 (guess_time_tm, __mktime_internal): Do not assume that signed
45117 integer overflow wraps around; modern compilers generate code
45118 where this assumption is no longer valid.
45120 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45122 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45123 Replace "jmp L(pseudo_end)" with "ret".
45124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45127 2012-05-23 Andreas Jaeger <aj@suse.de>
45129 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45130 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45132 2012-05-23 Andreas Jaeger <aj@suse.de>
45133 Maximilian Attems <max@stro.at>
45135 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45138 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45140 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45141 code so that pseudo_end is just ret and the stack pointer is
45142 correct also for static library in error case.
45144 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45146 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45147 move to syscalls.list.
45148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45153 * manual/install.texi (Running make install): Do not mention Linux
45154 kernel version for which pt_chown is not needed.
45155 (Linux): Do not mention problems with nscd with 2.0 kernels.
45156 * INSTALL: Regenerated.
45158 2012-05-23 Andreas Jaeger <aj@suse.de>
45160 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45161 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45163 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45165 * sysdeps/unix/sysv/linux/sh/bits/mman.h
45166 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45167 * sysdeps/unix/sysv/linux/i386/bits/mman.h
45168 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45169 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45170 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45171 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45172 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45173 * sysdeps/unix/sysv/linux/bits/in.h
45174 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45176 2012-05-22 Roland McGrath <roland@hack.frob.com>
45178 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45179 (PREPARE_VERSION): Just use assert instead, it will be elided
45180 under [NDEBUG] anyway.
45182 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45184 * sysdeps/unix/sysv/linux/Makefile: Include
45185 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45186 (sysdep_routines): Remove sysctl.
45187 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45188 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45189 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45190 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45191 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45193 2012-05-22 Andreas Jaeger <aj@suse.de>
45195 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45196 that pseudo_end is just ret and the stack pointer is correct also
45197 for static library in error case.
45199 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
45202 * nss/nsswitch.c (defconfig_entries): New variable.
45203 (__nss_database_lookup): Don't leak defconfig entries.
45204 (nss_parse_service_list): Don't leak on error paths.
45205 (free_database_entries): New function.
45206 (free_defconfig): New function.
45207 (free_mem): Move common code to free_database_entries.
45209 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45211 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45213 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45215 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45216 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45219 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45220 (INTERNAL_SYSCALL_TYPES): Likewise.
45221 (LOAD_ARGS_TYPES_[1-6]): Likewise.
45222 (LOAD_REGS_TYPES_[1-6]): Likewise.
45223 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45224 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45226 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45228 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45229 copysignl for GLIBC_2_0.
45230 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45231 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45233 logbl for GLIBC_2_0.
45234 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45235 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45237 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45240 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45242 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45245 * time/mktime.c: Update copyright years.
45247 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
45249 mktime: merge comment-quoting-style change from gnulib
45250 * time/mktime.c: Quote 'like this' in comments.
45251 The GNU coding standards suggest that we no longer quote `like this',
45252 as "`" and "'" are typically rendered asymmetrically nowadays.
45253 The typical gnulib style is to quote 'like this' when quoting
45254 code, and "like this" when quoting English.
45256 * time/mktime.c (compile-command): Add "-I.".
45258 mktime: merge mktime-internal.h change from gnulib
45259 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45261 mktime: merge time_r change from gnulib
45262 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45264 mktime: merge DEBUG change from gnulib
45265 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45266 case system <time.h> has a #define.
45268 mktime: merge <sys/types.h> change from gnulib
45269 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45270 since <time.t> is now guaranteed to define time_t.
45272 mktime: merge HAVE_CONFIG_H change from gnulib
45273 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45275 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45280 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45282 (struct rusage): Use anonymous union to pad each field to
45285 2012-05-21 David S. Miller <davem@davemloft.net>
45287 * Makefules (o-iterator): Remove .s cases.
45288 (compile-command.s): Delete.
45289 (COMPILE.s): Delete.
45290 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45292 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45294 * configure.in (libc_cv_predef_stack_protector): Only consider
45295 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45296 * configure: Regenerated.
45298 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45301 New macro. Use R*LP on int and pointer.
45302 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45303 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45304 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45305 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45307 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45308 [__WORDSIZE_TIME64_COMPAT32] instead of
45309 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45310 (struct utmp): Likewise.
45311 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45312 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45314 (__WORDSIZE_TIME64_COMPAT32): This.
45315 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45316 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45317 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45318 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45319 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45320 (__WORDSIZE_TIME64_COMPAT32): New macro.
45322 2012-05-21 Andreas Jaeger <aj@suse.de>
45324 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45325 only if [SHARED]. Add prototype for __wcschr_ia32.
45327 2012-05-21 Roland McGrath <roland@hack.frob.com>
45329 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45330 of %rbp unmolested in the jmp_buf while mangling the low bits.
45331 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45332 unmolested high bits of %rbp while demangling the low bits.
45333 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45335 2012-05-21 Andreas Jaeger <aj@suse.de>
45337 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45338 * sunrpc/svc_simple.c: Use it for registerrpc.
45339 * sunrpc/xcrypt.c: Use it for passwd2des.
45341 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45343 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45345 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45346 Don't define if [__SYSCALL_WORDSIZE != 32].
45347 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45350 2012-05-21 Bruno Haible <bruno@clisp.org>
45351 Andreas Jaeger <aj@suse.de>
45353 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45354 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45355 inptr and inend for must_buffer_ch.
45356 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45357 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45358 * stdio-common/Makefile (tests): Remove bug15.
45359 (bug15-ENV): Remove macro.
45360 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45363 2012-05-19 Andreas Jaeger <aj@suse.de>
45364 Roland McGrath <roland@hack.frob.com>
45366 * manual/contrib.texi: Completely rewritten. It contains now an
45367 alphabetical list of contributors and their contributions.
45369 2012-05-21 Richard Henderson <rth@twiddle.net>
45371 * misc/getauxval.c (__getauxval): Use unsigned long int.
45372 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45373 (getauxval): Use unsigned long int.
45375 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45377 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45379 2012-05-21 Roland McGrath <roland@hack.frob.com>
45381 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45382 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45383 __alignof__ (long double).
45385 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45389 2012-05-20 Richard Henderson <rth@twiddle.net>
45391 * misc/getauxval.c: New file.
45392 * misc/sys/auxv.h: New file.
45393 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45394 (routines): Add getauxval.
45395 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45396 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45397 * elf/dl-sysdep.c (_dl_auxv): Remove.
45398 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45399 * elf/dl-support.c (_dl_auxv): New variable.
45400 (_dl_aux_init): Initialize it.
45401 * manual/startup.texi (Auxiliary Vector): New node.
45402 * sysdeps/generic/bits/hwcap.h: New file.
45403 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45404 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45405 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45406 * sysdeps/sparc/sysdep.h: ... here. Include it.
45407 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45408 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45414 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45420 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45424 2012-05-19 David S. Miller <davem@davemloft.net>
45426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45428 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45431 * math/s_ccosh.c: Include <float.h>
45432 (__ccosh): Avoid internal overflow calculating sinh and cosh
45433 values before multiplying by sin and cos values.
45434 * math/s_ccoshf.c: Likewise.
45435 * math/s_ccoshl.c: Likewise.
45436 * math/s_csin.c: Likewise.
45437 * math/s_csinf.c: Likewise.
45438 * math/s_csinl.c: Likewise.
45439 * math/s_csinh.c: Likewise.
45440 * math/s_csinhf.c: Likewise.
45441 * math/s_csinhl.c: Likewise.
45442 * math/libm-test.inc (ccos_test): Add more tests.
45443 (ccosh_test): Likewise.
45444 (csin_test): Likewise.
45445 (csinh_test): Likewise.
45446 * sysdeps/i386/fpu/libm-test-ulps: Update.
45447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45449 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45451 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45452 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45454 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45456 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45458 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45459 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45460 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45461 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45462 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45463 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45464 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45465 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45466 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45467 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45468 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45469 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45470 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45471 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45472 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45473 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45474 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45475 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45476 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45477 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45478 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45479 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45480 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45481 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45482 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45483 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45484 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45485 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45486 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45487 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45488 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45490 2012-05-18 Andreas Jaeger <aj@suse.de>
45492 * csu/.gitignore: Delete.
45494 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45496 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45497 (timex): Use __syscall_slong_t.
45499 2012-05-18 Andreas Jaeger <aj@suse.de>
45500 Carlos O'Donell <carlos_odonell@mentor.com>
45502 * manual/install.texi (Configuring and compiling): Update
45503 description about files modified in the source directory.
45504 * INSTALL: Regenerated.
45506 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45508 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45509 value. Use "or" to set return value to -1.
45510 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45511 negate return value.
45513 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45515 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45516 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45517 failure if the compiler has Graphite support disabled.
45518 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45520 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45521 (CFLAGS-memmove.c): Likewise.
45522 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45525 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45527 * sysdeps/x86_64/x32/_itoa.h: New file.
45529 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45530 getdents system call only if kernel and user dirents have the
45531 same d_ino and d_off.
45533 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45534 LLONG_MAX != LONG_MAX.
45535 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45536 (_fitoa_word): Likewise.
45538 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45540 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45541 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45542 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45544 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45545 include <bits/wordsize.h>. Check __x86_64__ instead of
45547 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45548 if __x86_64__ is defined. Use anonymous union on fpstate.
45550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45553 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45555 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45556 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45557 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45558 Refer to _rtld_local_ro instead of _rtld_global_ro.
45559 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45561 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45563 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45565 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45566 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45567 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45569 * sysdeps/powerpc/powerpc32/dl-machine.c
45570 (__elf_machine_runtime_setup) [PROF]: Don't reference
45573 2012-05-18 Andreas Jaeger <aj@suse.de>
45575 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45576 function only available for GCCs before 3.4 since GCC 3.4
45577 introduced a builtin.
45579 (llrintf): Likewise.
45580 (llrint): Likewise.
45587 (nearbyint): Likewise.
45588 (nearbyintf): Likewise.
45592 (floorf): Likewise.
45594 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45596 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45597 on both fields and cast pointer to __syscall_ulong_t.
45599 * bits/types.h (__fsword_t): New type.
45600 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45601 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45603 (__FSWORD_T_TYPE): Likewise.
45604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45605 (__FSWORD_T_TYPE): Likewise.
45606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45607 (__FSWORD_T_TYPE): Likewise.
45608 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45609 (__FSWORD_T_TYPE): Likewise.
45610 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45611 __SWORD_TYPE with __fsword_t.
45612 (statfs64): Likewise.
45614 2012-05-17 David S. Miller <davem@davemloft.net>
45616 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45618 2012-05-17 Andreas Jaeger <aj@suse.de>
45620 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45623 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45625 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45627 2012-05-17 Andreas Jaeger <aj@suse.de>
45629 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45632 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45634 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45636 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45638 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45639 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45641 2012-05-17 Andreas Jaeger <aj@suse.de>
45642 Carlos O'Donell <carlos_odonell@mentor.com>
45645 * sysdeps/x86_64/multiarch/init-arch.h
45646 (bit_YMM_Usable): Rename to...
45647 (bit_AVX_Usable): ... this.
45648 (bit_FMA4_Usable): New macro.
45649 (bit_XMM_state): New macro.
45650 (bit_YMM_state): New macro.
45651 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45652 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45653 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45654 (CPUID_OSXSAVE): New macro.
45655 (CPUID_AVX): New macro.
45656 (CPUID_FMA4): New macro.
45657 (index_YMM_Usable): Rename to...
45658 (index_AVX_Usable): ... this.
45659 (HAS_AVX): Use HAS_ARCH_FEATURE.
45660 (HAS_FMA4): Likewise.
45661 (HAS_YMM_USABLE): Remove.
45662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45663 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45665 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45666 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45667 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45668 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45669 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45671 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45673 * math/libm-test.c: Support platforms without multiple rounding modes.
45674 * math/bug-nextafter.c: Support platforms without FP exceptions.
45675 * math/bug-nexttoward.c: Likewise.
45676 * math/test-fenv.c: Likewise.
45677 * math/test-misc.c: Likewise.
45678 * stdlib/bug-getcontext.c: Likewise.
45680 2012-05-17 Andreas Jaeger <aj@suse.de>
45682 * manual/examples/search.c (critter_cmp): Change signature to
45684 * manual/string.texi (Collation Functions): Likewise.
45686 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45688 * bits/types.h: Fold copyright years.
45689 * bits/typesizes.h: Likewise.
45690 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45693 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45694 * time/time.h: Likewise.
45696 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45699 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45700 in instead of returning them. Return void.
45701 (__libc_mallinfo): Accumulate over all arenas.
45702 (__malloc_stats): Adjust for change in int_mallinfo interface.
45704 2012-05-16 Roland McGrath <roland@hack.frob.com>
45707 * configure.in (NM): Add AC_CHECK_TOOL for it.
45708 (libc_extra_cflags): New substituted variable.
45709 Check for -fstack-protector being used implicitly.
45710 * configure: Regenerated.
45711 * config.make.in (config-extra-cflags): New variable,
45712 gets @libc_extra_cflags@.
45713 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45716 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45717 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45718 * configure: Regenerated.
45719 * config.make.in (CPPUNDEFS): New substituted variable.
45720 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45721 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45722 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45724 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45726 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45727 (mq_attr): Use __syscall_slong_t.
45729 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45731 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45732 Check __x86_64__ instead of __WORDSIZE.
45733 (_STAT_VER_LINUX): Likewise.
45734 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45735 __syscall_ulong_t and __syscall_slong_t.
45736 (stat64): Likewise.
45738 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45740 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45742 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45744 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45746 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45748 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45751 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45752 include <bits/wordsize.h>. Check __x86_64__ instead of
45754 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45756 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45759 include <bits/wordsize.h>. Check __x86_64__ instead of
45761 (user_regs_struct): Use "__extension__ unsigned long long"
45762 instead of "unsigned long" if __x86_64__ is defined.
45763 (user): Likewise. Pad after pointer field if __ILP32__ is
45766 2012-05-16 Joseph Myers <joseph@codesourcery.com>
45768 * configure.in (makeinfo): Require version 4.5 or later. Allow
45770 * configure: Regenerated.
45771 * manual/install.texi (texinfo): Increase version requirement to
45773 * INSTALL: Regenerated.
45775 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45777 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45779 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45781 * sysdeps/x86_64/x32/ffs.c: New file.
45783 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45785 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45786 defined. Use __syscall_ulong_t.
45787 (shminfo): Use __syscall_ulong_t.
45788 (shm_info): Likewise.
45790 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45793 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45795 (msgqnum_t): Use __syscall_ulong_t.
45796 (msglen_t): Likewise.
45797 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45800 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45801 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45803 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45805 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45806 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45808 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45811 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45812 include <bits/wordsize.h>. Check __x86_64__ instead of
45815 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45816 "unsigned long long int" if __x86_64__ is defined.
45817 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45819 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45820 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45821 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45823 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45825 (GET_PC): Cast to uintptr_t first.
45826 (GET_FRAME): Likewise.
45827 (GET_STACK): Likewise.
45829 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45830 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45831 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45832 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45833 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45834 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45835 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45836 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45837 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45838 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45839 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45840 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45841 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45842 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45843 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45844 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45845 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45846 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45847 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45848 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45849 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45850 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45851 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45852 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45853 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45854 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45855 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45856 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45857 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45859 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45861 * Makerules (+depfiles): Also collect depfiles from .oS in
45863 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45864 .oS, $(libnldbl-routines)).
45866 * Makerules (native-compile-mkdep-flags): Define.
45867 * sunrpc/Makefile (extra-objs): Add $(addprefix
45868 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45869 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45870 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45871 calling $(make-target-directory).
45873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45875 * bits/types.h (__snseconds_t): Removed.
45876 * time/time.h (struct timespec): Replace __snseconds_t with
45878 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45879 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45881 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45882 (__SNSECONDS_T_TYPE): Likewise.
45883 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45884 (__SNSECONDS_T_TYPE): Likewise.
45885 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45886 (__SNSECONDS_T_TYPE): Likewise.
45888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45890 * sysdeps/mach/hurd/bits/typesizes.h
45891 (__SYSCALL_SLONG_TYPE): New macro.
45892 (__SYSCALL_ULONG_TYPE): Likewise.
45894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45896 * bits/types.h (__syscall_slong_t): New type.
45897 (__syscall_ulong_t): Likewise.
45899 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45900 (__SYSCALL_ULONG_TYPE): Likewise.
45901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45902 (__SYSCALL_SLONG_TYPE): Likewise.
45903 (__SYSCALL_ULONG_TYPE): Likewise.
45904 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45905 (__SYSCALL_SLONG_TYPE): Likewise.
45906 (__SYSCALL_ULONG_TYPE): Likewise.
45907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45908 (__SYSCALL_SLONG_TYPE): Likewise.
45909 (__SYSCALL_ULONG_TYPE): Likewise.
45911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45913 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45914 Add sigaltstack-offsets.sym.
45915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45916 <sigaltstack-offsets.h>.
45917 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45918 longjmp_msg pointer.
45919 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45920 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45922 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45924 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45926 * elf/stackguard-macros.h: Remove file.
45927 * sysdeps/generic/stackguard-macros.h: New file.
45928 * sysdeps/i386/stackguard-macros.h: Likewise.
45929 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45930 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45931 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45932 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45933 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45934 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45935 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45936 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45937 <elf/stackguard-macros.h>.
45940 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45941 __aligned__ in attribute.
45942 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45943 (gregset_t): Likewise.
45945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45947 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45948 * sysdeps/x86_64/64/Implies-after: Here. New file.
45949 * sysdeps/x86_64/x32/Implies-after: New file.
45951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45953 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45954 and access return value for _dl_profile_fixup. Use R10_LP to
45957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45959 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45961 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45963 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45964 * sysdeps/x86_64/x32/sysdep.h: New file.
45966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45968 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45969 * sysdeps/x86_64/setjmp.S: Likewise.
45971 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45973 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45974 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45975 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45976 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45977 remove unused global constant.
45979 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
45981 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45982 include of <not-cancel.h>.
45984 2012-05-15 Roland McGrath <roland@hack.frob.com>
45986 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45988 2012-05-15 Jeff Law <law@redhat.com>
45989 Andreas Jaeger <aj@suse.de>
45992 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45994 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45995 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45996 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45997 code changing __hst_map_handle.map.
45999 2012-05-15 Roland McGrath <roland@hack.frob.com>
46001 * configure.in (sysnames): Look for Implies-before and Implies-after
46003 * configure: Regenerated.
46005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46007 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46008 8-byte data alignment with LP_SIZE alignment.
46010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46012 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46015 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46017 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46021 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46022 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46023 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46025 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46029 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46030 (stackinfo_sub_sp): Likewise.
46032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46034 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46039 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46044 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46049 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46053 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46054 into R11_LP and load __x86_64_shared_cache_size_half into
46057 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46059 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46062 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46064 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46066 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46068 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46070 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46071 powerpc32/power7/fpu/s_logb.c via #include.
46072 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46073 powerpc32/power7/fpu/s_logbf.c via #include.
46074 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46075 powerpc32/power7/fpu/s_logbl.c via #include.
46077 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46079 * README.libm: Remove file.
46081 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46083 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46084 count for x32. Use R*_LP and omit operand-size suffix.
46086 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46088 * shlib-versions: Move x86_64-.*-linux.* entries to ...
46089 * sysdeps/x86_64/64/shlib-versions: Here. New file.
46090 * sysdeps/x86_64/x32/shlib-versions: New file.
46092 2012-05-14 Roland McGrath <roland@hack.frob.com>
46094 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46095 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46096 Use _dl_fatal_printf instead.
46098 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46100 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46101 set if not set by the user. Do not allow for being unset.
46102 * sysdeps/unix/sysv/linux/configure: Regenerated.
46104 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46106 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46107 the `q' suffix from lea and replace .quad with ASM_ADDR.
46109 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46111 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46112 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
46114 (PTR_DEMANGLE): Likewise.
46116 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46118 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46120 (ASM_ADDR): Likewise.
46121 (RAX_LP): Likewise.
46122 (RBP_LP): Likewise.
46123 (RBX_LP): Likewise.
46124 (RCX_LP): Likewise.
46125 (RDI_LP): Likewise.
46126 (RSI_LP): Likewise.
46127 (RSP_LP): Likewise.
46130 (R10_LP): Likewise.
46131 (R10_LP): Likewise.
46132 (R11_LP): Likewise.
46133 (R12_LP): Likewise.
46134 (R13_LP): Likewise.
46135 (R14_LP): Likewise.
46136 (R15_LP): Likewise.
46138 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46140 * sysdeps/x86_64/x32/dl-machine.h: New file.
46142 2012-05-14 Andreas Jaeger <aj@suse.de>
46144 * manual/Makefile (subdir): Remove export of subdir.
46145 (all): Remove target.
46146 (.PHONY): Remove all from list.
46147 (mkinstalldirs): Remove.
46148 (.PHONY): Remove installdirs from list.
46149 ($(inst_infodir)/libc.info): Use make-target-directory.
46150 (installdirs): Remove.
46151 (subdir_%): Remove.
46152 (glibc-targets): Remove.
46155 ($(objpfx)stubs ../po/manual.pot): Remove.
46156 ($(objpfx)stamp%): Remove.
46157 (make-target-directory): Remove.
46158 (subdir_install): Remove.
46159 (routines): Remove.
46166 * manual/.gitignore: Remove, it's not needed anymore.
46167 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46169 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46171 (texis): Renamed to $(objpfx)texis.
46172 (texis-path): New, contains path to generated files.
46173 (chapters.%): Use texis-path for complete path, add extra argument
46175 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46176 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46177 (summary,texi, stamp-summary): Use complete path of
46178 files. Generate files in build dir.
46179 (dir-add.texi): Build in build dir.
46180 (libm-err.texi,stamp-libm-err): Likewise.
46181 (version.texi, stamp-version): Likewise.
46182 (.%c.texi): Likewise.
46183 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46184 (mostlyclean): Remove target.
46185 (realclean): Remove target.
46186 (generated): Add new variable with contents from mostlyclean and
46187 realclean, remove entries duplicated in common-mostlyclean, add
46188 stamp-libm-err and stamp-version.
46189 (generated-dirs): Add libc directory.
46190 ($(inst_infodir)/libc.info): Install files from build dir.
46192 * manual/install.texi (Configuring and compiling): Adjust since
46193 the info files are not part of the tar ball anymore.
46195 2012-05-14 Andreas Jaeger <aj@suse.de>
46197 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46200 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46203 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46204 to 2.2.0 where earlier.
46205 * sysdeps/unix/sysv/linux/configure: Regenerated.
46206 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46207 Remove conditional code.
46208 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46209 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46210 Remove conditional code.
46211 [!__NR_lchown]: Likewise.
46212 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46213 [__NR_lchown]: Likewise.
46214 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46215 comment referencing __ASSUME_LCHOWN_SYSCALL.
46216 * sysdeps/unix/sysv/linux/i386/sigaction.c
46217 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46218 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46219 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46220 Remove conditional code.
46221 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46222 (__protocol_available): Remove #if 0 code.
46223 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46225 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46226 * sysdeps/unix/sysv/linux/kernel-features.h
46227 (__ASSUME_GETCWD_SYSCALL): Don't define.
46228 (__ASSUME_REALTIME_SIGNALS): Likewise.
46229 (__ASSUME_PREAD_SYSCALL): Likewise.
46230 (__ASSUME_PWRITE_SYSCALL): Likewise.
46231 (__ASSUME_POLL_SYSCALL): Likewise.
46232 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46233 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46235 (__ASSUME_SIOCGIFNAME): Don't define.
46236 (__ASSUME_MSG_NOSIGNAL): Likewise.
46237 (__ASSUME_SENDFILE): Define unconditionally.
46238 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46239 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46241 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46242 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46243 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46244 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46245 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46246 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46247 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46249 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46252 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46255 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46258 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46261 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46264 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46270 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46272 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46273 Remove conditional code.
46274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46275 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46276 Remove conditional code.
46277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46278 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46279 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46280 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46281 Remove conditional code.
46282 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46283 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46284 Remove conditional code.
46285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46286 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46287 Remove conditional code.
46288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46289 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46290 Remove conditional code.
46291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46292 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46293 Remove conditional code.
46294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46295 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46296 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46298 * sysdeps/unix/sysv/linux/sigaction.c
46299 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46300 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46301 * sysdeps/unix/sysv/linux/sigpending.c
46302 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46303 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46304 * sysdeps/unix/sysv/linux/sigprocmask.c
46305 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46306 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46307 * sysdeps/unix/sysv/linux/sigsuspend.c
46308 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46309 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46310 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46311 (__libc_missing_rt_sigs): Remove.
46312 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46313 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46314 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46315 Remove conditional code.
46316 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46317 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46319 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46320 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46321 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46322 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46324 2012-05-14 Andreas Jaeger <aj@suse.de>
46326 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46327 it's not used in glibc.
46328 (__coshm1): Likewise.
46329 (__acosh1p): Likewise.
46332 * manual/string.texi (Copying and Concatenation): Add missing
46333 variable in concat example.
46334 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46336 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46339 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46340 __builtin_clzl with __builtin_clzll.
46342 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46345 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46348 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46350 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46351 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46352 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46353 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46355 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46357 * NEWS: Update ia64 info.
46359 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46361 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46364 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46366 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46367 * sysdeps/unix/syscalls.list (dup3): Likewise.
46368 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46369 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46371 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46373 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46374 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46376 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46378 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46380 (TLS_IE): Use mov/add instead of movq/addq to load thread
46382 (TLS_GD_PREFIX): New.
46385 2012-05-11 David S. Miller <davem@davemloft.net>
46387 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46388 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46389 (_FPU_SETCW): Likewise.
46391 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46393 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46394 is 32-byte aligned.
46396 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46399 * iconvdata/gb18030.c: Update tables.
46400 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46401 characters specially.
46402 (BODY for TO_LOOP): Add encoding of missing ranges.
46404 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46407 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46408 * sysdeps/mach/hurd/dup3.c: Likewise.
46409 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46410 * sysdeps/powerpc/memmove.c:: Likewise.
46412 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46414 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46415 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46417 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46419 * elf/elf.h (R_X86_64_RELATIVE64): New.
46420 (R_X86_64_NUM): Updated.
46421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46422 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46423 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46424 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46425 tst-quad1pie tst-quad2pie
46426 (modules-names): Add tst-quadmod1 tst-quadmod2.
46427 ($(objpfx)tst-quad1): New dependency.
46428 ($(objpfx)tst-quad2): Likewise.
46429 ($(objpfx)tst-quad1pie): Likewise.
46430 ($(objpfx)tst-quad2pie): Likewise.
46431 * sysdeps/x86_64/tst-quad1.c: New file.
46432 * sysdeps/x86_64/tst-quad1pie.c: New file.
46433 * sysdeps/x86_64/tst-quad2.c: Likewise.
46434 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46435 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46436 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46437 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46438 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46440 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46442 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46443 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46444 * streams/stropts.h (t_scalar_t): Define type.
46446 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46447 (_PATH_PRESERVE): Set to "/var/lib".
46448 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46450 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46453 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46454 if __dir_mkfile succeeded.
46456 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46457 checking for _hurd_dtablesize. Unlock it right after having
46458 finished _hurd_dtable allocation.
46460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46462 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46463 * sysdeps/mach/hurd/configure: Regenerated.
46464 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46465 special-casing to...
46466 * sysdeps/gnu/configure.in: ... this new file.
46467 * sysdeps/unix/sysv/linux/configure: Regenerated.
46468 * sysdeps/gnu/configure: New generated file.
46470 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46471 for Linux: use nsec instead of usec, as well as:
46472 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46473 members of type struct timespec.
46474 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46476 (struct stat64): Likewise.
46477 (_STATBUF_ST_NSEC): New macro.
46478 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46480 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46481 __strtoul_internal rather than strtoul.
46483 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46485 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46488 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46490 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46491 which preserves existing values.
46492 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46494 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46496 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46497 TIMEOUT values. Return EINVAL for NFDS values either negative or
46498 greater than FD_SETSIZE.
46500 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46502 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46503 allocated, call __vm_protect to finish enabling the existing space, and
46504 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46505 allocate the remainder.
46507 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46509 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46510 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46514 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46515 sysdeps/mach/hurd/readlink.c.
46517 * posix/tst-sysconf.c (posix_options): Only use
46518 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46519 _POSIX_SYNCHRONIZED_IO when they are defined
46520 * sysdeps/mach/hurd/bits/posix_opt.h:
46521 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46522 (_XOPEN_REALTIME): Undefine macro.
46523 (_XOPEN_REALTIME_THREADS): Undefine macro.
46524 (_XOPEN_SHM): Undefine macro.
46525 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46527 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46529 (_POSIX_ASYNC_IO): Undefine macro.
46530 (_POSIX_PRIORITIZED_IO): Undefine macro.
46531 (_POSIX_SPIN_LOCKS): Define macro to -1.
46533 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46534 SA_NODEFER, SA_RESETHAND.
46535 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46536 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46539 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46541 * elf/Makefile (pldd-modules): Define unconditionally.
46543 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46545 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46547 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46549 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46550 Return ENOENT when name is empty.
46551 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46553 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46555 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46557 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46561 Fix mlock in all cases except non-readable pages.
46562 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46563 instead of VM_PROT_ALL as parameter to __vm_wire function.
46565 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46566 (__mkdir): When path is `/', just fail with EEXIST.
46567 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46569 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46571 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46572 <sys/uio.h> (for writev).
46573 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46574 and <sys/param.h> (for MIN).
46576 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46578 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46579 REQUESTED_TIME. Properly set the remaining time and return EINTR
46582 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46584 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46585 Depend on against $(link-rpcuserlibs).
46587 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46589 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46590 (__libc_stack_end): Do not use attribute_relro.
46591 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46592 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46593 to libthread-provided value.
46594 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46600 * bits/libc-lock.h (__libc_once_get): New macro.
46601 * sysdeps/mach/bits/libc-lock.h: Likewise.
46602 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46603 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46604 instead of using implementation details.
46606 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46607 * libio/freopen.c: Likewise.
46608 * libio/freopen64.c: Likewise.
46609 * misc/syslog.c: Likewise.
46610 * nscd/connections.c: Likewise.
46611 * nscd/netgroupcache.c: Likewise.
46612 * sysdeps/posix/getcwd.c: Likewise.
46614 2012-05-10 Roland McGrath <roland@hack.frob.com>
46616 * math/w_ilogbf.c: Add #include <limits.h>.
46618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46620 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46621 path instead of returning without unlocking.
46623 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46624 immediate-write ioctls.
46625 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46627 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46629 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46630 __builtin_frame_address instead of making assumptions about the
46631 location of the return address relative to DATA. Force early load of
46632 the return address.
46633 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46634 __builtin_frame_address.
46637 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46638 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46639 implement dup3 and do some further code clean-ups.
46640 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46641 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46645 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46647 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46648 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46649 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46650 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46651 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46654 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46655 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46656 when handler == SIG_ERR, not when handler != SIG_ERR.
46658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46660 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46661 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46664 accept4 for GNU Hurd.
46665 * include/sys/socket.h (__libc_accept4): New prototype.
46666 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46667 to implement __libc_accept4.
46668 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46670 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46672 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46673 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46674 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46675 signal-defines.sym.
46677 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46679 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46681 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46683 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46684 assertion on O_CLOEXEC flag.
46685 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46686 * hurd/intern-fd.c: Likewise.
46687 * hurd/port2fd.c: Likewise.
46689 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46692 * bits/in.h (IPV6_PKTINFO): Define new macro.
46693 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46695 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46700 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46701 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46702 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46703 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46705 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46706 * math/libm-test.inc (logb_test) : Additional logb tests.
46708 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46709 Andreas Jaeger <aj@suse.de>
46711 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46712 * configure: Regenerated.
46713 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46714 * config.make.in (link-obsolete-rpc): New substituted variable.
46715 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46716 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46717 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46718 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46719 so that libc.a contains the symbols.
46720 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46721 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46722 * sunrpc/auth_none.c: Likewise.
46723 * sunrpc/auth_unix.c: Likewise.
46724 * sunrpc/authdes_prot.c: Likewise.
46725 * sunrpc/authuxprot.c: Likewise.
46726 * sunrpc/clnt_gen.c: Likewise.
46727 * sunrpc/clnt_perr.c: Likewise.
46728 * sunrpc/clnt_raw.c: Likewise.
46729 * sunrpc/clnt_simp.c: Likewise.
46730 * sunrpc/clnt_tcp.c: Likewise.
46731 * sunrpc/clnt_udp.c: Likewise.
46732 * sunrpc/clnt_unix.c: Likewise.
46733 * sunrpc/des_crypt.c: Likewise.
46734 * sunrpc/des_soft.c: Likewise.
46735 * sunrpc/get_myaddr.c: Likewise.
46736 * sunrpc/key_call.c: Likewise.
46737 * sunrpc/key_prot.c: Likewise.
46738 * sunrpc/netname.c: Likewise.
46739 * sunrpc/pm_getmaps.c: Likewise.
46740 * sunrpc/pm_getport.c: Likewise.
46741 * sunrpc/pmap_clnt.c: Likewise.
46742 * sunrpc/pmap_prot.c: Likewise.
46743 * sunrpc/pmap_prot2.c: Likewise.
46744 * sunrpc/pmap_rmt.c: Likewise.
46745 * sunrpc/publickey.c: Likewise.
46746 * sunrpc/rpc_cmsg.c: Likewise.
46747 * sunrpc/rpc_common.c: Likewise.
46748 * sunrpc/rpc_dtable.c: Likewise.
46749 * sunrpc/rpc_prot.c: Likewise.
46750 * sunrpc/rpc_thread.c: Likewise.
46751 * sunrpc/rtime.c: Likewise.
46752 * sunrpc/svc.c: Likewise.
46753 * sunrpc/svc_auth.c: Likewise.
46754 * sunrpc/svc_raw.c: Likewise.
46755 * sunrpc/svc_run.c: Likewise.
46756 * sunrpc/svc_tcp.c: Likewise.
46757 * sunrpc/svc_udp.c: Likewise.
46758 * sunrpc/svc_unix.c: Likewise.
46759 * sunrpc/svcauth_des.c: Likewise.
46760 * sunrpc/xcrypt.c: Likewise.
46761 * sunrpc/xdr.c: Likewise.
46762 * sunrpc/xdr_array.c: Likewise.
46763 * sunrpc/xdr_float.c: Likewise.
46764 * sunrpc/xdr_intXX_t.c: Likewise.
46765 * sunrpc/xdr_mem.c: Likewise.
46766 * sunrpc/xdr_rec.c: Likewise.
46767 * sunrpc/xdr_ref.c: Likewise.
46768 * sunrpc/xdr_sizeof.c: Likewise.
46769 * sunrpc/xdr_stdio.c: Likewise.
46771 2012-05-10 Roland McGrath <roland@hack.frob.com>
46773 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46774 change. Update copyright years.
46776 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46778 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46780 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46781 Joseph Myers <joseph@codesourcery.com>
46782 Paul Pluzhnikov <ppluzhnikov@google.com>
46785 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46787 [cross-compiling] (extra-libs): Likewise.
46788 [cross-compiling] (extra-libs-others): Likewise.
46789 [cross-compiling] (librpcsvc-routines): Likewise.
46790 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46791 [cross-compiling] (omit-deps): Likewise.
46792 (sunrpc-CPPFLAGS): New variable.
46793 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46794 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46795 (cross-rpcgen-objs): New variable.
46796 (extra-objs): Append $(cross-rpcgen-objs).
46797 ($(cross-rpcgen-objs)): New rule.
46798 ($(objpfx)cross-rpcgen): Likewise.
46799 (rpcgen-cmd): Define to use $(built-program-file). Expand
46801 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46802 ($(objpfx)x%.stmp): Likewise.
46803 * sunrpc/proto.h [IS_IN_build] (_): Define.
46804 [IS_IN_build] (_libc_intl_domainname): Likewise.
46806 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46809 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46810 and R_X86_64_TPOFF64.
46812 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46814 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46815 sysdeps/unix/sysv/syscalls.list.
46818 * sysdeps/unix/sysv/syscalls.list: Remove file.
46820 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46823 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46824 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46825 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46826 (__LC_IDENTIFICATION): Make these macros useful in #if
46827 expressions, as required by C99.
46829 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46831 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46832 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46835 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46837 * stdlib/longlong.h: Updated from GCC.
46839 2012-05-09 Andreas Jaeger <aj@suse.de>
46841 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46842 default is first entry.
46843 (run_mode): Set type.
46844 (main): Remove informal message about syslog.
46845 (options): Fix typo.
46848 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46851 (llrintf): Likewise.
46852 (llrint): Likewise.
46855 (nearbyint): Likewise.
46856 (nearbyintf): Likewise.
46858 2012-05-09 Andreas Jaeger <aj@suse.de>
46859 Pedro Alves <palves@redhat.com>
46861 * nscd/nscd.c (run_mode): Use enum.
46862 (main): Cleanup coding style issue.
46864 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
46865 Andreas Jaeger <aj@suse.de>
46867 * nscd/nscd.c (go_background): Replaced with...
46868 (run_mode): ... this.
46869 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46870 (options): Add -F --foreground.
46871 (main): Implement it.
46872 (parse_opt): Parse it.
46874 2012-05-09 Andreas Jaeger <aj@suse.de>
46877 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46878 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46879 -Wconversion warning.
46880 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46883 2012-05-09 Joseph Myers <joseph@codesourcery.com>
46885 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46887 (LC_ALL): Use macro-int-constant.
46888 (LC_COLLATE): Likewise.
46889 (LC_CTYPE): Likewise.
46890 (LC_MESSAGES): Likewise.
46891 (LC_MONETARY): Likewise.
46892 (LC_NUMERIC): Likewise.
46893 (LC_TIME): Likewise.
46894 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46895 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46897 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46899 [C99-based standards] (float_t): Expect type.
46900 [C99-based standards] (double_t): Expect type.
46901 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46903 [C99-based standards] (HUGE_VALL): Likewise.
46904 [C99-based standards] (INFINITY): Likewise.
46905 [C99-based standards] (NAN): Likewise.
46906 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46907 [C99-based standards] (FP_NAN): Likewise.
46908 [C99-based standards] (FP_NORMAL): Likewise.
46909 [C99-based standards] (FP_SUBNORMAL): Likewise.
46910 [C99-based standards] (FP_ZERO): Likewise.
46911 [C99-based standards] (FP_FAST_FMA): Use
46912 optional-macro-int-constant. Specify type. Require == 1.
46913 [C99-based standards] (FP_FAST_FMAF): Likewise.
46914 [C99-based standards] (FP_FAST_FMAL): Likewise.
46915 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46916 [C99-based standards] (FP_ILOGBNAN): Likewise.
46917 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46919 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46920 [C99-based standards] (math_errhandling): Specify type.
46921 [ISO99 || ISO11] (signgam): Do not allow.
46922 [non-C99-based standards] (copysignf): Do not allow.
46923 [non-C99-based standards] (exp2f): Likewise.
46924 [non-C99-based standards] (log2f): Likewise.
46925 [non-C99-based standards] (modff): Allow.
46926 [non-C99-based standards] (erff): Do not allow.
46927 [non-C99-based standards] (erfcf): Likewise.
46928 [non-C99-based standards] (gammaf): Likewise.
46929 [non-C99-based standards] (hypotf): Likewise.
46930 [non-C99-based standards] (j0f): Likewise.
46931 [non-C99-based standards] (j1f): Likewise.
46932 [non-C99-based standards] (jnf): Likewise.
46933 [non-C99-based standards] (lgammaf): Likewise.
46934 [non-C99-based standards] (tgammaf): Likewise.
46935 [non-C99-based standards] (y0f): Likewise.
46936 [non-C99-based standards] (y1f): Likewise.
46937 [non-C99-based standards] (ynf): Likewise.
46938 [non-C99-based standards] (isnanf): Likewise.
46939 [non-C99-based standards] (acoshf): Likewise.
46940 [non-C99-based standards] (asinhf): Likewise.
46941 [non-C99-based standards] (atanhf): Likewise.
46942 [non-C99-based standards] (cbrtf): Likewise.
46943 [non-C99-based standards] (expm1f): Likewise.
46944 [non-C99-based standards] (ilogbf): Likewise.
46945 [non-C99-based standards] (log1pf): Likewise.
46946 [non-C99-based standards] (logbf): Likewise.
46947 [non-C99-based standards] (nextafterf): Likewise.
46948 [non-C99-based standards] (remainderf): Likewise.
46949 [non-C99-based standards] (rintf): Likewise.
46950 [non-C99-based standards] (scalbf): Likewise.
46951 [non-C99-based standards] (copysignl): Likewise.
46952 [non-C99-based standards] (exp2l): Likewise.
46953 [non-C99-based standards] (log2l): Likewise.
46954 [non-C99-based standards] (modfl): Allow.
46955 [non-C99-based standards] (erfl): Do not allow.
46956 [non-C99-based standards] (erfcl): Likewise.
46957 [non-C99-based standards] (gammal): Likewise.
46958 [non-C99-based standards] (hypotl): Likewise.
46959 [non-C99-based standards] (j0l): Likewise.
46960 [non-C99-based standards] (j1l): Likewise.
46961 [non-C99-based standards] (jnl): Likewise.
46962 [non-C99-based standards] (lgammal): Likewise.
46963 [non-C99-based standards] (tgammal): Likewise.
46964 [non-C99-based standards] (y0l): Likewise.
46965 [non-C99-based standards] (y1l): Likewise.
46966 [non-C99-based standards] (ynl): Likewise.
46967 [non-C99-based standards] (isnanl): Likewise.
46968 [non-C99-based standards] (acoshl): Likewise.
46969 [non-C99-based standards] (asinhl): Likewise.
46970 [non-C99-based standards] (atanhl): Likewise.
46971 [non-C99-based standards] (cbrtl): Likewise.
46972 [non-C99-based standards] (expm1l): Likewise.
46973 [non-C99-based standards] (ilogbl): Likewise.
46974 [non-C99-based standards] (log1pl): Likewise.
46975 [non-C99-based standards] (logbl): Likewise.
46976 [non-C99-based standards] (nextafterl): Likewise.
46977 [non-C99-based standards] (remainderl): Likewise.
46978 [non-C99-based standards] (rintl): Likewise.
46979 [non-C99-based standards] (scalbl): Likewise.
46980 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46981 [non-C99-based standards] (FP_*): Do not allow.
46982 [C99-based standards] (FP_*): Change to
46983 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46984 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46986 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46987 (SIG_ERR): Likewise.
46988 [X/Open-based standards] (SIG_HOLD): Likewise.
46989 (SIG_IGN): Likewise.
46990 (SIGABRT): Use macro-int-constant. Specify type. Require
46992 (SIGFPE): Likewise.
46993 (SIGILL): Likewise.
46994 (SIGINT): Likewise.
46995 (SIGSEGV): Likewise.
46996 (SIGTER): Likewise.
46997 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46998 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46999 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47000 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47001 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47002 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47003 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47004 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47005 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47006 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47007 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47008 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47009 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47010 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47011 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47012 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47013 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47014 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47015 [X/Open-based standards] (SIGTRAP): Likewise.
47016 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47017 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47018 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47019 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47020 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47023 2012-05-08 Ian Wienand <ianw@vmware.com>
47026 * time/tzset.c (__tzset_parse_tz): Update default rules for
47027 daylight time changes in the Energy Policy Act of 2005.
47029 2012-05-09 Andreas Jaeger <aj@suse.de>
47032 * elf/ldconfig.c (parse_conf): Change string to make clear that
47033 ldconfig only issued a warning if ld.so.conf does not exist.
47035 2012-05-08 David S. Miller <davem@davemloft.net>
47037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47038 movxtod instead of popping the value on the stack.
47040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47042 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47044 * config.h.in: Add HAVE_ARM_PCS_VFP.
47046 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47049 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47050 checking but the checks are disabled for any reason.
47052 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47054 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47055 and ELF64_R_TYPE with ELFW(R_TYPE).
47057 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47059 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47060 (ulimit): Likewise.
47062 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47063 (settimeofday): Likewise.
47065 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47067 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47068 a struct th_u2 inside the union, and move tu_block/tu_code into
47069 a new th_u3 union of tu_block/tu_code inside of that. Move
47070 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47071 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47072 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47073 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47074 (th_stuff): Change to th_u1.tu_stuff.
47076 (th_msg): Change to th_u1.th_u2.tu_data.
47078 2012-05-07 David S. Miller <davem@davemloft.net>
47080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47083 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47084 (SETUP_PIC_REG): Use it.
47085 (SETUP_PIC_REG_LEAF): Use it.
47087 2012-05-07 Joseph Myers <joseph@codesourcery.com>
47091 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47093 (EXPL_FINITE): Likewise.
47094 (FLDLOG): Likewise.
47095 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47096 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47098 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47100 (EXPL_FINITE): Likewise.
47101 (FLDLOG): Likewise.
47102 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47103 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47105 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
47106 test of -max_value argument for long double.
47107 * sysdeps/i386/fpu/libm-test-ulps: Update.
47108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47110 2012-05-06 David S. Miller <davem@davemloft.net>
47112 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47113 quad soft-float symbols whose references which are compiler
47115 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47117 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47121 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47123 (EXPL_FINITE): Likewise.
47124 (FLDLOG): Likewise.
47127 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47128 Adjust comments for base varying.
47129 (__expl_finite): Change alias to EXPL_FINITE.
47130 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47132 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47133 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47134 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47135 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47136 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47138 (EXPL_FINITE): Likewise.
47139 (FLDLOG): Likewise.
47142 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47143 Adjust comments for base varying.
47144 (__expl_finite): Change alias to EXPL_FINITE.
47145 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47150 * math/libm-test.inc (check_float_internal): Correct ulp
47151 calculation for subnormal expected results.
47153 2012-05-06 Andreas Jaeger <aj@suse.de>
47155 * Makeconfig (+math-flags): New, set to -frounding-math.
47156 (+cflags): Add +math-flags so that all of glibc gets compiled with
47159 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47161 2012-05-05 Joseph Myers <joseph@codesourcery.com>
47163 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47169 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47170 (__ieee754_expl): Allow for and saturate large arguments.
47171 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47172 (u_threshold): Likewise.
47173 (__exp): Call __ieee754_exp before checking for overflow and
47175 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47176 (u_threshold): Likewise.
47177 (__expf): Call __ieee754_expf before checking for overflow and
47179 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47180 (u_threshold): Likewise.
47181 (__expl): Call __ieee754_expl before checking for overflow and
47183 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47184 (__ieee754_expl): Allow for and saturate large arguments.
47185 * math/libm-test.inc (exp_test): Add another test. Do not allow
47186 missing overflow exception on overflow.
47187 (expm1_test): Do not allow missing overflow exception on overflow.
47189 * sysdeps/i386/fpu/e_expl.c: Move to ...
47190 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
47191 rather than using inline asm.
47192 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47193 * sysdeps/x86_64/fpu/e_expl.S: Copy from
47194 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47196 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47199 (signal): Likewise.
47203 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47205 * sysdeps/unix/syscalls.list (adjtime): Add entry from
47206 sysdeps/unix/common/syscalls.list.
47207 (fchmod): Likewise.
47208 (fchown): Likewise.
47209 (ftruncate): Likewise.
47210 (getrusage): Likewise.
47211 (gettimeofday): Likewise.
47212 (setpgid): Likewise.
47213 (setregid): Likewise.
47214 (setreuid): Likewise.
47215 (sigaction): Likewise.
47216 (truncate): Likewise.
47217 (vhangup): Likewise.
47218 * sysdeps/unix/common/syscalls.list: Remove file.
47219 * sysdeps/unix/bsd/Implies: Don't include unix/common.
47220 * sysdeps/unix/sysv/linux/Implies: Likewise.
47222 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47224 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47226 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47230 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47233 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47236 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47239 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47242 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47245 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47248 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47252 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47256 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47259 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47263 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47267 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47269 * sysdeps/unix/common/bits/dirent.h: Remove file.
47270 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47272 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47273 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47274 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47275 * sysdeps/unix/bsd/isatty.c: Likewise.
47276 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47277 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47278 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47280 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47283 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47284 long double comparison inaccuracies.
47285 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47288 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47290 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47291 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47293 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47296 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47297 nonzero digits before rounding a hex value.
47298 * stdlib/tst-strtod.c (tests): Add another test.
47300 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47302 * sysdeps/s390/fpu/libm-test-ulps: Update.
47304 2012-05-03 Andreas Jaeger <aj@suse.de>
47306 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47307 does not get optimized out.
47308 (malloc_opt_barrier): New.
47310 2012-05-03 Andreas Jaeger <aj@suse.de>
47311 Roland McGrath <roland@hack.frob.com>
47313 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47314 intermediate file deletion.
47315 (generated): Add .symlist files.
47317 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47320 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47321 Redirect under this condition.
47322 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47323 [__USE_GNU] (__dprintf_chk): Not under this condition.
47324 [__USE_GNU] (__vdprintf_chk): Likewise.
47325 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47326 under this condition.
47327 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47328 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47329 [__USE_XOPEN2K8] (vdprintf): Likewise.
47330 [__USE_GNU] (__dprintf_chk): Not under this condition.
47331 [__USE_GNU] (__vdprintf_chk): Likewise.
47332 [__USE_GNU] (dprintf): Likewise.
47333 [__USE_GNU] (vdprintf): Likewise.
47335 2012-05-03 Roland McGrath <roland@hack.frob.com>
47337 * elf/Makefile (common-generated): Set this instead of generated for
47338 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47339 $(all-built-dso)-derived lists.
47341 2012-05-03 Andreas Jaeger <aj@suse.de>
47343 * sysdeps/i386/fpu/libm-test-ulps: Update.
47346 * FAQ.in: Likewise.
47347 * scripts/gen-FAQ.pl: Likewise.
47348 * manual/install.texi (Installation): Point to online location of
47350 * Makefile (files-for-dist): Remove FAQ.
47353 2012-05-02 Allan McRae <allan@archlinux.org>
47355 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47356 (LDFLAGS-reldepmod5.so): Likewise.
47357 (LDFLAGS-reldep6mod1.so): Likewise.
47358 (LDFLAGS-reldep6mod4.so): Likewise.
47359 (LDFLAGS-reldep8mod3.so): Likewise.
47360 (LDFLAGS-unload4mod1.so): Likewise.
47361 (LDFLAGS-unload4mod2.so): Likewise.
47362 (LDFLAGS-tst-initorder): Likewise.
47363 (LDFLAGS-tst-initordera2.so): Likewise.
47364 (LDFLAGS-tst-initordera3.so): Likewise.
47365 (LDFLAGS-tst-initordera4.so): Likewise.
47366 (LDFLAGS-tst-initorderb2.so): Likewise.
47367 (LDFLAGS-noload): Likewise.
47368 (LDFLAGS-next): Likewise.
47369 (LDFLAGS-order2mod1.so): Likewise.
47370 (LDFLAGS-order2mod2.so): Likewise.
47371 (LDFLAGS-tst-initorder2): Likewise.
47372 (LDFLAGS-tst-initorder2a.so): Likewise.
47373 (LDFLAGS-tst-initorder2b.so): Likewise.
47374 (LDFLAGS-tst-initorder2c.so): Likewise.
47375 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47377 2012-05-02 David S. Miller <davem@davemloft.net>
47379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47381 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47384 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47386 2012-05-02 Andreas Jaeger <aj@suse.de>
47388 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47389 since we manipulate rounding mode.
47390 (CPPFLAGS-test-idouble.c): Likewise.
47391 (CPPFLAGS-test-ifloat.c): Likewise.
47392 (CFLAGS-test-ldouble.c): Likewise.
47393 (CFLAGS-test-double.c): Likewise.
47394 (CFLAGS-test-float.c): Likewise.
47395 (CFLAGS-test-misc.c): Likewise.
47396 (CFLAGS-test-test-fenv.c): Likewise.
47398 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47402 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47403 comparisons to determine direction to adjust input.
47405 2012-05-01 Roland McGrath <roland@hack.frob.com>
47407 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47408 output to the target.
47410 * scripts/localplt.awk: New file.
47411 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47412 (check-localplt-CFLAGS): Variable removed.
47413 ($(all-built-dso:=.jmprel)): New static pattern rule.
47414 (generated): Add those targets.
47415 (localplt-built-dso): New variable.
47416 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47418 * elf/check-localplt.c: File removed.
47420 * scripts/check-execstack.awk: New file.
47421 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47422 (check-execstack-CFLAGS): Variable removed.
47423 ($(objpfx)check-execstack.h): Target removed.
47424 ($(objpfx)execstack-default): New target.
47425 (generated): Add that instead of check-execstack.h.
47426 ($(all-built-dso:=.phdr)): New static pattern rule.
47427 (generated): Add those targets.
47428 * elf/check-execstack.c: File removed.
47430 * scripts/check-textrel.awk: New file.
47431 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47432 (check-textrel-CFLAGS): Variable removed.
47433 (all-built-dso): Use := to define.o
47434 ($(all-built-dso:=.dyn)): New static pattern rule.
47435 (generated): Add those targets.
47436 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47437 * config.make.in (READELF): New substituted variable.
47438 * elf/check-textrel.c: File removed.
47440 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47442 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47444 * conform/data/ctype.h-data [C99-based standards] (isblank):
47446 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47447 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47449 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47450 Specify type. Require positive value.
47451 (EILSEQ): Likewise.
47452 (ERANGE): Likewise.
47453 [ISO || POSIX] (EILSEQ): Do not expect.
47454 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47455 Specify type. Require positive value.
47456 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47457 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47458 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47459 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47460 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47461 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47462 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47463 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47464 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47465 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47466 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47467 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47468 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47469 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47470 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47471 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47472 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47473 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47474 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47475 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47476 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47477 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47478 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47479 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47480 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47481 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47482 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47483 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47484 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47485 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47486 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47487 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47488 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47489 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47490 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47491 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47492 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47493 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47494 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47495 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47496 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47497 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47498 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47499 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47500 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47501 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47502 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47503 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47504 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47505 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47506 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47507 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47508 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47509 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47510 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47511 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47512 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47513 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47514 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47515 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47516 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47517 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47518 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47519 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47520 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47521 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47522 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47523 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47524 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47525 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47526 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47527 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47528 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47529 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47530 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47531 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47532 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47534 (FLT_ROUNDS): Expect as macro, not constant.
47535 (FLT_MANT_DIG): Use macro-int-constant.
47536 (DBL_MANT_DIG): Likewise.
47537 (LDBL_MANT_DIG): Likewise.
47538 (FLT_DIG): Likewise.
47539 (DBL_DIG): Likewise.
47540 (LDBL_DIG): Likewise.
47541 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47542 (DBL_MIN_EXP): Likewise.
47543 (LDBL_MIN_EXP): Likewise.
47544 (FLT_MAX_EXP): Use macro-int-constant.
47545 (DBL_MAX_EXP): Likewise.
47546 (LDBL_MAX_EXP): Likewise.
47547 (FLT_MAX_10_EXP): Likewise.
47548 (DBL_MAX_10_EXP): Likewise.
47549 (LDBL_MAX_10_EXP): Likewise.
47550 (FLT_MAX): Use macro-constant.
47551 (DBL_MAX): Likewise.
47552 (LDBL_MAX): Likewise.
47553 (FLT_EPSILON): Use macro-constant. Give upper bound.
47554 (DBL_EPSILON): Likewise.
47555 (LDBL_EPSILON): Likewise.
47556 (FLT_MIN): Likewise.
47557 (DBL_MIN): Likewise.
47558 (LDBL_MIN): Likewise.
47559 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47560 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47561 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47562 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47563 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47564 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47565 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47566 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47567 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47568 [ISO11] (FLT_TRUE_MIN): Likewise.
47569 [ISO11] (LDBL_TRUE_MIN): Likewise.
47570 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47571 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47572 (SCHAR_MIN): Use macro-int-constant. Specify type.
47573 (SCHAR_MAX): Likewise.
47574 (UCHAR_MAX): Likewise.
47575 (CHAR_MIN): Likewise.
47576 (CHAR_MAX): Likewise.
47577 (MB_LEN_MAX): Use macro-int-constant.
47578 (SHRT_MIN): Use macro-int-constant. Specify type.
47579 (SHRT_MAX): Likewise.
47580 (USHRT_MAX): Likewise.
47581 (INT_MAX): Likewise.
47582 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47584 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47586 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47588 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47589 bound negative. Suffix upper bound with "L".
47590 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47592 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47594 [C99-based standards] (LLONG_MAX): Likewise.
47595 [C99-based standards] (ULLONG_MAX): Likewise.
47596 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47598 [ISO11] (max_align_t): Require type.
47599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47601 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47602 from $CFLAGS, without defining away __attribute__ calls.
47603 (checknamespace): Use $CFLAGS_namespace.
47605 * conform/conformtest.pl (@keywords): Only include C99 keywords
47606 for standards based on C99 or C11.
47608 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47610 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47613 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47614 usability of symbols in #if.
47616 * conform/conformtest.pl: If macro or constant types start
47617 "promoted:", expect the symbol to be of the following type
47618 promoted by the integer promotions.
47620 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47621 in one place. Also handle "macro-constant".
47623 * conform/conformtest.pl: Only accept expected macro values with
47624 "==". Parse all "macro" lines in one place.
47625 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47627 * conform/conformtest.pl: Handle braced types on "constant" lines
47628 instead of handling "typed-constant".
47629 * conform/data/signal.h-data: Use "constant" instead of
47632 * conform/conformtest.pl: Handle "optional-" at start of lines in
47633 one place rather than duplicating several cases. Handle each
47634 format of "macro" line with initial "optional-".
47636 * conform/conformtest.pl: Only accept expected constant or
47637 optional-constant values with "==". Parse all "constant" lines in
47638 one place. Parse all "optional-constant" lines in one place.
47639 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47640 * conform/data/fmtmsg.h-data: Likewise.
47641 * conform/data/netinet/in.h-data: Likewise.
47642 * conform/data/tar.h-data: Likewise.
47643 * conform/data/limits.h-data: Use "==" form on "constant" and
47644 "optional-constant" lines.
47646 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47647 Use -std=c99 for XOPEN2K.
47648 (@knownproblems): Remove.
47649 (newtoken): Don't check %isknown.
47651 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47652 Do not expect macro.
47653 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47654 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47655 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47656 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47657 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47658 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47659 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47660 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47661 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47662 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47663 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47664 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47665 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47666 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47667 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47668 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47669 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47670 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47671 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47672 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47673 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47674 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47675 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47676 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47677 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47678 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47679 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47680 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47681 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47682 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47683 [XPG3] (acosh): Likewise.
47684 [XPG3] (asinh): Likewise.
47685 [XPG3] (atanh): Likewise.
47686 [XPG3] (cbrt): Likewise.
47687 [XPG3] (expm1): Likewise.
47688 [XPG3] (ilogb): Likewise.
47689 [XPG3] (log1p): Likewise.
47690 [XPG3] (logb): Likewise.
47691 [XPG3] (nextafter): Likewise.
47692 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47693 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47694 [XPG3] (remainder): Likewise.
47695 [XPG3] (rint): Likewise.
47696 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47697 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47698 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47699 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47700 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47701 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47702 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47703 [UNIX98 || XOPEN2K] (scalb): Expect.
47704 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47705 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47706 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47707 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47708 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47709 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47710 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47711 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47712 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47713 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47714 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47715 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47716 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47717 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47718 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47719 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47720 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47721 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47722 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47723 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47724 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47725 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47726 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47727 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47728 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47729 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47730 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47731 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47732 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47733 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47734 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47735 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47736 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47737 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47738 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47739 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47740 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47741 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47742 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47743 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47744 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47745 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47746 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47747 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47748 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47749 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47750 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47751 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47752 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47753 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47754 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47755 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47756 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47757 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47758 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47759 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47760 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47761 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47762 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47763 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47764 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47765 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47766 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47767 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47768 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47769 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47770 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47771 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47772 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47773 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47774 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47775 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47776 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47777 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47778 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47779 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47780 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47781 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47782 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47783 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47784 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47785 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47786 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47787 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47788 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47789 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47790 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47791 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47792 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47793 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47794 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47795 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47796 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47797 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47798 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47799 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47800 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47801 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47802 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47803 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47804 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47805 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47806 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47807 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47808 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47809 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47810 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47811 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47812 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47813 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47814 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47815 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47816 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47817 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47818 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47819 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47820 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47821 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47822 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47823 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47824 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47825 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47826 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47827 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47828 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47829 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47830 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47831 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47832 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47833 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47834 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47835 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47836 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47837 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47838 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47839 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47840 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47842 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47843 _XOPEN_SOURCE_EXTENDED for XPG4.
47845 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47847 * Makeconfig (localtime): Remove variable.
47848 (inst_localtime-file): Likewise.
47850 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47871 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47875 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47876 comparisons to determine direction to adjust input.
47877 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47878 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47879 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47881 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47883 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47885 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47886 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47888 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47890 * math/libm-test.inc (nexttoward_test): Add more tests.
47892 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47895 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47896 in version GLIBC_2.1, not GLIBC_2.0.
47897 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47900 2012-04-30 Joseph Myers <joseph@codesourcery.com>
47903 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47905 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47906 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47907 * math/libm-test.inc (acos_test): Add more tests.
47908 (asin_test): Likewise.
47909 * sysdeps/i386/fpu/libm-test-ulps: Update.
47910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47913 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47915 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47916 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47917 * math/libm-test.inc (acos_test_tonearest): New function.
47918 (acos_test_towardzero): Likewise.
47919 (acos_test_downward): Likewise.
47920 (acos_test_upward): Likewise.
47921 (asin_test_tonearest): Likewise.
47922 (asin_test_towardzero): Likewise.
47923 (asin_test_downward): Likewise.
47924 (asin_test_upward): Likewise.
47925 (main): Call the new functions.
47926 * sysdeps/i386/fpu/libm-test-ulps: Update.
47927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47931 * math/e_exp10.c: Include <float.h>.
47932 (__ieee754_exp10): Handle underflow here rather than multiplying
47933 large negative argument by M_LN10.
47934 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47936 * math/e_exp10l.c: Include <float.h>.
47937 (__ieee754_exp10l): Handle underflow here rather than multiplying
47938 large negative argument by M_LN10l.
47939 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47940 spurious overflow exception on underflow.
47942 2012-04-29 Marek Polacek <polacek@redhat.com>
47944 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47945 (__fortify_function): New macro.
47946 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47947 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47948 __extern_always_inline.
47949 * libio/bits/stdio2.h: Likewise.
47950 * libio/bits/stdio.h: Likewise.
47951 * string/string.h: Likewise.
47952 * string/bits/string3.h: Likewise.
47953 * include/stdio.h: Likewise.
47954 * stdlib/bits/stdlib.h: Likewise.
47955 * stdlib/stdlib.h: Likewise.
47956 * rt/bits/mqueue2.h: Likewise.
47957 * rt/mqueue.h: Likewise.
47958 * posix/bits/unistd.h: Likewise.
47959 * posix/unistd.h: Likewise.
47960 * io/bits/poll2.h: Likewise.
47961 * io/bits/fcntl2.h: Likewise.
47962 * io/fcntl.h: Likewise.
47963 * io/sys/poll.h: Likewise.
47964 * misc/bits/syslog.h: Likewise.
47965 * misc/bits/syslog-ldbl.h: Likewise.
47966 * misc/sys/syslog.h: Likewise.
47967 * socket/bits/socket2.h: Likewise.
47968 * socket/sys/socket.h: Likewise.
47969 * debug/tst-chk1.c: Likewise.
47970 * wcsmbs/bits/wchar2.h: Likewise.
47971 * wcsmbs/bits/wchar-ldbl.h: Likewise.
47972 * wcsmbs/wchar.h: Likewise.
47974 2012-04-29 Andreas Jaeger <aj@suse.de>
47976 * Makerules (tests): Remove enable-check-abi protection.
47977 (check-abi-warn): Remove.
47978 (check-abi-%): Remove check-abi-warn usage.
47980 * configure.in: Remove check-abi configure option.
47981 * configure: Regenerated.
47982 * config.make.in (enable-check-abi): Remove.
47984 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
47987 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47988 double functions to double *_finite functions.
47991 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47992 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47994 * stdio-common/Makefile (tests): Add tst-sprintf3.
47995 * stdio-common/tst-sprintf3.c: New file.
47997 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47998 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48000 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48002 * conform/conformtest.pl: Remove duplicate typed-constant
48005 2012-04-28 David S. Miller <davem@davemloft.net>
48007 * Makerules (%.abilist): Add vpath on sysdep_dirs.
48008 (check-abi-%): Remove AWK script prerequisite and explicit
48010 (check-abi): Rewrite to just diff the symlist with the abilist.
48011 (config-tls, config-abi-config): Delete, no longer used.
48012 (update-abi-%): Remove AWK script and explicit abilist directory.
48013 (update-abi): Rewrite to simply compare and conditionally copy the
48014 symlist and the sysdep abilist file. Remove update-abi-config
48016 * abilist/ld.abilist: Remove.
48017 * abilist/libBrokenLocale.abilist: Remove.
48018 * abilist/libanl.abilist: Remove.
48019 * abilist/libcrypt.abilist: Remove.
48020 * abilist/libdl.abilist: Remove.
48021 * abilist/librt.abilist: Remove.
48022 * abilist/libthread_db.abilist: Remove.
48023 * abilist/libutil.abilist: Remove.
48024 * scripts/extract-abilist.awk: Remove.
48025 * scripts/merge-abilist.awk: Remove.
48026 * sysdeps/generic/libcidn.abilist: New file.
48027 * sysdeps/generic/libnss_compat.abilist: New file.
48028 * sysdeps/generic/libnss_db.abilist: New file.
48029 * sysdeps/generic/libnss_dns.abilist: New file.
48030 * sysdeps/generic/libnss_files.abilist: New file.
48031 * sysdeps/generic/libnss_hesiod.abilist: New file.
48032 * sysdeps/generic/libnss_nis.abilist: New file.
48033 * sysdeps/generic/libnss_nisplus.abilist: New file.
48034 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48035 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48036 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48038 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48039 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48040 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48041 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48042 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48043 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48044 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48045 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48046 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48048 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48049 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48050 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48051 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48053 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48054 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48055 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48056 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48057 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48058 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48060 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48061 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48062 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48064 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48167 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48168 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48169 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48171 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48172 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48173 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48174 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48175 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48176 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48177 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48178 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48179 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48180 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48232 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48234 * conform/conformtest.pl: Fix typo in handling typed-constant from
48237 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48239 * README: Cut down references to pre-2.6 Linux kernels and
48240 Linuxthreads. Update lists of configurations in libc and ports
48241 and sort alphabetically. Say "or newer" with Linux kernel version
48244 * config.h.in [IS_IN_build]: Allow compiling without optimization.
48246 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48249 * math/libm-test.inc (logb_test_downward): New test to expose
48250 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48253 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48256 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48258 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48259 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48261 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48263 * sysdeps/unix/i386/brk.S: Remove file.
48264 * sysdeps/unix/i386/dl-brk.S: Likewise.
48265 * sysdeps/unix/i386/pipe.S: Likewise.
48266 * sysdeps/unix/i386/sigreturn.S: Likewise.
48267 * sysdeps/unix/i386/syscall.S: Likewise.
48268 * sysdeps/unix/i386/vfork.S: Likewise.
48269 * sysdeps/unix/i386/wait.S: Likewise.
48271 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48272 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48274 * configure.in (arm*-none*): Do not allow without
48275 --enable-hacker-mode.
48276 (netbsd*): Remove case setting base_os.
48277 (386bsd*): Likewise.
48278 (freebsd*): Likewise.
48281 (sunos*): Likewise.
48282 (ultrix*): Likewise.
48283 (newsos*): Likewise.
48284 (dynix*): Likewise.
48290 (minix*): Likewise.
48291 (irix4*): Likewise.
48292 (irix6*): Likewise.
48293 (solaris[2-9]*): Likewise.
48295 * configure: Regenerated.
48297 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48300 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48301 overflow or cancellation in calculating denominator.
48302 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48303 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48304 down expression to avoid unexpected rounding in newer GCCs.
48305 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48307 2012-04-26 David S. Miller <davem@davemloft.net>
48309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48310 long-double compat symbols.
48311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48325 2012-04-25 David S. Miller <davem@davemloft.net>
48327 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48328 HWCAP_* values only after the memory barriers have been defined.
48329 (atomic_full_barrier): Define.
48330 (atomic_read_barrier): Define.
48331 (atomic_write_barrier): Define.
48333 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48335 * shlib-versions: Add libgcc_s version information.
48336 * sysdeps/generic/libgcc_s.h: Remove.
48337 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48339 * sysdeps/gnu/unwind-resume.c: Likewise.
48340 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48342 2012-04-25 David S. Miller <davem@davemloft.net>
48344 * sysdeps/unix/sparc/brk.S: Delete.
48345 * sysdeps/unix/sparc/dl-brk.S: Delete.
48346 * sysdeps/unix/sparc/pipe.S: Delete.
48347 * sysdeps/unix/sparc/sysdep.S: Delete.
48348 * sysdeps/unix/sparc/sysdep.h: Delete.
48349 * sysdeps/unix/sparc/vfork.S: Delete.
48350 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48351 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48352 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48353 (ret_ERRVAL, r0, r1, MOVE): Define.
48354 (JUMPTARGET): Remove.
48355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48356 sysdeps/unix/sparc/sysdep.h
48357 (ENTRY, END): Remove.
48358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48360 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48362 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48363 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48366 * timezone/README: Update upstream location and email address for
48368 * timezone/zdump.c: Update from tzcode 2012b.
48369 * timezone/zic.c: Likewise.
48371 * configure.in (libc_cv_as_needed): Remove test.
48372 * configure: Regenerated.
48373 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48374 conditional definition.
48375 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48376 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48377 * config.make.in (have-as-needed): Remove variable.
48379 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48380 Paul Pluzhnikov <ppluzhnikov@google.com>
48382 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48385 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48387 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48388 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48389 * sysdeps/sh/strlen.S: Likewise.
48391 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48393 * sysdeps/unix/fork.S: Remove file.
48394 * sysdeps/unix/i386/fork.S: Likewise.
48395 * sysdeps/unix/sparc/fork.S: Likewise.
48397 * sysdeps/unix/system.c: Remove file.
48398 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48400 * sysdeps/unix/getegid.S: Remove file.
48401 * sysdeps/unix/geteuid.S: Likewise.
48403 2012-04-24 Roland McGrath <roland@hack.frob.com>
48405 * scripts/check-localplt.awk: New file.
48406 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48408 * scripts/data/localplt-generic.data: Add a comment.
48410 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48411 NODE when __dir_mkfile failed.
48412 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48413 Reported by Ludovic Courtès <ludo@gnu.org>.
48415 2012-04-24 Andreas Jaeger <aj@suse.de>
48417 * Makerules (common-clean): Also remove gen-as-const-headers
48420 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48422 * Makerules (native-compile): Do not change working directory for
48423 build. Use $(OUTPUT_OPTION) in command.
48424 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48426 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48429 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48430 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48431 * math/libm-test.inc (floor_test): Add more tests.
48432 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48434 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48436 * sysdeps/unix/getdents.c: Remove file.
48437 * sysdeps/unix/sysv/getdents.c: Likewise.
48438 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48440 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48441 sysdeps/unix/mman/syscalls.list.
48443 (mprotect): Likewise.
48445 (munmap): Likewise.
48446 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48447 * sysdeps/unix/mman/syscalls.list: Remove.
48448 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48450 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48451 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48452 * configure: Regenerated.
48453 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48454 $(libgcc_s_suffix).
48455 * config.make.in (libgcc_s_suffix): Remove variable.
48457 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48459 * sysdeps/unix/sysv/gethostname.c: Move to ...
48460 * sysdeps/posix/gethostname.c: ... here.
48462 * sysdeps/unix/execve.S: Remove file.
48464 * sysdeps/unix/_exit.S: Remove file.
48466 2012-04-23 Andreas Jaeger <aj@suse.de>
48469 * manual/Makefile: Remove make dist support, there's no
48470 need for a stand-alone documentation tar ball.
48471 (TEXI2DVI): Define always, it's not in Makeconfig.
48474 (edition): Removed.
48475 (glibc-doc-$(edition).tar): Removed
48479 (ETAGS): Remove, it's in Makeconfig.
48480 (move-if-change): Remove, it's in Makeconfig.
48482 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48485 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48486 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48487 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48488 (strtod_l, strtof_l, strtold_l): Remove __wur.
48489 It is not necessarily an error to ignore strtol's return value.
48490 One can reliably look at the stored endptr to decide whether
48491 the number had valid syntax.
48493 2012-04-21 Andreas Jaeger <aj@suse.de>
48496 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48498 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48500 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48501 * sysdeps/unix/sysv/Versions: Remove file.
48503 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48508 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48511 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48512 version from __vm86.
48514 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48516 * sysdeps/unix/common/lxstat.c: Remove file.
48517 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48519 * sysdeps/unix/sysv/Makefile: Remove file.
48521 * sysdeps/unix/sysv/direct.h: Remove file.
48523 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48524 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48525 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48526 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48527 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48528 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48529 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48531 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48533 * sysdeps/unix/xmknod.c: Remove file.
48534 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48536 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48538 * sysdeps/unix/sysv/i386/time.S: Remove file.
48540 * sysdeps/unix/fxstat.c: Remove file.
48541 * sysdeps/unix/xstat.c: Likewise.
48542 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48544 * sysdeps/unix/sysv/sigaction.c: Remove file.
48546 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48547 (sysdep_headers): Remove variable.
48548 [termio.h not in sysdep_headers] (generated): Likewise.
48549 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48550 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48551 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48552 * sysdeps/unix/sysv/tcflow.c: Likewise.
48553 * sysdeps/unix/sysv/tcflush.c: Likewise.
48554 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48555 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48556 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48557 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48558 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48560 * sysdeps/unix/siglist.c: Remove file.
48562 * sysdeps/unix/getppid.S: Remove file.
48564 * sysdeps/unix/mkdir.c: Remove file.
48565 * sysdeps/unix/rmdir.c: Likewise.
48567 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48569 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48571 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48572 errlist-compat value.
48574 2012-04-18 David S. Miller <davem@davemloft.net>
48576 * sysdeps/generic/memcopy.h (reg_char): Delete.
48577 * debug/strcat_chk.c: Use char, not reg_char.
48578 * debug/strcpy_chk.c: Likewise.
48579 * debug/strncat_chk.c: Likewise.
48580 * debug/strncpy_chk.c: Likewise.
48581 * string/memchr.c: Likewise.
48582 * string/memrchr.c: Likewise.
48583 * string/rawmemchr.c: Likewise.
48584 * string/strcat.c: Likewise.
48585 * string/strchr.c: Likewise.
48586 * string/strchrnul.c: Likewise.
48587 * string/strcmp.c: Likewise.
48588 * string/strcpy.c: Likewise.
48589 * string/strncat.c: Likewise.
48590 * string/strncmp.c: Likewise.
48591 * string/strncpy.c: Likewise.
48593 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48595 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48596 __builtin_memcopy is called when src and dest ranges are known to not
48599 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48601 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48602 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48603 fwd_align_merge macro call.
48604 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48605 bwd_align_merge macro call.
48606 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48608 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48610 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48611 bwd_align_merge macros.
48612 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48613 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48614 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48616 2012-04-18 David S. Miller <davem@davemloft.net>
48618 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48620 2012-04-18 Andreas Jaeger <aj@suse.de>
48623 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48624 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48625 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48627 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48628 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48629 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48631 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48632 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48633 Adjust for changed ldbl-128 files.
48635 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48636 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48637 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48639 2012-04-17 David S. Miller <davem@davemloft.net>
48641 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48643 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48645 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48646 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48647 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48648 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48649 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48650 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48652 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48655 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48656 * math/libm-test.inc: Add ilogb errno and exception tests.
48657 * math/w_ilogb.c: New file: ilogb wrapper.
48658 * math/w_ilogbf.c: New file: ilogbf wrapper.
48659 * math/w_ilogbl.c: New file: ilogbl wrapper.
48660 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48661 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48662 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48663 exception being thrown with 0.0 as argument.
48664 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48665 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48666 exception being thrown with 0.0 as argument.
48667 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48668 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48669 exception being thrown with 0.0 as argument.
48670 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48671 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48672 exception being thrown with 0.0 as argument.
48673 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48674 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48675 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48676 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48677 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48678 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48679 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48680 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48681 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48683 2012-04-17 Petr Baudis <pasky@ucw.cz>
48685 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48688 2012-04-16 Marek Polacek <polacek@redhat.com>
48690 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48692 2012-04-16 Marek Polacek <polacek@redhat.com>
48694 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48695 operands of fdivp instruction.
48697 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48699 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48700 * elf/tst-auditmod3b.c: Likewise.
48701 * elf/tst-auditmod4b.c: Likewise.
48702 * elf/tst-auditmod5b.c: Likewise.
48703 * elf/tst-auditmod6b.c: Likewise.
48704 * elf/tst-auditmod6c.c: Likewise.
48705 * elf/tst-auditmod7b.c: Likewise.
48706 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48707 * sysdeps/x86_64/preconfigure.in: Likewise.
48708 * sysdeps/x86_64/preconfigure: Regenerated.
48710 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48712 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48715 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
48717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48718 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48720 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48723 * locale/iso-639.def: Fix gl language name. Spotted by
48726 2012-04-12 Roland McGrath <roland@hack.frob.com>
48729 * libio/libio.h (__io_write_fn): Update comment.
48731 2012-04-12 Petr Baudis <pasky@ucw.cz>
48734 * stdio.texi (Hook Functions): The user provided writer function
48735 is not allowed to return -1.
48737 2012-04-11 David S. Miller <davem@davemloft.net>
48739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48741 2012-04-11 Mike Frysinger <vapier@gentoo.org>
48743 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48744 Add a leading slash to rtkaio.
48746 2012-04-11 Jim Meyering <meyering@redhat.com>
48749 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48750 It is not necessarily an error to ignore fwrite's return
48751 value. One can reliably use ferror to test for errors after
48754 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48756 * bits/types.h (__snseconds_t): New type.
48757 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48759 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48760 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48761 (__SNSECONDS_T_TYPE): Likewise.
48762 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48763 (__SNSECONDS_T_TYPE): Likewise.
48764 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48765 (__SNSECONDS_T_TYPE): Likewise.
48767 2012-04-10 Andreas Jaeger <aj@suse.de>
48770 * manual/time.texi (Processor Time): Return type of times is
48771 elapsed real time since an arbitrary point in the past.
48772 (CPU Time): Move CLK_TCK from here...
48773 (Processor Time): ...to here. Correct description.
48774 * manual/conf.texi (Constants for Sysconf): Correct description of
48777 2012-04-10 David S. Miller <davem@davemloft.net>
48780 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48781 where the is a gap between DT_REL(A) and DT_JMPREL.
48783 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48785 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48786 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48787 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48789 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48791 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48792 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48793 (dl_main): Handle --inhibit-cache.
48794 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48796 * elf/dl-load.c (_dl_map_object): Use it.
48797 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48799 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48802 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48803 (__ieee754_powl): Saturate large exponents rather than testing for
48804 overflow of y*log2(x).
48805 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48806 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48810 * math/s_ctan.c: Include <float.h>.
48811 (__ctan): Avoid internal overflow or cancellation in calculating
48813 * math/s_ctanf.c: Likewise.
48814 * math/s_ctanl.c: Likewise.
48815 * math/s_ctanh.c: Likewise.
48816 * math/s_ctanhf.c: Likewise.
48817 * math/s_ctanhl.c: Likewise.
48818 * math/libm-test.inc (ctan_test): Add more tests.
48819 (ctanh_test): Likewise.
48820 * sysdeps/i386/fpu/libm-test-ulps: Update.
48821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48823 2012-04-09 Andreas Jaeger <aj@suse.de>
48826 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48827 is an optional BSD extension.
48830 * manual/stdio.texi (Opening Streams): Document additional fopen
48833 2012-04-09 Roland McGrath <roland@hack.frob.com>
48835 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48836 %eax without telling the compiler.
48838 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48841 * manual/install.texi: Use sourceware.org.
48843 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48846 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48847 (__ieee754_pow): Generate overflow and underflow using huge*huge
48848 and tiny*tiny rather than just returning constant infinity or zero
48849 for large exponents.
48850 * math/libm-test.inc (pow_test): Require overflow exceptions for
48851 applicable cases of large exponents.
48854 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48855 (__ieee754_pow): Use iterative multiplication algorithm only for
48856 integer exponents with absolute value below 1024. Check for odd
48857 integer exponents when using algorithm for real exponents.
48858 * math/libm-test.inc (pow_test): Add more tests.
48859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48861 2012-04-08 Joseph Myers <joseph@codesourcery.com>
48864 * math/libm-test.inc (exp_test): Do not allow overflow exception
48867 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48870 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48871 instead of __kernel_standard_f.
48873 2012-04-08 Mike Frysinger <vapier@gentoo.org>
48875 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48876 * sysdeps/x86_64/memset_chk.S: Likewise.
48878 2012-04-08 Andreas Jaeger <aj@suse.de>
48881 * manual/startup.texi (Environment Access): Describe return value
48882 for putenv and setenv.
48885 * manual/filesys.texi (Directory Entries): Add description for
48889 * manual/filesys.texi (Directory Entries): Clarify that it's file
48890 system not operating system in the description of DT_UNKNOWN.
48893 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48895 2012-04-08 Stephen Compall <s11@member.fsf.org>
48898 * manual/llio.texi (Opening and Closing Files): Add cross
48899 reference to explain mode argument.
48901 2012-04-07 Mike Frysinger <vapier@gentoo.org>
48903 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48904 * sysdeps/x86_64/memset_chk.S: Likewise.
48906 2012-04-07 David S. Miller <davem@davemloft.net>
48908 * elf/elf.h (R_SPARC_WDISP10): Define.
48909 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48911 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48912 R_SPARC_SIZE64 and R_SPARC_H34.
48914 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48916 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48917 conditions and remove no longer applicable assertion.
48919 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48921 * bits/byteswap.h: Include <features.h>.
48922 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48923 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48925 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48927 * bits/byteswap.h (__bswap_16): Removed.
48928 Include <bits/byteswap-16.h> to get __bswap_16.
48929 * sysdeps/i386/bits/byteswap.h: Likewise.
48930 * sysdeps/s390/bits/byteswap.h: Likewise.
48931 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48932 * bits/byteswap-16.h: New file.
48933 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48934 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48935 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48936 * string/Makefile (headers): Add bits/byteswap-16.h.
48938 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48941 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48943 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48944 * nss/tst-nss-static.c: New.
48946 2012-04-06 Robert Millan <rmh@gnu.org>
48949 * manual/llio.texi (File Position Primitive): lseek
48950 refers to WHENCE when it really means OFFSET.
48952 2012-04-06 Andreas Jaeger <aj@suse.de>
48954 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48955 strncmp declarations.
48957 * abilist/libc.abilist: Add __poll and __ppoll.
48959 2012-04-05 David S. Miller <davem@davemloft.net>
48961 * scripts/check-local-headers.sh: Accept a host triplet in the
48962 path matched by the exclude regexp.
48964 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48966 * sysdeps/powerpc/powerpc32/dl-machine.h
48967 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48968 * sysdeps/s390/s390-32/dl-machine.h
48969 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48970 * sysdeps/sparc/sparc32/dl-machine.h
48971 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48972 * sysdeps/sparc/sparc64/dl-machine.h
48973 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48975 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48977 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48978 undefined symbol errors.
48980 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48983 2012-04-05 Michael Matz <matz@suse.de>
48986 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48988 2012-04-05 Andreas Jaeger <aj@suse.de>
48991 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48994 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48996 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48997 which ROUND is no valid rounding mode.
48999 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49001 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49003 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49005 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49007 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49008 an exception using FPU order intentionally.
49010 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49012 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49013 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49014 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49015 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49017 2012-04-05 Simon Josefsson <simon@josefsson.org>
49020 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49021 EINVAL when BUFLEN is too smal.
49023 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
49026 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49027 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49029 2012-04-03 Andreas Jaeger <aj@suse.de>
49032 * manual/setjmp.texi (System V contexts): Fix sentence.
49035 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49036 New macro for this case.
49037 [!__GNUC__] (__bswap_64): New inline function for this case.
49038 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49039 * bits/byteswap.h: Likewise.
49040 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49041 ull, guard with __GLIBC_HAVE_LONG_LONG.
49043 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49044 __GLIBC_HAVE_LONG_LONG.
49046 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49047 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49049 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49052 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49053 inptr and inend, rather than using last_ch.
49055 2012-04-02 David S. Miller <davem@davemloft.net>
49057 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49058 * stdio-common/printf-parse.h (read_int): Change return type to
49059 'int', return -1 on INT_MAX overflow.
49060 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49061 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49062 overflows INT_MAX. Check for overflow of in-format-string precision
49063 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49064 SIZE_MAX not INT_MAX for integer overflow test.
49065 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49066 skip the construct in the format string but do not record anything.
49067 * stdio-common/bug22.c: Adjust to test both width/prevision
49068 INT_MAX overflow as well as total length INT_MAX overflow. Check
49069 explicitly for proper errno values.
49071 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49073 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49075 * string/test-strcmp.c [! WIDE]: Likewise.
49076 * time/tst-mktime2.c: Likewise for INT_MAX.
49077 * string/test-string.h: #include <sys/param.h> for MIN.
49079 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49080 * sysdeps/i386/init-first.c (init): Likewise.
49081 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49082 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49083 * sysdeps/sh/init-first.c (init): Likewise.
49085 2012-04-01 Ulrich Drepper <drepper@gmail.com>
49087 * po/ru.po: Update from translation team.
49088 * po/vi.po: Likewise.
49090 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49092 * resolv/nss_dns/dns-host.c: Merge copyright years.
49094 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49096 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49097 Optimize memcpy with prefetch if
49098 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
49099 src, dst pointers have unequal 16 byte alignments.
49101 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49104 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49105 from a CNAME entry and return the minimum ttl for the query.
49106 (gaih_getanswer_slice): Likewise.
49108 2012-03-30 Jeff Law <law@redhat.com>
49110 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49112 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49113 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49115 * resolv/nss_dns/dns-host.c: Update copyright year.
49117 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49119 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49120 requests to save a system call. Fix check that all bytes are sent.
49122 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49123 comments for sendmmsg.
49125 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49128 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49129 with only 1 character between 0x0041 and 0x01b0.
49130 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49131 * wcsmbs/tst-mbsnrtowcs.c: New file.
49133 2012-03-29 David S. Miller <davem@davemloft.net>
49135 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49136 small copies by hand.
49138 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49141 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49142 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49145 2012-03-28 David S. Miller <davem@davemloft.net>
49147 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49148 that branches into memcpy.
49149 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49150 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49151 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49152 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49153 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49155 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49156 implementation too.
49157 * sysdeps/sparc/mempcpy.S: New file.
49159 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49160 the IFUNC routine in the libc case.
49161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49163 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49164 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49165 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49166 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49167 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49168 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49169 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49170 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49172 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49173 loop to 256 bytes instead of 64 bytes and fix test signedness.
49175 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49176 * sysdeps/sparc/sparc32/Makefile: rather than here...
49177 * sysdeps/sparc/sparc64/Makefile: and here.
49179 2012-03-28 Ulrich Drepper <drepper@gmail.com>
49181 * malloc/mallocbug.c: Avoid warnings about unused variables.
49183 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49186 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49187 in the right place. Discard and retry query if response is
49188 larger than input buffer size.
49190 2012-03-28 Joseph Myers <joseph@codesourcery.com>
49195 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49196 x for large integer exponent.
49197 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49198 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
49199 sign of result as needed afterwards.
49200 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49201 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49202 result for underflowing pow the same as for overflow.
49203 (__kernel_standard_l): Handle powl overflow and underflow here
49204 rather than calling __kernel_standard.
49205 * math/libm-test.inc (pow_test): Add more tests.
49220 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49221 * sysdeps/ieee754/k_standard.c: Include <float.h>.
49222 (__kernel_standard_l): New function.
49223 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49225 * math/w_acosl.c (__acosl): Likewise.
49226 * math/w_asinl.c (__asinl): Likewise.
49227 * math/w_atan2l.c (__atan2l): Likewise.
49228 * math/w_atanhl.c (__atanhl): Likewise.
49229 * math/w_coshl.c (__coshl): Likewise.
49230 * math/w_exp10l.c (__exp10l): Likewise.
49231 * math/w_exp2l.c (__exp2l): Likewise.
49232 * math/w_fmodl.c (__fmodl): Likewise.
49233 * math/w_hypotl.c (__hypotl): Likewise.
49234 * math/w_j0l.c (__j0l, __y0l): Likewise.
49235 * math/w_j1l.c (__j1l, __y1l): Likewise.
49236 * math/w_jnl.c (__jnl, __ynl): Likewise.
49237 * math/w_lgammal.c (__lgammal): Likewise.
49238 * math/w_log10l.c (__log10l): Likewise.
49239 * math/w_log2l.c (__log2l): Likewise.
49240 * math/w_logl.c (__logl): Likewise.
49241 * math/w_powl.c (__powl): Likewise.
49242 * math/w_remainderl.c (__remainderl): Likewise.
49243 * math/w_scalbl.c (sysv_scalbl): Likewise.
49244 * math/w_sinhl.c (__sinhl): Likewise.
49245 * math/w_sqrtl.c (__sqrtl): Likewise.
49246 * math/w_tgammal.c (__tgammal): Likewise.
49247 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49248 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49249 * math/libm-test.inc (acos_test): Add more tests.
49250 (acosh_test): Likewise.
49251 (asin_test): Likewise.
49252 (atanh_test): Likewise.
49253 (exp_test): Likewise.
49254 (exp10_test): Likewise.
49255 (exp2_test): Likewise.
49256 (expm1_test): Likewise.
49257 (lgamma_test): Likewise.
49258 (log_test): Likewise.
49259 (log10_test): Likewise.
49260 (log1p_test): Likewise.
49261 (log2_test): Likewise.
49262 (pow_test): Do not allow some spurious overflow exceptions.
49263 (sqrt_test): Add more tests.
49264 (tgamma_test): Likewise.
49265 (y0_test): Likewise.
49266 (y1_test): Likewise.
49267 (yn_test): Likewise.
49269 2012-03-27 Anton Blanchard <anton@samba.org>
49271 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49273 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49274 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49275 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49277 2012-03-27 David S. Miller <davem@davemloft.net>
49279 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49281 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49282 have-as-vis3 check.
49284 2012-03-27 Andreas Jaeger <aj@suse.de>
49286 * sysdeps/x86_64/elf/configure.in: Moved to ...
49287 * sysdeps/x86_64/configure.in: ... here.
49288 * sysdeps/x86_64/elf/start.S: Moved to ...
49289 * sysdeps/x86_64/start.S: ... here.
49290 * sysdeps/x86_64/elf/configure: Delete.
49292 * sysdeps/x86_64/configure.in: Merge contents from
49293 sysdeps/i386/configure.in (without i686 check).
49295 * sysdeps/i386/elf/Versions: Merge into ...
49296 * sysdeps/i386/Versions: ... this.
49297 * sysdeps/i386/elf/Versions: Delete file.
49298 * sysdeps/i386/elf/start.S: Moved to ...
49299 * sysdeps/i386/start.S: ...here.
49300 * sysdeps/i386/elf/configure.in: Merge into...
49301 * sysdeps/i386/configure.in: ...here.
49302 * sysdeps/i386/elf/configure.in: Delete file.
49303 * sysdeps/i386/elf/configure: Delete file.
49305 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49306 * debug/backtracesyms.c: ... here.
49307 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49308 * debug/backtracesymsfd.c: ... here.
49309 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49310 * sysdeps/generic/ifunc-sel.h: ... here.
49312 * sysdeps/unix/i386/start.c: Delete file.
49313 * sysdeps/unix/sparc/start.c: Delete file.
49314 * sysdeps/unix/start.c: Delete file.
49316 * sysdeps/sh/elf/configure.in: Moved to ...
49317 * sysdeps/sh/configure.in: ... here.
49318 * sysdeps/sh/elf/start.S: Moved to ...
49319 * sysdeps/sh/start.S: ... here.
49320 * sysdeps/sh/elf/configure: Delete file.
49322 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49323 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49324 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49325 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49326 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49327 * sysdeps/powerpc/powerpc64/start.S: here.
49328 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49329 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49330 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49331 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49332 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49334 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49335 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49336 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49337 * sysdeps/powerpc/powerpc32/start.S: ... here.
49338 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49339 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49340 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49342 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49343 * sysdeps/powerpc/ifunc-sel.h: ... here.
49344 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49345 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49347 * sysdeps/sparc/elf/configure.in: Moved to ...
49348 * sysdeps/sparc/configure.in: ... here.
49349 * sysdeps/sparc/elf/configure: Delete file.
49350 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49351 * sysdeps/sparc/sparc32/start.S: ... here.
49352 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49353 * sysdeps/sparc/sparc64/start.S: ... here.
49354 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49355 * sysdeps/sparc/sparc32/Makefile: ... this.
49356 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49357 * sysdeps/sparc/sparc64/Makefile: ... this.
49359 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49360 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49361 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49362 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49363 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49364 * sysdeps/s390/s390-32/setjmp.S: ... here.
49365 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49366 * sysdeps/s390/s390-32/configure.in: ... here.
49367 * sysdeps/s390/s390-32/elf/configure: Delete file.
49368 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49369 * sysdeps/s390/s390-32/start.S: ... here.
49371 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49372 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49373 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49374 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49375 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49376 * sysdeps/s390/s390-64/setjmp.S: ... here.
49377 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49378 * sysdeps/s390/s390-64/configure.in: ... here
49379 * sysdeps/s390/s390-64/elf/configure: Delete file.
49380 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49381 * sysdeps/s390/s390-64/start.S: ... here.
49382 * sysdeps/s390/s390-64/elf/configure: Delete.
49384 * configure.in: Remove support for elf directories in sysdeps.
49386 * configure: Regenerated.
49387 * sysdeps/i386/configure: Regenerated.
49388 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49389 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49390 * sysdeps/s390/s390-32/configure: Regenerated.
49391 * sysdeps/s390/s390-64/configure: Regenerated.
49392 * sysdeps/sh/configure: Regenerated.
49393 * sysdeps/sparc/configure: Regenerated.
49394 * sysdeps/x86_64/configure: Regenerated.
49396 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49400 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49401 denormal result into account.
49403 2012-03-25 Roland McGrath <roland@hack.frob.com>
49405 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49406 Reported by Allan McRae <allan@archlinux.org>.
49408 2012-03-23 Jeff Law <law@redhat.com>
49410 * nss/getnssent.c (__nss_getent): Fix typo.
49412 2012-03-23 David S. Miller <davem@davemloft.net>
49414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49416 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49418 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49419 to pad to uint64_t for each field.
49420 (dl_tls_index): Replace unsigned long with uint64_t.
49422 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49423 Paul Pluzhnikov <ppluzhnikov@google.com>
49426 * grp/Makefile (otherlibs): Don't set it.
49427 * inet/Makefile (otherlibs): Likewise.
49428 * login/Makefile (otherlibs): Likewise.
49429 * nscd/Makefile (otherlibs): Likewise.
49430 * posix/Makefile (otherlibs): Likewise.
49431 * pwd/Makefile (otherlibs): Likewise.
49432 * rt/Makefile (otherlibs): Likewise.
49433 * sunrpc/Makefile (otherlibs): Likewise.
49434 * nss/Makefile (otherlibs): Likewise.
49435 Add libnss_files to routines and static-only-routines.
49436 ($(objpfx)getent): Remove rule.
49437 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49438 static-only-routines.
49440 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49443 * math/s_cexp.c: Include <float.h>.
49444 (__cexp): Handle exp result overflowing not necessarily
49445 overflowing both real and imaginary parts of result.
49446 * math/s_cexpf.c: Likewise.
49447 * math/s_cexpl.c: Likewise.
49448 * math/libm-test.inc (cexp_test): Add more tests.
49449 * sysdeps/i386/fpu/libm-test-ulps: Update.
49450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49452 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49454 * include/link.h (ELFW): New macro.
49455 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49456 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49458 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49460 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49463 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49465 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49467 (struct La_x32_retval): Likewise.
49469 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49471 * sysdeps/x86_64/preconfigure.in: New file.
49472 * sysdeps/x86_64/preconfigure: New generated file.
49474 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49477 * math/e_exp2l.c: Include <float.h>.
49478 (__ieee754_exp2l): Handle overflow and underflow cases
49479 separately. Only pass fractional part of argument to
49481 * math/libm-test.inc (exp2_test): Add more tests.
49483 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49484 negating x to take absolute value.
49485 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49487 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49488 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49490 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49491 computing low part if x was negated.
49492 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49494 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49496 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49497 la_x32_gnu_pltexit.
49498 (pltexit): Cast int_retval to ptrdiff_t.
49499 * elf/tst-auditmod3b.c: Likewise.
49500 * elf/tst-auditmod4b.c: Likewise.
49501 * elf/tst-auditmod5b.c: Likewise.
49502 * elf/tst-auditmod6b.c: Likewise.
49503 * elf/tst-auditmod6c.c: Likewise.
49504 * elf/tst-auditmod7b.c: Likewise.
49506 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49507 and x32_gnu_pltexit.
49509 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49510 __ELF_NATIVE_CLASS.
49511 (La_x32_regs): New macro.
49512 (La_x32_retval): Likewise.
49513 (la_x32_gnu_pltenter): New function prototype.
49514 (la_x32_gnu_pltexit): Likewise.
49516 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49518 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49523 * configure.in (libc_cv_cc_nofma): Check for option to disable
49524 generation of FMA instructions.
49525 * configure: Regenerate.
49526 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49527 * sysdeps/ieee754/dbl-64/Makefile: New file.
49528 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49529 Remove brandred-fma4.
49530 (CFLAGS-brandred-fma4.c): Remove.
49531 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49532 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49534 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49537 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49539 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49540 LLONG_MAX != LONG_MAX.
49541 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49542 (_fitoa_word): Likewise.
49543 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49544 LLONG_MAX != LONG_MAX.
49545 * stdio-common/_itowa.h: Include <_itoa.h>.
49546 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49547 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49548 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49549 only if not defined.
49550 (_ITOA_WORD_TYPE): Likewise.
49551 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49552 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49554 2012-03-21 David S. Miller <davem@davemloft.net>
49556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49558 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49560 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49561 of x86_64 when setting libc_cv_slibdir, libdir and
49563 * sysdeps/unix/sysv/linux/configure: Regenerated.
49565 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49567 * manual/lang.texi (Old Varargs): Remove section.
49568 (How Variadic): Update menu.
49569 (va_start): Do not mention varargs.h.
49571 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49572 Joseph Myers <joseph@codesourcery.com>
49574 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49576 * configure: Regenerated.
49578 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49580 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49581 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49584 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49587 * Makefile (files-for-dist): Remove NOTES.
49588 (NOTES): Remove rule.
49589 * README: Don't refer to NOTES.
49590 * manual/creature.texi: Don't include macros.texi.
49591 * manual/intro.texi (creature.texi): Remove comment referring to
49594 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49595 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49596 * configure: Regenerated.
49597 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49598 LIBC_TRY_CC_OPTION.
49599 (libc_cv_as_i686): Likewise.
49600 (libc_cv_cc_avx): Likewise.
49601 (libc_cv_cc_sse2avx): Likewise.
49602 (libc_cv_cc_fma4): Likewise.
49603 (libc_cv_cc_novzeroupper): Likewise.
49604 * sysdeps/i386/configure: Regenerated.
49607 * sysdeps/i386/fpu/s_cexp.S: Remove.
49608 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49609 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49610 * math/libm-test.inc (cexp_test): Add more tests.
49611 * sysdeps/i386/fpu/libm-test-ulps: Update.
49612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49614 2012-03-21 Allan McRae <allan@archlinux.org>
49616 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49618 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49621 * math/w_exp2.c: Do not include <float.h>.
49622 (o_threshold, u_threshold): Remove.
49623 (__exp2): Calculate result before checking finiteness and calling
49625 * math/w_exp2f.c: Likewise.
49626 * math/w_exp2l.c: Likewise.
49627 * math/libm-test.inc (exp2_test): Require overflow exception for
49631 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49632 range of signed 64-bit integers before using fistpll. Remove
49633 checks for whether integers fit in mantissa bits.
49634 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49635 the range of signed 32-bit integers before using fistpl. Remove
49636 checks for whether integers fit in mantissa bits.
49637 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49638 (__ieee754_powl): Test for y outside the range of signed 64-bit
49639 integers before using fistpll. Reduce 64-bit values to 63-bit
49641 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49642 divide-by-zero is raised for zero to large negative powers.
49643 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49644 (__ieee754_powl): Test for y outside the range of signed 64-bit
49645 integers before using fistpll. Reduce 64-bit values to 63-bit
49647 * math/libm-test.inc (pow_test): Add more tests.
49649 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49651 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49652 <stdio-common/_itoa.h>.
49653 * debug/segfault.c: Likewise.
49654 * elf/dl-cache.c: Likewise.
49655 * elf/dl-minimal.c: Likewise.
49656 * elf/dl-misc.c: Likewise.
49657 * elf/dl-sysdep.c: Likewise.
49658 * elf/dl-version.c: Likewise.
49659 * elf/rtld.c: Likewise.
49660 * hurd/hurdsock.c: Likewise.
49661 * hurd/lookup-retry.c: Likewise.
49662 * malloc/malloc.c: Likewise.
49663 * malloc/mtrace.c: Likewise.
49664 * nscd/nscd_getgr_r.c: Likewise.
49665 * nscd/nscd_getpw_r.c: Likewise.
49666 * nscd/nscd_getserv_r.c: Likewise.
49667 * posix/getopt_init.c: Likewise.
49668 * posix/wordexp.c: Likewise.
49669 * stdio-common/_itoa.c: Likewise.
49670 * stdio-common/printf_fphex.c: Likewise.
49671 * stdio-common/vfprintf.c: Likewise.
49672 * string/_strerror.c: Likewise.
49673 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49674 * sysdeps/i386/i686/hp-timing.h: Likewise.
49675 * sysdeps/mach/_strerror.c: Likewise.
49676 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49677 * sysdeps/mach/hurd/sethostid.c: Likewise.
49678 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49679 * sysdeps/mach/xpg-strerror.c: Likewise.
49680 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49681 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49682 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49683 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49684 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49685 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49686 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49687 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49688 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49689 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49690 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49691 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49692 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49693 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49694 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49695 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49696 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49697 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49698 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49699 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49700 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49702 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49704 * stdio-common/_itoa.h: Moved to ...
49705 * sysdeps/generic/_itoa.h: Here.
49707 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49709 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49710 instead of "_itoa.h" and "_itowa.h".
49711 * stdio-common/vfprintf.: Likewise.
49713 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49715 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49717 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49718 (__signbit): Likwise.
49719 (llrintf): Likwise.
49722 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49724 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49727 2012-03-20 Joseph Myers <joseph@codesourcery.com>
49729 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49730 OVERFLOW_EXCEPTION_OK.
49731 * math/libm-test.inc ("Philosophy"): Update comment about
49733 (OVERFLOW_EXCEPTION): Define.
49734 (OVERFLOW_EXCEPTION_OK): Likewise.
49735 (INVALID_EXCEPTION_OK): Renumber.
49736 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49737 (IGNORE_ZERO_INF_SIGN): Likewise.
49738 (test_exceptions): Handle FE_OVERFLOW.
49739 (exp10_test): Expect overflow exceptions.
49740 (exp2_test): Likewise.
49741 (expm1_test): Likewise.
49742 (nextafter_test): Likewise.
49743 (pow_test): Likewise.
49744 (scalbn_test): Likewise.
49745 (scalbln_test): Likewise.
49747 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49749 * sysdeps/x86_64/bits/atomic.h
49750 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49752 (atomic_exchange_acq): Likewise.
49753 (__arch_exchange_and_add_body): Likewise.
49754 (__arch_add_body): Likewise.
49755 (atomic_add_negative): Likewise.
49756 (atomic_add_zero): Likewise.
49758 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49760 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49761 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49763 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49765 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49766 Check __x86_64__ instead of __WORDSIZE.
49768 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49770 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49772 2012-03-19 David S. Miller <davem@davemloft.net>
49774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49776 * sysdeps/sparc/fpu/fenv_private.h: New file.
49777 * sysdeps/sparc/fpu/math_private.h: Use it.
49778 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49780 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49781 (libc_feholdexcept_setroundl): Remove.
49782 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49784 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49785 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49787 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49789 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49790 int64_t instead of long int.
49791 (INSERT_WORDS64): Likwise.
49793 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49795 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49796 _Unwind_GetCFA return to _Unwind_Ptr first.
49798 2012-03-19 Joseph Myers <joseph@codesourcery.com>
49801 * math/s_clog.c: Include <float.h>.
49802 (__clog): Scale large or subnormal inputs.
49803 * math/s_clogf.c: Likewise.
49804 * math/s_clogl.c: Likewise.
49805 * math/s_clog10.c: Include <float.h>.
49806 (M_LOG10_2): Define.
49807 (__clog10): Scale large or subnormal inputs.
49808 * math/s_clog10f.c: Likewise.
49809 * math/s_clog10l.c: Likewise.
49810 * math/libm-test.inc (clog_test): Add more tests.
49811 (clog10_test): Likewise.
49812 * sysdeps/i386/fpu/libm-test-ulps: Update.
49813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49816 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49818 * math/libm-test.inc (atan2_test): Add another test.
49820 * Makerules (common-objdir-compile): Remove.
49821 * sysdeps/unix/Makefile (config-generated): Do not add
49822 $(unix-generated) to variable.
49823 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49824 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49826 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49828 [generic bits/local_lim.h] (before-compile): Do not append to
49830 [generic bits/local_lim.h] (common-generated): Likewise.
49831 [generic sys/param.h] (before-compile): Do not append to variable.
49832 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49833 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49834 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49835 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49837 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49838 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49839 [generic sys/param.h] ($(addprefix
49840 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49841 [generic sys/param.h] (common-generated): Do not append to
49843 [generic sys/param.h] (sysdep_headers): Likewise.
49844 [generic bits/errno.h] (before-compile): Do not append to
49846 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49848 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49849 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49850 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49851 [generic bits/errno.h] (common-generated): Do not append to
49853 [generic bits/ioctls.h] (before-compile): Do not append to
49855 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49857 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49858 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49859 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49861 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49862 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49863 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49864 [generic bits/ioctls.h] (common-generated): Do not append to
49866 [generic sys/syscall.h] (syscall.h): Remove variable.
49867 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49869 [generic sys/syscall.h] (before-compile): Do not append to
49871 [generic sys/syscall.h] (common-generated): Likewise.
49872 * sysdeps/unix/errnos-tmpl.c: Remove file.
49873 * sysdeps/unix/errnos.awk: Likewise.
49874 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49875 * sysdeps/unix/ioctls.awk: Likewise.
49876 * sysdeps/unix/mk-local_lim.c: Likewise.
49877 * sysdeps/unix/snarf-ioctls: Likewise.
49879 2012-03-19 Richard Henderson <rth@twiddle.net>
49881 * sysdeps/i386/fpu/fenv_private.h: New file.
49882 * sysdeps/i386/fpu/math_private.h: Use it.
49883 (math_opt_barrier, math_force_eval): Remove.
49884 (libc_feholdexcept_setround_53bit): Remove.
49885 (libc_feupdateenv_53bit): Remove.
49886 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49887 (math_opt_barrier, math_force_eval): Remove.
49888 (libc_feholdexcept): Remove.
49889 (libc_feholdexcept_setround): Remove.
49890 (libc_fetestexcept, libc_fesetenv): Remove.
49891 (libc_feupdateenv_test): Remove.
49892 (libc_feupdateenv, libc_feholdsetround): Remove.
49893 (libc_feresetround): Remove.
49895 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49896 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49898 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49899 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49900 (libc_feupdateenv_testl): New.
49901 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49902 (libc_feupdateenv_testf): New.
49903 (libc_feupdateenv): Use libc_feupdateenv_test.
49904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49905 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49907 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49908 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49909 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49910 (libc_feresetround_noex): New.
49911 (libc_feresetround_noexf): New.
49912 (libc_feresetround_noexl): New.
49913 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49914 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49915 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49916 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49919 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49921 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49922 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49923 SET_RESTORE_ROUND_NOEX.
49924 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49925 SET_RESTORE_ROUND_NOEXF.
49926 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49927 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49928 (libc_feholdsetroundf): New.
49929 (libc_feresetround, libc_feresetroundf): New.
49931 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49932 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49933 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49935 * sysdeps/generic/math_private.h: Include <fenv.h>.
49936 (default_libc_feholdexcept): New.
49937 (default_libc_feholdexcept_setround): New.
49938 (default_libc_fesetenv, default_libc_feupdateenv): New.
49939 (libc_feholdexcept): Only define if undefined.
49940 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49941 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49942 (libc_feholdexcept_setroundl): Likewise.
49943 (libc_feholdexcept_setround_53bit): Likewise.
49944 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49945 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49946 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49947 (libc_feupdateenv_53bit): Likewise.
49948 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49949 (libc_feholdexcept): Convert from macro to inline function.
49950 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49951 (libc_fesetenv, libc_feupdateenv): Likewise.
49953 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49954 not previously defined.
49955 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49956 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49957 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49958 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49959 * sysdeps/ieee754/flt-32/math_private.h: New file.
49960 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49961 math_private.h below SET_FLOAT_WORD.
49962 (__isnan, __isinf_ns, __finite): Remove.
49963 (__isnanf, __isinf_nsf, __finitef): Remove.
49965 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49969 2012-03-17 David S. Miller <davem@davemloft.net>
49972 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49975 2012-03-16 David S. Miller <davem@davemloft.net>
49977 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49981 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49983 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49984 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49985 sysdep_routines when subdir is sysvipc.
49986 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49987 __getshmlba helper.
49989 * sysdeps/sparc/fpu/libm-test/ulps: Update.
49991 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49993 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49996 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49998 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49999 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50000 (__lround): Renamed to ...
50001 (__llround): This. Replace long int with long long int.
50002 Define lround functions as aliases of llround functions.
50003 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50005 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50007 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50008 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
50009 adresses to uintptr_t. Replace "long int" and "unsigned long
50010 int" with "greg_t" on va_arg.
50012 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50014 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50015 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50017 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50018 Move e_machine check before EI_CLASS check. Handle x32
50019 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50020 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50021 SKIP_EM_IA_64 and include
50022 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50024 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50025 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50026 (add_system_dir): New macro.
50028 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50029 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50031 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50042 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50044 * math/w_j0f.c (j0f): Likewise.
50046 * math/w_j0l.c (__j0l): Likewise.
50048 * math/w_j1.c (j1): Likewise.
50050 * math/w_j1f.c (j1f): Likewise.
50052 * math/w_j1l.c (__j1l): Likewise.
50054 * math/w_jn.c (jn): Likewise.
50056 * math/w_jnf.c (jnf): Likewise.
50058 * math/w_jnl.c (__jnl): Likewise.
50060 * math/libm-test.inc (j0_test): Add more tests.
50061 (j1_test): Likewise.
50062 (jn_test): Likewise. Add trailing semicolon to existing test.
50063 (y0_test): Likewise.
50064 (y1_test): Likewise.
50065 * sysdeps/i386/fpu/libm-test-ulps: Update.
50066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50070 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50071 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50072 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50073 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50074 (__tanl): Set errno for infinite argument.
50075 * sysdeps/i386/fpu/mptan.c: Remove.
50076 * sysdeps/i386/fpu/s_tan.S: Likewise.
50077 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50078 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50079 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50080 * math/libm-test.inc (tan_test): Add more tests and enable more
50081 tests for double and long double.
50082 * sysdeps/i386/fpu/libm-test-ulps: Update.
50083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50085 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
50087 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50088 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50090 2012-03-16 Roland McGrath <roland@hack.frob.com>
50092 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50093 * configure.in: Use it for both main tree and add-ons.
50094 * configure: Regenerated.
50096 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50098 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50100 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50102 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50106 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50107 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50108 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50109 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50110 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50112 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50113 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50114 != 0 for prec == 2.
50115 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50116 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50117 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50118 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50119 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50120 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50121 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50122 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50123 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50124 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50125 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50126 * math/libm-test.inc (cos_test): Add more tests and enable more
50127 tests for long double.
50128 (sin_test): Likewise.
50129 (sincos_test): Likewise.
50130 * sysdeps/i386/fpu/libm-test-ulps: Update.
50131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50133 2012-03-16 David S. Miller <davem@davemloft.net>
50135 * sysdeps/sparc/fpu/math_private.h: New file.
50137 2012-03-15 David S. Miller <davem@davemloft.net>
50139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50153 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50154 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50156 * sysdeps/sparc/sparc-ifunc.h: New file.
50157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50183 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50184 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50197 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50198 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50199 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50202 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50204 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50208 2012-03-15 Andreas Jaeger <aj@suse.de>
50211 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50212 ieee754/flt-32 implementation for sin, cos and sincos.
50213 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50214 * sysdeps/i386/fpu/s_cosf.S: Likewise.
50215 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50216 * sysdeps/i386/fpu/s_sinf.S: Likewise.
50217 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50218 ieee754/flt-32 implementation for tan.
50220 * math/libm-test.inc (cos_test): Enable some large input tests for
50222 (sin_test): Likewise.
50223 (sincos_test): Likewise.
50224 (tan_test): Add tests for large input.
50226 * sysdeps/i386/fpu/libm-test-ulps: Update.
50228 2012-03-15 Andreas Jaeger <aj@suse.de>
50231 * math/libm-test.inc (cos_test): Add more test cases.
50232 (sin_test): Likewise.
50233 (sincos_test): Likewise.
50235 2012-03-15 Andreas Jaeger <aj@suse.de>
50238 * math/libm-test.inc (cos_test): Add a test case for large input
50240 (sin_test): Likewise.
50241 (sincos_test): Likewise.
50243 2012-03-15 Andreas Jaeger <aj@suse.de>
50244 Joseph Myers <joseph@codesourcery.com>
50247 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50248 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50249 * sysdeps/i386/fpu/branred.c: Likewise.
50250 * sysdeps/i386/fpu/dosincos.c: Likewise.
50251 * sysdeps/i386/fpu/mpa.c: Likewise.
50252 * sysdeps/i386/fpu/s_cos.S: Likewise.
50253 * sysdeps/i386/fpu/s_sin.S: Likewise.
50254 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50255 * sysdeps/i386/fpu/sincos32.c: Likewise.
50257 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50259 (libc_feupdateenv_53bit): Define.
50260 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50262 (libc_feupdateenv_53bit): Define.
50264 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50265 53 bit (without extend i386 double precision).
50267 * math/libm-test.inc (sincos_test): Add tests for large input.
50271 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50273 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50277 2012-03-15 David S. Miller <davem@davemloft.net>
50279 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50280 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50281 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50282 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50306 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50307 fmin/fmax sysdep routines.
50308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50310 2012-03-14 David S. Miller <davem@davemloft.net>
50312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50316 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50317 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50318 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50319 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50334 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50335 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50336 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50337 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50340 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50384 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50389 * sysdeps/sparc/configure.in: New file.
50390 * sysdeps/sparc/configure: Generate.
50391 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50392 * configure: Regenerate.
50393 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50394 * config.make.in (have-as-vis3): New.
50395 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50396 available use -Av9d instead of -Av9a.
50397 * sysdeps/sparc/sparc64/Makefile: Likewise.
50398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50407 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50413 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50414 fzeros/fnegs to load 0x80000000 into a float register instead of
50416 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50418 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50422 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50423 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50424 ($(inst_includedir)/bits/syscall.h): Remove rule.
50425 ($(objpfx)bits/syscall.d): Include instead of
50426 $(objpfx)syscall-list.d.
50427 (generated): Change syscall-list.h and syscall-list.d to
50428 bits/syscall.h and bits/syscall.d.
50430 2012-03-14 Roland McGrath <roland@hack.frob.com>
50433 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50435 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50438 * math/s_csqrt.c: Include <float.h>.
50439 (__csqrt): Scale large or subnormal inputs.
50440 * math/s_csqrtf.c: Likewise.
50441 * math/s_csqrtl.c: Likewise.
50442 * math/libm-test.inc (csqrt_test): Add more tests.
50443 * sysdeps/i386/fpu/libm-test-ulps: Update.
50444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50447 * math/libm-test.inc (hypot_test): Add more tests.
50449 2012-03-13 David S. Miller <davem@davemloft.net>
50452 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50453 double-precision for the calculation instead of scaling.
50455 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50457 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50458 manipulate bits before adding and subtracting TWO52[sx].
50459 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50460 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50462 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50464 2012-03-13 David S. Miller <davem@davemloft.net>
50466 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50467 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50469 rtld-global-offsets.h
50470 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50472 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50475 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50477 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50478 'err' in the ifdef scope in which it is actually used.
50480 * nss/nss_db/db-init.c: Include string.h
50482 2012-03-12 David S. Miller <davem@davemloft.net>
50484 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50485 masking out of the most significant byte of random value used.
50486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50487 Fix coding style in previous change.
50489 * sysdeps/unix/sysv/linux/kernel-features.h
50490 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50491 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50493 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50496 2012-03-11 David S. Miller <davem@davemloft.net>
50498 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50499 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50500 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50501 for 'resultvar' otherwise things get truncated on 64-bit.
50503 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50504 Fix masking out of the most significant byte of random value used.
50506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50508 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50512 2012-03-09 David S. Miller <davem@davemloft.net>
50514 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50515 variables with appropriate CPP guards.
50516 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50517 from the frame pointer, not the stack pointer. Correct layout
50518 comments. Fix test on resulting framesize and the management of
50519 the outregs buffer for pltexit. Preserve floating point return
50520 values across _dl_call_pltexit call.
50521 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50522 framesize and the management of the outregs buffer for pltexit.
50523 Preserve floating point return values across _dl_call_pltexit
50525 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50526 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50527 (la_sparc64_gnu_pltexit): New functions.
50528 (print_exit): Fix format string for return register value.
50530 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50532 * sunrpc/Makefile (others): Add rpcgen.
50533 ($(objpfx)rpcgen): Remove special build rule and dependency on
50535 * sunrpc/rpcgen.c: New file.
50537 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50540 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50541 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50542 * sysdeps/i386/crti.S: Likewise.
50543 * sysdeps/i386/crtn.S: Likewise.
50544 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50545 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50546 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50547 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50548 * sysdeps/sh/crti.S: Likewise.
50549 * sysdeps/sh/crtn.S: Likewise.
50550 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50553 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50555 * locale/programs/locfile-kw.gperf: Likewise.
50556 * locale/programs/charmap-kw.h: Regenerated.
50557 * locale/programs/locfile-kw.h: Likewise.
50560 * intl/plural.y: Replace FSF snail mail address with URL.
50561 * intl/plural.c: Regenerated.
50563 2012-03-09 Richard Henderson <rth@twiddle.net>
50565 * include/math_private.h: Remove file.
50566 * math/math_private.h: Move file ...
50567 * sysdeps/generic/math_private.h: ... here.
50569 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50570 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50571 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50573 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50574 and <math_private.h>.
50575 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50576 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50577 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50578 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50579 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50580 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50581 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50583 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50584 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50586 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50587 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50589 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50590 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50591 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50593 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50594 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50596 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50597 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50599 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50600 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50601 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50602 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50604 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50605 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50607 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50608 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50609 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50612 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50613 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50615 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50616 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50617 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50618 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50619 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50620 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50621 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50622 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50623 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50624 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50625 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50626 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50627 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50628 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50629 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50630 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50631 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50632 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50633 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50634 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50635 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50636 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50638 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50639 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50640 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50641 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50642 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50643 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50644 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50646 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50647 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50648 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50649 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50653 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50654 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50655 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50656 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50657 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50658 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50659 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50661 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50662 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50663 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50664 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50665 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50666 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50667 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50668 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50669 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50670 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50671 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50672 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50673 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50674 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50675 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50676 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50677 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50678 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50679 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50680 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50681 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50682 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50683 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50684 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50685 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50686 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50687 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50688 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50689 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50690 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50691 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50692 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50693 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50694 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50695 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50696 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50697 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50698 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50699 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50700 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50701 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50702 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50703 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50704 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50705 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50706 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50707 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50708 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50709 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50710 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50711 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50712 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50713 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50714 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50715 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50716 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50717 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50718 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50719 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50720 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50721 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50722 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50723 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50724 * sysdeps/ieee754/k_standard.c: Likewise.
50725 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50726 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50727 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50728 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50729 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50730 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50731 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50732 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50733 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50734 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50735 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50736 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50737 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50738 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50739 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50740 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50741 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50742 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50743 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50744 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50745 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50746 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50747 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50748 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50749 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50750 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50751 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50752 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50753 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50755 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50756 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50757 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50758 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50759 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50760 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50761 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50762 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50763 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50764 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50765 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50766 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50767 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50768 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50769 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50770 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50771 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50772 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50773 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50774 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50775 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50776 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50777 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50778 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50779 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50780 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50781 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50782 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50783 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50784 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50785 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50786 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50787 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50788 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50789 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50790 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50791 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50792 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50793 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50794 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50795 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50796 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50797 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50798 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50799 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50800 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50801 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50802 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50803 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50804 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50805 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50806 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50807 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50808 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50809 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50810 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50811 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50812 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50813 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50814 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50815 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50816 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50817 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50818 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50819 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50820 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50821 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50822 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50823 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50824 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50826 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50827 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50828 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50829 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50830 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50831 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50832 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50833 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50834 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50835 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50836 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50837 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50838 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50839 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50840 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50841 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50842 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50843 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50844 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50845 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50846 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50847 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50848 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50849 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50850 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50851 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50852 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50853 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50854 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50855 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50856 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50857 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50858 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50859 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50860 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50861 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50862 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50863 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50864 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50865 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50866 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50867 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50868 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50869 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50870 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50871 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50872 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50873 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50874 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50875 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50876 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50877 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50878 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50879 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50880 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50881 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50882 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50883 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50884 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50885 * sysdeps/ieee754/s_lib_version.c: Likewise.
50886 * sysdeps/ieee754/s_matherr.c: Likewise.
50887 * sysdeps/ieee754/s_signgam.c: Likewise.
50888 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50889 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50890 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50891 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50892 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50893 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50894 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50895 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50896 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50897 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50898 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50899 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50900 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50901 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50902 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50903 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50904 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50905 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50906 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50908 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50910 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50912 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50913 * sunrpc/rpc_main.c: Likewise.
50914 * sunrpc/rpc_svcout.c: Likewise.
50916 2012-03-09 David S. Miller <davem@davemloft.net>
50918 * include/math_private.h: New file.
50920 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50922 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50923 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50924 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50925 from <bits/socket_type.h>.
50926 (enum __socket_type): Don't define here.
50927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50929 bits/socket_type.h.
50932 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50933 checking __USE_GNU.
50935 * Makerules ($(inst_includedir)/%.h): New rule.
50936 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50937 (install-others): Remove variable setting.
50938 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50940 2012-03-08 Richard Henderson <rth@twiddle.net>
50942 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50943 from macro to inline function; merge with the
50944 !__LIBC_INTERNAL_MATH_INLINES version.
50945 (__ieee754_sqrtf): Likewise.
50947 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50948 to inline function.
50949 (__rintf, __floor, __floorf): Likewise.
50951 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50952 macro to inline function.
50953 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50955 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50956 not <math/math_private.h>.
50958 2012-03-08 David S. Miller <davem@davemloft.net>
50960 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50962 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50964 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50966 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50968 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50969 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50971 2012-03-08 Ulrich Drepper <drepper@gmail.com>
50973 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
50974 be defined individually, they must be defined as a block. Define
50975 S for printing a string instead of hidint the different by using a
50976 macro for adding the 'l'.
50977 * stdio-common/tst-fphex-wide.c: Adjust.
50979 2012-03-07 Marek Polacek <polacek@redhat.com>
50981 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50983 2012-03-08 Marek Polacek <polacek@redhat.com>
50986 * stdio-common/Makefile (tests): Add tst-fphex-wide.
50987 * stdio-common/tst-fphex.c: Define a few macros to make the
50988 test reusable. Use them.
50989 * stdio-common/tst-fphex-wide.c: New file.
50991 2012-03-08 Joseph Myers <joseph@codesourcery.com>
50994 * manual/macros.texi (gnusystems): New macro.
50995 (nongnusystems): Likewise.
50996 (gnulinuxhurdsystems): Likewise.
50997 (gnuhurdsystems): Likewise..
50998 (gnulinuxsystems): Likewise.
50999 * manual/charset.texi: Use new macros or @theglibc{} to refer to
51000 variants of the GNU system, not "GNU system".
51001 * manual/conf.texi: Likewise.
51002 * manual/errno.texi: Likewise. Update example of errno macro
51004 * manual/filesys.texi: Likewise.
51005 (getumask): Document as specific to GNU/Hurd.
51006 * manual/install.texi: Likewise. Reword some references to
51008 * manual/intro.texi: Likewise.
51009 * manual/io.texi: Likewise.
51010 (File Name Portability): Detail which constraints are inapplicable
51011 to all GNU systems and which are only inapplicable to GNU/Hurd.
51012 * manual/job.texi: Likewise.
51013 * manual/llio.texi: Likewise.
51014 (O_NOCTTY): Document as present on GNU/Linux.
51015 * manual/maint.texi: Likewise.
51016 * manual/memory.texi: Likewise.
51017 * manual/pattern.texi: Likewise.
51018 * manual/pipe.texi: Likewise.
51019 * manual/process.texi: Likewise.
51020 * manual/resource.texi: Likewise.
51021 (RUSAGE_CHILDREN): Remove statement about specifying a particular
51023 * manual/setjmp.texi: Likewise.
51024 * manual/signal.texi: Likewise.
51025 * manual/startup.texi: Likewise.
51026 * manual/stdio.texi: Likewise.
51027 * manual/terminal.texi: Likewise.
51028 (ONLCR): Document as POSIX.
51029 (OXTABS): Document availability on GNU/Linux as XTABS.
51030 (ONOEOT): Document availability separately from other bits.
51031 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51032 * manual/time.texi: Likewise.
51033 * manual/users.texi: Likewise.
51034 * INSTALL: Regenerated.
51035 * sysdeps/gnu/errlist.c: Regenerated.
51037 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51038 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51039 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51041 * configure: Regenerated.
51043 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51045 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51046 default includes instead of AC_HEADER_CHECK.
51047 * sysdeps/i386/configure: Regenerated.
51050 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51051 * math/s_cacoshf.c (__cacoshf): Likewise.
51052 * math/s_cacoshl.c (__cacoshl): Likewise.
51053 * math/s_casinh.c (__casinh): Set signs of result from argument.
51054 * math/s_casinhf.c (__casinhf): Likewise.
51055 * math/s_casinhl.c (__casinhl): Likewise.
51056 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51057 (casinh_test): Add more tests.
51058 * sysdeps/i386/fpu/libm-test-ulps: Update.
51059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51061 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51063 * po/zh_TW.po: Update from translation team.
51065 * login/Makefile (distribute): Remove variable.
51066 * catgets/Makefile: Likewise.
51067 * mach/Makefile: Likewise.
51068 * malloc/Makefile: Likewise.
51069 * misc/Makefile: Likewise.
51070 * iconv/Makefile: Likewise.
51071 * nscd/Makefile: Likewise.
51072 * hurd/Makefile: Likewise.
51073 * manual/Makefile: Likewise.
51074 * locale/Makefile: Likewise.
51075 * intl/Makefile: Likewise.
51076 * conform/Makefile: Likewise.
51077 * nss/Makefile: Likewise.
51078 * time/Makefile: Likewise.
51079 * soft-fp/Makefile: Likewise.
51080 * dirent/Makefile: Likewise.
51081 * gmon/Makefile: Likewise.
51082 * po/Makefile: Likewise.
51083 * rt/Makefile: Likewise.
51084 * socket/Makefile: Likewise.
51085 * math/Makefile: Likewise.
51086 * signal/Makefile: Likewise.
51087 * debug/Makefile: Likewise.
51088 * elf/Makefile: Likewise.
51089 * timezone/Makefile: Likewise.
51090 * stdlib/Makefile: Likewise.
51091 * iconvdata/Makefile: Likewise.
51092 * sunrpc/Makefile: Likewise.
51093 * io/Makefile: Likewise.
51094 * argp/Makefile: Likewise.
51095 * inet/Makefile: Likewise.
51096 * hesiod/Makefile: Likewise.
51097 * grp/Makefile: Likewise.
51098 * csu/Makefile: Likewise.
51099 * wctype/Makefile: Likewise.
51100 * crypt/Makefile: Likewise.
51101 * libio/Makefile: Likewise.
51102 * string/Makefile: Likewise.
51103 * nis/Makefile: Likewise.
51104 * resolv/Makefile: Likewise.
51105 * stdio-common/Makefile: Likewise.
51106 * wcsmbs/Makefile: Likewise.
51107 * dlfcn/Makefile: Likewise.
51108 * posix/Makefile: Likewise.
51111 * timezone/Makefile: Don't install timezone files, just the programs
51114 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51116 * nss/databases.def: Add missing gshadow entry.
51118 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51120 2012-03-06 Marek Polacek <polacek@redhat.com>
51123 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51124 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51125 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51126 * stdio-common/tst-long-dbl-fphex.c: New file.
51128 2012-03-06 David S. Miller <davem@davemloft.net>
51130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51131 (set_obp_int): New function.
51132 (get_obp_int): New function.
51133 (__get_clockfreq_via_dev_openprom): Likewise.
51134 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51135 Avoid unused variable warnings on 'val' and use builtin_expect.
51136 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51138 (INLINE_CLONE_SYSCALL): Likewise.
51140 2012-03-05 David S. Miller <davem@davemloft.net>
51142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51144 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51148 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51149 only for |x| >= 40.
51150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51152 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
51154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51155 Replace gettimeofday with __vdso_gettimeofday.
51157 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51158 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51159 __vdso_clock_gettime and __vdso_getcpu.
51161 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51162 time with __vdso_time.
51164 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51166 * manual/lang.texi (size_t): Note types to which size_t may be
51167 equivalent with the GNU C Library, but do not describe when
51168 differences between them are significant.
51170 2012-03-05 Andreas Jaeger <aj@suse.de>
51172 * sysdeps/i386/fpu/libm-test-ulps: Update.
51174 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51177 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51178 (__ieee754_pow): Save and restore rounding mode and use
51179 round-to-nearest for main computations.
51180 * math/libm-test.inc (pow_test_tonearest): New function.
51181 (pow_test_towardzero): Likewise.
51182 (pow_test_downward): Likewise.
51183 (pow_test_upward): Likewise.
51184 (main): Call the new functions.
51185 * sysdeps/i386/fpu/libm-test-ulps: Update.
51186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51189 * math/libm-test.inc (cosh_test_tonearest): New function.
51190 (cosh_test_towardzero): Likewise.
51191 (cosh_test_downward): Likewise.
51192 (cosh_test_upward): Likewise.
51193 (sinh_test_tonearest): Likewise.
51194 (sinh_test_towardzero): Likewise.
51195 (sinh_test_downward): Likewise.
51196 (sinh_test_upward): Likewise.
51197 (main): Call the new functions.
51198 * sysdeps/i386/fpu/libm-test-ulps: Update.
51199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51201 2012-03-05 Tom de Vries <tom@codesourcery.com>
51203 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51204 default stack guard is set in last bytes.
51205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51207 2012-03-05 Kees Cook <keescook@chromium.org>
51209 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51212 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51213 possibly allocate from heap instead of stack.
51214 * stdio-common/bug-vfprintf-nargs.c: New file.
51215 * stdio-common/Makefile (tests): Add nargs overflow test.
51217 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
51219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51221 2012-03-03 Marek Polacek <polacek@redhat.com>
51223 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51224 * math/math_private.h: Likewise.
51225 * stdlib/tst-strtod.c: Likewise.
51226 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51227 * sysdeps/x86_64/bits/atomic.h: Likewise.
51229 2012-03-02 David S. Miller <davem@davemloft.net>
51231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51235 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51236 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51237 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51238 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51240 2012-03-02 Roland McGrath <roland@hack.frob.com>
51243 * manual/examples/README: New file, says the example source files
51244 can be used under GPL>=2.
51245 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51246 line containing just "*/".
51247 * manual/examples/add.c: Add copyright header (GPL>=2).
51248 * manual/examples/argp-ex1.c: Likewise.
51249 * manual/examples/argp-ex2.c: Likewise.
51250 * manual/examples/argp-ex3.c: Likewise.
51251 * manual/examples/argp-ex4.c: Likewise.
51252 * manual/examples/atexit.c: Likewise.
51253 * manual/examples/db.c: Likewise.
51254 * manual/examples/dir.c: Likewise.
51255 * manual/examples/dir2.c: Likewise.
51256 * manual/examples/execinfo.c: Likewise.
51257 * manual/examples/filecli.c: Likewise.
51258 * manual/examples/filesrv.c: Likewise.
51259 * manual/examples/fmtmsgexpl.c: Likewise.
51260 * manual/examples/genpass.c: Likewise.
51261 * manual/examples/inetcli.c: Likewise.
51262 * manual/examples/inetsrv.c: Likewise.
51263 * manual/examples/isockad.c: Likewise.
51264 * manual/examples/longopt.c: Likewise.
51265 * manual/examples/memopen.c: Likewise.
51266 * manual/examples/memstrm.c: Likewise.
51267 * manual/examples/mkfsock.c: Likewise.
51268 * manual/examples/mkisock.c: Likewise.
51269 * manual/examples/mygetpass.c: Likewise.
51270 * manual/examples/pipe.c: Likewise.
51271 * manual/examples/popen.c: Likewise.
51272 * manual/examples/rprintf.c: Likewise.
51273 * manual/examples/search.c: Likewise.
51274 * manual/examples/select.c: Likewise.
51275 * manual/examples/setjmp.c: Likewise.
51276 * manual/examples/sigh1.c: Likewise.
51277 * manual/examples/sigusr.c: Likewise.
51278 * manual/examples/stpcpy.c: Likewise.
51279 * manual/examples/strdupa.c: Likewise.
51280 * manual/examples/strftim.c: Likewise.
51281 * manual/examples/strncat.c: Likewise.
51282 * manual/examples/subopt.c: Likewise.
51283 * manual/examples/swapcontext.c: Likewise.
51284 * manual/examples/termios.c: Likewise.
51285 * manual/examples/testopt.c: Likewise.
51286 * manual/examples/testpass.c: Likewise.
51287 * manual/examples/timeval_subtract.c: Likewise.
51290 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51292 * manual/timeval_subtract.c.texi: ... here, new file.
51294 2012-03-02 David S. Miller <davem@davemloft.net>
51296 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51298 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51301 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51302 (__sin): Save and restore rounding mode and use round-to-nearest
51303 for all computations.
51304 (__cos): Save and restore rounding mode and use round-to-nearest
51305 for all computations.
51306 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51308 (tan): Save and restore rounding mode and use round-to-nearest for
51310 * math/libm-test.inc (cos_test_tonearest): New function.
51311 (cos_test_towardzero): Likewise.
51312 (cos_test_downward): Likewise.
51313 (cos_test_upward): Likewise.
51314 (sin_test_tonearest): Likewise.
51315 (sin_test_towardzero): Likewise.
51316 (sin_test_downward): Likewise.
51317 (sin_test_upward): Likewise.
51318 (tan_test_tonearest): Likewise.
51319 (tan_test_towardzero): Likewise.
51320 (tan_test_downward): Likewise.
51321 (tan_test_upward): Likewise.
51322 (main): Call the new functions.
51323 * sysdeps/i386/fpu/libm-test-ulps: Update.
51324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51327 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51328 small n, then large n, before computing and testing k+n.
51329 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51334 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51335 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51336 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51337 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51338 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51339 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51340 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51341 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51342 * math/libm-test.inc (scalbn_test): Add more tests.
51343 (scalbln_test): Likewise.
51345 * manual/filesys.texi (mode_t): Describe constraints on size and
51346 signedness, not exact equivalence to a particular type.
51348 (ino64_t): Likewise.
51350 (nlink_t): Likewise.
51351 (blkcnt_t): Likewise.
51352 (blkcnt64_t): Likewise.
51353 * manual/llio.texi (off_t): Likewise.
51356 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51357 (__ieee754_exp): Save and restore rounding mode and use
51358 round-to-nearest for all computations.
51359 * math/libm-test.inc (exp_test_tonearest): New function.
51360 (exp_test_towardzero): Likewise.
51361 (exp_test_downward): Likewise.
51362 (exp_test_upward): Likewise.
51363 (main): Call the new functions.
51364 * sysdeps/i386/fpu/libm-test-ulps: Update.
51365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51367 2012-03-01 Chris Demetriou <cgd@google.com>
51369 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51370 have predictable order.
51372 2012-03-01 David S. Miller <davem@davemloft.net>
51374 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51376 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51377 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51378 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51379 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51381 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51382 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51383 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51385 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51386 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51387 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51388 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51389 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51393 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51394 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51395 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51397 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51398 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51399 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51400 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51401 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51402 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51404 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51405 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51406 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51407 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51408 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51410 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51411 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51413 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51414 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51415 * sysdeps/sparc/elf/configure: Regenerated.
51417 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51419 * configure.in (AS, LD): Require binutils 2.20 or later.
51420 * configure: Regenerated.
51421 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51422 as required minimum version.
51423 * INSTALL: Regenerated.
51427 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51428 before squaring exponent.
51429 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51430 bottom long double and 27 bits of top long double before squaring
51432 * math/libm-test.inc (erfc_test): Add more tests.
51433 * sysdeps/i386/fpu/libm-test-ulps: Update.
51434 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51437 2012-03-01 Kai Tietz <ktietz@redhat.com>
51439 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51440 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51441 containing bit-fields.
51442 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51443 * soft-fp/single.h (_FP_UNION_S): Likewise.
51444 * soft-fp/double.h (_FP_UNION_D): Likewise.
51446 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51449 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51450 not include ../strcmp.S.
51451 [USE_AS_STRNCASECMP_L]: Likewise.
51452 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51453 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51454 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51455 (__strncasecmp_l_ia32): Define as alias to
51456 __strncasecmp_l_nonascii.
51459 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51460 * sysdeps/i386/fpu/libm-test-ulps: Update.
51461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51463 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51466 2012-02-29 Jeff Law <law@redhat.com>
51468 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51469 out of bounds read.
51471 2012-02-29 Marek Polacek <polacek@redhat.com>
51474 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51475 * elf/Makefile: Add rules to run tst-unused-dep.out.
51477 2012-02-28 David S. Miller <davem@davemloft.net>
51479 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51480 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51481 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51482 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51483 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51484 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51486 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51488 * math/libm-test.inc (llround_test): Move one test from
51489 lround_test. Use TEST_f_L in moved test.
51490 (lround_test): Move misplaced test to llround_test. Add testcase
51493 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51495 * sysdeps/x86_64/fpu/e_expf.S: New file.
51496 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51498 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51501 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51502 of remain_len that may cause incomplete multi-byte character and
51504 * posix/bug-regex33.c: New file.
51505 * posix/Makefile (tests): Add bug-regex33.
51507 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51509 * manual/macros.texi: New file.
51510 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51511 * manual/libc.texinfo: Include macros.texi.
51512 * manual/creatute.texi: Likewise.
51513 * manual/install.texi: Likewise.
51514 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51515 @glibcadj{} in references to the GNU C Library.
51516 * manual/charset.texi: Likewise.
51517 * manual/conf.texi: Likewise.
51518 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51519 when not using those macros.
51520 * manual/creature.texi: Likewise.
51521 * manual/crypt.texi: Likewise.
51522 * manual/errno.texi: Likewise.
51523 * manual/filesys.texi: Likewise.
51524 * manual/header.texi: Likewise.
51525 * manual/install.texi: Likewise.
51526 * manual/intro.texi: Likewise.
51527 * manual/io.texi: Likewise.
51528 * manual/job.texi: Likewise.
51529 * manual/lang.texi: Likewise.
51530 * manual/libc.texiinfo: Likewise.
51531 * manual/llio.texi: Likewise.
51532 * manual/locale.texi: Likewise.
51533 * manual/maint.texi: Likewise.
51534 * manual/math.texi: Likewise.
51535 * manual/memory.texi: Likewise.
51536 * manual/message.texi: Likewise.
51537 * manual/nss.texi: Likewise.
51538 * manual/pattern.texi: Likewise.
51539 * manual/process.texi: Likewise.
51540 * manual/resource.texi: Likewise.
51541 * manual/search.texi: Likewise.
51542 * manual/setjmp.texi: Likewise.
51543 * manual/signal.texi: Likewise.
51544 * manual/socket.texi: Likewise.
51545 * manual/startup.texi: Likewise.
51546 * manual/stdio.texi: Likewise.
51547 * manual/string.texi: Likewise.
51548 * manual/sysinfo.texi: Likewise.
51549 * manual/syslog.texi: Likewise.
51550 * manual/terminal.texi: Likewise.
51551 * manual/time.texi: Likewise.
51552 * manual/users.texi: Likewise.
51553 * INSTALL: Regenerated.
51554 * NOTES: Regenerated.
51555 * sysdeps/gnu/errlist.c: Regenerated.
51557 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51559 * include/dirent.h: Include <dirstream.h> before
51562 2012-02-28 David S. Miller <davem@davemloft.net>
51564 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51565 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51566 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51567 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51569 2012-02-27 David S. Miller <davem@davemloft.net>
51571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51573 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51574 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51577 frame pointer instead of stack pointer relative arg slot.
51578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51579 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51580 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51582 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51585 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51587 2012-02-27 David S. Miller <davem@davemloft.net>
51589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51593 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51594 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51595 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51596 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51598 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51600 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51601 later. Allow versions 5-9.
51602 * configure: Regenerated.
51603 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51604 required minimum version and 4.6 as recommended version. Do not
51605 mention bugs in GCC 2.7 and 2.8.
51606 * INSTALL: Regenerated.
51608 2012-02-27 David S. Miller <davem@davemloft.net>
51610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51614 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51615 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51616 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51617 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51619 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51620 manipulate bits before adding and subtracting TWO112[sx].
51621 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51623 2012-02-27 Roland McGrath <roland@hack.frob.com>
51626 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51627 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51628 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51629 being in POSIX, because they are in 1003.1-2008.
51631 * rt/tst-aio.c: Include <fcntl.h>.
51632 * rt/tst-aio7.c: Likewise.
51633 * rt/tst-aio64.c: Likewise.
51635 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51637 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51639 * manual/install.texi (--with-headers): Describe headers as
51640 interface headers, not private headers.
51641 (Specific advice for GNU/Linux systems): Describe use of headers
51642 from "make headers_install", not private headers from older
51644 * INSTALL: Regenerated.
51645 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51647 * sysdeps/unix/sysv/linux/configure: Regenerated.
51649 * manual/llio.texi (fclean): Remove documentation.
51651 * manual/Makefile (libc-texi-generated): New variable. Include
51653 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51654 $(libc-texi-generated), not duplicated list of files.
51655 (version.texi, stamp-version): New rules.
51656 (realclean): Remove $(libc-texi-generated), not individual files
51657 from that list. Do not remove dir-add.texinfo.
51658 * manual/libc.texinfo: Comment out uses of edition numbers and
51659 references to printed manual. Remove last-updated dates.
51660 (EDITION): Comment out.
51662 (VERSION, UPDATED): Remove.
51663 (version.texi): Include.
51665 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51667 * sysdeps/posix/spawni.c: Include <signal.h>.
51668 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51669 * sysdeps/pthread/aio_fsync.c: Likewise.
51671 2012-02-26 Ulrich Drepper <drepper@gmail.com>
51673 * conform/Makefile (tests): Run only when not cross-compiling and
51674 when fast-check is not defined.
51676 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51677 * conform/data/limits.h-data: Fixes for POSIX2008.
51678 * conform/run-conformtest.sh: Run all tests.
51679 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51681 * include/bits/dlfcn.h: Likewise.
51682 * include/langinfo.h: Likewise.
51683 * include/monetary.h: Likewise.
51684 * include/sys/poll.h: Likewise.
51686 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51688 * posix/spawn.h: Define __need_sigset_t.
51689 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51690 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51691 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51692 to get sigevent_t only.
51693 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51694 only for __USE_GNU.
51695 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51696 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51697 process_vm_writev only for __USE_GNU.
51698 * termios/termios.h: Declare tcgetsid also for POSIX2008.
51700 * conform/Makefile: For now ignore errors from run-conformtest.
51701 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51702 POSIX to avoid namespace pollution. Don't prepend headers.
51703 * conform/data/aio.h-data: Fixes for POSIX testing.
51704 * conform/data/fcntl.h-data: Likewise.
51705 * conform/data/glob.h-data: Likewise.
51706 * conform/data/grp.h-data: Likewise.
51707 * conform/data/pthread.h-data: Likewise.
51708 * conform/data/pwd.h-data: Likewise.
51709 * conform/data/signal.h-data: Likewise.
51710 * conform/data/spawn.h-data: Likewise.
51711 * conform/data/stdio.h-data: Likewise.
51712 * conform/data/stdlib.h-data: Likewise.
51713 * conform/data/stropts.h-data: Likewise.
51714 * conform/data/sys/mman.h-data: Likewise.
51715 * conform/data/sys/stat.h-data: Likewise.
51716 * conform/data/sys/types.h-data: Likewise.
51717 * conform/data/sys/wait.h-data: Likewise.
51718 * conform/data/time.h-data: Likewise.
51719 * conform/data/unistd.h-data: Likewise.
51720 * conform/data/utime.h-data: Likewise.
51722 * io/sys/stat.h: fchmod was always in POSIX.
51723 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51724 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51725 * rt/aio.h: Define __need_timespec before including <time.h>.
51726 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51727 struct. Add forward declaration of pthread_attr_t and use it in
51729 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51730 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51731 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51732 always remove CLK_TCK definition.
51734 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51736 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51738 2012-02-25 Ulrich Drepper <drepper@gmail.com>
51740 * conform/run-conformtest.sh: New file.
51741 * conform/Makefile: Run run-conformtest for tests.
51742 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51745 * conform/data/uchar.h-data: New file.
51746 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51747 * conform/data/arpa/inet.h-data: Likewise.
51748 * conform/data/assert.h-data: Likewise.
51749 * conform/data/complex.h-data: Likewise.
51750 * conform/data/cpio.h-data: Likewise.
51751 * conform/data/ctype.h-data: Likewise.
51752 * conform/data/dirent.h-data: Likewise.
51753 * conform/data/dlfcn.h-data: Likewise.
51754 * conform/data/errno.h-data: Likewise.
51755 * conform/data/fcntl.h-data: Likewise.
51756 * conform/data/float.h-data: Likewise.
51757 * conform/data/fmtmsg.h-data: Likewise.
51758 * conform/data/fnmatch.h-data: Likewise.
51759 * conform/data/ftw.h-data: Likewise.
51760 * conform/data/glob.h-data: Likewise.
51761 * conform/data/grp.h-data: Likewise.
51762 * conform/data/iconv.h-data: Likewise.
51763 * conform/data/inttypes.h-data: Likewise.
51764 * conform/data/langinfo.h-data: Likewise.
51765 * conform/data/libgen.h-data: Likewise.
51766 * conform/data/limits.h-data: Likewise.
51767 * conform/data/locale.h-data: Likewise.
51768 * conform/data/math.h-data: Likewise.
51769 * conform/data/monetary.h-data: Likewise.
51770 * conform/data/mqueue.h-data: Likewise.
51771 * conform/data/ndbm.h-data: Likewise.
51772 * conform/data/net/if.h-data: Likewise.
51773 * conform/data/netdb.h-data: Likewise.
51774 * conform/data/netinet/in.h-data: Likewise.
51775 * conform/data/nl_types.h-data: Likewise.
51776 * conform/data/poll.h-data: Likewise.
51777 * conform/data/pthread.h-data: Likewise.
51778 * conform/data/pwd.h-data: Likewise.
51779 * conform/data/regex.h-data: Likewise.
51780 * conform/data/sched.h-data: Likewise.
51781 * conform/data/search.h-data: Likewise.
51782 * conform/data/semaphore.h-data: Likewise.
51783 * conform/data/setjmp.h-data: Likewise.
51784 * conform/data/signal.h-data: Likewise.
51785 * conform/data/spawn.h-data: Likewise.
51786 * conform/data/stdarg.h-data: Likewise.
51787 * conform/data/stdio.h-data: Likewise.
51788 * conform/data/stdlib.h-data: Likewise.
51789 * conform/data/string.h-data: Likewise.
51790 * conform/data/strings.h-data: Likewise.
51791 * conform/data/stropts.h-data: Likewise.
51792 * conform/data/sys/ipc.h-data: Likewise.
51793 * conform/data/sys/mman.h-data: Likewise.
51794 * conform/data/sys/msg.h-data: Likewise.
51795 * conform/data/sys/resource.h-data: Likewise.
51796 * conform/data/sys/select.h-data: Likewise.
51797 * conform/data/sys/sem.h-data: Likewise.
51798 * conform/data/sys/shm.h-data: Likewise.
51799 * conform/data/sys/socket.h-data: Likewise.
51800 * conform/data/sys/stat.h-data: Likewise.
51801 * conform/data/sys/statvfs.h-data: Likewise.
51802 * conform/data/sys/time.h-data: Likewise.
51803 * conform/data/sys/timeb.h-data: Likewise.
51804 * conform/data/sys/times.h-data: Likewise.
51805 * conform/data/sys/types.h-data: Likewise.
51806 * conform/data/sys/uio.h-data: Likewise.
51807 * conform/data/sys/un.h-data: Likewise.
51808 * conform/data/sys/utsname.h-data: Likewise.
51809 * conform/data/sys/wait.h-data: Likewise.
51810 * conform/data/syslog.h-data: Likewise.
51811 * conform/data/tar.h-data: Likewise.
51812 * conform/data/termios.h-data: Likewise.
51813 * conform/data/utime.h-data: Likewise.
51814 * conform/data/utmpx.h-data: Likewise.
51815 * conform/data/varargs.h-data: Likewise.
51816 * conform/data/wchar.h-data: Likewise.
51817 * conform/data/wctype.h-data: Likewise.
51818 * conform/data/wordexp.h-data: Likewise.
51820 * include/stropts.h: New file.
51821 * include/uchar.h: New file.
51822 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51823 * include/assert.h: Likewise.
51824 * include/ctype.h: Likewise.
51825 * include/dirent.h: Likewise.
51826 * include/dlfcn.h: Likewise.
51827 * include/fcntl.h: Likewise.
51828 * include/fnmatch.h: Likewise.
51829 * include/glob.h: Likewise.
51830 * include/grp.h: Likewise.
51831 * include/libio.h: Likewise.
51832 * include/locale.h: Likewise.
51833 * include/math.h: Likewise.
51834 * include/net/if.h: Likewise.
51835 * include/netdb.h: Likewise.
51836 * include/netinet/in.h: Likewise.
51837 * include/pthread.h: Likewise.
51838 * include/pwd.h: Likewise.
51839 * include/regex.h: Likewise.
51840 * include/sched.h: Likewise.
51841 * include/search.h: Likewise.
51842 * include/setjmp.h: Likewise.
51843 * include/signal.h: Likewise.
51844 * include/stdio.h: Likewise.
51845 * include/stdlib.h: Likewise.
51846 * include/string.h: Likewise.
51847 * include/sys/cdefs.h: Likewise.
51848 * include/sys/mman.h: Likewise.
51849 * include/sys/msg.h: Likewise.
51850 * include/sys/resource.h: Likewise.
51851 * include/sys/select.h: Likewise.
51852 * include/sys/socket.h: Likewise.
51853 * include/sys/stat.h: Likewise.
51854 * include/sys/statvfs.h: Likewise.
51855 * include/sys/time.h: Likewise.
51856 * include/sys/times.h: Likewise.
51857 * include/sys/uio.h: Likewise.
51858 * include/sys/utsname.h: Likewise.
51859 * include/sys/wait.h: Likewise.
51860 * include/termios.h: Likewise.
51861 * include/time.h: Likewise.
51862 * include/ulimit.h: Likewise.
51863 * include/unistd.h: Likewise.
51864 * include/utime.h: Likewise.
51865 * include/wchar.h: Likewise.
51866 * include/wctype.h: Likewise.
51867 * include/wordexp.h: Likewise.
51869 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51871 * time/time.h: TIME_UTC must be a macro.
51872 Make timespec_get available for ISO C11 only as well.
51874 2012-02-24 Ulrich Drepper <drepper@gmail.com>
51876 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51877 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51879 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51881 * configure.in: Use -o not -a in test for unsupported multi-arch.
51883 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51885 * manual/texinfo.tex: Update to version 2012-01-19.16.
51887 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51889 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51891 2012-02-24 Roland McGrath <roland@hack.frob.com>
51894 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51895 * manual/fdl-1.3.texi: New file.
51896 * manual/fdl-1.1.texi: File removed.
51899 * manual/libc.texinfo (FDL_VERSION): New @set.
51900 Use it for mention of FDL in cover text.
51901 (Documentation License): Use it in @include file name.
51903 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51904 Roland McGrath <roland@hack.frob.com>
51907 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51908 (not LONG_LONG_MAX and LONG_LONG_MIN.
51909 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51910 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51912 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51914 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51918 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51919 manipulate bits before adding and subtracting TWO23[sx].
51920 * math/libm-test.inc (nearbyint_test): Add more tests.
51922 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51925 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51926 bits before adding and subtracting TWO23[sx].
51927 * math/libm-test.inc (rint_test): Add more tests.
51928 (rint_test_tonearest): Likewise.
51929 (rint_test_towardzero): Likewise.
51930 (rint_test_downward): Likewise.
51931 (rint_test_upward: Likewise.
51933 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51936 * include/stdc-predef.h: New file. Extracted from features.h.
51937 * include/features.h: Include stdc-predef.h.
51938 * Makefile (headers): Add stdc-predef.h.
51939 * CONFORMANCE (Compiler limitations): Update.
51941 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51943 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51945 2012-02-21 David S. Miller <davem@davemloft.net>
51947 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51948 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51950 2012-02-20 David S. Miller <davem@davemloft.net>
51952 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51953 using a normal save/restore sequence, rather than allocating a
51954 dummy stack frame just to store a frame pointer and restore.
51955 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51957 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51959 * manual/install.texi: Fix stray word in line-wrapped comment.
51961 2012-02-20 David S. Miller <davem@davemloft.net>
51963 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51964 both binutils and gcc support GOTDATA.
51966 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51967 "rd %pc" in the PIC register setup sequences.
51969 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51970 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51971 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51972 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51973 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51974 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51975 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51976 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51978 (SYSCALL_ERROR_HANDLER): Likewise.
51979 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51980 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51981 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51982 (SYSCALL_ERROR_HANDLER): Likewise.
51984 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51985 (HAVE_GCC_GOTDATA): New.
51986 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51987 relocation support in both binutils and gcc.
51988 * sysdeps/sparc/elf/configure: Regenerate.
51990 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51991 * sysdeps/sparc/sparc32/elf/configure: Delete.
51992 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51993 * sysdeps/sparc/sparc64/elf/configure: Delete.
51994 * sysdeps/sparc/elf/configure.in: New file.
51995 * sysdeps/sparc/elf/configure: Generate.
51997 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51998 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51999 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52000 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52001 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52003 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52005 * manual/install.texi: Do not mention specific glibc version
52007 * manual/libc.texinfo (VERSION, UPDATED): Update.
52008 (@copying): Use @copyright{} and range of years.
52010 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52013 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52014 [crti.S not in sysdirs] (generated): Do not append.
52015 [crti.S not in sysdirs] (omit-deps): Likewise.
52016 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52017 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52018 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52019 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52020 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52022 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52023 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52024 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52025 * csu/defs.awk: Remove file.
52026 * sysdeps/generic/initfini.c: Likewise.
52027 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52029 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52032 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52034 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52035 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52036 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52037 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52038 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52039 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52041 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52042 (__EPOLL_PACKED): Define to empty if not defined by
52044 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52048 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52050 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52051 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52052 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52053 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52055 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52059 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52061 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52064 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52065 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52068 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52070 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52071 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52073 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52075 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52076 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52078 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52080 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52083 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52085 * math/w_acos.c: Use non-signaling floating-point comparisons.
52086 * math/w_acosf.c: Likewise.
52087 * math/w_acosh.c: Likewise.
52088 * math/w_acoshf.c: Likewise.
52089 * math/w_acoshl.c: Likewise.
52090 * math/w_acosl.c: Likewise.
52091 * math/w_asin.c: Likewise.
52092 * math/w_asinf.c: Likewise.
52093 * math/w_asinl.c: Likewise.
52094 * math/w_atanh.c: Likewise.
52095 * math/w_atanhf.c: Likewise.
52096 * math/w_atanhl.c: Likewise.
52097 * math/w_exp2.c: Likewise.
52098 * math/w_exp2f.c: Likewise.
52099 * math/w_exp2l.c: Likewise.
52100 * math/w_j0.c: Likewise.
52101 * math/w_j0f.c: Likewise.
52102 * math/w_j0l.c: Likewise.
52103 * math/w_j1.c: Likewise.
52104 * math/w_j1f.c: Likewise.
52105 * math/w_j1l.c: Likewise.
52106 * math/w_jn.c: Likewise.
52107 * math/w_jnf.c: Likewise.
52108 * math/w_log.c: Likewise.
52109 * math/w_log10.c: Likewise.
52110 * math/w_log10f.c: Likewise.
52111 * math/w_log10l.c: Likewise.
52112 * math/w_log2.c: Likewise.
52113 * math/w_log2f.c: Likewise.
52114 * math/w_log2l.c: Likewise.
52115 * math/w_logf.c: Likewise.
52116 * math/w_logl.c: Likewise.
52117 * math/w_sqrt.c: Likewise.
52118 * math/w_sqrtf.c: Likewise.
52119 * math/w_sqrtl.c: Likewise.
52120 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52121 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52122 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52123 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52124 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52126 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52129 * manual/string.texi (strnlen): Use correct parameter name in
52130 equivalent expression.
52132 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52135 * manual/users.texi (seteuid): Consistently use neweuid for
52138 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52141 * manual/nss.texi (Services in the NSS configuration): Correct
52142 list of services in example configuration file.
52144 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52147 * manual/arith.texi: Remove statements about negative zero
52148 behaving identically to zero.
52150 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52153 * manual/install.texi: Do not document upgrading from libc5.
52155 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52158 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52160 2012-02-18 David S. Miller <davem@davemloft.net>
52162 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52163 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52164 %o7 across the call.
52165 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52167 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52168 SETUP_PIC_REG_LEAF.
52169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52170 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52171 * sysdeps/sparc/crtn.S: Likewise.
52173 2012-02-17 Ulrich Drepper <drepper@gmail.com>
52175 * aout/Makefile: Remove.
52177 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
52180 * manual/examples/argp-ex1.c (main): Format definition in GNU
52182 * manual/examples/argp-ex2.c (main): Likewise.
52183 * manual/examples/argp-ex3.c (main): Likewise.
52184 * manual/examples/argp-ex4.c (main): Likewise.
52185 * manual/examples/longopt.c (main): Use new-style prototype
52187 * manual/examples/strncat.c (main): Specify return type and use
52188 (void) for arguments.
52189 * manual/examples/subopt.c (main): Use char **argv argument.
52191 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52194 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52197 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
52200 * manual/string.texi (strchr): Change when strchrnul is
52203 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
52206 * manual/locale.texi (setlocale): Document LOCPATH.
52208 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52211 * manual/process.texi (execle): Move @dots{} before last argument.
52213 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
52216 * manual/charset.texi (Generic Charset Conversion): Fix typo
52217 (LC_TYPE -> LC_CTYPE).
52219 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
52222 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52223 (scalbnf): Likewise.
52224 (scalbnl): Likewise.
52225 (scalbln): Likewise.
52226 (scalblnf): Likewise.
52227 (scalblnl): Likewise.
52228 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52229 (vwarnx): Likewise.
52232 * manual/filesys.texi (telldir): Use braces around return type.
52233 * manual/llio.texi (mmap): Add space after comma.
52234 (mmap64): Likewise.
52235 * manual/math.texi (jn): Use @var{} on parameter names.
52241 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52243 * manual/resource.texi (ulimit): Use @dots{} instead of literal
52245 (sched_get_priority_min): Remove semicolon on @deftypefun line.
52246 (sched_get_priority_max): Likewise.
52247 * manual/signal.texi (sigvec): Add space after comma.
52248 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52250 (if_indextoname): Likewise.
52251 (if_freenameindex): Likewise.
52252 (sendto): Use ',' instead of '.' in prototype.
52253 * manual/startup.texi (syscall): Use @dots{} instead of literal
52255 * manual/stdio.texi (__fpending): Separate initial words of
52256 paragraph from @deftypefun line.
52257 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52259 (vsyslog): Use @var{} on parameter names.
52260 * manual/terminal.texi (stty): Use @var{} on parameter names.
52261 * manual/users.texi (getutmp): Use @var{} on parameter names.
52262 (getutmpx): Likewise.
52264 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52267 * manual/stdio.texi (fopen): Fix typos in description of
52270 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52273 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52274 get clock_id definition.
52276 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52279 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52280 (madvise): Cast every argument to void on its own.
52282 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52285 * manual/startup.texi (Exit Status): Fix typo.
52287 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52290 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52291 * manual/examples/argp-ex2.c: Likewise.
52292 * manual/examples/argp-ex3.c: Likewise.
52294 2012-02-16 Richard Henderson <rth@redhat.com>
52296 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52297 * sysdeps/s390/s390-32/initfini.c: Remove.
52298 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52299 * sysdeps/s390/s390-64/initfini.c: Remove.
52301 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52303 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52304 compiler output for sysdeps/generic/initfini.c.
52305 * sysdeps/sh/elf/initfini.c: Remove file.
52307 2012-02-16 David S. Miller <davem@davemloft.net>
52310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52312 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52313 * sysdeps/sparc/crti.S: New file.
52314 * sysdeps/sparc/crtn.S: New file.
52315 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52316 * sysdeps/sparc/sparc64/Makefile: Likewise.
52318 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52321 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52323 2012-02-15 Roland McGrath <roland@hack.frob.com>
52326 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52328 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52329 (write, read, close): Likewise.
52330 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52332 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52334 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52335 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52336 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52337 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52339 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52343 2012-02-14 Marek Polacek <polacek@redhat.com>
52345 * sysdeps/x86_64/crti.S: New file.
52346 * sysdeps/x86_64/crtn.S: New file.
52347 * sysdeps/x86_64/elf/initfini.c: Remove file.
52349 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52351 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52352 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52353 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52354 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52356 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52360 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52362 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52363 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52364 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52365 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52367 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52371 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52373 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52374 __feraiseexcept instead of feraiseexcept.
52376 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52377 nanosleep invocations.
52378 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52379 strings, and add error checking for a nanosleep invocations.
52381 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52383 Replace FSF snail mail address with URLs, as per GNU coding standards.
52384 Most of the snail mail addresses were wrong anyway, and omitting
52385 them makes the source code easier to maintain. Almost all of the
52386 changes are to license notices and to locale LC_IDENTIFICATION
52387 addresses, except for this one:
52388 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52389 not its snail mail address.
52391 2012-02-09 Richard Henderson <rth@twiddle.net>
52393 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52394 of kernel-features.h.
52396 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52398 2012-02-08 Marek Polacek <polacek@redhat.com>
52400 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52401 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52402 * sysdeps/gnu/_G_config.h: Likewise.
52403 * sysdeps/generic/_G_config.h: Likewise.
52405 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52407 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52411 * sysdeps/powerpc/powerpc32/crti.S: New file.
52412 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52413 * sysdeps/powerpc/powerpc64/crti.S: New file.
52414 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52416 * Makeconfig (have-initfini): Don't set.
52417 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52418 * configure.in (nopic_initfini): Don't substitute.
52419 * config.h.in (HAVE_INITFINI): Don't #undef.
52420 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52421 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52423 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52425 Support crti.S and crtn.S provided directly by architectures.
52426 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52427 [crti.S in sysdirs] (omit-deps): Likewise.
52428 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52429 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52430 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52431 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52432 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52433 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52434 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52435 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52436 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52437 compiler output for sysdeps/generic/initfini.c.
52438 * sysdeps/i386/elf/Makefile: Remove file.
52439 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52441 2012-02-07 Marek Polacek <polacek@redhat.com>
52443 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52444 * sysdeps/gnu/_G_config.h: Likewise.
52445 * sysdeps/mach/hurd/_G_config.h: Likewise.
52447 2012-02-07 Marek Polacek <polacek@redhat.com>
52449 * math/Makefile (tests): Add tst-CMPLX2.
52450 * math/tst-CMPLX2.c: New file.
52452 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52454 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52456 * math/libm-test.inc (jn_test): Add missing L suffix.
52458 2012-02-06 Marek Polacek <polacek@redhat.com>
52460 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52461 * sysdeps/i386/fpu/e_powf.S: Likewise.
52462 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52463 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52464 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52465 * sysdeps/i386/fpu/e_pow.S: Likewise.
52466 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52467 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52468 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52469 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52470 * sysdeps/i386/fpu/e_log2.S: Likewise.
52471 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52472 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52473 * sysdeps/i386/fpu/e_powl.S: Likewise.
52474 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52475 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52476 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52477 * sysdeps/i386/fpu/e_logl.S: Likewise.
52478 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52479 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52480 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52481 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52482 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52483 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52484 * sysdeps/i386/fpu/e_log.S: Likewise.
52485 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52486 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52487 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52488 * sysdeps/i386/fpu/e_logf.S: Likewise.
52489 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52490 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52491 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52492 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52493 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52494 * sysdeps/i386/fpu/e_log10.S: Likewise.
52495 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52496 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52497 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52498 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52499 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52500 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52501 * sysdeps/i386/asm-syntax.h: Likewise.
52502 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52503 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52504 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52505 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52506 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52507 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52508 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52509 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52510 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52511 * sysdeps/powerpc/sysdep.h: Likewise.
52512 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52513 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52515 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52518 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52520 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52522 * sysdeps/i386/sysdep.h: Include <features.h>.
52523 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52526 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52528 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52530 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52533 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52535 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52536 (SETUP_PIC_REG): Use GET_PC_THUNK.
52537 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52540 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52542 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52543 for non-PIC compilation.
52544 (SETUP_PIC_REG): Add .p2align directive.
52545 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52546 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52547 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52548 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52549 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52550 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52551 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52552 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52553 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52554 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52555 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52556 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52557 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52558 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52559 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52560 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52561 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52562 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52563 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52564 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52565 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52567 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52568 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52569 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52571 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52572 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52573 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52574 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52575 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52576 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52577 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52578 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52579 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52580 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52581 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52582 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52583 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52584 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52585 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52587 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52589 * math/tst-CMPLX.c: Include <stdio.h>.
52591 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52593 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52595 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52596 * sysdeps/sparc/bits/mathdef.h: Likewise.
52598 2012-01-31 Marek Polacek <polacek@redhat.com>
52600 * libio/libio.h: Don't define _PARAMS.
52601 * locale/programs/config.h: Don't define PARAMS.
52602 * stdlib/strtol_l.c: Likewise.
52603 (__strtol_l): Remove PARAMS from the prototype.
52605 2012-01-31 Ulrich Drepper <drepper@gmail.com>
52607 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52608 names. Just use the correct names. Remove unnecessary wrapper
52610 * malloc/arena.c: Likewise.
52611 * malloc/hooks.c: Likewise.
52613 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52614 ARENA_TEST says not to. Simplify test for creation of a new arena.
52615 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52617 2012-01-30 Ulrich Drepper <drepper@gmail.com>
52619 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52621 (update_get_addr): New function.
52622 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52623 GET_ADDR_MODULE parameter.
52625 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52627 * crypt/cert.c: Remove __STDC__ conditionals.
52628 * crypt/crypt-entry.c: Likewise.
52629 * crypt/crypt_util.c: Likewise.
52630 * libio/filedoalloc.c: Likewise.
52631 * libio/fileops.c: Likewise.
52632 * libio/genops.c: Likewise.
52633 * libio/iofclose.c: Likewise.
52634 * libio/iofdopen.c: Likewise.
52635 * libio/iofopen.c: Likewise.
52636 * libio/iofopen64.c: Likewise.
52637 * libio/iogetdelim.c: Likewise.
52638 * libio/iopopen.c: Likewise.
52639 * libio/obprintf.c: Likewise.
52640 * libio/oldfileops.c: Likewise.
52641 * libio/oldiofclose.c: Likewise.
52642 * libio/oldiofdopen.c: Likewise.
52643 * libio/oldiofopen.c: Likewise.
52644 * libio/oldiopopen.c: Likewise.
52645 * libio/wfiledoalloc.c: Likewise.
52646 * libio/wgenops.c: Likewise.
52647 * locale/programs/xmalloc.c: Likewise.
52648 * misc/syslog.c: Likewise.
52649 * stdio-common/xbug.c: Likewise.
52650 * string/memchr.c: Likewise.
52651 * string/memcmp.c: Likewise.
52652 * string/memrchr.c: Likewise.
52653 * string/rawmemchr.c: Likewise.
52654 * sysdeps/posix/getcwd.c: Likewise.
52655 * time/strftime_l.c: Likewise.
52657 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52659 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52660 * config.make.in (config-cflags-sse2avx): Define.
52661 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52664 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52666 * scripts/config.guess: Update from upstream config git repository.
52667 * scripts/config.sub: Likewise.
52669 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52671 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52673 (R_TILEPRO_*, R_TILEGX_*): New macros.
52675 * scripts/firstversions.awk: Fix bug in version range handling.
52677 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52679 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52681 * include/sys/epoll.h: New file.
52682 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52685 2012-01-28 Ulrich Drepper <drepper@gmail.com>
52687 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52688 Avoid unnecessary __WORDSIZE == 64 test.
52689 (fmaxf): Use VEX format if possible.
52694 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52695 * math/math_private.h: Remove libc_fegetround* and
52697 * sysdeps/i386/configure.in: Check for -msse2avx.
52698 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52699 also if SSE2AVX is defined.
52700 Remove libc_fegetround* and libc_fesetround*.
52701 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52702 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52711 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52713 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52715 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52717 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52719 2012-01-27 Ulrich Drepper <drepper@gmail.com>
52722 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52724 * Makeconfig (libm): Define.
52725 * elf/Makefile: Add rules to build and run tst-relsort1.
52726 * elf/tst-relsort1.c: New file.
52727 * elf/tst-relsort1mod1.c: New file.
52728 * elf/tst-relsort1mod2.c: New file.
52730 2012-01-27 Joseph Myers <joseph@codesourcery.com>
52732 * math/s_ldexp.c: Remove __STDC__ conditionals.
52733 * math/s_ldexpf.c: Likewise.
52734 * math/s_ldexpl.c: Likewise.
52735 * math/s_nextafter.c: Likewise.
52736 * math/s_nexttowardf.c: Likewise.
52737 * math/s_significand.c: Likewise.
52738 * math/s_significandf.c: Likewise.
52739 * math/s_significandl.c: Likewise.
52740 * math/w_jnl.c: Likewise.
52741 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52742 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52743 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52744 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52745 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52746 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52747 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52748 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52749 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52750 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52751 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52753 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52754 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52755 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52756 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52757 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52758 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52760 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52761 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52762 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52763 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52764 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52765 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52766 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52767 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52768 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52769 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52770 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52771 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52772 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52773 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52774 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52775 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52776 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52777 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52778 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52779 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52780 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52781 * sysdeps/ieee754/k_standard.c: Likewise.
52782 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52783 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52784 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52785 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52786 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52787 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52788 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52789 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52790 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52791 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52792 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52793 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52794 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52795 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52796 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52797 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52798 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52799 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52800 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52801 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52802 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52803 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52804 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52805 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52806 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52807 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52808 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52810 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52811 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52812 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52813 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52814 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52815 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52816 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52817 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52818 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52819 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52820 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52821 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52822 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52823 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52824 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52825 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52826 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52827 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52828 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52829 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52830 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52831 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52832 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52834 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52835 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52836 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52837 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52838 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52839 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52840 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52841 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52842 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52843 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52844 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52845 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52846 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52847 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52848 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52849 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52850 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52851 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52852 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52853 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52854 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52855 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52856 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52857 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52858 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52859 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52860 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52861 * sysdeps/ieee754/s_matherr.c: Likewise.
52862 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52863 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52867 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52869 * crypt/md5.h: Remove __STDC__ conditionals.
52870 * libio/libioP.h: Likewise.
52871 * locale/programs/config.h: Likewise.
52872 * sysdeps/generic/sysdep.h: Likewise.
52873 * sysdeps/i386/asm-syntax.h: Likewise.
52874 * sysdeps/s390/asm-syntax.h: Likewise.
52875 * sysdeps/unix/sysdep.h: Likewise.
52876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52879 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52881 * libio/libio.h: Remove __STDC__ conditionals.
52882 * malloc/obstack.h: Likewise.
52883 * math/complex.h: Likewise.
52884 * math/math.h: Likewise.
52885 * sysdeps/generic/_G_config.h: Likewise.
52886 * sysdeps/gnu/_G_config.h: Likewise.
52887 * sysdeps/mach/hurd/_G_config.h: Likewise.
52888 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52889 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52890 * sysdeps/sparc/bits/mathdef.h: Likewise.
52892 2012-01-26 Ulrich Drepper <drepper@gmail.com>
52895 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52896 Clean up HAS_* macros.
52897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52898 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52900 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52902 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52903 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52904 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52905 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52906 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52908 2012-01-25 Joseph Myers <joseph@codesourcery.com>
52910 * elf/tst-unique3.cc (gets): Remove declaration.
52911 * elf/tst-unique3lib.cc (gets): Likewise.
52912 * elf/tst-unique3lib2.cc (gets): Likewise.
52913 * elf/tst-unique4.cc (gets): Likewise.
52915 2012-01-24 Ulrich Drepper <drepper@gmail.com>
52917 * include/stdio.h: Add C++ protection. Add gets declarations and
52919 * debug/tst-chk1.c: Don't declare gets here.
52920 * stdio-common/tst-gets.c: Likewise.
52922 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52924 * posix/glob: Remove directory.
52926 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52928 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52930 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52932 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52933 of the non-standard EPFNOSUPPORT.
52935 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52937 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52938 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52939 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52941 2012-01-21 Ulrich Drepper <drepper@gmail.com>
52943 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52945 2012-01-20 Ulrich Drepper <drepper@gmail.com>
52947 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52949 * nscd/grpcache.c (cache_addgr): Likewise.
52950 * nscd/hstcache.c (cache_addhst): Likewise.
52951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52952 * nscd/pwdcache.c (cache_addpw): Likewise.
52953 * nscd/servicescache.c (cache_addserv): Likewise.
52955 2012-01-16 Ulrich Drepper <drepper@gmail.com>
52957 * malloc/malloc.c: Various cleanups.
52958 * malloc/hooks.c: Likewise.
52960 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52961 * stdlib/bug-fmtmsg1.c: New file.
52963 * stdlib/fmtmsg.c (init): Add missing unlock.
52964 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52966 2012-01-12 Marek Polacek <polacek@redhat.com>
52968 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52971 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52973 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52974 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52975 macro to ensure uniqueness of label name.
52976 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52977 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52979 2012-01-11 Ulrich Drepper <drepper@gmail.com>
52981 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52983 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52984 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52985 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52986 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52988 2012-01-10 Ulrich Drepper <drepper@gmail.com>
52990 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52992 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52993 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52994 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52996 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52998 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52999 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53000 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53001 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53003 * math/bits/math-finite.h: Add ldexp support.
53005 2012-01-10 Marek Polacek <polacek@redhat.com>
53007 * locale/programs/localedef.h (show_archive_content): Add noreturn
53010 2012-01-09 Ulrich Drepper <drepper@gmail.com>
53012 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53014 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53016 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53018 * io/Makefile (headers): Add bits/poll2.h.
53020 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
53022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53023 typo #include statement.
53025 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53027 * include/sys/cdefs.h: Define __attribute_alloc_size.
53028 * catgets/gencat.c: Add alloc_size attribute and apply consistently
53029 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53030 * elf/pldd.c: Likewise.
53031 * iconv/iconv_charmap.c: Likewise.
53032 * iconv/iconvconfig.c: Likewise.
53033 * iconv/strtab.c: Likewise.
53034 * locale/programs/locale.c: Likewise.
53035 * locale/programs/localedef.h: Likewise.
53036 * locale/programs/simple-hash.c: Likewise.
53037 * nscd/nscd.h: Likewise.
53038 * nss/makedb.c: Likewise.
53039 * sysdeps/generic/ldconfig.h: Likewise.
53040 * locale/programs/localedef.c: Remove xmalloc prototype.
53041 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53043 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53045 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53048 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53050 * math/Makefile (tests): Add tst-CMPLX.
53051 * math/tst-CMPLX.c: New file.
53053 * math/complex.h (CMPLXL): Fix typo.
53055 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53056 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53058 * debug/tst-chk1.c: Add poll and ppoll tests.
53059 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53060 * include/sys/poll.h: Add hidden proto for ppoll.
53061 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53062 * sysdeps/mach/hurd/ppoll.c: Likewise.
53063 * io/ppoll.c: Likewise.
53064 * debug/poll_chk.c: New file.
53065 * debug/ppoll_chk.c: New file.
53066 * include/bits/poll2.h: New file.
53067 * io/bits/poll2.h: New file.
53070 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53072 * configure.in: static is always set to yes. Remove.
53073 * config.make.in: Don't set build-static.
53074 * Makeconfig: Remove use of build-static.
53075 * dlfcn/Makefile: Likewise.
53076 * elf/Makefile: Likewise.
53077 * math/Makefile: Likewise.
53078 * misc/Makefile: Likewise.
53079 * nptl/Makefile: Likewise.
53080 * sysdeps/mach/hurd/Makefile: Likewise.
53082 * configure.in: PWD_P is not used anymore.
53083 * config.make.in: Remove PWD_P entry.
53085 * configure.in: Remove last remnants of RANLIB.
53086 No need to check for signed size_t anymore.
53087 Don't set libc_commonpagesize and libc_relro_required here for Alpha
53089 Remove __builtin_expect test because we require at least gcc 3.4.
53090 * aclocal.m4: Likewise.
53092 * wcsmbs/mbrtoc16.c: Implement using towc function.
53093 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53094 * wcsmbs/wcsmbsload.c: Likewise.
53095 * iconv/gconv_simple.c: Likewise.
53096 * iconv/gconv_int.h: Likewise.
53097 * iconv/gconv_builtin.h: Likewise.
53098 * iconv/iconv_prog.c: Remove CHAR16 handling.
53100 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53102 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53104 * configure.in: Remove --with-elf and --enable-bounded options.
53105 Dont set base_machine for ia64. More non-ELF conditions removed.
53106 Remove testing and setting of leading underscore information.
53107 * config.make.in (build-bounded): Set to no.
53108 * config.h.in: Remove NO_UNDERSCORES entry.
53109 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
53111 * csu/start.c: Remove !NO_UNDERSCORE code.
53112 * locale/localeinfo.h: Likewise.
53113 * sysdeps/generic/machine-gmon.h: Likewise.
53114 * sysdeps/generic/sysdep.h: Likewise.
53115 * sysdeps/i386/sysdep.h: Likewise.
53116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53117 * sysdeps/mach/sysdep.h: Likewise.
53118 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53119 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53120 * sysdeps/sh/sysdep.h: Likewise.
53121 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53122 * sysdeps/unix/i386/sysdep.S: Likewise.
53123 * sysdeps/unix/sparc/start.c: Likewise.
53124 * sysdeps/unix/sparc/sysdep.S: Likewise.
53125 * sysdeps/unix/sparc/sysdep.h: Likewise.
53126 * sysdeps/unix/start.c: Likewise.
53127 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53128 * sysdeps/x86_64/sysdep.h: Likewise.
53130 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53133 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53135 * argp/argp-fmtstream.h: Use const instead __const.
53136 * argp/argp.h: Likewise.
53137 * assert/assert.h: Likewise.
53138 * bits/fenv.h: Likewise.
53139 * bits/sched.h: Likewise.
53140 * bits/sigset.h: Likewise.
53141 * bits/sigthread.h: Likewise.
53142 * catgets/nl_types.h: Likewise.
53143 * conform/data/pthread.h-data: Likewise.
53144 * crypt/crypt-private.h: Likewise.
53145 * crypt/crypt.h: Likewise.
53146 * crypt/crypt_util.c: Likewise.
53147 * ctype/ctype.h: Likewise.
53148 * debug/execinfo.h: Likewise.
53149 * debug/mbsnrtowcs_chk.c: Likewise.
53150 * debug/mbsrtowcs_chk.c: Likewise.
53151 * debug/wcsnrtombs_chk.c: Likewise.
53152 * debug/wcsrtombs_chk.c: Likewise.
53153 * debug/wcstombs_chk.c: Likewise.
53154 * dirent/dirent.h: Likewise.
53155 * dlfcn/dlfcn.h: Likewise.
53156 * elf/neededtest4.c: Likewise.
53157 * grp/grp.h: Likewise.
53158 * gshadow/gshadow.h: Likewise.
53159 * iconv/gconv.h: Likewise.
53160 * iconv/gconv_int.h: Likewise.
53161 * iconv/gconv_simple.c: Likewise.
53162 * iconv/iconv.h: Likewise.
53163 * iconv/loop.c: Likewise.
53164 * iconv/skeleton.c: Likewise.
53165 * include/aio.h: Likewise.
53166 * include/aliases.h: Likewise.
53167 * include/argz.h: Likewise.
53168 * include/arpa/inet.h: Likewise.
53169 * include/assert.h: Likewise.
53170 * include/dirent.h: Likewise.
53171 * include/dlfcn.h: Likewise.
53172 * include/execinfo.h: Likewise.
53173 * include/fcntl.h: Likewise.
53174 * include/fenv.h: Likewise.
53175 * include/glob.h: Likewise.
53176 * include/grp.h: Likewise.
53177 * include/libintl.h: Likewise.
53178 * include/mntent.h: Likewise.
53179 * include/netdb.h: Likewise.
53180 * include/pwd.h: Likewise.
53181 * include/rpc/netdb.h: Likewise.
53182 * include/sched.h: Likewise.
53183 * include/search.h: Likewise.
53184 * include/shadow.h: Likewise.
53185 * include/signal.h: Likewise.
53186 * include/stdio.h: Likewise.
53187 * include/stdlib.h: Likewise.
53188 * include/string.h: Likewise.
53189 * include/sys/socket.h: Likewise.
53190 * include/sys/stat.h: Likewise.
53191 * include/sys/statfs.h: Likewise.
53192 * include/sys/statvfs.h: Likewise.
53193 * include/sys/syslog.h: Likewise.
53194 * include/sys/time.h: Likewise.
53195 * include/sys/uio.h: Likewise.
53196 * include/time.h: Likewise.
53197 * include/unistd.h: Likewise.
53198 * include/utmp.h: Likewise.
53199 * include/wchar.h: Likewise.
53200 * include/wctype.h: Likewise.
53201 * inet/aliases.h: Likewise.
53202 * inet/arpa/inet.h: Likewise.
53203 * inet/netinet/ether.h: Likewise.
53204 * inet/netinet/in.h: Likewise.
53205 * intl/libintl.h: Likewise.
53206 * io/bits/fcntl2.h: Likewise.
53207 * io/fcntl.h: Likewise.
53208 * io/ftw.h: Likewise.
53209 * io/sys/poll.h: Likewise.
53210 * io/sys/stat.h: Likewise.
53211 * io/sys/statfs.h: Likewise.
53212 * io/sys/statvfs.h: Likewise.
53213 * io/utime.h: Likewise.
53214 * libio/bits/stdio.h: Likewise.
53215 * libio/bits/stdio2.h: Likewise.
53216 * libio/libio.h: Likewise.
53217 * libio/libioP.h: Likewise.
53218 * libio/stdio.h: Likewise.
53219 * locale/lc-ctype.c: Likewise.
53220 * locale/locale.h: Likewise.
53221 * login/utmp.h: Likewise.
53222 * malloc/arena.c: Likewise.
53223 * malloc/malloc.c: Likewise.
53224 * malloc/malloc.h: Likewise.
53225 * malloc/mcheck.c: Likewise.
53226 * malloc/mtrace.c: Likewise.
53227 * math/bits/mathcalls.h: Likewise.
53228 * math/fenv.h: Likewise.
53229 * math/math_private.h: Likewise.
53230 * misc/bits/error.h: Likewise.
53231 * misc/bits/syslog.h: Likewise.
53232 * misc/err.h: Likewise.
53233 * misc/error.h: Likewise.
53234 * misc/fstab.h: Likewise.
53235 * misc/mntent.h: Likewise.
53236 * misc/regexp.h: Likewise.
53237 * misc/search.h: Likewise.
53238 * misc/sgtty.h: Likewise.
53239 * misc/sys/mman.h: Likewise.
53240 * misc/sys/syslog.h: Likewise.
53241 * misc/sys/uio.h: Likewise.
53242 * misc/sys/xattr.h: Likewise.
53243 * misc/ttyent.h: Likewise.
53244 * nis/rpcsvc/ypclnt.h: Likewise.
53245 * nss/nss.h: Likewise.
53246 * posix/bits/unistd.h: Likewise.
53247 * posix/fnmatch.h: Likewise.
53248 * posix/glob.h: Likewise.
53249 * posix/sched.h: Likewise.
53250 * posix/spawn.h: Likewise.
53251 * posix/sys/wait.h: Likewise.
53252 * posix/unistd.h: Likewise.
53253 * posix/wordexp.h: Likewise.
53254 * pwd/pwd.h: Likewise.
53255 * resolv/netdb.h: Likewise.
53256 * resource/sys/resource.h: Likewise.
53257 * rt/aio.h: Likewise.
53258 * rt/bits/mqueue2.h: Likewise.
53259 * rt/mqueue.h: Likewise.
53260 * shadow/shadow.h: Likewise.
53261 * signal/signal.h: Likewise.
53262 * socket/send.c: Likewise.
53263 * socket/sendto.c: Likewise.
53264 * socket/sys/socket.h: Likewise.
53265 * stdio-common/printf.h: Likewise.
53266 * stdlib/bits/stdlib.h: Likewise.
53267 * stdlib/fmtmsg.h: Likewise.
53268 * stdlib/monetary.h: Likewise.
53269 * stdlib/stdlib.h: Likewise.
53270 * stdlib/ucontext.h: Likewise.
53271 * streams/stropts.h: Likewise.
53272 * string/argz.h: Likewise.
53273 * string/bits/string2.h: Likewise.
53274 * string/string.h: Likewise.
53275 * string/strings.h: Likewise.
53276 * sunrpc/rpc/auth.h: Likewise.
53277 * sunrpc/rpc/auth_des.h: Likewise.
53278 * sunrpc/rpc/clnt.h: Likewise.
53279 * sunrpc/rpc/netdb.h: Likewise.
53280 * sunrpc/rpc/pmap_clnt.h: Likewise.
53281 * sunrpc/rpc/xdr.h: Likewise.
53282 * sysdeps/generic/inttypes.h: Likewise.
53283 * sysdeps/generic/net/if.h: Likewise.
53284 * sysdeps/generic/sys/swap.h: Likewise.
53285 * sysdeps/gnu/net/if.h: Likewise.
53286 * sysdeps/gnu/utmpx.h: Likewise.
53287 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53288 * sysdeps/i386/i486/bits/string.h: Likewise.
53289 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53290 * sysdeps/s390/bits/string.h: Likewise.
53291 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53292 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53293 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53294 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53295 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53296 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53297 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53298 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53299 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53300 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53301 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53302 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53303 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53304 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53305 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53306 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53307 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53309 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53310 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53311 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53312 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53313 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53314 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53315 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53316 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53317 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53318 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53319 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53320 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53321 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53322 * sysvipc/sys/ipc.h: Likewise.
53323 * sysvipc/sys/msg.h: Likewise.
53324 * sysvipc/sys/sem.h: Likewise.
53325 * sysvipc/sys/shm.h: Likewise.
53326 * termios/termios.h: Likewise.
53327 * time/sys/time.h: Likewise.
53328 * time/time.h: Likewise.
53329 * wcsmbs/bits/wchar2.h: Likewise.
53330 * wcsmbs/uchar.h: Likewise.
53331 * wcsmbs/wchar.h: Likewise.
53332 * wctype/wctype.h: Likewise.
53335 * Makeconfig: Remove all but ELF support including AIX support.
53336 * Makerules: Likewise.
53337 * config.h.in: Likewise.
53338 * config.make.in: Likewise.
53339 * configure: Likewise.
53340 * configure.in: Likewise.
53341 * csu/Makefile: Likewise.
53342 * csu/version.c: Likewise.
53343 * debug/Makefile: Likewise.
53344 * dlfcn/Makefile: Likewise.
53345 * elf/Makefile: Likewise.
53346 * extra-lib.mk: Likewise.
53347 * iconv/Makefile: Likewise.
53348 * include/libc-symbols.h: Likewise.
53349 * include/shlib-compat.h: Likewise.
53350 * resolv/Makefile: Likewise.
53351 * resolv/res_libc.c: Likewise.
53352 * rt/Makefile: Likewise.
53353 * sysdeps/i386/asm-syntax.h: Likewise.
53354 * sysdeps/i386/sysdep.h: Likewise.
53355 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53356 * sysdeps/mach/sysdep.h: Likewise.
53357 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53358 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53359 * sysdeps/s390/asm-syntax.h: Likewise.
53360 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53361 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53362 * sysdeps/sh/sysdep.h: Likewise.
53363 * sysdeps/unix/sparc/sysdep.h: Likewise.
53364 * sysdeps/wordsize-32/divdi3.c: Likewise.
53365 * sysdeps/x86_64/sysdep.h: Likewise.
53367 * argp/Versions: Remove _argp_unlock_xxx.
53370 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53371 * abilist/libBrokenLocale.abilist: Likewise.
53372 * abilist/libanl.abilist: Likewise.
53373 * abilist/libc.abilist: Likewise.
53374 * abilist/libcrypt.abilist: Likewise.
53375 * abilist/libdl.abilist: Likewise.
53376 * abilist/libm.abilist: Likewise.
53377 * abilist/libnsl.abilist: Likewise.
53378 * abilist/libpthread.abilist: Likewise.
53379 * abilist/libresolv.abilist: Likewise.
53380 * abilist/librt.abilist: Likewise.
53381 * abilist/libthread_db.abilist: Likewise.
53382 * abilist/libutil.abilist: Likewise.
53383 * abilist/libnss_db.abilist: New file.
53385 * scripts/abilist.awk: Add support for indirect functions.
53387 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53389 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53391 * shlib-versions: Remove entries for ports architectures.
53393 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53395 * elf/stackguard-macros.h: Remove support for IA-64.
53396 * elf/tst-auditmod1.c: Likewise.
53397 * sysdeps/generic/ldsodefs.h: Likewise.
53399 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53400 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53404 * configure.in: Remove --enable-omitfp support.
53406 * config.make.in: Likewise.
53407 * Makeconfig: Likewise.
53408 * manual/install.texi: Likewise.
53410 In case anyone cares, the IA-64 architecture could move to ports.
53411 * sysdeps/ia64/*: Removed.
53412 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53413 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53416 * configure.in: Remove entries for unsupported architectures.
53419 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53420 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53422 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53423 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53424 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53425 fall back to using wcrtomb.
53426 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53427 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53429 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53430 * wcsmbs/tst-c16c32-1.c: New file.
53432 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53435 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53437 * elf/tst-unique3.cc: Add explicit declaration of gets.
53438 * elf/tst-unique3lib.cc: Likewise.
53439 * elf/tst-unique3lib2.cc: Likewise.
53440 * elf/tst-unique4.cc: Likewise.
53442 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53444 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53447 * assert/assert.h (static_assert): Don't define for C++.
53448 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53449 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53451 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53453 * iconv/loop.c (single loop): Fix assertion in storing of
53456 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53458 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53460 * posix/getconf.c: Update copyright year.
53461 * nss/getent.c: Likewise.
53462 * nss/makedb.c: Likewise.
53463 * iconv/iconvconfig.c: Likewise.
53464 * iconv/iconv_prog.c: Likewise.
53465 * elf/ldconfig.c: Likewise.
53466 * elf/pldd.c: Likewise.
53467 * elf/sotruss.ksh: Likewise.
53468 * catgets/gencat.c: Likewise.
53469 * csu/version.c: Likewise.
53470 * elf/ldd.bash.in: Likewise.
53471 * elf/sprof.c (print_version): Likewise.
53472 * locale/programs/locale.c: Likewise.
53473 * locale/programs/localedef.c: Likewise.
53474 * login/programs/pt_chown.c: Likewise.
53475 * nscd/nscd.c (print_version): Likewise.
53476 * debug/xtrace.sh: Likewise.
53477 * malloc/memusage.sh: Likewise.
53478 * malloc/mtrace.pl: Likewise.
53479 * debug/catchsegv.sh: Likewise.
53481 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53483 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53486 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53489 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53490 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53492 * iconv/gconv_int.h: Likewise.
53493 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53494 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53495 from libc for GLIBC_2.16.
53496 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53497 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53498 * wcsmbs/uchar.h: Really define mbstate_t.
53499 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53500 * wcsmbs/c16rtomb.c: New file.
53501 * wcsmbs/mbrtoc16.c: New file.
53502 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53503 for C/POSIX locale.
53504 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53505 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53507 * wcsmbs/wchar.h: Add missing __restrict.
53509 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53512 * time/Makefile (routines): Add timespec_get.
53513 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53514 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53515 timespec for ISO C11.
53516 * time/timespec_get.c: New file.
53517 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53518 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53521 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53522 * stdlib/stdlib.h: Declare aligned_alloc.
53523 * Versions.def: Add GLIBC_2.16 for libc.
53524 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53527 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53530 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53534 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53537 * assert/assert.h (static_assert): Define.
53539 * version.h: Update for 2.16 development version.
53542 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53545 * version.h (RELEASE): Bump for 2.15 release.
53546 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53548 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53549 Patch by Marek Polacek <mpolacek@redhat.com>.
53551 * bits/byteswap.h: Protect long long constants with __extension__.
53552 * sysdeps/i386/bits/byteswap.h: Likewise.
53553 * sysdeps/ia64/bits/byteswap.h: Likewise.
53554 * sysdeps/s390/bits/byteswap.h: Likewise.
53555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53557 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53560 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53561 destination buffer.
53562 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53564 2011-12-23 Marek Polacek <polacek@redhat.com>
53566 * elf/dl-addr.c (determine_info): Add inline keyword.
53567 * elf/tst-auditmod4b.c (check_avx): Likewise.
53568 * elf/tst-auditmod6b.c (check_avx): Likewise.
53569 * elf/tst-auditmod6c.c (check_avx): Likewise.
53570 * elf/tst-auditmod7b.c (check_avx): Likewise.
53572 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53574 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53577 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53580 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53581 processing for last bytes.
53583 2011-08-06 Bruno Haible <bruno@clisp.org>
53586 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53587 U+0385, not to U+1FEE.
53590 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53591 entry for U+00A5 U+0301.
53593 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53596 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53597 buffer for the output is too small.
53599 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53603 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53604 SSE flags if possible.
53606 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53609 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53610 processing for last bytes.
53612 2011-12-22 Joseph Myers <joseph@codesourcery.com>
53614 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53615 (syscall-list-default-options, syscall-list-default-condition)
53616 (syscall-list-includes): Define.
53617 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53618 list of ABIs and options and #if conditions for each ABI. Do not
53619 handle common syscalls between ABIs specially.
53620 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53622 (syscall-list-variants, syscall-list-32bit-options)
53623 (syscall-list-32bit-condition, syscall-list-64bit-options)
53624 (syscall-list-64bit-condition): Define.
53625 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53626 (syscall-list-variants, syscall-list-32bit-options)
53627 (syscall-list-32bit-condition, syscall-list-64bit-options)
53628 (syscall-list-64bit-condition): Define.
53629 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53631 (syscall-list-variants, syscall-list-32bit-options)
53632 (syscall-list-32bit-condition, syscall-list-64bit-options)
53633 (syscall-list-64bit-condition): Define.
53634 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53636 (syscall-list-variants, syscall-list-32bit-options)
53637 (syscall-list-32bit-condition, syscall-list-64bit-options)
53638 (syscall-list-64bit-condition): Define.
53640 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53642 * locale/iso-639.def: Add brx entry.
53645 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53646 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53648 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53649 __feraiseexcept_renamed.
53651 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53654 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53655 EPOLLET with unsigned values.
53656 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53659 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53660 to large cancellation.
53661 * math/s_cacoshf.c: Likewise.
53662 * math/s_cacoshl.c: Likewise.
53664 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53668 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53669 * math/s_cacoshf.c: Likewise.
53670 * math/s_cacoshl.c: Likewise.
53672 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53675 * iconv/gconv.h: Define __GCONV_SWAP.
53676 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53677 * iconvdata/utf-16.c: Likewise.
53678 * iconvdata/utf-32.c: Likewise.
53680 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53683 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53684 numerator after shifting it by one limb.
53686 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53689 under [__USE_EXTERN_INLINES].
53691 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53694 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53696 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53698 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53699 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53701 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53702 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53703 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53704 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53705 for strncasecmp/strncasecmp_l compilation.
53706 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53707 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53709 2011-12-08 Marek Polacek <mpolacek@redhat.com>
53712 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53715 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53718 * time/tzfile.c (__tzfile_read): Check values from file header.
53720 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53722 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53723 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53724 * powerpc/powerpc32/dl-start.S: Likewise.
53725 * powerpc/powerpc32/elf/start.S: Likewise.
53726 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53727 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53728 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53729 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53730 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53731 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53732 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53733 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53734 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53735 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53736 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53737 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53738 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53739 * powerpc/powerpc32/memset.S: Likewise.
53740 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53741 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53742 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53743 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53744 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53745 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53746 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53747 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53748 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53749 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53750 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53751 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53752 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53754 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53756 * math/libm-test.inc: Added more nearbyint tests.
53757 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53759 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53762 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53764 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53767 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53769 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53770 Add wcscpy-ssse3 wcscpy-c.
53771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53772 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53773 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53774 * sysdeps/x86_64/wcschr.S: New file.
53775 * sysdeps/x86_64/wcsrchr.S: New file.
53776 * string/test-strcmp.c: Remove checking of wcscmp function for
53778 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53779 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53780 wcsrchr-sse2 wcsrchr-c.
53781 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53782 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53783 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53784 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53785 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53786 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53787 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53788 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53790 * wcsmbc/wcschr.c (WCSCHR): New macro.
53792 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53794 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53795 * wcsmbs/test-wcsrchr.c: New file.
53796 * string/test-strrchr.c: Add wcsrchr support.
53798 * wcsmbs/test-wcscpy.c: New file.
53799 * string/test-strcpy.c: Add wcscpy support.
53802 2011-12-10 Ulrich Drepper <drepper@gmail.com>
53804 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53807 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53810 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53812 2011-12-04 Ulrich Drepper <drepper@gmail.com>
53814 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53815 Minor optimizations.
53817 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53818 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53819 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53821 2011-12-03 Ulrich Drepper <drepper@gmail.com>
53823 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53824 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53825 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53826 for gcc to avoid warnings.
53827 * inet/Makefile (tests): Add tst-checks.
53828 * inet/tst-checks.c: New file.
53830 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53833 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53836 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53837 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53839 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53841 2011-12-02 Ulrich Drepper <drepper@gmail.com>
53843 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53846 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53848 2011-11-29 Joseph Myers <joseph@codesourcery.com>
53850 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53851 conditional on GCC version.
53852 (__arch_compare_and_exchange_val_8_acq)
53853 (__arch_compare_and_exchange_val_16_acq)
53854 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53855 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53856 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53858 2011-12-02 Joseph Myers <joseph@codesourcery.com>
53860 * sysdeps/sh/backtrace.c: New file.
53862 2011-12-02 Andreas Schwab <schwab@redhat.com>
53864 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53867 2011-12-01 Andreas Schwab <schwab@redhat.com>
53869 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53870 falling back to utime.
53872 2011-11-30 Andreas Schwab <schwab@redhat.com>
53874 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53875 expectations for float.
53877 2011-11-29 Andreas Schwab <schwab@redhat.com>
53879 * locale/weight.h (findidx): Add parameter len.
53880 * locale/weightwc.h (findidx): Likewise.
53881 * posix/fnmatch_loop.c (FCT): Adjust caller.
53882 * posix/regcomp.c (build_equiv_class): Likewise.
53883 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53884 * posix/regexec.c (check_node_accept_bytes): Likewise.
53885 * string/strcoll_l.c (STRCOLL): Likewise.
53886 * string/strxfrm_l.c (STRXFRM): Likewise.
53888 2011-11-17 Ulrich Drepper <drepper@gmail.com>
53890 * Makefile.in: Remove CVSOPT handling.
53891 * configure.in: Remove use of AC_REVISION.
53892 * iconvdata/Makefile (distribute): No need to filter out CVS.
53893 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53896 2011-11-16 Andreas Schwab <schwab@redhat.com>
53898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53899 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53900 [USE_AS_STRNCASECMP_L]: Likewise.
53901 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53902 NO_TLS_DIRECT_SEG_REFS.
53903 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53904 Fix argument offsets for non-PIC.
53905 [USE_AS_STRNCASECMP_L]: Likewise.
53906 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53907 NO_TLS_DIRECT_SEG_REFS.
53909 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53911 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53913 * locale/loadlocale.c (_nl_load_locale): Likewise.
53915 2011-11-15 Andreas Schwab <schwab@redhat.com>
53917 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53918 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53919 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53920 (SYSCALL_GETTIME): Set errno on error.
53922 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53923 count references to noai6ai_cached.
53925 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53927 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53929 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53930 FD_CLOEXEC for /proc/self/maps.
53932 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53933 FD_CLOEXEC for /proc/meminfo.
53935 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53938 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53939 FD_CLOEXEC for given file.
53941 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53943 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53944 FD_CLOEXEC for /etc/hosts.
53945 (_gethtent): Likewise.
53947 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53949 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53950 cancellation and set FD_CLOEXEC for /etc/netgroup.
53952 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53953 reading /etc/publickey.
53955 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53956 allow cancellation when reading /etc/group.
53958 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53960 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53962 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53963 when using data file.
53965 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53967 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53968 (write_nis_obj): Use "c" and "e" in fopen.
53970 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53972 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53974 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53976 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53978 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53981 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53983 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53985 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53987 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53988 file parsing and set FD_CLOEXEC.
53990 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53992 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53994 2011-11-14 Andreas Schwab <schwab@redhat.com>
53996 * malloc/arena.c (arena_get2): Don't call reused_arena when
53997 _int_new_arena failed.
53999 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54001 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54002 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54003 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54004 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54005 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54006 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54007 to compile strcasecmp and strncasecmp.
54008 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54009 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54013 2011-11-13 Ulrich Drepper <drepper@gmail.com>
54015 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54016 locale-defines.sym to gen-as-const-headers.
54017 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54018 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54020 to compile strcasecmp and strncasecmp.
54021 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54022 strcasecmp_l and strncasecmp_l.
54023 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54024 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54025 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54026 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54027 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54028 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54029 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54030 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54031 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54032 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54033 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54035 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54037 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54038 result of SYSDEP_GETTIME_CPU to retval.
54039 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54040 parameter list to macro. Remove trailing semicolon. Adjust users.
54042 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54045 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54047 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54049 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54050 from unused variable.
54052 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54054 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54057 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54060 * sunrpc/rpc_prot.c (rejected): Fix case value.
54062 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54063 unsigned long long int to avoid warnings in shift.
54065 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54067 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54070 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54071 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54072 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54074 * nis/nis_table.c (nis_list): Use variable of correct type for
54075 result of __follow_path call.
54077 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54079 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54080 of math functions ceil, trunc, floor, round, and sqrt, when
54081 avaliable on the platform.
54082 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54084 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54085 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54086 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54088 2011-10-30 Marek Polacek <mpolacek@redhat.com>
54090 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54091 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54093 2011-11-11 Roland McGrath <roland@hack.frob.com>
54095 * include/unistd.h: Fix __readlink return type.
54096 Reported by Chris Metcalf <cmetcalf@tilera.com>.
54098 2011-11-11 Ulrich Drepper <drepper@gmail.com>
54100 * stdlib/ucontext.h: Undo last change for makecontext.
54102 2011-11-11 Andreas Schwab <schwab@redhat.com>
54104 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54106 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54107 * setjmp/setjmp.h: Mark functions as non-leaf.
54108 * setjmp/bits/setjmp2.h: Likewise.
54109 * stdlib/ucontext.h: Likewise.
54111 2011-11-10 Andreas Schwab <schwab@redhat.com>
54113 * malloc/arena.c (_int_new_arena): Don't increment narenas.
54114 (reused_arena): Don't check arena limit.
54115 (arena_get2): Atomically check arena limit.
54117 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54119 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54120 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54125 2011-11-07 Andreas Schwab <schwab@redhat.com>
54127 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54128 handler when locking.
54130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54131 Fix size of allocated buffer.
54133 2011-11-04 Andreas Schwab <schwab@redhat.com>
54136 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54137 declarations for long double functions.
54138 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54140 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54142 2011-11-03 Andreas Schwab <schwab@redhat.com>
54144 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54147 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54150 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
54152 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54154 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
54156 * include/alloca.h (stackinfo_alloca_round): Define.
54157 (extend_alloca): Use it.
54158 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54159 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54162 * scripts/check-local-headers.sh: Ignore libaudit.h.
54164 * nscd/Makefile (extra-objs): Make recursively expanded.
54166 2011-11-01 Ulrich Drepper <drepper@gmail.com>
54168 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54169 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54171 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54172 * posix/tst-rfc3484-2.c: Likewise.
54173 * posix/tst-rfc3484-3.c: Likewise.
54175 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54177 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54179 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54180 process_vm_writev from libc using GLIBC_2.15 version.
54182 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54184 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
54186 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54189 2011-10-31 Ulrich Drepper <drepper@gmail.com>
54192 * nss/getent.c (initgroups_keys): Show error message in case no group
54195 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54196 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54197 __bump_nl_timestamp.
54198 * nscd/connections (nscd_init): When host database is served open
54199 netlink socket and request notification about configuration changes.
54200 (main_loop_poll): Track netlink file descriptor and bump timestamp
54201 in case data becomes available.
54202 (main_loop_epoll): Likewise.
54203 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54204 (database_pers_head): Add extra_data fileds.
54205 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54206 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54207 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54209 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54210 in6ai data, call __free_in6ai.
54211 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54212 Add -DHAVE_NETLINK.
54213 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
54214 interface information. Reuse previous data if netlink timestamp
54216 (__bump_nl_timestamp): New function.
54217 (__free_in6ai): New function.
54219 2011-10-30 Ulrich Drepper <drepper@gmail.com>
54221 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54222 close_not_cancel_no_status here.
54223 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54225 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54228 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54231 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54232 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54233 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54235 2011-07-03 Andreas Jaeger <aj@suse.de>
54238 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54239 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54240 * math/libm-test.inc (sin_test): Add test case.
54242 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54245 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54246 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54248 * elf/chroot_canon.c (chroot_canon): Cleanups.
54250 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54253 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54254 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54256 * string/test-strchr.c: Make usable for strchrnul testing.
54257 * string/test-strchrnul.c: New file.
54258 * string/Makefile (strop-tests): Add strchrnul.
54260 * po/it.po: Update from translation team.
54261 * po/es.po: Likewise.
54263 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54265 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54266 the three constants needed as parameters. Drop the others.
54267 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54268 __m128i_strloadu_tolower.
54269 Create and initialize variable zero and use it in all the places
54270 where _mm_setzero_si128 was used.
54272 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54273 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54274 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54275 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54277 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54278 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54279 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54280 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54281 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54282 __mpranred, __mptan.
54283 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54284 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54285 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54286 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54287 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54288 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54291 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54293 2011-10-28 Andreas Schwab <schwab@redhat.com>
54295 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54296 redefine if SHARED.
54297 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54300 wide char related routines to wcsmbs subdir.
54302 2011-10-27 Andreas Schwab <schwab@redhat.com>
54305 * misc/sys/cdefs.h (__THROWNL): Define.
54306 * posix/unistd.h: Use __THREADNL instead of __THREAD
54307 for memory synchronization functions.
54309 2011-10-26 Roland McGrath <roland@hack.frob.com>
54312 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54314 * manual/stdio.texi (Obstack Streams): Node removed.
54316 2011-10-26 Andreas Schwab <schwab@redhat.com>
54318 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54320 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54322 * math/math_private.h (math_force_eval): Allow non-addressable
54324 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54326 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54328 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54329 file is not needed.
54331 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54332 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54333 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54334 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54335 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54336 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54337 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54338 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54340 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54341 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54342 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54343 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54344 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54345 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54346 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54347 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54348 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54349 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54350 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54351 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54352 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54353 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54354 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54355 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54356 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54357 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54358 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54360 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54361 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54363 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54364 place. Use VEX encoding when compiling for AVX.
54366 2011-10-25 Andreas Schwab <schwab@redhat.com>
54368 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54369 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54371 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54373 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54375 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54376 useless if() expression.
54377 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54378 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54379 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54380 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54381 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54382 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54383 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54384 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54385 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54386 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54387 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54388 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54389 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54390 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54391 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54392 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54393 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54394 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54395 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54397 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54399 2011-10-25 Andreas Schwab <schwab@redhat.com>
54401 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54403 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54405 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54407 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54408 .text section. Avoid duplicate constants.
54409 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54410 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54411 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54413 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54417 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54418 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54419 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54420 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54421 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54422 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54423 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54424 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54425 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54426 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54427 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54429 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54430 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54431 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54432 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54433 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54434 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54435 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54436 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54437 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54438 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54439 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54440 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54441 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54442 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54443 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54444 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54445 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54446 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54447 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54448 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54449 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54451 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54452 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54453 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54455 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54457 * sysdeps/x86_64/dla.h: Move to ...
54458 * sysdeps/x86_64/fpu/dla.h: ...here.
54459 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54460 situations. Use __builtin_fma only for gcc 4.6 and up.
54462 * config.make.in: Add have-mfma4 entry.
54463 * configure.in: Substitute libc_cv_cc_fma4.
54464 * math/Makefile (dbl-only-routines): Add sincostab.
54465 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54466 Use __sincostab not sincos.
54467 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54469 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54470 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54471 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54474 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54475 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54476 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54477 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54479 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54480 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54482 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54483 define aliases when function name is a macro.
54484 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54485 sysdeps/ieee754/dbl-64/sincos.tbl.
54486 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54487 fma4-enabled routines.
54488 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54489 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54490 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54491 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54492 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54493 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54494 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54495 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54496 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54497 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54498 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54499 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54500 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54501 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54502 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54503 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54504 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54505 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54506 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54507 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54508 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54509 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54510 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54511 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54512 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54513 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54514 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54515 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54516 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54517 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54519 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54528 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54530 2011-10-24 Andreas Schwab <schwab@redhat.com>
54532 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54534 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54536 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54538 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54542 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54543 Remove unused variable magic_bits.
54544 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54546 * string/strnlen.c: Define and use STRNLEN macro.
54547 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54548 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54549 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54550 * wcsmbs/wcslen.c: Define and use WCSLEN.
54551 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54552 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54553 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54554 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54555 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54556 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54557 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54559 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54562 strnlen-sse2-no-bsf.
54563 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54565 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54566 Add strnlen support.
54567 (USE_AS_STRNLEN): New macro.
54568 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54569 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54570 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54571 * sysdeps/x86_64/wcslen.S: New file.
54573 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54575 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54576 XMM-moves are used for copying on small sizes.
54578 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54580 * wcsmbs/Makefile (strop-tests): Add wcschr.
54581 * wcsmbs/test-wcschr.c: New file.
54582 * string/test-strchr.c: Update.
54583 Add wcschr support.
54586 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54588 * wcsmbs/Makefile (strop-tests): Add wcslen.
54589 * wcsmbs/test-wcslen.c: New file.
54590 * string/test-strlen.c: Update.
54591 Add wcslen support.
54594 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54596 * po/it.po: Update from translation team.
54598 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54600 * sysdeps/x86_64/wcscmp.S: Update.
54601 Fix wrong comparison semantics.
54602 wcscmp shall use signed comparison not unsigned.
54603 Don't use substraction to avoid overflow bug.
54604 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54605 * wcsmbc/wcscmp.c: Likewise.
54606 * string/test-strcmp.c: Likewise.
54607 Add new tests to check cases with negative values.
54609 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54611 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54612 * sysdeps/x86_64/dla.h: ...here. New file.
54613 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54620 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54623 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54626 __ynl_finite aliases.
54628 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54632 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54634 [DLA_FMA] (EMULV): Use DLA_FMA.
54635 [DLA_FMA] (MUL12): Use EMULV.
54636 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54637 that are not needed.
54638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54643 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54646 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54648 * math/s_nan.c: Undef __nan.
54649 * math/s_nanf.c: Undef __nanf.
54650 * math/s_nanl.c: Undef __nanl.
54651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54654 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54656 * math/s_catan.c: Add branch predictions.
54657 * math/s_catanf.c: Likewise.
54658 * math/s_catanh.c: Likewise.
54659 * math/s_catanhf.c: Likewise.
54660 * math/s_catanhl.c: Likewise.
54661 * math/s_catanl.c: Likewise.
54662 * math/s_cexp.c: Likewise.
54663 * math/s_cexpf.c: Likewise.
54664 * math/s_cexpl.c: Likewise.
54665 * math/s_clog.c: Likewise.
54666 * math/s_clog10.c: Likewise.
54667 * math/s_clog10f.c: Likewise.
54668 * math/s_clog10l.c: Likewise.
54669 * math/s_clogf.c: Likewise.
54670 * math/s_clogl.c: Likewise.
54671 * math/s_csqrt.c: Likewise.
54672 * math/s_csqrtf.c: Likewise.
54673 * math/s_csqrtl.c: Likewise.
54674 * math/s_ctanf.c: Likewise.
54675 * math/s_ctanh.c: Likewise.
54676 * math/s_ctanhf.c: Likewise.
54677 * math/s_ctanhl.c: Likewise.
54678 * math/s_ctanl.c: Likewise.
54680 * math/math_private.h: Define __nan, __nanf, __nanl.
54681 * math/s_cacosh.c: Include <math_private.h>.
54682 * math/s_cacoshl.c: Likewise.
54683 * math/s_casinh.c: Likewise.
54684 * math/s_casinhf.c: Likewise.
54685 * math/s_casinhl.c: Likewise.
54686 * math/s_ccos.c: Rely entire on ccosh.
54687 * math/s_ccosf.c: Rely entire on ccoshf.
54688 * math/s_ccosl.c: Rely entirely on ccoshl.
54689 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54690 Remove tests for FE_INVALID.
54691 * math/s_ccoshf.c: Likewise.
54692 * math/s_ccoshl.c: Likewise.
54693 * math/s_csin.c: Likewise.
54694 * math/s_csinf.c: Likewise.
54695 * math/s_csinh.c Likewise.
54696 * math/s_csinhf.c: Likewise.
54697 * math/s_csinhl.c: Likewise.
54698 * math/s_csinl.c: Likewise.
54699 * math/s_ctan.c: Likewise.
54700 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54701 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54702 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54704 2011-10-21 Ulrich Drepper <drepper@gmail.com>
54706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54707 compilation problems.
54709 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54712 2011-10-20 Ulrich Drepper <drepper@gmail.com>
54714 * sysdeps/i386/configure.in: Test for -mfma4 option.
54715 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54716 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54717 COMMON_CPUID_INDEX_80000001.
54718 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54719 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54720 use it if FMA3 is not supported.
54721 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54723 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54724 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54726 2011-10-20 Andreas Schwab <schwab@redhat.com>
54729 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54730 it would create a cycle with a link time dependency.
54732 2011-10-19 Ulrich Drepper <drepper@gmail.com>
54734 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54736 * string/Makefile (strop-tests): Add rawmemchr.
54737 * string/test-rawmemchr.c: New file.
54739 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54741 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54742 when compiling str{,n}casecmp and when AVX is available. Hook up
54743 new optimized code in initializers.
54745 2011-10-19 Andreas Schwab <schwab@redhat.com>
54747 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54748 __feraiseexcept instead of feraiseexcept.
54750 2011-10-18 Ulrich Drepper <drepper@gmail.com>
54752 * math/math_private.h: Define defaults for libc_fetestexcept and
54754 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54755 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54756 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54757 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54758 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54759 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54760 libc_fetestexcept and libc_feupdateenv.
54762 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54763 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54764 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54765 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54766 libc_feholdexcept_setround.
54768 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54769 Add s_nearbyint-c and s_nearbyintf-c.
54770 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54771 nearbyintf inlines.
54772 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54773 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54774 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54775 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54777 * math/math_private.h: Define defaults for libc_fegetround,
54778 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54779 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54780 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54781 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54782 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54783 standard functions.
54784 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54785 Remove comments and hacks for old compiler versions.
54786 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54787 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54788 libc_feholdexceptl.
54790 2011-10-18 Andreas Schwab <schwab@redhat.com>
54792 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54793 (__feraiseexcept_renamed): Add __NTH.
54794 (feraiseexcept): Add __NTH. Rename local variables to fix
54795 namespace violations.
54797 2011-10-17 Ulrich Drepper <drepper@gmail.com>
54799 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54801 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54803 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54804 recently added interfaces.
54805 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54807 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54808 about macro parameter expansion.
54810 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54811 __NO_MATH_INLINES is defined. Cleanups.
54813 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54814 and __floorf is target has SSE4.1.
54815 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54816 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54817 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54818 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54820 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54822 (floorf): Likewise.
54824 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54826 2011-10-17 Andreas Schwab <schwab@redhat.com>
54828 * misc/sys/cdefs.h: Fix last change.
54830 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54833 2011-10-16 Ulrich Drepper <drepper@gmail.com>
54835 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54837 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54838 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54840 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54841 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54842 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54843 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54844 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54845 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54846 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54847 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54848 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54849 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54850 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54851 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54852 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54853 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54854 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54855 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54856 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54857 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54858 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54860 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54861 ceil, ceilf, floor, floorf.
54863 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54864 Perform IRELATIVE relocations last.
54866 * elf/do-rel.h: Add another parameter nrelative, replacing the
54867 local variable with the same name. Change name of the function
54868 to end in Rel or Rela (uppercase).
54869 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54870 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54871 elf_dynamic_do_##reloc function.
54873 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54875 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54876 is sufficient, at least on modern CPUs.
54878 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54880 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54881 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54883 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54885 * math/bits/math-finite.h: Add entries for exp.
54886 * math/e_expl.c: Add __*_finite alias.
54887 * sysdeps/i386/fpu/e_exp.S: Likewise.
54888 * sysdeps/i386/fpu/e_expf.S: Likewise.
54889 * sysdeps/i386/fpu/e_expl.c: Likewise.
54890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54891 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54892 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54893 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54894 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54895 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54896 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54898 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54899 is sufficient, at least on modern CPUs.
54901 * ctype/ctype-info.c (__ctype_init): Define.
54902 * include/ctype.h (__ctype_init): Declare.
54903 (__ctype_b_loc): The variable is always initialized.
54904 (__ctype_toupper_loc): Likewise.
54905 (__ctype_tolower_loc): Likewise.
54906 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54907 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54909 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54911 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54913 * configure.in: Also look in $cxxmachine/include for C++ system
54916 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54918 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54919 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54920 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54921 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54922 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54923 (USE_AS_WMEMCMP): New macro.
54925 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54926 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54927 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54928 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54930 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54931 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54932 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54933 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54934 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54935 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54936 (USE_AS_WMEMCMP): New macro.
54937 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54938 * sysdeps/string/test-memcmp.c: Update.
54939 Fix simple_wmemcmp.
54941 * wcsmbs/wmemcmp.c: Update.
54942 (WMEMCMP): New macro.
54945 2011-10-12 Andreas Jaeger <aj@suse.de>
54948 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54950 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54952 * libio/iofwide.c (do_length): Avoid warning.
54954 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54956 2011-10-14 Ulrich Drepper <drepper@gmail.com>
54958 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54960 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54961 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54962 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54963 * sysdeps/i386/i686/fpu/e_log.S: New file.
54964 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54965 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54967 * ctype/ctype.h: Add support for inlined isXXX functions when
54968 compiling C++ code.
54970 2011-10-14 Andreas Schwab <schwab@redhat.com>
54972 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54974 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54976 2011-10-13 Roland McGrath <roland@hack.frob.com>
54979 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54981 2011-10-13 Andreas Schwab <schwab@redhat.com>
54983 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54984 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54987 * sysdeps/x86_64/memrchr.S: Check for zero size.
54989 * string/stratcliff.c: Add memrchr tests.
54991 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54994 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54995 rawmemchr-sse2 rawmemchr-sse2-bsf.
54996 * sysdeps/i386/i686/multiarch/memchr.S: New file.
54997 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54998 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54999 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55000 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55001 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55002 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55003 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55004 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55005 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55006 * string/memrchr.c (MEMRCHR): New macro.
55008 2011-10-12 Ulrich Drepper <drepper@gmail.com>
55010 Add integration with gcc's -ffinite-math-only and optimize wrapper
55012 * Versions.def: Define GLIBC_2.15 version for libm.
55013 * math/Makefile (headers): Add bits/math-finite.h.
55014 * math/bits/math-finite.h: New file.
55015 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55016 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55017 * math/e_acoshl.c: Add __*_finite alias.
55018 * math/e_acosl.c: Likewise.
55019 * math/e_asinl.c: Likewise.
55020 * math/e_atan2l.c: Likewise.
55021 * math/e_atanhl.c: Likewise.
55022 * math/e_coshl.c: Likewise.
55023 * math/e_exp10.c: Likewise.
55024 * math/e_exp10f.c: Likewise.
55025 * math/e_exp10l.c: Likewise.
55026 * math/e_exp2l.c: Likewise.
55027 * math/e_fmodl.c: Likewise.
55028 * math/e_gammal_r.c: Likewise.
55029 * math/e_hypotl.c: Likewise.
55030 * math/e_j0l.c: Likewise.
55031 * math/e_j1l.c: Likewise.
55032 * math/e_jnl.c: Likewise.
55033 * math/e_lgammal_r.c: Likewise.
55034 * math/e_log10l.c: Likewise.
55035 * math/e_log2l.c: Likewise.
55036 * math/e_logl.c: Likewise.
55037 * math/e_powl.c: Likewise.
55038 * math/e_sinhl.c: Likewise.
55039 * math/e_sqrtl.c: Likewise.
55040 * math/e_scalb.c: Completely rewritten and optimized.
55041 * math/e_scalbf.c: Likewise.
55042 * math/e_scalbl.c: Likewise.
55043 * math/w_acos.c: Likewise.
55044 * math/w_acosf.c: Likewise.
55045 * math/w_acosl.c: Likewise.
55046 * math/w_acosh.c: Likewise.
55047 * math/w_acoshf.c: Likewise.
55048 * math/w_acoshl.c: Likewise.
55049 * math/w_asin.c: Likewise.
55050 * math/w_asinf.c: Likewise.
55051 * math/w_asinl.c: Likewise.
55052 * math/w_atan2.c: Likewise.
55053 * math/w_atan2f.c: Likewise.
55054 * math/w_atan2l.c: Likewise.
55055 * math/w_atanh.c: Likewise.
55056 * math/w_atanhf.c: Likewise.
55057 * math/w_atanhl.c: Likewise.
55058 * math/w_exp10.c: Likewise.
55059 * math/w_exp10f.c: Likewise.
55060 * math/w_exp10l.c: Likewise.
55061 * math/w_fmod.c: Likewise.
55062 * math/w_fmodf.c: Likewise.
55063 * math/w_fmodl.c: Likewise.
55064 * math/w_j0.c: Likewise.
55065 * math/w_j0f.c: Likewise.
55066 * math/w_j0l.c: Likewise.
55067 * math/w_j1.c: Likewise.
55068 * math/w_j1f.c: Likewise.
55069 * math/w_j1l.c: Likewise.
55070 * math/w_jn.c: Likewise.
55071 * math/w_jnf.c: Likewise.
55072 * math/w_log.c: Likewise.
55073 * math/w_logf.c: Likewise.
55074 * math/w_logl.c: Likewise.
55075 * math/w_log10.c: Likewise.
55076 * math/w_log10f.c: Likewise.
55077 * math/w_log10l.c: Likewise.
55078 * math/w_log2.c: Likewise.
55079 * math/w_log2f.c: Likewise.
55080 * math/w_log2l.c: Likewise.
55081 * math/w_pow.c: Likewise.
55082 * math/w_powf.c: Likewise.
55083 * math/w_powl.c: Likewise.
55084 * math/w_remainder.c: Likewise.
55085 * math/w_remainderf.c: Likewise.
55086 * math/w_remainderl.c: Likewise.
55087 * math/w_scalb.c: Likewise.
55088 * math/w_scalbf.c: Likewise.
55089 * math/w_scalbl.c: Likewise.
55090 * math/w_sqrt.c: Likewise.
55091 * math/w_sqrtf.c: Likewise.
55092 * math/w_sqrtl.c: Likewise.
55093 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55094 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
55096 * math/math_private.h: Declare __kernel_standard_f.
55097 * math/w_cosh.c: Remove cruft and optimize a bit.
55098 * math/w_coshf.c: Likewise.
55099 * math/w_coshl.c: Likewise.
55100 * math/w_exp2.c: Likewise.
55101 * math/w_exp2f.c: Likewise.
55102 * math/w_exp2l.c: Likewise.
55103 * math/w_hypot.c: Likewise.
55104 * math/w_hypotf.c: Likewise.
55105 * math/w_hypotl.c: Likewise.
55106 * math/w_lgamma.c: Likewise.
55107 * math/w_lgamma_r.c: Likewise.
55108 * math/w_lgammaf.c: Likewise.
55109 * math/w_lgammaf_r.c: Likewise.
55110 * math/w_lgammal.c: Likewise.
55111 * math/w_lgammal_r.c: Likewise.
55112 * math/w_sinh.c: Likewise.
55113 * math/w_sinhf.c: Likewise.
55114 * math/w_sinhl.c: Likewise.
55115 * math/w_tgamma.c: Likewise.
55116 * math/w_tgammaf.c: Likewise.
55117 * math/w_tgammal.c: Likewise.
55118 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55120 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55121 Minor optimizations. Pretty printing. Remove cruft.
55122 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55123 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55124 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55125 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55126 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55127 * sysdeps/i386/fpu/e_asin.S: Likewise.
55128 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55129 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55130 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55131 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55132 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55133 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55134 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55135 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55136 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55137 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55138 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55139 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55140 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55141 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55142 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55143 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55144 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55145 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55146 * sysdeps/i386/fpu/e_log.S: Likewise.
55147 * sysdeps/i386/fpu/e_log10.S: Likewise.
55148 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55149 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55150 * sysdeps/i386/fpu/e_log2.S: Likewise.
55151 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55152 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55153 * sysdeps/i386/fpu/e_logf.S: Likewise.
55154 * sysdeps/i386/fpu/e_logl.S: Likewise.
55155 * sysdeps/i386/fpu/e_pow.S: Likewise.
55156 * sysdeps/i386/fpu/e_powf.S: Likewise.
55157 * sysdeps/i386/fpu/e_powl.S: Likewise.
55158 * sysdeps/i386/fpu/e_remainder.S: Likewise.
55159 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55160 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55161 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55162 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55164 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55165 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55166 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55167 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55168 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55170 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55171 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55172 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55173 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55174 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55175 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55176 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55177 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55178 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55180 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55181 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55183 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55184 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55185 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55186 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55188 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55189 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55190 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55191 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55192 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55193 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55194 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55195 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55196 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55198 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55199 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55200 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55201 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55202 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55203 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55204 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55205 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55206 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55207 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55208 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55209 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55210 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55211 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55212 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55213 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55214 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55215 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55216 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55217 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55218 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55219 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55220 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55222 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55223 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55224 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55225 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55226 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55227 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55228 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55229 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55230 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55232 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55233 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55235 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55236 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55237 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55238 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55239 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55241 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55243 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55244 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55245 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55246 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55247 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55248 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55249 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55250 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55251 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55252 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55253 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55254 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55255 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55256 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55257 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55258 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55259 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55260 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55261 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55262 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55263 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55264 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55265 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55266 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55267 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55268 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55269 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55270 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55271 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55272 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55273 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55274 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55275 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55276 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55277 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55278 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55279 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55280 (__isnanf): Likewise.
55281 (__isinf_ns): Likewise.
55282 (__isinf_nsf): Likewise.
55283 (__finite): Likewise.
55284 (__finitef): Likewise.
55285 (__ieee754_sqrt): Define as macro.
55286 (__ieee754_sqrtf): Define as macro.
55287 (__ieee754_sqrtl): Define as macro.
55288 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55290 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55291 __FINITE_MATH_ONLY__ consistent.
55292 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55294 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55296 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55299 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55301 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55303 * po/ja.po: Update from translation team.
55305 2011-10-08 Roland McGrath <roland@hack.frob.com>
55307 * locale/programs/locarchive.c (prepare_address_space): New function.
55308 (create_archive, enlarge_archive, open_archive): Use it.
55310 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55311 inside [SHARED], where it is used.
55313 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55315 * nss/getent.c (netgroup_keys): Remove unused variable.
55316 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55318 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55320 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55321 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55322 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55323 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55324 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55325 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55326 * math/Makefile (libm-calls): Add s_isinf_ns.
55327 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55328 * math/multc3.c: Likewise.
55329 * math/s_casin.c: Likewise.
55330 * math/s_casinf.c: Likewise.
55331 * math/s_casinl.c: Likewise.
55332 * math/s_ccos.c: Likewise.
55333 * math/s_ccosf.c: Likewise.
55334 * math/s_ccosl.c: Likewise.
55335 * math/s_ctan.c: Likewise.
55336 * math/s_ctanf.c: Likewise.
55337 * math/s_ctanh.c: Likewise.
55338 * math/s_ctanhf.c: Likewise.
55339 * math/s_ctanhl.c: Likewise.
55340 * math/s_ctanl.c: Likewise.
55341 * math/w_fmod.c: Likewise.
55342 * math/w_fmodf.c: Likewise.
55343 * math/w_fmodl.c: Likewise.
55344 * math/w_remainder.c: Likewise.
55345 * math/w_remainderf.c: Likewise.
55346 * math/w_remainderl.c: Likewise.
55347 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55348 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55351 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55352 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55353 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55354 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55356 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55358 * stdio-common/printf_fphex.c: Likewise.
55359 * stdio-common/printf_size.c: Likewise.
55361 * math/e_exp10.c: Include math_private.h using <...> not "...".
55362 * math/e_exp10f.c: Likewise.
55363 * math/e_exp10l.c: Likewise.
55364 * math/e_exp2l.c: Likewise.
55365 * math/e_j0l.c: Likewise.
55366 * math/e_j1l.c: Likewise.
55367 * math/e_jnl.c: Likewise.
55368 * math/e_lgammal_r.c: Likewise.
55369 * math/e_rem_pio2l.c: Likewise.
55370 * math/e_scalb.c: Likewise.
55371 * math/e_scalbf.c: Likewise.
55372 * math/e_scalbl.c: Likewise.
55373 * math/k_cosl.c: Likewise.
55374 * math/k_sinl.c: Likewise.
55375 * math/k_tanl.c: Likewise.
55376 * math/s_cacoshf.c: Likewise.
55377 * math/s_catan.c: Likewise.
55378 * math/s_catanf.c: Likewise.
55379 * math/s_catanh.c: Likewise.
55380 * math/s_catanhf.c: Likewise.
55381 * math/s_catanhl.c: Likewise.
55382 * math/s_catanl.c: Likewise.
55383 * math/s_ccosh.c: Likewise.
55384 * math/s_ccoshf.c: Likewise.
55385 * math/s_ccoshl.c: Likewise.
55386 * math/s_cexp.c: Likewise.
55387 * math/s_cexpf.c: Likewise.
55388 * math/s_cexpl.c: Likewise.
55389 * math/s_clog.c: Likewise.
55390 * math/s_clog10.c: Likewise.
55391 * math/s_clog10f.c: Likewise.
55392 * math/s_clog10l.c: Likewise.
55393 * math/s_clogf.c: Likewise.
55394 * math/s_clogl.c: Likewise.
55395 * math/s_csin.c: Likewise.
55396 * math/s_csinf.c: Likewise.
55397 * math/s_csinh.c: Likewise.
55398 * math/s_csinhf.c: Likewise.
55399 * math/s_csinhl.c: Likewise.
55400 * math/s_csinl.c: Likewise.
55401 * math/s_csqrt.c: Likewise.
55402 * math/s_csqrtf.c: Likewise.
55403 * math/s_csqrtl.c: Likewise.
55404 * math/s_ctan.c: Likewise.
55405 * math/s_ctanf.c: Likewise.
55406 * math/s_ctanh.c: Likewise.
55407 * math/s_ctanhf.c: Likewise.
55408 * math/s_ctanhl.c: Likewise.
55409 * math/s_ctanl.c: Likewise.
55410 * math/s_ldexp.c: Likewise.
55411 * math/s_ldexpf.c: Likewise.
55412 * math/s_ldexpl.c: Likewise.
55413 * math/s_significand.c: Likewise.
55414 * math/s_significandf.c: Likewise.
55415 * math/s_significandl.c: Likewise.
55416 * math/w_acos.c: Likewise.
55417 * math/w_acosf.c: Likewise.
55418 * math/w_acosh.c: Likewise.
55419 * math/w_acoshf.c: Likewise.
55420 * math/w_acoshl.c: Likewise.
55421 * math/w_acosl.c: Likewise.
55422 * math/w_asin.c: Likewise.
55423 * math/w_asinf.c: Likewise.
55424 * math/w_asinl.c: Likewise.
55425 * math/w_atan2.c: Likewise.
55426 * math/w_atan2f.c: Likewise.
55427 * math/w_atan2l.c: Likewise.
55428 * math/w_atanh.c: Likewise.
55429 * math/w_atanhf.c: Likewise.
55430 * math/w_atanhl.c: Likewise.
55431 * math/w_cosh.c: Likewise.
55432 * math/w_coshf.c: Likewise.
55433 * math/w_coshl.c: Likewise.
55434 * math/w_dremf.c: Likewise.
55435 * math/w_exp10.c: Likewise.
55436 * math/w_exp10f.c: Likewise.
55437 * math/w_exp10l.c: Likewise.
55438 * math/w_exp2.c: Likewise.
55439 * math/w_exp2f.c: Likewise.
55440 * math/w_fmod.c: Likewise.
55441 * math/w_fmodf.c: Likewise.
55442 * math/w_fmodl.c: Likewise.
55443 * math/w_hypot.c: Likewise.
55444 * math/w_hypotf.c: Likewise.
55445 * math/w_hypotl.c: Likewise.
55446 * math/w_j0.c: Likewise.
55447 * math/w_j0f.c: Likewise.
55448 * math/w_j0l.c: Likewise.
55449 * math/w_j1.c: Likewise.
55450 * math/w_j1f.c: Likewise.
55451 * math/w_j1l.c: Likewise.
55452 * math/w_jn.c: Likewise.
55453 * math/w_jnf.c: Likewise.
55454 * math/w_jnl.c: Likewise.
55455 * math/w_lgamma.c: Likewise.
55456 * math/w_lgamma_r.c: Likewise.
55457 * math/w_lgammaf.c: Likewise.
55458 * math/w_lgammaf_r.c: Likewise.
55459 * math/w_lgammal.c: Likewise.
55460 * math/w_lgammal_r.c: Likewise.
55461 * math/w_log.c: Likewise.
55462 * math/w_log10.c: Likewise.
55463 * math/w_log10f.c: Likewise.
55464 * math/w_log10l.c: Likewise.
55465 * math/w_log2.c: Likewise.
55466 * math/w_log2f.c: Likewise.
55467 * math/w_log2l.c: Likewise.
55468 * math/w_logf.c: Likewise.
55469 * math/w_logl.c: Likewise.
55470 * math/w_pow.c: Likewise.
55471 * math/w_powf.c: Likewise.
55472 * math/w_powl.c: Likewise.
55473 * math/w_remainder.c: Likewise.
55474 * math/w_remainderf.c: Likewise.
55475 * math/w_remainderl.c: Likewise.
55476 * math/w_scalb.c: Likewise.
55477 * math/w_scalbf.c: Likewise.
55478 * math/w_scalbl.c: Likewise.
55479 * math/w_sinh.c: Likewise.
55480 * math/w_sinhf.c: Likewise.
55481 * math/w_sinhl.c: Likewise.
55482 * math/w_sqrt.c: Likewise.
55483 * math/w_sqrtf.c: Likewise.
55484 * math/w_sqrtl.c: Likewise.
55485 * math/w_tgamma.c: Likewise.
55486 * math/w_tgammaf.c: Likewise.
55487 * math/w_tgammal.c: Likewise.
55489 * po/ja.po: Update from translation team.
55491 2011-09-29 Andreas Jaeger <aj@suse.de>
55494 * sunrpc/netname.c (netname2host): Fix logic.
55498 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55500 * math/w_remainder.c (__remainder): Likewise.
55501 * math/w_remainderf.c (__remainderf): Likewise.
55502 * math/libm-test.inc (remainder_test): Add test cases.
55504 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55506 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55509 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55511 * string/test-memcmp.c: Avoid unncessary #defines.
55512 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55514 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55516 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55517 Use new sse2 version for core i3 - i7 as it's faster
55518 than sse42 version.
55519 (bit_Prefer_PMINUB_for_stringop): New.
55520 * sysdeps/x86_64/rawmemchr.S: Update.
55521 Replace with faster SSE2 version.
55522 * sysdeps/x86_64/memrchr.S: New file.
55523 * sysdeps/x86_64/memchr.S: Update.
55524 Replace with faster SSE2 version.
55526 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55528 * elf/dl-load.c (lose): Add cast to avoid warning.
55530 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55532 * po/ca.po: Update from translation team.
55534 * inet/getnetgrent_r.c: Hook up nscd.
55535 * nscd/Makefile (routines): Add nscd_netgroup.
55536 (nscd-modules): Add netgroupcache.
55537 (CFLAGS-netgroupcache.c): Define.
55538 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55539 (cache_search): Add const to second parameter.
55540 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55542 (dbs): Add netgrdb entry.
55543 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55544 (verify_persistent_db): Handle netgrdb.
55545 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55546 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55548 (netgroup_response_header): Define.
55549 (innetgroup_response_header): Define.
55550 (datahead): Add netgroup_response_header and innetgroup_response_header
55552 * nscd/nscd.conf: Add entries for netgroup cache.
55553 * nscd/nscd.h (dbtype): Add netgrdb.
55554 (_PATH_NSCD_NETGROUP_DB): Define.
55555 (netgroup_iov_disabled): Declare.
55556 (xmalloc, xcalloc, xrealloc): Move declarations here.
55557 (cache_search): Adjust prototype.
55558 Add netgroup-related prototypes.
55559 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55560 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55561 (__nscd_innetgr): Declare.
55562 * nscd/selinux.c (perms): Use access_vector_t as element type and
55563 add netgroup-related initializers.
55564 * nscd/netgroupcache.c: New file.
55565 * nscd/nscd_netgroup.c: New file.
55566 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55567 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55568 For four parameters use innetgr.
55569 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55570 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55571 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55572 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55574 * nscd/connections.c (register_traced_file): Don't register file
55575 for disabled databases.
55577 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55579 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55581 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55582 from tree and freeing node.
55584 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55586 * nss/nsswitch.c (__nss_database_lookup): Handle
55587 nss_parse_service_list out of memory case.
55589 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55591 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55592 out of memory case.
55594 2011-10-04 Andreas Schwab <schwab@redhat.com>
55596 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55597 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55599 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55600 elf_machine_rela, elf_machine_lazy_rel.
55601 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55602 (ELF_DYNAMIC_DO_REL): Likewise.
55603 (ELF_DYNAMIC_DO_RELA): Likewise.
55604 (ELF_DYNAMIC_RELOCATE): Likewise.
55605 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55606 to ELF_DYNAMIC_DO_REL.
55607 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55608 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55609 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55611 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55612 skip_ifunc, don't call ifunc function if non-zero.
55613 (elf_machine_rela): Likewise.
55614 (elf_machine_lazy_rel): Likewise.
55615 (elf_machine_lazy_rela): Likewise.
55616 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55617 (elf_machine_lazy_rel): Likewise.
55618 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55620 (elf_machine_lazy_rel): Likewise.
55621 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55623 (elf_machine_lazy_rel): Likewise.
55624 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55625 (elf_machine_lazy_rel): Likewise.
55626 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55627 (elf_machine_lazy_rel): Likewise.
55628 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55629 (elf_machine_lazy_rel): Likewise.
55630 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55631 (elf_machine_lazy_rel): Likewise.
55632 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55633 (elf_machine_lazy_rel): Likewise.
55634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55635 (elf_machine_lazy_rel): Likewise.
55637 2011-09-28 Ulrich Drepper <drepper@gmail.com>
55639 * nss/nss_files/files-init.c (_nss_files_init): Use static
55640 initialization for all the *_traced_file variables.
55642 2011-09-28 Andreas Schwab <schwab@redhat.com>
55644 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55646 2011-09-27 Roland McGrath <roland@hack.frob.com>
55649 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55651 2011-09-27 Andreas Schwab <schwab@redhat.com>
55653 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55654 Reread the line before reparsing it.
55656 2011-09-26 Andreas Schwab <schwab@redhat.com>
55658 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55660 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55661 Maxim Kuvyrkov <maxim@codesourcery.com>
55662 Joseph Myers <joseph@codesourcery.com>
55664 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55665 if needed for __stack_chk_guard.
55667 2011-09-19 Roland McGrath <roland@hack.frob.com>
55669 * sysdeps/posix/spawni.c (script_execute): Always define it.
55670 It will be optimized away if unused.
55671 (maybe_script_execute): New function.
55672 (__spawni): Call it.
55674 * Makerules: Don't include tls.make.
55675 (config-tls): Always set to thread.
55676 * tls.make.c: File removed.
55678 2011-09-19 Mike Frysinger <vapier@gentoo.org>
55680 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55681 * config.make.in (CPPFLAGS-config): New substituted variable.
55683 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55685 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55688 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55689 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55691 2011-09-15 Roland McGrath <roland@hack.frob.com>
55693 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55694 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55696 (CALL_FAIL): Likewise.
55697 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55698 (CALL_FAIL): Macro removed.
55699 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55701 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55703 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55704 for __FINITE_MATH_ONLY__ == 1.
55706 2011-09-15 Andreas Schwab <schwab@redhat.com>
55708 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55709 __ieee754_sqrt instead of sqrt.
55710 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55711 __ieee754_sqrtf instead of sqrtf.
55712 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55713 __floorf instead of floorf.
55714 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55715 __floorf, __truncf instead of floorf, truncf.
55717 2011-09-14 Ulrich Drepper <drepper@gmail.com>
55719 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55721 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55722 __extern_always_inline.
55723 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55726 2011-09-14 Andreas Schwab <schwab@redhat.com>
55728 * elf/rtld.c (dl_main): Also relocate in dependency order when
55729 doing symbol dependency testing.
55731 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55734 Always define `refsym'.
55736 2011-09-13 Andreas Schwab <schwab@redhat.com>
55738 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55739 (__FD_ELT): Renamed from __FDELT.
55740 * misc/bits/select2.h (__FD_ELT): Likewise.
55741 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55742 __FD_MASK instead of __FDELT, __FDMASK.
55743 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55745 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55748 * elf/Makefile (gen-ldd): Fix pattern.
55750 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55751 (init_tls): Likewise.
55753 2011-09-12 Ulrich Drepper <drepper@gmail.com>
55755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55757 2011-09-12 Andreas Schwab <schwab@redhat.com>
55759 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55760 `struct cmsghdr *' instead of `void *'.
55761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55764 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55766 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55768 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55769 ldd_rewrite_script.
55771 2011-09-11 Ulrich Drepper <drepper@gmail.com>
55773 * configure.in: Remove --with-tls option.
55774 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55775 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55776 out in case it is missing.
55777 * sysdeps/ia64/elf/configure.in: Likewise.
55778 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55779 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55780 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55781 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55782 * sysdeps/sh/elf/configure.in: Likewise.
55783 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55784 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55785 * sysdeps/x86_64/elf/configure.in: Likewise.
55786 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55787 * sysdeps/mach/hurd/tls.h: Likewise.
55790 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55793 * configure.in: Fix use of AC_INIT.
55795 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55797 2011-09-10 Ulrich Drepper <drepper@gmail.com>
55799 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55801 * malloc/hooks.c: Likewise.
55804 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55805 variables statically.
55806 (narenas): Initialize.
55807 (list_lock): Initialize.
55808 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55809 initializtion of main_arena and list_lock. Small cleanups.
55810 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55811 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55812 Add initializers to main_arena and mp_.
55813 (malloc_state): Remove pagesize member. Change all users to use
55816 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55817 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55818 is always initialized.
55820 * malloc/malloc.c: Removed unused configurations and dead code.
55821 * malloc/arena.c: Likewise.
55822 * malloc/hooks.c: Likewise.
55823 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55825 * include/tls.h: Removed. USE___THREAD must always be defined.
55826 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55827 * elf/dl-libc.c: Likewise.
55828 * elf/dl-tsd.c: Likewise.
55829 * include/errno.h: Likewise.
55830 * include/netdb.h: Likewise.
55831 * include/resolv.h: Likewise.
55832 * inet/herrno-loc.c: Likewise.
55833 * inet/herrno.c: Likewise.
55834 * malloc/arena.c: Likewise.
55835 * malloc/hooks.c: Likewise.
55836 * malloc/malloc.c: Likewise.
55837 * resolv/res-state.c: Likewise.
55838 * resolv/res_libc.c: Likewise.
55839 * sysdeps/i386/dl-machine.h: Likewise.
55840 * sysdeps/ia64/dl-machine.h: Likewise.
55841 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55842 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55843 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55844 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55845 * sysdeps/sh/dl-machine.h: Likewise.
55846 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55847 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55848 * sysdeps/unix/i386/sysdep.S: Likewise.
55849 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55850 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55852 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55853 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55855 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55857 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55859 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55860 * sysdeps/x86_64/dl-machine.h: Likewise.
55861 * tls.make.c: Likewise.
55863 * configure.in: Remove --with-__thread option. Make tests for
55864 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55865 tls_model attribute fail if no support is available. Remove
55867 * Makeconfig: Adjust for dropped configure option. All features are
55869 * Makerules: Likewise.
55870 * Versions.def: Likewise.
55871 * argp/argp-fmtstream.c: Likewise.
55872 * argp/argp-fmtstream.h: Likewise.
55873 * argp/argp-help.c: Likewise.
55874 * assert/assert.c: Likewise.
55875 * config.h.in: Likewise.
55876 * config.make.in: Likewise.
55877 * configure: Likewise.
55878 * configure.in: Likewise.
55879 * csu/Versions: Likewise.
55880 * csu/init.c: Likewise.
55881 * elf/tst-audit2.c: Likewise.
55882 * elf/tst-tls10.c: Likewise.
55883 * elf/tst-tls10.h: Likewise.
55884 * elf/tst-tls11.c: Likewise.
55885 * elf/tst-tls12.c: Likewise.
55886 * elf/tst-tls14.c: Likewise.
55887 * elf/tst-tlsmod11.c: Likewise.
55888 * elf/tst-tlsmod12.c: Likewise.
55889 * elf/tst-tlsmod13.c: Likewise.
55890 * elf/tst-tlsmod13a.c: Likewise.
55891 * elf/tst-tlsmod14a.c: Likewise.
55892 * elf/tst-tlsmod15b.c: Likewise.
55893 * elf/tst-tlsmod16a.c: Likewise.
55894 * elf/tst-tlsmod16b.c: Likewise.
55895 * elf/tst-tlsmod7.c: Likewise.
55896 * elf/tst-tlsmod8.c: Likewise.
55897 * elf/tst-tlsmod9.c: Likewise.
55898 * gmon/gmon.c: Likewise.
55899 * grp/fgetgrent_r.c: Likewise.
55900 * grp/putgrent.c: Likewise.
55901 * hurd/fopenport.c: Likewise.
55902 * include/libc-symbols.h: Likewise.
55903 * include/tls.h: Likewise.
55904 * intl/gettextP.h: Likewise.
55905 * intl/loadinfo.h: Likewise.
55906 * locale/global-locale.c: Likewise.
55907 * locale/localeinfo.h: Likewise.
55908 * mach/devstream.c: Likewise.
55909 * malloc/arena.c: Likewise.
55910 * malloc/set-freeres.c: Likewise.
55911 * misc/err.c: Likewise.
55912 * misc/getttyent.c: Likewise.
55913 * misc/mntent_r.c: Likewise.
55914 * posix/getopt.c: Likewise.
55915 * posix/wordexp.c: Likewise.
55916 * pwd/fgetpwent_r.c: Likewise.
55917 * resolv/Versions: Likewise.
55918 * resolv/res_hconf.c: Likewise.
55919 * shadow/fgetspent_r.c: Likewise.
55920 * shadow/putspent.c: Likewise.
55921 * stdio-common/printf_fphex.c: Likewise.
55922 * stdio-common/tmpfile.c: Likewise.
55923 * stdlib/abort.c: Likewise.
55924 * stdlib/fmtmsg.c: Likewise.
55925 * sunrpc/auth_unix.c: Likewise.
55926 * sunrpc/clnt_perr.c: Likewise.
55927 * sunrpc/clnt_tcp.c: Likewise.
55928 * sunrpc/clnt_udp.c: Likewise.
55929 * sunrpc/clnt_unix.c: Likewise.
55930 * sunrpc/openchild.c: Likewise.
55931 * sunrpc/svc_simple.c: Likewise.
55932 * sunrpc/svc_tcp.c: Likewise.
55933 * sunrpc/svc_udp.c: Likewise.
55934 * sunrpc/svc_unix.c: Likewise.
55935 * sunrpc/xdr.c: Likewise.
55936 * sunrpc/xdr_array.c: Likewise.
55937 * sunrpc/xdr_rec.c: Likewise.
55938 * sunrpc/xdr_ref.c: Likewise.
55939 * sunrpc/xdr_stdio.c: Likewise.
55941 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55943 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55945 2011-07-03 Andreas Jaeger <aj@suse.de>
55947 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55948 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55949 regenerate with gen-libm-tests.pl.
55951 2010-05-12 Petr Baudis <pasky@suse.cz>
55954 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55955 around j0() zero points by switching to j1().
55956 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55957 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55959 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55961 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55963 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55965 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55968 Patch in part by Pavel Roskin <proski@gnu.org>.
55971 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55973 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
55974 Free memory block if necessary.
55977 * libio/genops.c (INTDEF): For string streams the _lock pointer can
55978 be NULL. Don't lock in this case.
55980 2011-09-09 Roland McGrath <roland@hack.frob.com>
55982 * elf/elf.h (ELFOSABI_GNU): New macro.
55983 (ELFOSABI_LINUX): Define to that.
55985 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
55987 * string/strncat.c (strncat): Undef the symbol in case it has been
55988 defined in bits/string.h.
55990 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55992 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55994 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55997 2011-08-17 Andreas Jaeger <aj@suse.de>
55999 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56001 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
56002 Ian Lance Taylor <iant@google.com>
56004 * math/libm-test.inc (lround_test): New testcase.
56005 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56007 2011-09-08 Ulrich Drepper <drepper@gmail.com>
56009 * Makefile: Remove support for automatic cvs check-ins.
56010 * Makerules: Likewise.
56011 * config.make.in: Likewise.
56012 * configure.in: Likewise.
56013 * intl/Makefile: Likewise.
56014 * locale/Makefile: Likewise.
56015 * po/Makefile: Likewise.
56016 * posix/Makefile: Likewise.
56017 * sysdeps/gnu/Makefile: Likewise.
56018 * sysdeps/mach/hurd/Makefile: Likewise.
56019 * sysdeps/sparc/sparc32/Makefile: Likewise.
56022 * posix/Makefile (bug-regex32-ENV): Define.
56023 Patch by John Stanley <jpsinthemix@verizon.net>.
56025 * misc/Makefile (headers): Add bits/select2.h.
56026 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56027 * misc/bits/select2.h: New file.
56028 * include/bits/select2.h: New file.
56029 * debug/Makefile (routines): Add fdelt_chk.
56030 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56031 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56033 * debug/fdelt_chk.c: New file.
56035 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56036 * wcsmbs/test-wmemcmp.c: Likewise.
56037 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56038 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56040 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56042 * string/Makefile (strop-tests): Add memcmp.
56043 * string/test-wmemcmp.c: New file.
56044 * string/test-memcmp.c: Add wmemcmp support.
56046 2011-09-08 Roland McGrath <roland@hack.frob.com>
56049 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56052 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56053 garbage value in a __mach_port_mod_refs call in the cases of the
56054 task-self and thread-self ports.
56056 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56058 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56060 2011-09-08 Andreas Schwab <schwab@redhat.com>
56062 * elf/dl-load.c (lose): Check for non-null L.
56064 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56066 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56068 * elf/dl-libc.c (dlerror_run): Pass back error code from
56072 * elf/dl-load.c (lose): Free l_origin if it is valid.
56074 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56076 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56079 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56080 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56081 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56083 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56085 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56086 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56087 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56088 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56089 * sysdeps/powerpc/fpu/k_cosf.c: New file.
56090 * sysdeps/powerpc/fpu/k_sinf.c: New file.
56091 * sysdeps/powerpc/fpu/s_cosf.c: New file.
56092 * sysdeps/powerpc/fpu/s_sinf.c: New file.
56093 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56094 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56096 2011-08-15 Alan Modra <amodra@gmail.com>
56099 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56100 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56101 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
56102 ppc_mcount to static-only-routines.
56103 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56105 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56106 __mcount_internal with usual JUMPTARGET. Remove useless nop.
56108 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
56110 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56111 for finite and infinity parameters.
56113 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56115 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56116 and add nop instructions for throughput optimization.
56117 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56119 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56121 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56122 aligned copy for power7 with vector-scalar instructions.
56123 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56125 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56130 2011-09-07 Andreas Schwab <schwab@redhat.com>
56133 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56136 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56138 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56139 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56140 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56141 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56144 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56146 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56147 Forgot to demangle the pointer.
56149 * sysdeps/i386/sysdep.h: Define atom_text_section.
56150 * sysdeps/x86_64/sysdep.h: Likewise.
56151 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56152 section with atom_text_section.
56153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56154 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56155 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56156 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56157 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56159 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56160 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56161 already be defined. Change to take two parameters and don't assign
56162 result to variable. Adjust all users.
56163 Define INTERNAL_GETTIME if not already defined.
56164 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56167 HAVE_CLOCK_GETTIME_VSYSCALL.
56168 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56171 gettimeofday vsyscall, just use time.
56173 2011-09-06 Andreas Schwab <schwab@redhat.com>
56175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56178 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56180 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56184 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56185 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56186 syscall if possible.
56188 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56190 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56191 e_ident. Don't pass to find_mapsXX.
56192 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56194 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56197 strchr-sse2-no-bsf strrchr-sse2-no-bsf
56198 * sysdeps/x86_64/multiarch/strchr.S: Update.
56199 Check bit_slow_BSF bit.
56200 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56201 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56202 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56204 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56207 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56209 (tryshell): Define.
56210 (__spawni): Change last parameter to be flag. Test
56211 SPAWN_XFLAGS_USE_PATH flag to use path or not.
56212 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56213 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56214 * posix/spawni.c: Likewise.
56215 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56216 * posix/spawnp.c: Likewise. Change normal version to use
56217 SPAWN_XFLAGS_USE_PATH.
56218 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56219 SPAWN_XFLAGS_TRY_SHELL.
56222 * posix/glob.h: Remove gcc 1.x support.
56225 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56227 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56230 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56232 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56233 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56234 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56235 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56236 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56237 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56239 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56241 * sysdeps/x86_64/wcscmp.S: New file.
56243 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56244 wcscmp-c wcscmp-sse2
56245 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56246 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56247 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56248 * wcsmbs/wcscmp.c: Allow renaming.
56250 2011-09-05 David S. Miller <davem@davemloft.net>
56252 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56253 stack slot, rather than the struct return pointer slot.
56254 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56255 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56257 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56259 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56261 * po/ja.po: Update from translation team.
56264 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56265 kernel in 64-bit binaries.
56267 2011-09-01 David S. Miller <davem@davemloft.net>
56269 * elf/elf.h (HWCAP_SPARC_*): Move to..
56270 * sysdeps/sparc/sysdep.h: this new file and add new values.
56271 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56272 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56273 _DL_HWCAP_COUNT to 24.
56274 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56276 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56277 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56278 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56280 instead of magic constants.
56281 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56283 2011-08-31 David S. Miller <davem@davemloft.net>
56285 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56287 Reimplement to do errno handling inline.
56288 (SYSCALL_ERROR_HANDLER): New macro.
56289 (__SYSCALL_STRING): Do not do errno handling in asm.
56290 (__CLONE_SYSCALL_STRING): Delete.
56291 (__INTERNAL_SYSCALL_STRING): Delete.
56292 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56293 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56294 (PSEUDO): Reimplement to do errno handling inline.
56295 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56296 (SYSCALL_ERROR_HANDLER): New macro.
56297 (__SYSCALL_STRING): Do not do errno handling in asm.
56298 (__CLONE_SYSCALL_STRING): Delete.
56299 (__INTERNAL_SYSCALL_STRING): Delete.
56300 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56301 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56303 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56304 (inline_syscall*): Add 'err' argument.
56305 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56306 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56307 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56308 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56310 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56311 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56313 2011-08-30 Andreas Schwab <schwab@redhat.com>
56315 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56317 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56319 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56322 2011-08-24 David S. Miller <davem@davemloft.net>
56324 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56326 2011-08-24 Andreas Schwab <schwab@redhat.com>
56328 * elf/Makefile: Add rules to build and run unload8 test.
56329 * elf/unload8.c: New file.
56330 * elf/unload8mod1.c: New file.
56331 * elf/unload8mod1x.c: New file.
56332 * elf/unload8mod2.c: New file.
56333 * elf/unload8mod3.c: New file.
56335 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56338 2011-08-23 David S. Miller <davem@davemloft.net>
56340 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56341 subtract stack bias.
56342 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56343 %sp not %fp in calculations.
56344 (_JMPBUF_UNWINDS_ADJ): Likewise.
56346 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56347 (aio_suspend): Call it to force an exception region around the
56348 AIO_MISC_WAIT() invocation.
56350 2011-08-23 Andreas Schwab <schwab@redhat.com>
56352 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56355 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56357 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56359 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56360 and <dl-machine.h>.
56361 (Elf64_FuncDesc): Remove.
56363 2011-08-22 David S. Miller <davem@davemloft.net>
56365 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56366 sigaltstack check, add missing cfi directives.
56367 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56368 missing cfi directives, and sigaltstack handling.
56370 2011-08-16 Andreas Schwab <schwab@redhat.com>
56373 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56374 object is seen twice.
56375 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56377 * elf/Makefile (distribute): Add tst-initorder2.c.
56378 (tests): Add tst-initorder2.
56379 (modules-names): Add tst-initorder2a tst-initorder2b
56380 tst-initorder2c tst-initorder2d. Add rules to build them.
56381 ($(objpfx)tst-initorder2.out): New rule.
56382 * elf/tst-initorder2.c: New file.
56383 * elf/tst-initorder2.exp: New file.
56385 2011-08-22 Andreas Schwab <schwab@redhat.com>
56387 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56389 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56390 dependencies back to end of function.
56392 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56393 $(elfobjdir)/ld.so.
56395 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56397 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56398 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56400 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56401 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56402 of __vdso_gettimeofday.
56403 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56404 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56406 (_libc_vdso_platform_setup): Remove initialization of
56407 __vdso_gettimeofday and __vdso_time.
56409 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56411 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56412 and fgetc_unlocked.
56413 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56416 * elf/dl-open.c (add_to_global): Report additions to the global scope
56417 for LD_DEBUG=scopes.
56418 (dl_open_worker): Also print scope of newly loaded dependencies.
56419 (_dl_show_scope): Indicate if there is no scope.
56422 * stdio-common/Makefile (tests): Add bug24.
56423 * stdio-common/bug24.c: New file.
56425 2011-08-19 Andreas Jaeger <aj@suse.de>
56428 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56429 non-existant file when using close-on-exec mode.
56431 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56434 the very first instruction.
56436 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56437 the CFI state in the end.
56438 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56439 inclusion of dl-trampoline.h.
56440 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56442 2011-08-19 Andreas Schwab <schwab@redhat.com>
56444 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56445 expectations for long double.
56447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56448 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56450 2011-08-14 David S. Miller <davem@davemloft.net>
56452 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56453 artificual limit depends upon the system page size.
56455 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56457 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56458 * resolv/Makefile: Define CFLAGS-libresolv.
56460 2011-08-17 Andreas Schwab <schwab@redhat.com>
56462 * nss/makedb.c (compute_tables): Make variables used in nested
56465 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56467 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56468 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56469 if buffer was too small.
56471 * elf/pldd.c (main): Attach to all threads in the process.
56472 Rewrite /proc handling to use *at functions.
56474 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56476 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56477 specifies first scope to show.
56478 (dl_open_worker): Update callers. Move printing scope of new
56479 object to before the relocation.
56480 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56481 * sysdeps/generic/ldsodefs.h: Update declaration.
56483 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56484 string for the scope number.
56486 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56488 * nscd/servicescache.c (cache_addserv): Make sure written is always
56491 2011-08-14 Roland McGrath <roland@hack.frob.com>
56493 * sysdeps/i386/i486/bits/atomic.h
56494 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56495 statement expression, so as to suppress "set but not used" warning.
56496 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56498 * string/strncat.c (STRNCAT): Use prototype definition.
56500 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56501 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56503 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56504 (localedef-modules): Add localedef.
56505 (locale-modules): Add locale.
56507 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56508 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56509 to avoid a warning.
56511 2011-08-14 David S. Miller <davem@davemloft.net>
56513 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56514 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56516 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56518 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56519 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56520 * elf/rtld.c (dl_main): Set l_name of vDSO.
56521 Call _dl_show_scope when DL_DEBUG_SCOPES.
56522 (process_dl_debug): Recognize scopes flag and also set it for all.
56523 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56524 Declare _dl_show_scope.
56526 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56527 (do_dlopen): Pass caller_dlopen to dl_open.
56528 (__libc_dlopen_mode): Initialize caller_dlopen.
56530 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56531 of libc. Make tolower call locale-independent. Optimize a bit by
56532 using isdigit instead of isalnum.
56533 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56535 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56537 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56538 was a dependency or dynamically loaded.
56540 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56542 * intl/l10nflist.c: Allow architecture-specific pop function.
56543 * sysdeps/x86_64/l10nflist.c: New file.
56545 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56548 2011-08-10 Andreas Schwab <schwab@redhat.com>
56550 * include/dirent.h: Add libc_hidden_proto for scandirat and
56551 scandirat64. Don't declare __scandirat64.
56552 * dirent/scandirat.c: Add libc_hidden_def.
56553 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56554 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56556 2011-08-10 David S. Miller <davem@davemloft.net>
56558 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56564 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56566 * Versions.def [libc]: Add GLIBC_2.15.
56567 * dirent/Makefile (routines): Add scandirat and scandirat64.
56568 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56570 * dirent/dirent.h: Declare scandirat and scandirat64.
56571 * dirent/scandirat.c: New file.
56572 * dirent/scandirat64.c: New file.
56573 * sysdeps/wordsize-64/scandirat.c: New file.
56574 * sysdeps/wordsize-64/scandirat64.c: New file.
56575 * dirent/opendir.c: Define opendirat.
56576 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56578 * dirent/scandir64.c: Adjust for scandir.c change.
56579 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56580 __scandirat64, and __scandir_cancel_handler.
56581 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56582 additional parameter and use openat instead of open (outside of ld.so).
56583 Add new __opendir as wrapper around __opendirat.
56584 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56585 here without requiring old scandirat implementation.
56587 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56589 * dirent/scandir.c (cancel_handler): Renamed to
56590 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56591 defined. Adjust users.
56592 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56593 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56595 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56597 * string/test-string.h (IMPL): Use __STRING to expand name and then
56600 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56603 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56605 * string/Makefile: Update.
56606 (strop-tests): Append strncat.
56607 * string/test-wcscmp.c: New file.
56608 New comprehensive test for wcscmp.
56609 * string/test-strcmp.c: Update.
56610 (WIDE): New define.
56612 2011-07-22 Andreas Schwab <schwab@redhat.com>
56614 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56617 2011-07-26 Andreas Schwab <schwab@redhat.com>
56619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56620 encoding to ACE if AI_IDN.
56622 2011-08-01 Jakub Jelinek <jakub@redhat.com>
56624 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56625 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56627 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56629 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56630 Fix overflow bug in strncat.
56631 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56633 * string/test-strncat.c: Update.
56634 Add new tests for checking overflow bugs.
56636 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56639 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56640 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56641 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56643 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56644 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56645 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56646 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56649 (USE_AS_STRCAT): Define.
56650 Add strcat and strncat support.
56651 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56653 2011-07-25 Andreas Schwab <schwab@redhat.com>
56655 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56656 __n bigger than INT_MAX+1.
56657 (__strncmp_g): Likewise.
56659 2011-07-23 Ulrich Drepper <drepper@gmail.com>
56661 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56662 * libio/stido.h: Likewise.
56664 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56669 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56670 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56671 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56672 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56673 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56676 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56681 (_dl_x86_64_save_sse): Likewise.
56683 2011-07-22 Ulrich Drepper <drepper@gmail.com>
56685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56687 (_dl_x86_64_save_sse): Likewise.
56689 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56691 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56693 2011-07-21 Andreas Schwab <schwab@redhat.com>
56695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56697 (_dl_x86_64_save_sse): Use correct AVX check.
56699 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56702 bug in strncpy/strncat.
56703 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56705 2011-07-21 Ulrich Drepper <drepper@gmail.com>
56707 * string/tester.c (test_strcat): Add tests for different alignments
56708 of source and destination.
56709 (test_strncat): Likewise.
56711 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56714 * posix/glob.c (glob): Check passed in values before using them in
56715 expressions to avoid some overflows.
56716 (glob_in_dir): Likewise.
56719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56720 check for AVX enablement so that we don't crash with old kernels and
56722 * elf/tst-audit4.c: Add same checks here.
56723 * elf/tst-audit6.c: Likewise.
56725 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56727 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56729 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56731 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56733 * po/cs.po: Update from translation team.
56734 * po/bg.po: Likewise.
56736 2011-07-12 Marek Polacek <mpolacek@redhat.com>
56738 * misc/sys/cdefs.h: Add support for const attribute.
56739 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56740 to gnu_dev_{major,minor,makedev} functions.
56742 2011-07-20 Marek Polacek <mpolacek@redhat.com>
56744 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56746 2011-07-20 Andreas Schwab <schwab@redhat.com>
56748 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56751 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56754 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56755 register in order to avoid conflicts with the soft frame pointer
56756 being held in r11 when necessary.
56757 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56758 (INTERNAL_VSYSCALL_NCS): Likewise.
56760 2011-07-14 Marek Polacek <mpolacek@redhat.com>
56762 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56763 * elf/dl-fini.c (_dl_fini): Adjust caller.
56764 * elf/dl-close.c (_dl_close_worker): Likewise.
56765 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56767 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56769 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56770 "aux_cache->nlibs < 0".
56772 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56773 in the reload-count case.
56775 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56778 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56779 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56780 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56781 * sysdeps/x86_64/multiarch/strcat.S: New file.
56782 * sysdeps/x86_64/multiarch/strncat.S: New file.
56783 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56784 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56785 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56786 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56787 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56788 (USE_AS_STRCAT): Define.
56789 Add strcat and strncat support.
56790 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56791 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56792 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56793 * string/strncat.c: Update.
56794 (USE_AS_STRNCAT): Define.
56795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56796 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56798 * sysdeps/x86_64/multiarch/init-arch.h
56799 (bit_Prefer_PMINUB_for_stringop): New.
56800 (index_Prefer_PMINUB_for_stringop): Likewise.
56801 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56802 bit_Prefer_PMINUB_for_stringop.
56804 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56806 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56808 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56809 of casting of buffer.
56810 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56811 buffer32 and buffer64.
56812 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56813 writes instead of casting of buffer.
56814 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56816 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56819 2011-07-19 Andreas Schwab <schwab@redhat.com>
56821 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56823 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56825 * nscd/nscd.c (termination_handler): Don't do anything for a database
56826 if it has not yet been initialized.
56828 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56830 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56832 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56834 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56836 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56838 * po/nl.po: Update from translation team.
56839 * po/sv.po: Likewise.
56841 2011-07-16 Roland McGrath <roland@hack.frob.com>
56843 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56844 now disallowed by GCC.
56846 * configure.in (use-default-link): Default to yes if a test -shared
56847 link meets our qualifications.
56848 * configure: Regenerated.
56850 * config.make.in (output-format): New variable.
56851 * configure.in: Check for ld --print-output-format support.
56852 * configure: Regenerated.
56853 * Makerules ($(common-objpfx)format.lds)
56854 [$(output-format) != unknown]: Just use $(output-format),
56855 instead of the linker-script munging.
56857 2011-07-14 Roland McGrath <roland@hack.frob.com>
56859 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56860 of $(common-objpfx)shlib.lds.
56861 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56863 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56864 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56866 * configure.in (-z relro check): Adjust test code to add a large
56867 writable data section after it.
56868 * configure: Regenerated.
56870 2011-07-11 Roland McGrath <roland@hack.frob.com>
56872 * configure.in (-z relro check): Fix test code to make the variable
56874 * configure: Regenerated.
56876 2011-07-11 Ulrich Drepper <drepper@gmail.com>
56878 * nscd/nscd.h (struct traced_file): Define.
56879 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56880 elements. Add traced_files.
56881 (inotify_fd): Declare.
56882 (register_traced_file): Declare.
56883 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56884 (inotify_fd): Export.
56885 (resolv_conf_descr): Remove.
56886 (nscd_init): Move inotify descriptor creation to main.
56887 Don't register files for notification here.
56888 (register_traced_file): New function.
56889 (invalidate_cache): Don't use reset_res to determine whether to call
56890 res_init, go through the list of registered files.
56891 (main_loop_poll): The inotify descriptors are now stored in the
56892 structures for the traced files.
56893 (main_loop_epoll): Likewise
56894 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56895 to __nss_disable_nscd.
56896 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56897 for a database anymore. Check the records for all the registered
56899 * nss/Makefile (libnss_files-routines): Add files-init.
56900 (libnss_db-routines): Add db-init.
56901 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56902 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56903 * nss/nss_db/db-init.c: New file.
56904 * nss/nss_files/files-init.c: New file.
56905 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56906 __nss_lookup_function.
56907 (__nss_lookup_function): Call nss_load_library.
56908 (nss_load_all_libraries): New function.
56909 (__nss_disable_nscd): Take parameter with callback function for files
56910 to register. Set is_nscd. Load all the DSOs for the NSS modules
56911 used for the cached services.
56912 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56913 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56914 options for features to all the files in nscd.
56916 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56918 2011-07-10 Roland McGrath <roland@hack.frob.com>
56920 * csu/elf-init.c (__libc_csu_init): Comment typo.
56922 2011-07-09 Ulrich Drepper <drepper@gmail.com>
56924 * po/pl.po: Update from translation team.
56925 * po/ja.po: Likewise.
56926 * po/ru.po: Likewise.
56927 * po/ko.po: Likewise.
56928 * po/fr.po: Likewise.
56930 2011-07-09 Roland McGrath <roland@hack.frob.com>
56932 * configure.in (.ctors/.dtors header and trailer check):
56933 Use an empirical test on a built program.
56934 * configure: Regenerated.
56936 * configure.in (-z relro check): Use an empirical test on a built DSO.
56937 Detect, but do not require, on ia64.
56938 * configure: Regenerated.
56940 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56941 Update tests that use readelf to use $READELF instead.
56942 * configure: Regenerated.
56944 2011-07-08 Ulrich Drepper <drepper@gmail.com>
56946 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56947 if the result is not used.
56949 2011-07-05 Andreas Jaeger <aj@suse.de>
56952 * stdlib/tst-strtod.c: Add testcase.
56954 2011-07-07 Ulrich Drepper <drepper@gmail.com>
56956 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56957 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56958 The latter has a higher limit. Take additional parameter to pass to
56960 (__pathconf): Pass file to __statfs_link_max.
56961 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56963 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56967 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56968 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56970 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56971 (__statfs_filesize_max): Likewise.
56972 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56974 2011-07-05 Andreas Jaeger <aj@suse.de>
56976 * resolv/res_comp.c (dn_skipname): Remove unused variable.
56978 2011-07-06 Marek Polacek <mpolacek@redhat.com>
56980 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56982 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56985 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
56987 * Makefile (strop-tests): Add strncat.
56988 * string/test-strncat.c: New file.
56990 2011-06-30 Marek Polacek <mpolacek@redhat.com>
56992 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56994 2011-06-21 Andreas Jaeger <aj@suse.de>
56996 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56997 Copy rule from iconvdata/Makefile.
56999 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57002 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57003 but no long options are defined, just return 'W'.
57005 2011-06-22 Marek Polacek <mpolacek@redhat.com>
57008 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57010 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57012 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57014 (innetgr): Likewise.
57016 2011-07-05 Roland McGrath <roland@hack.frob.com>
57018 * config.make.in (install_root): Default to $(DESTDIR).
57020 2011-07-05 Ulrich Drepper <drepper@gmail.com>
57022 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57024 2011-07-02 Roland McGrath <roland@hack.frob.com>
57026 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57028 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57029 containing directory rather than embedding absolute directory names.
57031 * scripts/check-local-headers.sh: Rewritten using awk.
57032 Match by word, not by line. Print error messages for matches.
57033 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57035 * Makerules [shlib-lds-flags empty]:
57036 ($(common-objpfx)libc_pic.opts): New target.
57037 ($(common-objpfx)libc_pic.os.clean): New target.
57038 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57040 * config.make.in (OBJCOPY): New variable.
57041 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57042 * configure: Regenerated.
57044 * config.make.in (use-default-link): New variable.
57045 * configure.in (use_default_link): Grok --with-default-link to set it.
57046 * configure: Regenerated.
57047 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57048 (shlib-lds, shlib-lds-flags): Define to empty.
57050 * Makerules (shlib-lds): New variable.
57051 (shlib-lds-flags): New variable.
57052 (build-shlib, build-moduile, build-module-asneeded): Use it.
57053 ($(common-objpfx)libc.so): Use $(shlib-lds).
57054 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57055 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57057 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57058 DT_FLAGS/DT_FLAGS_1 with zero flags.
57060 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57061 linker script munging.
57063 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57065 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57067 * crypt/sha512.c (sha512_process_block): Perform total addition using
57068 128-bit if possible.
57069 (__sha512_finish_ctx): Likewise.
57070 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57072 * crypt/sha256.c (SWAP64): Define.
57073 (sha256_process_block): Perform total addition using 64-bit if
57075 (__sha256_finish_ctx): Likewise.
57077 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57079 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57080 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57081 * nscd/hstcache.c (cache_addhst): Likewise.
57082 * nscd/grpcache.c (cache_addgr): Likewise.
57083 * nscd/aicache.c (addhstaiX): Likewise
57084 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57086 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
57088 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57090 * nscd/hstcache.c (cache_addhst): Likewise.
57091 * nscd/grpcache.c (cache_addgr): Likewise.
57092 * nscd/aicache.c (addhstaiX): Likewise
57094 2011-07-01 Andreas Schwab <schwab@redhat.com>
57096 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57097 domain only when needed.
57099 2011-06-30 Andreas Schwab <schwab@redhat.com>
57101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57102 is always restored.
57104 2011-06-29 Ulrich Drepper <drepper@gmail.com>
57106 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57107 are re-adding the entry.
57108 * nscd/servicescache.c (cache_addserv): Likewise.
57110 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
57112 * sysdeps/generic/dl-irel.h: fix protection against multiple
57114 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57116 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57119 * malloc/memusage.sh: Fix quoting in message.
57120 * debug/xtrace.sh: Likewise.
57122 * configure.in: Remove support for --experimental-malloc option, make
57124 * config.make.in: Likewise.
57125 * malloc/Makefile: Likewise.
57127 2011-06-27 Andreas Schwab <schwab@redhat.com>
57129 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57130 two-byte characters.
57132 2011-06-27 Roland McGrath <roland@hack.frob.com>
57134 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57135 AC_CACHE_CHECK invocation.
57136 * configure: Regenerated.
57138 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57140 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57143 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57144 bit from old_res_options.
57146 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57148 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57149 value type for setfct.
57151 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
57153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57154 __gettimeofday instead of gettimeofday.
57156 2011-06-26 Ulrich Drepper <drepper@gmail.com>
57158 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57160 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
57162 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57164 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57167 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57170 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57171 strcpy-sse2-unaligned strncpy-sse2-unaligned
57172 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57173 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57174 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57175 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57176 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57177 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57179 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57180 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57181 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57182 (STRCPY): Support SSE2 and SSSE3 versions.
57184 2011-06-24 Ulrich Drepper <drepper@gmail.com>
57187 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57188 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57189 kernels which artificially limit size of requests.
57191 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57194 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57195 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57196 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57197 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57198 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57199 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57200 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57201 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57202 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57203 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57204 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57205 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57206 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57207 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57209 Enable unaligned load optimization for Intel Core i3, i5 and i7
57211 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57213 (index_Fast_Unaligned_Load): Define.
57214 (HAS_FAST_UNALIGNED_LOAD): Define.
57216 2011-06-23 Marek Polacek <mpolacek@redhat.com>
57218 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57220 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57223 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57224 until it is clear that the information is realy needed.
57225 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57227 2011-06-22 Andreas Schwab <schwab@redhat.com>
57229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57231 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57234 /sys/devices/system/cpu/online if it is usable.
57236 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57237 reading the information from the /proc filesystem to once a second.
57239 2011-06-21 Andreas Jaeger <aj@suse.de>
57241 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57242 NULL after inclusion of kernel headers.
57244 2011-06-21 Ulrich Drepper <drepper@gmail.com>
57246 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57247 calls to internal_setent.
57250 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57251 addresses using gethostbyname4_r ignore IPv4 addresses.
57253 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57254 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57256 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57258 2011-06-20 David S. Miller <davem@davemloft.net>
57260 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57262 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57264 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57265 (elf_irel): Use it.
57266 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57267 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57268 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57269 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57270 * sysdeps/x86_64/dl-irel.h: Likewise.
57272 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57273 * elf/dl-sym.c: Likewise.
57275 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57277 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57278 need to dereference resplen2.
57280 2011-06-14 Andreas Schwab <schwab@redhat.com>
57282 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57284 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57286 * Makeconfig: Define vardbdir and inst_vardbdir.
57287 * nss/Makefile: Add rules to install db-Makefile.
57289 * nss/nss_db/db-XXX.c: Cleanup.
57291 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57292 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57294 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57295 * nss/makedb.c: Implement -g option to specify that value strings
57296 are generated and should not be added to table iterated over for
57298 * nss/nss_db/db-initgroups.c: New file.
57300 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57303 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57304 (internal_getgrouplist): Adjust to name change.
57305 Update use_initgroups_entry if this is not the first call.
57306 * nss/databases.def: Add initgroups entry.
57308 * nss/makedb.c (compute_tables): Check result of multiple hash table
57309 sizes to minimize maximum chain length.
57311 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57313 * Versions.def: Add entry for libnss_db.
57314 * shlib-versions: Likewise.
57315 * nss/Makefile: Add rules to build libnss_db.
57316 * nss/Versions: Add libnss_db information. Organize libnss_files
57318 * nss/db-Makefile: Add gshadow support. Change rules for the new
57319 makedb progra. Some minor improvements to generate smaller files.
57320 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57322 * nss/makedb.c: ...here.
57323 Improve database format to be smaller and require less memory at
57325 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57327 * nss/nss_db/db-netgrp.c: Likewise.
57328 * nss/nss_db/db-open.c: Likewise.
57329 * nss/nss_files/flies-XXX.x: Adjust comments.
57330 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57331 * nss/nss_files/files-grp.c: Likewise.
57332 * nss/nss_files/files-hosts.c: Likewise.
57333 * nss/nss_files/files-network.c: Likewise.
57334 * nss/nss_files/files-proto.c: Likewise.
57335 * nss/nss_files/files-pwd.c: Likewise.
57336 * nss/nss_files/files-rpc.c: Likewise.
57337 * nss/nss_files/files-service.c: Likewise.
57338 * nss/nss_files/files-sgrp.c: Likewise.
57339 * nss/nss_files/files-spwd.c: Likewise.
57340 * nss/nss_db/db-alias.c: Removed.
57341 * nss/nss_db/dummy-db.h: Removed.
57343 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57345 * nss/makedb.c: Rewritten to not use database library.
57346 * nss/Makefile: Update to build new makedb program.
57348 2011-06-14 Andreas Jaeger <aj@suse.de>
57350 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57351 memset declaration.
57353 2011-06-10 Andreas Schwab <schwab@redhat.com>
57355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57358 2011-06-10 Roland McGrath <roland@hack.frob.com>
57360 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57361 * elf/Makefile ($(objpfx)ld.so): Likewise.
57363 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57364 Don't list ld.so twice in dependencies.
57366 * posix/bug-regex31.c: Include <stdlib.h>.
57368 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57370 * nis/nss_compat/compat-spwd.c
57371 (getspent_next_nss_netgr): Remove unused variable.
57372 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57374 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57375 nonmembers" output to use the right array.
57377 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57379 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57381 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57382 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57383 * catgets/gencat.c (read_input_file): Likewise.
57384 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57386 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57387 variable definition inside #if's controlling its use.
57389 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57391 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57393 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57395 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57398 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57400 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57401 * configure: Regenerated.
57403 * Makerules: Revert last change.
57404 * elf/Makefile: Likewise.
57406 2011-06-09 Roland McGrath <roland@hack.frob.com>
57408 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57409 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57410 (reloc-link): Likewise.
57412 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57414 * elf/Makefile: Add rules to build pldd.
57415 * elf/pldd.c: New file.
57416 * elf/pldd-xx.c: New file.
57418 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57420 * version.h: Update for 2.15 development version.
57422 2011-06-07 David S. Miller <davem@davemloft.net>
57424 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57426 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57427 elf_machine_lazy_rel): Likewise.
57428 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57429 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57430 elf_machine_lazy_rel): Likewise.
57431 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57432 dl_hwcap via passed in argument.
57433 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57436 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57438 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57440 2011-06-06 Roland McGrath <roland@hack.frob.com>
57443 * manual/fdl-1.1.texi: New file, verbatim from:
57444 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57445 * manual/lgpl-2.1.texi: New file, verbatim from:
57446 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57447 * manual/Makefile (licenses): New variable, list those new file names.
57449 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57451 * manual/fdl.texi: File removed.
57452 * manual/lesser.texi: File removed.
57453 * manual/libc.texinfo (Copying, Documentation License):
57454 Use new @include file names, put @appendix directive before @include.
57456 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57459 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57460 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57461 (mq_open): Add __NTH.
57463 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57466 Assume Intel Core i3/i5/i7 processor if AVX is available.
57468 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57470 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57473 2011-05-31 Andreas Schwab <schwab@redhat.com>
57475 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57476 memory. Use alloca_account. Fix memory leak when retrying.
57478 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57480 * version.h (RELEASE): Bump for 2.14 release.
57481 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57483 * config.make.in (RANLIB): Remove entry.
57485 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57487 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57488 (libc.pot): Work around missing support for .ksh extension in xgettext.
57491 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57492 if both request failed.
57493 (send_dg): In case of server errors clear resplen or *resplen2.
57496 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57497 when there are multiple maps.
57498 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57499 (_dl_fini): Remove test here.
57501 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57503 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57506 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57507 bit from old_res_options.
57508 (gaih_inet): Likewise.
57511 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57514 * resolv/res_init.c (res_setoptions): Make the code more compact.
57517 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57521 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57523 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57526 * malloc/malloc.h: Declare malloc hook variables as volatile.
57528 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57532 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57533 raise in the comment.
57534 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57535 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57536 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57538 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57541 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57542 grow the buffers more if it already has to be sufficient.
57543 (build_wcs_upper_buffer): Likewise.
57544 * posix/regexec.c (check_matching): Likewise.
57545 (clean_state_log_if_needed): Likewise.
57546 (extend_buffers): Don't enlarge buffers beyond size of the input
57548 Patches mostly by Emil Wojak <emil@wojak.eu>.
57549 * posix/bug-regex32.c: New file.
57550 * posix/Makefile (tests): Add bug-regex32.
57552 * locale/findlocale.c (_nl_find_locale): Return right away if
57553 _nl_explode_name failed.
57554 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57556 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57558 * debug/xtrace.sh: Unify messages.
57559 * malloc/memusage.sh: Likewise.
57562 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57563 time symbol from vDSO. Substitute with vsyscall if not available.
57564 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57567 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57568 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57569 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57570 Add sendmmsg and internal_sendmmsg.
57571 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57572 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57573 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57575 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57576 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57577 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57579 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57582 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57583 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57589 * iconvdata/Makefile (tests): Add bug-iconv9.
57590 * iconvdata/bug-iconv9.c: New file.
57592 2011-05-27 Andreas Schwab <schwab@redhat.com>
57595 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57597 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57599 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57600 (struct user_regs_struct): Change intcs field back to cs.
57602 2011-05-25 Ulrich Drepper <drepper@gmail.com>
57604 * po/ja.po: Update from translation team.
57606 2011-05-23 Ulrich Drepper <drepper@gmail.com>
57609 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57610 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57612 2011-05-20 Andreas Schwab <schwab@redhat.com>
57614 * stdlib/longlong.h: Update from GCC.
57616 2011-05-23 Andreas Schwab <schwab@redhat.com>
57618 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57620 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57621 Add parameter name.
57622 (__sysconf): Pass it down.
57624 2011-05-22 Ulrich Drepper <drepper@gmail.com>
57627 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57629 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57630 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57631 add in in __libc_use_alloca calls. Adjust callers.
57632 (glob): Use malloc in some situations.
57634 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57635 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57638 2011-05-21 Ulrich Drepper <drepper@gmail.com>
57640 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57641 and CLOCK_BOOTTIME_ALARM.
57644 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57647 * string/_strerror.c (__strerror_r): Print negative errors as signed
57651 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57652 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57653 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57655 * configure.in: Fix typo in redirection and correct removal of test
57656 files in two cases.
57659 * locale/setlocale.c (new_composite_name): Fix test to check for
57660 identical name of all categories.
57663 * libio/filedoalloc.c (local_isatty): New function.
57664 (_IO_file_doallocate): Use local_isatty.
57665 * stdio-common/perror.c (perror): In case a new stream is used
57666 forward the stream error.
57667 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57670 2011-05-20 Ulrich Drepper <drepper@gmail.com>
57673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57675 * include/alloca.h (extend_alloca_account): Define.
57678 * posix/regex.h: Fix comments with documentation of user-accessible
57679 fields after compilation and describe correct free'ing of pattern
57680 after re_compile_pattern.
57681 Patch by Reuben Thomas <rrt@sc3d.org>.
57683 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57685 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57686 and -mno-altivec to prevent the compiler from using Altivec and/or
57687 VSX instructions when the corresponding registers are not available.
57689 2011-05-19 Andreas Schwab <schwab@redhat.com>
57691 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57693 2011-05-19 Ulrich Drepper <drepper@gmail.com>
57695 * libio/freopen.c (freopen): Use __dup2, not dup2.
57696 * libio/freopen64.c (freopen64): Likewise.
57698 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57701 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57702 * math/Makefile (tests): Add test-powl.
57703 (CFLAGS-test-powl.c): Define.
57704 * math/test-powl.c: New file.
57706 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57708 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57710 2011-05-17 Ulrich Drepper <drepper@gmail.com>
57713 * iconvdata/gb18030.c: Update to GB18020-2005.
57715 2011-05-16 Ulrich Drepper <drepper@gmail.com>
57717 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57718 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57719 Patch by Aharon Robbins <arnold@skeeve.com>.
57722 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57726 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57727 through underflows.
57730 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57731 point to strings before performing equality test for error_one_per_line
57735 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57738 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57739 (struct user_fpregs_struct): Avoid __uint*_t types.
57742 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57743 symbol info. Use it instead of calling _dl_addr locally.
57744 (lock_and_info): New function.
57745 (tr_freehook): Call lock_and_info and pass symbol info as additional
57746 parameter to tr_where.
57747 (tr_mallochook): Likewise.
57748 (tr_reallochook): Likewise.
57749 (tr_memalignhook): Likewise.
57751 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57752 used and couldn't be at all thread-safe.
57754 2011-05-15 Ulrich Drepper <drepper@gmail.com>
57756 * libio/freopen.c (freopen): Don't close old file descriptor
57757 before the new one is opened. Instead dup the new file descriptor
57758 to the old one after the new stream is created.
57759 * libio/freopen64.c (freopen64): Likewise.
57760 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57761 * libio/fileops.c (_IO_new_file_close_it): Handle new
57762 _IO_FLAGS2_NOCLOSE flag.
57763 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57764 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57765 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57766 _IO_FLAGS2_NOCLOSE flag.
57767 * include/unistd.h: Add hidden_proto for dup3.
57768 Define __have_dup3.
57769 * io/dup3.c: Define hidden symbol.
57770 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57773 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57774 when an incomplete long option is used.
57775 * posix/tst-getopt_long1.c: New file.
57776 * posix/Makefile (tests): Add tst-getopt_long1.
57779 * scripts/config.guess: Update from autoconf-2.68.
57780 * scripts/config.sub: Likewise.
57783 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57785 (has_cpuclock): ...this. New function.
57786 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57787 macro here based on has_cpuclock code.
57790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57791 First byte (not low byte) is now always NUL.
57792 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57795 Use non-cancelable interfaces.
57798 * locale/iso-639.def: Add entry for Sorani.
57801 * include/stdlib.h: Move include protection to the right place.
57802 Define abort_msg_s. Declare __abort_msg with it.
57803 * stdlib/abort.c (__abort_msg): Adjust type.
57804 * assert/assert.c (__assert_fail_base): New function. Majority
57805 of code from __assert_fail. Allocate memory for __abort_msg with
57807 (__assert_fail): Now call __assert_fail_base.
57808 * assert/assert-perr.c: Remove bulk of implementation. Use
57809 __assert_fail_base.
57810 * include/assert.hL Declare __assert_fail_base.
57811 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57813 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57815 2011-05-14 Ulrich Drepper <drepper@gmail.com>
57819 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57820 until all modules are registered in the DTV.
57821 * elf/Makefile: Add rules to build and run tst-tls19.
57822 * elf/tst-tls19.c: New file.
57823 * elf/tst-tls19mod1.c: New file.
57824 * elf/tst-tls19mod2.c: New file.
57825 * elf/tst-tls19mod3.c: New file.
57826 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57829 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57833 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57834 two-byte sequence errors.
57835 * iconvdata/Makefile (tests): Add bug-iconv8.
57836 * iconvdata/bug-iconv8.c: New file.
57839 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57842 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57845 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57846 (dummy_getcfa): New function.
57847 (init): Get _Unwind_GetCFA address, use dummy if not found.
57848 (backtrace_helper): In recursion check, also check whether CFA changes.
57849 (__backtrace): Completely initialize arg.
57851 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57852 storing incomplete byte sequence in state object. Avoid testing for
57853 guaranteed too small input if we know there is enough data available.
57855 2011-05-11 Andreas Schwab <schwab@redhat.com>
57857 * Makeconfig (+link-pie): Indent.
57858 * Rules (binaries-pie): Define if $(have-fpie) and
57860 (binaries-shared): Also filter out $(binaries-pie).
57861 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57862 * nscd/Makefile (others-pie): Add nscd.
57863 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57864 ($(objpfx)nscd): Remove command override.
57865 * login/Makefile (others-pie): Add pt_chown.
57866 ($(objpfx)pt_chown): Remove command override.
57867 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57868 remove command overrides.
57870 2011-05-13 Ulrich Drepper <drepper@gmail.com>
57872 * libio/tst_putwc.c: Fix error messages.
57875 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57876 currently writing and seek to current position when not.
57877 * libio/Makefile (tests): Add bug-fclose1.
57878 * libio/bug-fclose1.c: New file.
57880 2011-05-12 Ulrich Drepper <drepper@gmail.com>
57883 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57884 don't set DF_1_NODELETE here.
57885 (do_lookup_x): When entering new entry test for copy relocation
57886 and if necessary set DF_1_NODELETE flag.
57887 * elf/tst-unique4.cc: New file.
57888 * elf/tst-unique4.h: New file.
57889 * elf/tst-unique4lib.cc: New file.
57890 * elf/Makefile: Add rules to build and run tst-unique4.
57891 Patch by Piotr Bury <pbury@goahead.com>.
57893 2011-05-11 Ulrich Drepper <drepper@gmail.com>
57896 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57899 * misc/mntent_r.c (addmntent): Flush the stream after the output
57902 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57903 (is_trusted_path_normalize): Skip initial colon. Append slash
57904 to empty buffer. Duplicate is_trusted_path code but allow
57905 constructed patch to be prefix.
57906 (is_dst): Allow $ORIGIN followed by /.
57907 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57908 Correct testing of result of is_trusted_path_normalize
57909 (decompose_rpath): Fix warning.
57911 2011-05-10 Ulrich Drepper <drepper@gmail.com>
57914 * grp/initgroups.c (internal_getgrouplist): When we found the service
57915 list through the initgroups entry in nsswitch.conf do not always
57916 continue on a successful lookup. Don't always use the
57917 __nss_group_database value if it is set.
57918 * nss/nsswitch.conf (initgroups): Change action for successful db
57919 lookup to continue for compatibility.
57921 2011-05-09 Ulrich Drepper <drepper@gmail.com>
57924 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57926 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57928 * iconvdata/tst-tables.sh: Likewise.
57929 * iconvdata/cp770.c: New file.
57930 * iconvdata/cp771.c: New file.
57931 * iconvdata/cp772.c: New file.
57932 * iconvdata/cp773.c: New file.
57933 * iconvdata/cp774.c: New file.
57934 * iconvdata/testdata/CP770: New file.
57935 * iconvdata/testdata/CP770..UTF8: New file.
57936 * iconvdata/testdata/CP771: New file.
57937 * iconvdata/testdata/CP771..UTF8: New file.
57938 * iconvdata/testdata/CP772: New file.
57939 * iconvdata/testdata/CP772..UTF8: New file.
57940 * iconvdata/testdata/CP773: New file.
57941 * iconvdata/testdata/CP773..UTF8: New file.
57942 * iconvdata/testdata/CP774: New file.
57943 * iconvdata/testdata/CP774..UTF8: New file.
57945 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57947 * iconvdata/gen-8bit-gap.sh: Likewise.
57948 * iconvdata/gen-8bit.sh: Likewise.
57950 * locale/iso-639.def: Add ary entry.
57953 * locale/C-translit.h.in: Add U20A1 transliteration.
57956 * locale/iso-639.def: Add wae entry.
57957 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57960 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57964 * locale/C-translit.h.in: Add entry for U20B9.
57965 Patch by pravin.d.s@gmail.com.
57967 2011-05-08 Ulrich Drepper <drepper@gmail.com>
57970 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57971 ENAMETOOLONG use generic getcwd.
57972 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
57973 in rtld. Use *stat64.
57974 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57975 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57976 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57977 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57978 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57979 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57980 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57981 __fstatat64 macros.
57982 * include/dirent.h: Add libc_hidden_proto for rewinddir.
57983 * dirent/rewinddir.c: Add libc_hidden_def.
57984 * sysdeps/mach/hurd/rewinddir.c: Likewise.
57985 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
57987 * include/dirent.h (__alloc_dir): Add flags parameter.
57988 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57989 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57991 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
57992 from fdopendir if O_CLOEXEC is already set.
57994 2011-03-15 Alan Modra <amodra@gmail.com>
57996 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57997 l_tls_firstbyte_offset non-zero. Save padding offset in
57998 l_tls_firstbyte_offset for later use.
57999 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58000 freeing static tls block.
58002 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
58004 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58005 where #ifdef was intended. The intent is to prevent ARG_MAX from
58006 being defined by the kernel headers.
58008 2011-05-07 Ulrich Drepper <drepper@gmail.com>
58011 * resolv/resolv.h: Define RES_NOTLDQUERY.
58012 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58013 no-tld-query and set RES_NOTLDQUERY.
58014 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58015 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58016 modern BIND to search name as TLD unless forbidden.
58018 2011-05-07 Petr Baudis <pasky@suse.cz>
58019 Ulrich Drepper <drepper@gmail.com>
58022 * elf/dl-load.c (fillin_rpath): Move trusted path check...
58023 (is_trusted_path): ...to here.
58024 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58025 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58026 using is_trusted_path_normalize() in setuid scripts.
58028 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58030 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58031 __BEGIN/__END_DECLS.
58033 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58035 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58036 NSS_STATUS_NOTFOUND if no record was found.
58038 2011-05-05 Andreas Schwab <schwab@redhat.com>
58040 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58041 (headers-not-in-tirpc): Remove rpc/netdb.h
58042 * resolv/netdb.h: Revert last change.
58044 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58046 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58047 circular dependency between libgcc.a and libc.a.
58049 2011-05-05 Andreas Schwab <schwab@redhat.com>
58051 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58052 * nis/Makefile: Don't install rpcsvc/*.
58053 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58054 instead of <rpc/types.h>.
58055 (MAXHOSTNAMELEN): Define.
58057 2011-05-03 Andreas Schwab <schwab@redhat.com>
58059 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58061 2011-04-28 Maciej Babinski <mbabinski@google.com>
58064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58065 gethostbyname4_r when IPv6 results are possible.
58067 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58070 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58071 _PC_PIPE_BUF handling.
58073 2011-04-30 Bruno Haible <bruno@clisp.org>
58076 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58077 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58079 * inet/getnameinfo.c (getnameinfo): Likewise.
58081 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58083 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58084 to groups setting in database lookup.
58085 * nss/nsswitch.conf: Add initgroups entry.
58087 2011-04-22 Ulrich Drepper <drepper@gmail.com>
58090 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58092 Patch by Eric Blake <eblake@redhat.com>.
58094 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
58096 * sunrpc/Makefile (need-export-routines): Add svc_run.
58097 (routines): Remove svc_run.
58098 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58099 * sunrpc/clnt_perr.c (clnt_perrno): Export.
58100 * sunrpc/svc_run.c (svc_run): Likewise.
58101 * sunrpc/svc_udp.c (svcudp_create): Likewise.
58103 2011-04-21 Ulrich Drepper <drepper@gmail.com>
58105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58106 problem in reallocation in last patch.
58108 2011-04-20 Ulrich Drepper <drepper@gmail.com>
58110 * sunrpc/Makefile: Move inclusion of Rules.
58112 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58114 * nss/nss_files/files-initgroups.c: New file.
58115 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58116 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58117 _nss_files_initgroups_dyn.
58119 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58121 * elf/elf.h (R_ARM_IRELATIVE): Define.
58123 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58125 * po/ru.po: Update from translation team.
58127 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58129 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58132 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58135 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58136 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58137 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58139 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58141 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58143 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58145 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58146 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58147 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58149 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58152 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58154 * stdlib/bug-getcontext.c: New file.
58155 * stdlib/Makefile: Add rules to build and run bug-getcontext.
58157 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58159 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58160 instructions into .machine "z9-109".
58161 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58162 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58164 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58166 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58167 between environment variables and auxiliary vector.
58169 2011-04-16 Ulrich Drepper <drepper@gmail.com>
58171 * Makefile: Add rules to build linkobj/libc.so.
58172 * include/libc-symbols.h: Define libc_hidden_nolink.
58173 * include/rpc/auth.h: Mark functions which are to be hidden.
58174 * include/rpc/auth_des.h: Likewise.
58175 * include/rpc/auth_unix.h: Likewise.
58176 * include/rpc/clnt.h: Likewise.
58177 * include/rpc/des_crypt.h: Likewise.
58178 * include/rpc/key_prot.h: Likewise.
58179 * include/rpc/pmap_clnt.h: Likewise.
58180 * include/rpc/pmap_prot.h: Likewise.
58181 * include/rpc/pmap_rmt.h: Likewise.
58182 * include/rpc/rpc_msg.h: Likewise.
58183 * include/rpc/svc.h: Likewise.
58184 * include/rpc/svc_auth.h: Likewise.
58185 * include/rpc/xdr.h: Likewise.
58186 * nis/Makefile: Link all DSOs against linkobj/libc.so.
58187 * nss/Makefile: Likewise.
58188 * sunrpc/Makefile: Don't install headers. Build library with normal
58189 entry points. Don't build rpcinfo. Link RPC tests appropriately.
58190 * sunrpc/auth_des.c: Hide exported symbols by default, export some
58191 for the compat linking library. Remove use of INTDEF/INTUSE.
58192 * sunrpc/auth_none.c: Likewise.
58193 * sunrpc/auth_unix.c: Likewise.
58194 * sunrpc/authdes_prot.c: Likewise.
58195 * sunrpc/authuxprot.c: Likewise.
58196 * sunrpc/clnt_gen.c: Likewise.
58197 * sunrpc/clnt_perr.c: Likewise.
58198 * sunrpc/clnt_raw.c: Likewise.
58199 * sunrpc/clnt_simp.c: Likewise.
58200 * sunrpc/clnt_tcp.c: Likewise.
58201 * sunrpc/clnt_udp.c: Likewise.
58202 * sunrpc/clnt_unix.c: Likewise.
58203 * sunrpc/des_crypt.c: Likewise.
58204 * sunrpc/des_soft.c: Likewise.
58205 * sunrpc/get_myaddr.c: Likewise.
58206 * sunrpc/key_call.c: Likewise.
58207 * sunrpc/key_prot.c: Likewise.
58208 * sunrpc/netname.c: Likewise.
58209 * sunrpc/pm_getmaps.c: Likewise.
58210 * sunrpc/pm_getport.c: Likewise.
58211 * sunrpc/pmap_clnt.c: Likewise.
58212 * sunrpc/pmap_prot.c: Likewise.
58213 * sunrpc/pmap_prot2.c: Likewise.
58214 * sunrpc/pmap_rmt.c: Likewise.
58215 * sunrpc/publickey.c: Likewise.
58216 * sunrpc/rpc_cmsg.c: Likewise.
58217 * sunrpc/rpc_common.c: Likewise.
58218 * sunrpc/rpc_dtable.c: Likewise.
58219 * sunrpc/rpc_prot.c: Likewise.
58220 * sunrpc/rpc_thread.c: Likewise.
58221 * sunrpc/rtime.c: Likewise.
58222 * sunrpc/svc.c: Likewise.
58223 * sunrpc/svc_auth.c: Likewise.
58224 * sunrpc/svc_authux.c: Likewise.
58225 * sunrpc/svc_raw.c: Likewise.
58226 * sunrpc/svc_run.c: Likewise.
58227 * sunrpc/svc_simple.c: Likewise.
58228 * sunrpc/svc_tcp.c: Likewise.
58229 * sunrpc/svc_udp.c: Likewise.
58230 * sunrpc/svc_unix.c: Likewise.
58231 * sunrpc/svcauth_des.c: Likewise.
58232 * sunrpc/xcrypt.c: Likewise.
58233 * sunrpc/xdr.c: Likewise.
58234 * sunrpc/xdr_array.c: Likewise.
58235 * sunrpc/xdr_float.c: Likewise.
58236 * sunrpc/xdr_intXX_t.c: Likewise.
58237 * sunrpc/xdr_mem.c: Likewise.
58238 * sunrpc/xdr_rec.c: Likewise.
58239 * sunrpc/xdr_ref.c: Likewise.
58240 * sunrpc/xdr_sizeof.c: Likewise.
58241 * sunrpc/xdr_stdio.c: Likewise.
58243 2011-04-10 Ulrich Drepper <drepper@gmail.com>
58246 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58247 * sysdeps/ia64/dl-tls.h: Likewise.
58248 * sysdeps/powerpc/dl-tls.h: Likewise.
58249 * sysdeps/s390/dl-tls.h: Likewise.
58250 * sysdeps/sh/dl-tls.h: Likewise.
58251 * sysdeps/sparc/dl-tls.h: Likewise.
58252 * sysdeps/x86_64/dl-tls.h: Likewise.
58253 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58255 2011-03-14 Andreas Schwab <schwab@redhat.com>
58257 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58258 rpath element also skip the following colon.
58259 (expand_dynamic_string_token): Add is_path parameter and pass
58260 down to DL_DST_REQUIRED and _dl_dst_substitute.
58261 (decompose_rpath): Call expand_dynamic_string_token with
58262 non-zero is_path. Ignore empty rpaths.
58263 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58266 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58271 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58274 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58275 Patch by Filipe David Manana <fdmanana@apache.org>.
58277 2011-04-07 Andreas Schwab <schwab@redhat.com>
58279 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58280 Maintain aligned stack.
58281 (CHECK_RSP): Remove unused macro.
58283 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58285 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58286 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58288 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58290 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58292 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58294 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58297 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58298 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58299 * sysdeps/x86_64/memmove.c: New file.
58300 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58301 (memcpy): Renamed to ...
58302 (__new_memcpy): This.
58303 (memcpy): Provide GLIBC_2_14 memcpy.
58304 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58305 (memcpy): Provide GLIBC_2_2_5 memcpy.
58307 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58310 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58312 2011-03-30 Andreas Schwab <schwab@redhat.com>
58314 * misc/syncfs.c: New file.
58315 * misc/Makefile (routines): Add syncfs.
58316 * posix/unistd.h: Declare syncfs.
58317 * sysdeps/unix/syscalls.list: Add syncfs.
58319 2011-04-01 Andreas Schwab <schwab@redhat.com>
58321 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58323 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58324 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58328 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58331 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58334 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58335 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58336 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58337 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58339 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58341 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58342 sync_file_range.c with -fexceptions.
58343 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58344 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58345 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58346 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58347 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58348 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58349 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58350 sync_file_range as cancellation point
58351 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58352 now a wrapper around __call_sync_file_range with cancellation handling.
58353 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58354 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58355 function name to __call_sync_file_range.
58356 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58357 Add call_sync_file_range.
58359 2011-04-01 Andreas Schwab <schwab@redhat.com>
58361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58364 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58366 * iconv/iconv.h: Fix typo in comment.
58367 * io/fcntl.h: Likewise.
58368 * libio/stdio.h: Likewise.
58369 * posix/spawn.h: Likewise.
58370 * posix/unistd.h: Likewise.
58371 * stdlib/stdlib.h: Likewise.
58372 * time/time.h: Likewise.
58373 * wcsmbs/wchar.h: Likewise.
58375 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58376 open_by_handle): Add.
58377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58378 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58379 Augment a few comments.
58380 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58382 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58384 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58385 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58388 * io/fcntl.h (AT_EMPTY_PATH): Define.
58390 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58392 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58393 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58394 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58396 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58397 * Versions.def: Add GLIBC_2.14.
58398 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58401 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58403 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58405 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58407 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58410 * string/test-strncmp.c (do_page_test): New function.
58411 (check2): Likewise.
58412 (test_main): Call check2.
58413 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58415 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58418 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58419 Handle cache information in CPU leaf 4.
58420 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58422 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58425 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58426 character representation.
58427 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58429 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58431 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58432 END(__isnan) to END(__isnanf) to match function entry point/label
58433 EALIGN(__isnanf,...).
58435 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58437 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58439 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58442 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58443 copy from the symbol referenced in the relocation to initialize the
58445 Patch by Piotr Bury <pbury@goahead.com>.
58446 * elf/Makefile: Add rules to build and tst-unique3.
58447 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58448 * elf/tst-unique3.cc: New file.
58449 * elf/tst-unique3.h: New file.
58450 * elf/tst-unique3lib.cc: New file.
58451 * elf/tst-unique3lib2.cc: New file.
58453 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58455 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58457 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58458 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58461 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58463 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58464 to-be-loaded object along a path to loader is ld.so.
58466 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58467 Ulrich Drepper <drepper@gmail.com>
58469 * sysdeps/x86_64/memset.S: After aligning destination, code
58470 branches to different locations depending on the value of
58471 misalignment, when multiarch is enabled. Fix this.
58473 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58475 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58476 Set _x86_64_preferred_memory_instruction for AMD processsors.
58477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58478 Set bit_Prefer_SSE_for_memop for AMD processors.
58480 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58482 * libio/fmemopen.c (fmemopen): Optimize a bit.
58484 2011-03-03 Andreas Schwab <schwab@redhat.com>
58486 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58488 2011-03-03 Roland McGrath <roland@redhat.com>
58490 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58492 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58494 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58495 __bzero_ultra1 instead of __memset_ultra1.
58497 2011-02-23 Andreas Schwab <schwab@redhat.com>
58498 Ulrich Drepper <drepper@gmail.com>
58501 * include/link.h (struct link_map): Add l_orig_initfini.
58502 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58503 returning unsuccessfully.
58504 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58505 close of a file loaded at startup, restore the original l_initfini
58507 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58508 list, store the pointer.
58509 * elf/Makefile ($(objpfx)noload-mem): New rule.
58510 (noload-ENV): Define.
58511 (tests): Add $(objpfx)noload-mem.
58512 * elf/noload.c: Include <memcheck.h>.
58513 (main): Call mtrace. Close all opened handles.
58515 2011-02-17 Andreas Schwab <schwab@redhat.com>
58518 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58519 dependencies are missing.
58521 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58523 Fix __if_freereq crash: Unlike the generic version which uses free,
58525 * sysdeps/mach/hurd/ifreq.h: New file.
58527 2011-01-27 Petr Baudis <pasky@suse.cz>
58528 Ulrich Drepper <drepper@gmail.com>
58531 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58532 to extend_alloca().
58533 * stdio-common/bug23.c: New file.
58534 * stdio-common/Makefile (tests): Add bug23.
58536 2010-09-28 Andreas Schwab <schwab@redhat.com>
58537 Ulrich Drepper <drepper@gmail.com>
58540 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58541 before performing relro protection. At old place add assertion
58542 to make sure nothing changed.
58544 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58545 Glauber de Oliveira Costa <glommer@gmail.com>
58547 * elf/elf.h: Add new ARM TLS relocs.
58549 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58552 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58554 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58556 * sysdeps/wordsize-64/tst-writev.c: New file.
58558 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58560 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58561 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58562 insns in _dl_start to prevent a TOC reference before relocs are
58565 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58568 * Makeconfig: Remove RANLIB definition.
58569 * Makerules: Don't use RANLIB.
58570 * aclocal.m4: Remove ranlib test.
58571 * configure.in: No need to check for ranlib.
58572 * elf/rtld-Rules: Don't use RANLIB.
58574 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58576 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58578 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58579 inclusion protection macro.
58581 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58582 SIGRTMIN and SIGRTMAX and print information in that case only when
58583 SIGRTMIN is defined.
58585 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58587 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58588 arginfo fn returning -1.
58590 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58591 and thousands string is zero terminated.
58593 2011-02-03 Andreas Schwab <schwab@redhat.com>
58595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58596 sysdeps/unix/sysv/linux/bits/socket.h.
58598 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58600 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58601 (__CPU_COUNT): Remove old macros.
58602 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58603 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58604 (__CPU_ALLOC, __CPU_FREE): Add macros.
58605 (__sched_cpualloc, __sched_cpufree): Add declarations.
58607 2011-02-05 Ulrich Drepper <drepper@gmail.com>
58609 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58610 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58611 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58612 (readdhstai): Return value of addhstaiX call.
58613 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58614 (addgrbyX): Return value returned by cache_addgr.
58615 (readdgrbyname): Return value returned by addgrbyX.
58616 (readdgrbygid): Likewise.
58617 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58618 (addpwbyX): Return value returned by cache_addpw.
58619 (readdpwbyname): Return value returned by addhstbyX.
58620 (readdpwbyuid): Likewise.
58621 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58622 (addservbyX): Return value returned by cache_addserv.
58623 (readdservbyname): Return value returned by addservbyX:
58624 (readdservbyport): Likewise.
58625 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58626 (addhstbyX): Return value returned by cache_addhst.
58627 (readdhstbyname): Return value returned by addhstbyX.
58628 (readdhstbyaddr): Likewise.
58629 (readdhstbynamev6): Likewise.
58630 (readdhstbyaddrv6): Likewise.
58631 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58632 (readdinitgroups): Return value returned by addinitgroupsX.
58633 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58634 (prune_cache): Keep track of timeout value of re-added entries.
58635 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58636 * nscd/nscd.h: Adjust prototypes of readd* functions.
58638 2011-02-04 Roland McGrath <roland@redhat.com>
58640 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58641 (nis_stats): Likewise.
58642 * nis/nis_modify.c (nis_modify): Likewise.
58643 * nis/nis_remove.c (nis_remove): Likewise.
58644 * nis/nis_add.c (nis_add): Likewise.
58646 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58648 * posix/fnmatch_loop.c: Add some consts.
58650 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58652 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58655 * config.make.in (config-cflags-novzeroupper): Define.
58656 * configure.in: Substitute libc_cv_cc_novzeroupper.
58657 * elf/Makefile (AVX-CFLAGS): Define.
58658 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58659 (CFLAGS-tst-auditmod4a.c): Likewise.
58660 (CFLAGS-tst-auditmod4b.c): Likewise.
58661 (CFLAGS-tst-auditmod6b.c): Likewise.
58662 (CFLAGS-tst-auditmod6c.c): Likewise.
58663 (CFLAGS-tst-auditmod7b.c): Likewise.
58664 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58666 2011-02-02 Ulrich Drepper <drepper@gmail.com>
58668 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58669 function to the callback.
58670 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58672 2011-02-02 Andreas Schwab <schwab@redhat.com>
58674 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58677 2011-01-19 Ulrich Drepper <drepper@gmail.com>
58680 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58682 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58684 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58687 * elf/Makefile: Add rules to build and run new test.
58688 * elf/tst-initorder.c: New file.
58689 * elf/tst-initorder.exp: New file.
58690 * elf/tst-initordera1.c: New file.
58691 * elf/tst-initordera2.c: New file.
58692 * elf/tst-initordera3.c: New file.
58693 * elf/tst-initordera4.c: New file.
58694 * elf/tst-initorderb1.c: New file.
58695 * elf/tst-initorderb2.c: New file.
58696 * elf/tst-order-a1.c: New file.
58697 * elf/tst-order-a2.c: New file.
58698 * elf/tst-order-a3.c: New file.
58699 * elf/tst-order-a4.c: New file.
58700 * elf/tst-order-b1.c: New file.
58701 * elf/tst-order-b2.c: New file.
58702 * elf/tst-order-main.c: New file.
58703 New test case by George Gensure <werkt0@gmail.com>.
58705 2010-10-01 Andreas Schwab <schwab@redhat.com>
58707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58708 decoding ACE if AI_CANONIDN.
58710 2011-01-18 Ulrich Drepper <drepper@gmail.com>
58712 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58714 2011-01-17 Ulrich Drepper <drepper@gmail.com>
58716 * version.h (RELEASE): Bump for 2.13 release.
58717 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58719 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58721 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58723 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58724 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58725 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58726 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58727 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58728 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58730 * posix/getconf.c: Update copyright year.
58731 * catgets/gencat.c: Likewise.
58732 * csu/version.c: Likewise.
58733 * debug/catchsegv.sh: Likewise.
58734 * debug/xtrace.sh: Likewise.
58735 * elf/ldconfig.c: Likewise.
58736 * elf/ldd.bash.in: Likewise.
58737 * elf/sprof.c (print_version): Likewise.
58738 * iconv/iconv_prog.c: Likewise.
58739 * iconv/iconvconfig.c: Likewise.
58740 * locale/programs/locale.c: Likewise.
58741 * locale/programs/localedef.c: Likewise.
58742 * malloc/memusage.sh: Likewise.
58743 * malloc/mtrace.pl: Likewise.
58744 * nscd/nscd.c (print_version): Likewise.
58745 * nss/getent.c: Likewise.
58747 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58748 PF_CAIF, and PF_ALG.
58749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58751 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58753 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58754 (modules-names): Use them.
58755 (ifunc-test-modules, ifunc-pie-tests): Define.
58756 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58757 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58758 (test-extras): Likewise.
58759 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58760 $(compile-command.c).
58761 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58762 (all-built-dso): Define.
58763 (check-textrel.out, check-execstack.out): Depend on it.
58765 * configure.in: Don't override --enable-multi-arch.
58767 2011-01-15 Ulrich Drepper <drepper@gmail.com>
58770 * nscd/hstcache.c (tryagain): Define.
58771 (cache_addhst): Return tryagain not notfound for temporary errors.
58772 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58775 2011-01-14 Ulrich Drepper <drepper@gmail.com>
58778 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58779 to make the syscall.
58780 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58783 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58784 and fall back to matching as normal character if the string ends before
58785 the matching ']' is found. This is what POSIX requires.
58786 * posix/testfnm.c: Adjust test result.
58787 * posix/globtest.sh: Adjust test result. Add new test.
58788 * posix/tst-fnmatch.input: Likewise.
58789 * posix/tst-fnmatch2.c: Add new test.
58791 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58793 * elf/Makefile (check-execstack): Revert last change. Depend on
58795 (check-execstack.h): New target.
58796 (generated): Add check-execstack.h.
58797 * elf/check-execstack.c: Include "check-execstack.h".
58798 (main): Revert last change.
58799 (handle_file): Return zero if GNU_STACK is absent and
58800 DEFAULT_STACK_PERMS doesn't include PF_X.
58802 2011-01-13 Ulrich Drepper <drepper@gmail.com>
58804 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58805 in child fails because the descriptor is already closed.
58806 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58807 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58808 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58811 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58815 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58816 temporary buffer used to handle multi lookups locally.
58817 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58819 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58821 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58824 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58826 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58827 alignment for SSE2.
58829 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58832 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58833 characters. When rounding increased number of integer digits recompute
58835 * stdio-common/tst-grouping.c: New file.
58836 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58838 2011-01-09 Ulrich Drepper <drepper@gmail.com>
58840 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58841 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58843 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58845 * bits/select.h: Likewise.
58847 2011-01-08 Ulrich Drepper <drepper@gmail.com>
58849 * po/ja.po: Update from translation team.
58851 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
58854 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58855 implementation just like for lxstat, fxstatat, et al.
58857 2010-12-27 Jim Meyering <meyering@redhat.com>
58860 * posix/regexec.c (build_trtable): Return failure indication upon
58861 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58863 2010-12-25 Ulrich Drepper <drepper@gmail.com>
58866 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58867 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58868 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58869 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58872 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58875 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58876 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58878 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58880 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58881 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58882 script has SORT_BY_INIT_PRIORITY.
58883 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58884 NO_CTORS_DTORS_SECTIONS is defined.
58885 * elf/soinit.c: Likewise.
58886 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58887 NO_CTORS_DTORS_SECTIONS is defined.
58888 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58889 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58890 * sysdeps/sh/init-first.c: Likewise.
58891 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58893 2010-12-24 Ulrich Drepper <drepper@gmail.com>
58895 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58896 always use the slow path.
58898 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58900 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58901 similar rule which adds the sysdep directories to the header search in
58902 order to pick up the correct platform stackinfo.h.
58903 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58904 perform test if it is, otherwise return successfully without testing.
58905 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58906 DEFAULT_STACK_PERMS define in stackinfo.h.
58907 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58908 defined in stackinfo.h.
58909 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58910 DEFAULT_STACK_PERMS defined in stackinfo.h.
58911 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58912 * sysdeps/ia64/stackinfo.h: Likewise.
58913 * sysdeps/s390/stackinfo.h: Likewise.
58914 * sysdeps/sh/stackinfo.h: Likewise.
58915 * sysdeps/sparc/stackinfo.h: Likewise.
58916 * sysdeps/x86_64/stackinfo.h: Likewise.
58917 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58918 PF_X for powerpc64. Retain PF_X for powerpc32.
58920 2010-12-19 Ulrich Drepper <drepper@gmail.com>
58922 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58924 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58925 GETDENTS_64BIT_ALIGNED.
58927 2010-12-14 Ulrich Drepper <dreper@gmail.com>
58929 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58931 2010-12-10 Andreas Schwab <schwab@redhat.com>
58933 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58936 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58937 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58939 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58940 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58942 2010-12-09 Ulrich Drepper <drepper@gmail.com>
58945 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58948 2010-12-09 Jakub Jelinek <jakub@redhat.com>
58950 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58952 2010-12-03 Ulrich Drepper <drepper@gmail.com>
58954 * po/it.po: Update from translation team.
58956 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58961 2010-11-30 Ulrich Drepper <drepper@gmail.com>
58963 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58965 2010-11-24 Andreas Schwab <schwab@redhat.com>
58967 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58969 (gaih_getanswer_slice): Likewise.
58971 2010-10-20 Jakub Jelinek <jakub@redhat.com>
58973 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58975 2010-05-31 Petr Baudis <pasky@suse.cz>
58978 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58979 silently even in the chroot mode.
58981 2010-11-22 Ulrich Drepper <drepper@gmail.com>
58983 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58984 last patch a bit. Pretty printing
58986 2010-05-31 Petr Baudis <pasky@suse.cz>
58989 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58990 initialization of skip_initgroups_dyn.
58992 2010-11-19 Ulrich Drepper <drepper@gmail.com>
58994 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58995 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58997 2010-11-16 Ulrich Drepper <drepper@gmail.com>
58999 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59001 2010-11-11 Andreas Schwab <schwab@redhat.com>
59003 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59004 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59005 (tst-fnmatch-ENV): Set MALLOC_TRACE.
59006 ($(objpfx)tst-fnmatch-mem): New rule.
59007 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59008 * posix/tst-fnmatch.c (main): Call mtrace.
59010 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
59012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59013 Support Intel processor model 6 and model 0x2c.
59015 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
59017 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59020 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
59023 * string/test-strncasecmp.c (check_result): New function.
59024 (do_one_test): Use it.
59025 (check1): New function.
59026 (test_main): Use it.
59027 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59028 Support strcasecmp and strncasecmp.
59030 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59033 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59034 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59036 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59038 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59042 * sysdeps/x86_64/multiarch/bzero.S: New file.
59043 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59044 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59045 * sysdeps/x86_64/multiarch/memset.S: New file.
59046 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59048 Set bit_Prefer_SSE_for_memop for Intel processors.
59049 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59051 (index_Prefer_SSE_for_memop): Define.
59052 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59054 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59056 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59057 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59059 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59062 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59063 (__x86_64_raw_data_cache_size_half): Likewise.
59064 (__x86_64_raw_shared_cache_size): Likewise.
59065 (__x86_64_raw_shared_cache_size_half): Likewise.
59067 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59068 (__x86_64_raw_data_cache_size_half): Likewise.
59069 (__x86_64_raw_shared_cache_size): Likewise.
59070 (__x86_64_raw_shared_cache_size_half): Likewise.
59071 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59072 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59073 and __x86_64_raw_shared_cache_size_half. Round
59074 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59075 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59076 to multiple of 256 bytes.
59078 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59081 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59082 of inacessible symlinks. Verify result of symlink before returning it.
59083 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59084 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59086 2010-10-28 Erich Ritz <erichritz@gmail.com>
59088 * math/math.h (isinf): Fix typo in comment.
59090 2010-11-01 Ulrich Drepper <drepper@gmail.com>
59092 * po/da.po: Update from translation team.
59094 2010-10-26 Ulrich Drepper <drepper@gmail.com>
59096 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59097 is added to the list.
59099 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59100 Ulrich Drepper <drepper@gmail.com>
59102 * elf/dl-object.c (_dl_new_object): Don't append the new object to
59103 the global list here. Move code to...
59104 (_dl_add_to_namespace_list): ...here. New function.
59105 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59106 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59107 * elf/dl-load.c (lose): Don't remove the element from the list.
59108 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59109 (_dl_map_object): Likewise.
59111 2010-10-25 Ulrich Drepper <drepper@gmail.com>
59114 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59115 into all bytes of SSE register.
59116 Patch by Richard Li <richardpku@gmail.com>.
59118 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59121 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59124 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59126 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59127 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59128 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59129 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59134 2010-10-22 Andreas Schwab <schwab@redhat.com>
59136 * include/dlfcn.h (__RTLD_SECURE): Define.
59137 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59138 mode & __RTLD_SECURE instead.
59139 (open_path): Rename preloaded parameter to secure.
59140 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59141 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59142 * elf/dl-deps.c (openaux): Likewise.
59143 * elf/rtld.c (struct map_args): Remove is_preloaded.
59144 (map_doit): Don't use it.
59145 (dl_main): Likewise.
59146 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59147 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59149 2010-09-09 Andreas Schwab <schwab@redhat.com>
59151 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59152 (sysd-rules-targets): Remove duplicates.
59153 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59154 rtld-%.$o dependency.
59156 2010-10-18 Andreas Schwab <schwab@redhat.com>
59158 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59159 _dl_map_object do it.
59161 2010-10-19 Ulrich Drepper <drepper@gmail.com>
59163 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59164 fast fma builtins, define the macros in the C99 standard.
59165 (FP_FAST_FMAF): Likewise.
59166 (FP_FAST_FMAL): Likewise.
59167 * sysdeps/x86_64/bits/mathdef.h: Likewise.
59169 * bits/mathdef.h: Update copyright year.
59170 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59172 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
59174 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59175 builtins, define the macros in the C99 standard.
59176 (FP_FAST_FMAF): Likewise.
59177 (FP_FAST_FMAL): Likewise.
59178 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59180 (FP_FAST_FMAF): Likewise.
59182 2010-10-15 Jakub Jelinek <jakub@redhat.com>
59185 * math/libm-test.inc (fma_test): Some new testcases.
59186 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59187 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59188 y and infinite z. Do multiplication by C already in long double.
59189 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59191 y and infinite z. Do bitwise or of inexact bit into u.d.
59192 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59193 * sysdeps/i386/fpu/s_fmaf.S: Removed.
59194 * sysdeps/i386/fpu/s_fma.S: Removed.
59195 * sysdeps/i386/fpu/s_fmal.S: Removed.
59197 2010-10-16 Jakub Jelinek <jakub@redhat.com>
59200 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59202 computation is not scheduled after fetestexcept. Fix value
59203 of minimum denormal long double.
59205 2010-10-14 Jakub Jelinek <jakub@redhat.com>
59208 * math/libm-test.inc (fma_test): Add some more tests.
59209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59212 2010-10-15 Andreas Schwab <schwab@redhat.com>
59214 * scripts/data/localplt-s390-linux-gnu.data: New file.
59215 * scripts/data/localplt-s390x-linux-gnu.data: New file.
59217 2010-10-13 Jakub Jelinek <jakub@redhat.com>
59220 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59221 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59223 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59225 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59227 if one of x and y is very large and the other is subnormal.
59228 * sysdeps/s390/fpu/s_fmaf.c: New file.
59229 * sysdeps/s390/fpu/s_fma.c: New file.
59230 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59231 * sysdeps/powerpc/fpu/s_fma.S: New file.
59232 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59233 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59234 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59236 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59239 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59241 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59242 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59243 * sysdeps/i386/i686/multiarch/s_fma.c: Include
59244 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59245 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59246 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59247 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59249 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59252 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59253 * posix/bug-regex31.input: Add test case.
59255 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59257 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59258 * posix/bug-regex31.input: New file.
59261 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59262 (parse_sub_exp): Fix last change, use postorder.
59264 * posix/bug-regex31.c: New file.
59265 * posix/Makefile: Add rules to build and run bug-regex31.
59267 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59270 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59273 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59274 to have entries in sys_siglist.
59277 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59280 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59283 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59284 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59285 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59286 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59287 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59288 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59289 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59290 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59291 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59292 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59293 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59294 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59295 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59296 * math/ftestexcept.c (fetestexcept): Likewise.
59297 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59298 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59299 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59300 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59301 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59302 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59303 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59305 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59308 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59311 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59313 * string/bug-strstr1.c: New file.
59314 * string/Makefile: Add rules to build and run bug-strstr1.
59316 2010-10-05 Eric Blake <eblake@redhat.com>
59319 * string/str-two-way.h (two_way_long_needle): Always clear memory
59320 when skipping input due to the shift table.
59322 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59325 * malloc/mcheck.c: Handle large requests.
59328 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59329 for strncmp and strncasecmp.
59330 * string/stratcliff.c: Add tests for strcmp and strncmp.
59331 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59333 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59335 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59338 2010-09-30 Andreas Jaeger <aj@suse.de>
59340 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59341 (CGROUP_SUPER_MAGIC): Define.
59342 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59343 Handle btrfs and cgroup file systems.
59344 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59347 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59349 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59350 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59352 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59355 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59356 trying to locate the ELF header.
59358 2010-09-27 Andreas Schwab <schwab@redhat.com>
59361 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59362 Mask out sign-bit copies when constructing f_fsid.
59364 2010-09-24 Petr Baudis <pasky@suse.cz>
59366 * debug/stack_chk_fail_local.c: Add missing licence exception.
59367 * debug/warning-nop.c: Likewise.
59369 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59371 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59372 implementing getdents64 using getdents syscall, set d_type if
59373 __ASSUME_GETDENTS32_D_TYPE.
59375 2010-09-16 Andreas Schwab <schwab@redhat.com>
59377 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59378 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59380 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59383 * posix/unistd.h: Undo change of feature selection for ftruncate from
59386 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59388 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59391 2010-09-20 Andreas Schwab <schwab@redhat.com>
59393 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59395 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59397 2010-09-14 Andreas Schwab <schwab@redhat.com>
59399 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59400 variables after CHECK_SP call.
59401 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59403 2010-09-13 Andreas Schwab <schwab@redhat.com>
59404 Ulrich Drepper <drepper@redhat.com>
59406 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59407 re-relocationg ld.so.
59408 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59409 _dl_init_paths call.
59410 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59413 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59415 * resolv/res_init.c (__res_vinit): Count the default server we added.
59417 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59418 Ulrich Drepper <drepper@redhat.com>
59421 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59422 (____longjmp_chk): Use %ebx for saving value across system call.
59425 2010-09-06 Andreas Schwab <schwab@redhat.com>
59427 * manual/Makefile: Don't mix pattern rules with normal rules.
59429 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59431 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59433 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59434 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59435 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59436 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59437 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59440 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59443 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59444 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59446 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59448 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59449 * sysdeps/x86_64/addmul_1.S: Likewise.
59450 * sysdeps/x86_64/lshift.S: Likewise.
59451 * sysdeps/x86_64/mul_1.S: Likewise.
59452 * sysdeps/x86_64/rshift.S: Likewise.
59453 * sysdeps/x86_64/sub_n.S: Likewise.
59454 * sysdeps/x86_64/submul_1.S: Likewise.
59456 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59458 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59459 Define __sched_param instead of SCHED_* and sched_param when
59460 <bits/sched.h> is included with __need_schedparam defined.
59461 * bits/sched.h [__need_schedparam]
59462 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59463 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59464 (__defined_schedparam): Define to 1.
59465 (__sched_param): New structure, identical to sched_param.
59466 (__need_schedparam): Undefine.
59468 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59471 (epoll_create1): Declare.
59473 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59475 2010-08-31 Andreas Schwab <schwab@redhat.com>
59478 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59479 shifting retval into place.
59481 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59483 * nis/rpcsvc/nis.h: Update copyright notice.
59484 * nis/rpcsvc/nis.x: Likewise.
59485 * nis/rpcsvc/nis_callback.h: Likewise.
59486 * nis/rpcsvc/nis_callback.x: Likewise.
59487 * nis/rpcsvc/nis_object.x: Likewise.
59488 * nis/rpcsvc/nis_tags.h: Likewise.
59489 * nis/rpcsvc/yp.h: Likewise.
59490 * nis/rpcsvc/yp.x: Likewise.
59491 * nis/rpcsvc/ypupd.h: Likewise.
59492 * nis/yp_xdr.c: Likewise.
59493 * nis/ypupdate_xdr.c: Likewise.
59495 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59496 mainly the body of pmap_getport. Add parameters to specify timeouts.
59497 (pmap_getport): Use __libc_rpc_getport.
59498 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59499 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59500 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59502 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59507 2010-08-27 Roland McGrath <roland@redhat.com>
59509 * sysdeps/i386/i686/multiarch/Makefile
59510 (CFLAGS-varshift.c): New variable.
59512 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59514 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59515 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59519 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59521 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59523 * sysdeps/x86_64/strlen.S: Unroll the loop.
59524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59525 strlen-sse2 strlen-sse2-bsf.
59526 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59527 __strlen_no_bsf if bit_Slow_BSF is set.
59528 (__strlen_sse42): Removed.
59529 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59530 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59532 2010-08-25 Roland McGrath <roland@redhat.com>
59534 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59535 * sysdeps/x86_64/multiarch/varshift.c: New file.
59536 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59537 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59538 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59539 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59541 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59544 strlen-sse2 strlen-sse2-bsf.
59545 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59546 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59547 (__strlen_sse2): Removed.
59548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59549 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59551 bit_Slow_BSF for Atom.
59552 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59553 (index_Slow_BSF): Define.
59554 (HAS_SLOW_BSF): Define.
59556 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59559 * resolv/res_init.c (__res_vinit): When no server address at all
59560 is given default to loopback.
59562 2010-08-24 Roland McGrath <roland@redhat.com>
59564 * configure.in: Remove config-name.h generation.
59565 * configure: Regenerated.
59566 * config-name.in: File removed.
59567 * scripts/config-uname.sh: New file.
59568 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59569 ($(objdir)config-name.h): New target.
59571 * sunrpc/rpc_parse.h: Avoid nested comment.
59573 2010-08-24 Richard Henderson <rth@redhat.com>
59574 Ulrich Drepper <drepper@redhat.com>
59575 H.J. Lu <hongjiu.lu@intel.com>
59577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59579 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59580 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59581 _mm_alignr_epi8 with _mm_loadu_si128.
59582 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59583 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59584 (__m128i_shift_right): Removed.
59585 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59586 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59587 * sysdeps/x86_64/multiarch/varshift.h: New file.
59588 * sysdeps/x86_64/multiarch/varshift.S: New file.
59590 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59592 * configure.in: Move assembler checks to before sysdep dir checking.
59594 2010-08-20 Petr Baudis <pasky@suse.cz>
59596 * LICENSES: Sync the sunrpc license.
59598 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59600 * sunrpc/auth_des.c: Update copyright notice once again.
59601 * sunrpc/auth_none.c: Likewise.
59602 * sunrpc/auth_unix.c: Likewise.
59603 * sunrpc/authdes_prot.c: Likewise.
59604 * sunrpc/authuxprot.c: Likewise.
59605 * sunrpc/bindrsvprt.c: Likewise.
59606 * sunrpc/clnt_gen.c: Likewise.
59607 * sunrpc/clnt_perr.c: Likewise.
59608 * sunrpc/clnt_raw.c: Likewise.
59609 * sunrpc/clnt_simp.c: Likewise.
59610 * sunrpc/clnt_tcp.c: Likewise.
59611 * sunrpc/clnt_udp.c: Likewise.
59612 * sunrpc/clnt_unix.c: Likewise.
59613 * sunrpc/des_crypt.c: Likewise.
59614 * sunrpc/des_soft.c: Likewise.
59615 * sunrpc/get_myaddr.c: Likewise.
59616 * sunrpc/getrpcport.c: Likewise.
59617 * sunrpc/key_call.c: Likewise.
59618 * sunrpc/key_prot.c: Likewise.
59619 * sunrpc/openchild.c: Likewise.
59620 * sunrpc/pm_getmaps.c: Likewise.
59621 * sunrpc/pm_getport.c: Likewise.
59622 * sunrpc/pmap_clnt.c: Likewise.
59623 * sunrpc/pmap_prot.c: Likewise.
59624 * sunrpc/pmap_prot2.c: Likewise.
59625 * sunrpc/pmap_rmt.c: Likewise.
59626 * sunrpc/rpc/auth.h: Likewise.
59627 * sunrpc/rpc/auth_unix.h: Likewise.
59628 * sunrpc/rpc/clnt.h: Likewise.
59629 * sunrpc/rpc/des_crypt.h: Likewise.
59630 * sunrpc/rpc/key_prot.h: Likewise.
59631 * sunrpc/rpc/netdb.h: Likewise.
59632 * sunrpc/rpc/pmap_clnt.h: Likewise.
59633 * sunrpc/rpc/pmap_prot.h: Likewise.
59634 * sunrpc/rpc/pmap_rmt.h: Likewise.
59635 * sunrpc/rpc/rpc.h: Likewise.
59636 * sunrpc/rpc/rpc_des.h: Likewise.
59637 * sunrpc/rpc/rpc_msg.h: Likewise.
59638 * sunrpc/rpc/svc.h: Likewise.
59639 * sunrpc/rpc/svc_auth.h: Likewise.
59640 * sunrpc/rpc/types.h: Likewise.
59641 * sunrpc/rpc/xdr.h: Likewise.
59642 * sunrpc/rpc_clntout.c: Likewise.
59643 * sunrpc/rpc_cmsg.c: Likewise.
59644 * sunrpc/rpc_common.c: Likewise.
59645 * sunrpc/rpc_cout.c: Likewise.
59646 * sunrpc/rpc_dtable.c: Likewise.
59647 * sunrpc/rpc_hout.c: Likewise.
59648 * sunrpc/rpc_main.c: Likewise.
59649 * sunrpc/rpc_parse.c: Likewise.
59650 * sunrpc/rpc_parse.h: Likewise.
59651 * sunrpc/rpc_prot.c: Likewise.
59652 * sunrpc/rpc_sample.c: Likewise.
59653 * sunrpc/rpc_scan.c: Likewise.
59654 * sunrpc/rpc_scan.h: Likewise.
59655 * sunrpc/rpc_svcout.c: Likewise.
59656 * sunrpc/rpc_tblout.c: Likewise.
59657 * sunrpc/rpc_util.c: Likewise.
59658 * sunrpc/rpc_util.h: Likewise.
59659 * sunrpc/rpcinfo.c: Likewise.
59660 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59661 * sunrpc/rpcsvc/key_prot.x: Likewise.
59662 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59663 * sunrpc/rpcsvc/mount.x: Likewise.
59664 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59665 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59666 * sunrpc/rpcsvc/rex.x: Likewise.
59667 * sunrpc/rpcsvc/rstat.x: Likewise.
59668 * sunrpc/rpcsvc/rusers.x: Likewise.
59669 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59670 * sunrpc/rpcsvc/spray.x: Likewise.
59671 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59672 * sunrpc/rtime.c: Likewise.
59673 * sunrpc/svc.c: Likewise.
59674 * sunrpc/svc_auth.c: Likewise.
59675 * sunrpc/svc_authux.c: Likewise.
59676 * sunrpc/svc_raw.c: Likewise.
59677 * sunrpc/svc_run.c: Likewise.
59678 * sunrpc/svc_simple.c: Likewise.
59679 * sunrpc/svc_tcp.c: Likewise.
59680 * sunrpc/svc_udp.c: Likewise.
59681 * sunrpc/svc_unix.c: Likewise.
59682 * sunrpc/svcauth_des.c: Likewise.
59683 * sunrpc/xcrypt.c: Likewise.
59684 * sunrpc/xdr.c: Likewise.
59685 * sunrpc/xdr_array.c: Likewise.
59686 * sunrpc/xdr_float.c: Likewise.
59687 * sunrpc/xdr_mem.c: Likewise.
59688 * sunrpc/xdr_rec.c: Likewise.
59689 * sunrpc/xdr_ref.c: Likewise.
59690 * sunrpc/xdr_sizeof.c: Likewise.
59691 * sunrpc/xdr_stdio.c: Likewise.
59693 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59696 2010-08-19 Andreas Schwab <schwab@redhat.com>
59698 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59700 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
59702 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59703 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59704 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59705 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59706 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59707 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59708 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59709 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59710 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59711 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59712 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59713 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59714 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59715 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59717 2010-07-26 Anton Blanchard <anton@samba.org>
59719 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59720 * malloc/arena.c (heap_trim): Likewise.
59722 2010-08-16 Ulrich Drepper <drepper@redhat.com>
59724 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59727 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59729 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59731 * sysdeps/i386/elf/Makefile: New file.
59733 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59735 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59736 from fanotify_init.
59737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59740 2010-08-15 Ulrich Drepper <drepper@redhat.com>
59742 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59744 * sysdeps/multiarch/strcmp.S: Likewise.
59746 2010-08-14 Ulrich Drepper <drepper@redhat.com>
59748 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59749 strncase_l-nonascii.
59750 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59751 Add strncase_l-ssse3.
59752 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59753 * sysdeps/x86_64/strcmp.S: Likewise.
59754 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59755 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59756 * sysdeps/x86_64/strncase.S: New file.
59757 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59758 * sysdeps/x86_64/strncase_l.S: New file.
59759 * string/Makefile (strop-tests): Add strncasecmp.
59760 * string/test-strncasecmp.c: New file.
59762 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59765 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59766 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59768 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59770 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59772 2010-08-12 Ulrich Drepper <drepper@redhat.com>
59774 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59775 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59776 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59778 2010-05-01 Alan Modra <amodra@gmail.com>
59780 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59781 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59782 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59783 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59784 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59785 tidying. Don't tail-call __sigjmp_save for static lib.
59786 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59788 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59789 (CALL_MCOUNT): Add eh info, and nop after bl.
59790 (TAIL_CALL_SYSCALL_ERROR): New macro.
59791 (PSEUDO_RET): Use it.
59792 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59793 Correct save location of integer regs and cr.
59794 (_dl_profile_resolve): Correct cr save location. Delete nops
59795 after bl when SHARED. Reduce cfi size a little by better
59796 placement of cfi directives.
59797 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59798 make a stack frame. Instead use parm save area as a temp.
59799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59800 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59802 Don't make a stack frame for parent, use parm save area.
59803 Increase child stack frame to 112 bytes. Don't save unused reg,
59804 and adjust reg usage. Set up cfi on error recovery and
59805 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59807 (__makecontext): Add dummy nop after jump to exit.
59808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59809 Use correct parm save area and cr save, reduce stack frame.
59810 Correct cfi for possible PSEUDO_RET frame setup.
59811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59812 Branch to local label emitted by PSEUDO_RET rather than
59815 2010-08-12 Andreas Schwab <schwab@redhat.com>
59818 * locale/programs/locale.c (print_assignment): New function.
59819 (show_locale_vars): Use it.
59821 2010-08-11 Ulrich Drepper <drepper@redhat.com>
59823 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59825 (struct statfs64): Likewise.
59826 (_STATFS_F_FLAGS): Define.
59827 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59828 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59829 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59830 (ST_VALID): Define locally.
59831 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59832 __statvfs_getflags, use the provided value.
59833 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59834 __ASSUME_STATFS_F_FLAGS.
59836 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59838 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59839 Add sys/fanotify.h.
59840 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59841 fanotify_mask for GLIBC_2.13.
59842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59843 fanotify_init and fanotify_mark.
59844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59845 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59847 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59849 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59850 prlimit64 for GLIBC_2.13.
59851 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59853 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59856 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59857 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59858 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59861 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59864 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59865 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59867 * nss/Makefile: Add rules to build and run tst-nss-test1.
59868 * shlib-versions: Add entry for libnss_test1.
59869 * nss/nss_test1.c: New file.
59870 * nss/tst-nss-test1.c: New file.
59872 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59873 (__nss_configure_lookup): Set appropriate entry in
59874 __nss_configure_lookup to true.
59875 * nss/nsswitch.h: Define enum with indeces of databases in
59876 databases and __nss_database_custom arrays. Declare
59877 __nss_database_custom.
59878 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59879 to avoid using nscd when custom rules are installed.
59880 * nss/getXXbyYY_r.c: Likewise.
59881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59883 * nss/nss_files/files-parse.c: Whitespace fixes.
59885 2010-08-09 Ulrich Drepper <drepper@redhat.com>
59888 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59889 * posix/fnmatch_loop.c: Likewise.
59891 2010-07-17 Andi Kleen <ak@linux.intel.com>
59893 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59894 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59895 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59896 * Versions.def [GLIBC_2.13]: Add.
59898 2010-08-06 Ulrich Drepper <drepper@redhat.com>
59900 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59901 Also fail if tpwd after pwuid call is NULL.
59903 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59905 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59906 when converting to ms.
59908 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59910 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59911 EOPNOTSUPP errors with ENOTTY.
59912 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59913 EOPNOTSUPP errors with ENOTTY.
59915 2010-07-31 Ulrich Drepper <drepper@redhat.com>
59917 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59918 Add strcasecmp_l-ssse3.
59919 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59921 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59922 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59923 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59925 2010-07-30 Ulrich Drepper <drepper@redhat.com>
59927 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59929 * string/Makefile (strop-tests): Add strcasecmp.
59930 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59931 strcasecmp_l-nonascii.
59932 (gen-as-const-headers): Add locale-defines.sym.
59933 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59934 * sysdeps/x86_64/strcasecmp.S: New file.
59935 * sysdeps/x86_64/strcasecmp_l.S: New file.
59936 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59937 * sysdeps/x86_64/locale-defines.sym: New file.
59938 * string/test-strcasecmp.c: New file.
59940 * string/test-strcasestr.c: Test both ends of the range of characters.
59941 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59943 2010-07-29 Roland McGrath <roland@redhat.com>
59946 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59948 2010-07-27 Ulrich Drepper <drepper@redhat.com>
59950 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59953 2010-07-27 Andreas Schwab <schwab@redhat.com>
59955 * manual/memory.texi (Malloc Tunable Parameters): Document
59958 2010-07-26 Roland McGrath <roland@redhat.com>
59961 * configure.in (-fgnu89-inline check): Set and substitute
59962 gnu89_inline, not libc_cv_gnu89_inline.
59963 * configure: Regenerated.
59964 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59966 2010-07-26 Ulrich Drepper <drepper@redhat.com>
59968 * string/test-strnlen.c: New file.
59969 * string/Makefile (strop-tests): Add strnlen.
59970 * string/tester.c (test_strnlen): Add a few more test cases.
59971 * string/tst-strlen.c: Better error reporting.
59973 * sysdeps/x86_64/strnlen.S: New file.
59975 2010-07-24 Ulrich Drepper <drepper@redhat.com>
59977 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59978 lower-latency instructions.
59980 2010-07-23 Ulrich Drepper <drepper@redhat.com>
59982 * string/test-strcasestr.c: New file.
59983 * string/test-strstr.c: New file.
59984 * string/Makefile (strop-tests): Add strstr and strcasestr.
59985 * string/str-two-way.h: Don't undefine MAX.
59986 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59988 2010-07-21 Andreas Schwab <schwab@redhat.com>
59990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59991 strcasestr-nonascii.
59992 (CFLAGS-strcasestr-nonascii.c): Define.
59993 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59994 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59995 Remove unused attribute.
59997 2010-07-20 Roland McGrath <roland@redhat.com>
59999 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60000 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
60001 ld.so.cache was broken. With it, there is no way to disable dsocaps
60002 like LD_HWCAP_MASK can disable hwcaps.
60004 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60006 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60008 2010-07-16 Ulrich Drepper <drepper@redhat.com>
60010 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60011 call in strcasestr.
60012 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60013 __strcasestr_sse42_nonascii.
60014 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60015 strcasestr-nonascii.c.
60016 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60018 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
60020 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60021 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60022 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60023 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60025 2010-07-09 Ulrich Drepper <drepper@redhat.com>
60027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60030 2010-07-06 Andreas Schwab <schwab@redhat.com>
60033 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60036 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60038 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60039 _PC_PIPE_BUF using F_GETPIPE_SZ.
60041 2010-07-05 Roland McGrath <roland@redhat.com>
60043 * manual/arith.texi (Rounding Functions): Fix rint description
60044 implicit in round description.
60046 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60048 * elf/Makefile: Fix linking for a few tests to make recent linker
60051 2010-06-30 Andreas Schwab <schwab@redhat.com>
60053 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60054 $(common-objpfx)libc_nonshared.a.
60056 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60058 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60059 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60060 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60061 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60062 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60063 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60064 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60065 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60080 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60081 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60082 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60083 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60084 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60085 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60086 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60087 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60088 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60089 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60090 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60091 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60107 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
60109 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60110 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
60111 * string/memmove.c (memmove): Renamed to ...
60112 (MEMMOVE): ...this. Default to memmove.
60113 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60114 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60117 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60118 mempcpy-ssse3-back memmove-ssse3-back.
60119 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60120 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60121 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60122 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60123 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60124 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60125 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60126 * sysdeps/x86_64/multiarch/memmove.c: New file.
60127 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60128 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60129 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60130 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60131 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60132 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60134 (index_Fast_Copy_Backward): Define.
60135 (HAS_ARCH_FEATURE): Define.
60136 (HAS_FAST_REP_STRING): Define.
60137 (HAS_FAST_COPY_BACKWARD): Define.
60139 2010-06-21 Andreas Schwab <schwab@redhat.com>
60141 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60142 Restore proper fallback handling.
60144 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60147 * posix/group_member.c (__group_member): Correct checking loop.
60149 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60150 OOM in getpwuid_r correctly. Return error number when the caller
60151 should return, otherwise -1.
60152 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60153 call returning > 0 value.
60154 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60156 2010-06-07 Andreas Schwab <schwab@redhat.com>
60158 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60159 libc_nonshared.a from targets in modules-names.
60161 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
60163 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60166 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
60168 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60169 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60170 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60173 2010-06-02 Andreas Schwab <schwab@redhat.com>
60175 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60177 2010-06-14 Ulrich Drepper <drepper@redhat.com>
60179 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60181 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60185 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60186 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60188 2010-06-14 Roland McGrath <roland@redhat.com>
60190 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60192 2010-06-07 Jakub Jelinek <jakub@redhat.com>
60194 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60195 __REDIRECT followed by __THROW.
60196 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60197 * posix/getopt.h (getopt): Likewise.
60199 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60201 * hurd/lookup-at.c (__file_name_lookup_at): Accept
60202 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
60203 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60205 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60206 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60208 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
60210 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60212 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
60215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60216 Properly check family and model.
60218 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
60220 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60222 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60224 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60226 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60228 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60231 2010-05-19 Andreas Schwab <schwab@redhat.com>
60233 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60236 2010-05-21 Andreas Schwab <schwab@redhat.com>
60238 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60239 and internal_recvmmsg.
60240 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60241 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60242 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60243 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60245 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60246 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60247 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60249 2010-05-20 Andreas Schwab <schwab@redhat.com>
60251 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60253 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60255 POWER7 optimizations.
60256 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60257 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60259 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60261 * version.h: Update for 2.13 development version.
60263 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60265 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60266 exceptions. Return 0.
60268 2010-05-07 Roland McGrath <roland@redhat.com>
60270 * elf/ldconfig.c (main): Add a const.
60272 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60274 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60275 (args_options): Add no-idn option.
60276 (ahosts_keys_int): Add idn_flags to ai_flags.
60277 (parse_option): Handle 'i' option to clear idn_flags.
60279 * malloc/malloc.c (_int_free): Possible race in the most recently
60280 added check. Only act on the data if no current modification
60283 See ChangeLog.17 for earlier changes.